Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317221 - Portage does not report correct source file when reporting invalid atoms in directories
Summary: Portage does not report correct source file when reporting invalid atoms in d...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-26 04:05 UTC by Alec Warner
Modified: 2012-06-17 15:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Warner (RETIRED) archtester gentoo-dev Security 2010-04-26 04:05:05 UTC
antarus@kyoto ~/gentoo/gentoo-x86/dev-cpp/gflags $ sudo emerge gflags-1.3.ebuild
--- Invalid atom in /etc/portage/package.keywords: cross-ppu/[latest]

antarus@kyoto ~/gentoo/gentoo-x86/dev-cpp/gflags $ ls /etc/portage/package.keywords/
antarus.keywords  package.keywords.livecvs

The invalid atom is actually in antarus.keywords; but the config object doesn't seem to record that information.

antarus@kyoto ~/gentoo/gentoo-x86/dev-cpp/gflags $ emerge --info                                                                                 
Portage 2.1.7.16 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)                                  
=================================================================                                                                                
System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-1.12.13                                   
Timestamp of tree: Fri, 26 Feb 2010 08:30:05 +0000                                                                                               
app-shells/bash:     4.0_p28                                                                                                                     
dev-lang/python:     2.6.4                                                                                                                       
dev-python/pycrypto: 2.0.1-r8                                                                                                                    
dev-util/cmake:      2.6.4-r3                                                                                                                    
sys-apps/baselayout: 1.12.13                                                                                                                     
sys-apps/sandbox:    1.6-r2                                                                                                                      
sys-devel/autoconf:  2.13, 2.63-r1                                                                                                               
sys-devel/automake:  1.6.3, 1.9.6-r2, 1.10.2, 1.11.1                                                                                             
sys-devel/binutils:  2.18-r3                                                                                                                     
sys-devel/gcc:       4.3.4                                                                                                                       
sys-devel/gcc-config: 1.4.1                                                                                                                      
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/enlightenment /usr/local/portage/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr chroot cli consolekit cracklib crypt curl cxx dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gdbm gif glep gpm gstreamer hal iconv ipv6 jpeg kde libnotify mad matroska mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf png ppds pppd python qt3support qt4 quicktime readline reflection rtc sdl session spell spl sse sse2 ssl startup-notification suexec svg sysfs tcpd thunar tiff truetype unicode usb vorbis x264 xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file autoindex cache deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir vhost_alias authz_host" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Zac Medico gentoo-dev 2012-06-17 15:25:06 UTC
Here's a fix for grabfile_package:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a4ea52918c3cccaf2459fa2264ab0219071de70a

grabdict_package has the same problem, but it loses the original file names inside grabdict.