Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340629 - emerge fails w/ invalid atom: dev-lang/python:2.6
Summary: emerge fails w/ invalid atom: dev-lang/python:2.6
Status: RESOLVED DUPLICATE of bug 340387
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 340631 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-12 06:34 UTC by Justin Lecher (RETIRED)
Modified: 2010-10-12 18:39 UTC (History)
2 users (show)

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


Attachments
/var/log/portage/build/sys-apps/file-5.04:20101012-063203.log (file-5.04:20101012-063203.log,45.95 KB, text/plain)
2010-10-12 06:34 UTC, Justin Lecher (RETIRED)
Details
/var/log/portage/build/sys-apps/file-5.04:20101012-063445.log (file-5.04:20101012-063445.log,200.63 KB, text/plain)
2010-10-12 06:35 UTC, Justin Lecher (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2010-10-12 06:34:19 UTC
Interesting bug, but I have no clue:

make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/sys-apps/file-5.04/work/file-5.04'
make[1]: Leaving directory `/var/tmp/portage/sys-apps/file-5.04/work/file-5.04'
invalid atom: dev-lang/python:2.6
 * ERROR: sys-apps/file-5.04 failed:
 *   unexpected portageq exit code: 2
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 5561:  Called distutils_src_compile
 *   environment, line 1615:  Called python_execute_function 'distutils_building'
 *   environment, line 4156:  Called _python_calculate_PYTHON_ABIS
 *   environment, line  826:  Called _python_final_sanity_checks
 *   environment, line  927:  Called has_version 'dev-lang/python:2.6'
 *     ebuild.sh, line  198:  Called die
 * The specific snippet of code:
 *   			die "unexpected portageq exit code: ${retval}"
 * 
 * If you need support, post the output of 'emerge --info =sys-apps/file-5.04',
 * the complete build log and the output of 'emerge -pqv =sys-apps/file-5.04'.
 * The complete build log is located at '/var/log/portage/build/sys-apps/file-5.04:20101012-063203.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/file-5.04/temp/environment'.
 * S: '/var/tmp/portage/sys-apps/file-5.04/work/file-5.04'




$ einfo =sys-apps/file-5.04
Portage 2.2_rc92 (default/linux/amd64/10.0, gcc-4.5.1-asneeded, glibc-2.12.1-r1, 2.6.35-gentoo-r10 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-gentoo-r10-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 11 Oct 2010 04:15:02 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.6.3-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2, 4.5.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
Repositories: gentoo science sunrise dummy last-hope
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -frecord-gcc-switches -mssse3 -mcx16 -mmmx -msse4 -g -Wall -Wimplicit-function-declaration -Wmissing-include-dirs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/nano/ /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=core2 -frecord-gcc-switches -mssse3 -mcx16 -mmmx -msse4 -g -Wall -Wmissing-include-dirs -Wenum-compare"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-t --jobs=12 --load-average=12 --keep-going"
FEATURES="assume-digests binpkg-logs buildsyspkg ccache collision-protect distlocks fixlafiles fixpackages news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -march=core2 -frecord-gcc-switches -mssse3 -mcx16 -mmmx -msse4 -g -Wall"
GENTOO_MIRRORS=" 	http://gentoo.j-schmitz.net/mirror/ 	ftp://ftp.gentoo.mesh-solutions.com/gentoo/ 	ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 	ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1,--hash-style=gnu,--sort-common"
LINGUAS="en"
MAKEOPTS="-j4 -l4"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-z -9 -f -S .lzma -v"
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="/var/lib/layman/science /data/local/sunrise/reviewed /data/local/dummy /data/local/last-hope"
SYNC="rsync://rsync.j-schmitz.net/gentoo-portage"
USE="64bit 7zip X acpi additions alsa amd64 arpwarp bash-completion berkdb branding bzip2 c++ cairo cblas ccache cleartype cli command-args corefonts cracklib cups cupsddk custom-optimization cxx dbus dri dts exif fbcondecor fortran gdbm gif glibc-omitfp gmp gnome gnome-keyring gpm graphics gstreamer gtk hddtemp iconv icu java javascript jpeg kqemu lapack lcms ldap libnotify libsexy lm_sensors mailtrain md5sum mmx modules mp3 mudflap multilib multiuser nagios-dns nagios-ntp nagios-ping nagios-ssh nano-syntax ncurses network-cron nis nls nptl nptlonly nsplugin objc objc++ opengl openmp openntpd pam pcre pdf perl png pppd pymol python qt-static qt3support readline reflection rrdcgi rrdtool science sensord session smp sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs system-sqlite tcpd threads tiff truetype type1 unicode x264 xcb xcomposite xinerama xorg xulrunner zlib" ALSA_CARDS="hda-intel" 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 authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock 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 usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php-5.2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2010-10-12 06:34:34 UTC
Created attachment 250329 [details]
/var/log/portage/build/sys-apps/file-5.04:20101012-063203.log

build.log
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2010-10-12 06:35:31 UTC
Created attachment 250331 [details]
/var/log/portage/build/sys-apps/file-5.04:20101012-063445.log

debug-build.log
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2010-10-12 06:41:03 UTC
*** Bug 340631 has been marked as a duplicate of this bug. ***
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2010-10-12 06:42:02 UTC
I find this bug in many more packages. Who is the source? Portage or python?
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2010-10-12 06:43:01 UTC
From the debug output:


++ [[ CPython == \C\P\y\t\h\o\n ]]
++ echo dev-lang/python:2.6
+ has_version dev-lang/python:2.6
+ '[' setup == depend ']'
+ [[ -n 1 ]]
+ /usr/lib64/portage/bin/ebuild-ipc has_version / dev-lang/python:2.6
invalid atom: dev-lang/python:2.6
Comment 6 Zac Medico gentoo-dev 2010-10-12 06:48:01 UTC
(In reply to comment #4)
> I find this bug in many more packages. Who is the source? Portage or python?

It's both, but portage-2.2_rc92 was being a little harsh given that we need some time to fix the ebuilds/eclasses. So, in portage-2.2_rc93 it results in an eqawarn message instead of a die. The new eqawarn message is also included in portage-2.1.9.15:

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

Note that this bug may be a duplicate. The tracker is bug 340395.
Comment 7 Zac Medico gentoo-dev 2010-10-12 06:49:51 UTC

*** This bug has been marked as a duplicate of bug 340387 ***