Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354967 - dev-lang/python-2.7.1 Parallel make issue
Summary: dev-lang/python-2.7.1 Parallel make issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-15 07:51 UTC by Justin Lecher (RETIRED)
Modified: 2012-04-12 09:40 UTC (History)
0 users

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


Attachments
/var/log/portage/build/dev-lang/python-2.7.1:20110215-074726.log (python-2.7.1:20110215-074726.log,59.61 KB, text/plain)
2011-02-15 07:51 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 2011-02-15 07:51:13 UTC
x86_64-pc-linux-gnu-gcc -pthread -c -fno-strict-aliasing -march=core2 -pipe -mssse3 -msse4 -mmmx -mcx16 -frecord-gcc-switches -g -O3 -fwrapv -DNDEBUG   -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/graminit.o Python/graminit.c
Python/ast.c: In function ‘num_stmts’:
Python/ast.c:172:14: error: ‘single_input’ undeclared (first use in this function)
Python/ast.c:172:14: note: each undeclared identifier is reported only once for each function it appears in
Python/ast.c:177:14: error: ‘file_input’ undeclared (first use in this function)
Python/ast.c:181:39: error: ‘stmt’ undeclared (first use in this function)
Python/ast.c:187:14: error: ‘compound_stmt’ undeclared (first use in this function)
Python/ast.c:189:14: error: ‘simple_stmt’ undeclared (first use in this function)
Python/ast.c:191:14: error: ‘suite’ undeclared (first use in this function)
Python/ast.c: In function ‘PyAST_FromNode’:
Python/ast.c:227:30: error: ‘encoding_decl’ undeclared (first use in this function)
Python/ast.c:243:14: error: ‘file_input’ undeclared (first use in this function)
Python/ast.c:271:14: error: ‘eval_input’ undeclared (first use in this function)
Python/ast.c:280:14: error: ‘single_input’ undeclared (first use in this function)
Python/ast.c: In function ‘ast_for_arguments’:
Python/ast.c:674:26: error: ‘parameters’ undeclared (first use in this function)
Python/ast.c:684:31: error: ‘fpdef’ undeclared (first use in this function)
Python/ast.c: In function ‘ast_for_decorated’:
Python/ast.c:935:43: error: ‘funcdef’ undeclared (first use in this function)
Python/ast.c:937:50: error: ‘classdef’ undeclared (first use in this function)
Python/ast.c: In function ‘count_list_fors’:
Python/ast.c:1022:27: error: ‘list_for’ undeclared (first use in this function)
Python/ast.c:1024:32: error: ‘list_if’ undeclared (first use in this function)
Python/ast.c: In function ‘count_list_ifs’:
Python/ast.c:1050:43: error: ‘list_for’ undeclared (first use in this function)
Python/ast.c: In function ‘ast_for_listcomp’:
Python/ast.c:1148:35: error: ‘list_iter’ undeclared (first use in this function)
Python/ast.c: In function ‘count_comp_fors’:
Python/ast.c:1179:26: error: ‘comp_for’ undeclared (first use in this function)
Python/ast.c:1181:31: error: ‘comp_if’ undeclared (first use in this function)
Python/ast.c: In function ‘count_comp_ifs’:
Python/ast.c:1208:47: error: ‘comp_for’ undeclared (first use in this function)
Python/ast.c: In function ‘ast_for_comprehension’:
Python/ast.c:1287:34: error: ‘comp_iter’ undeclared (first use in this function)
Python/ast.c: In function ‘ast_for_atom’:
Python/ast.c:1418:31: error: ‘yield_expr’ undeclared (first use in this function)
Python/ast.c:1465:55: error: ‘comp_for’ undeclared (first use in this function)
Python/ast.c: In function ‘ast_for_slice’:
Python/ast.c:1532:54: error: ‘test’ undeclared (first use in this function)
Python/ast.c:1570:27: error: ‘sliceop’ undeclared (first use in this function)
Python/ast.c: In function ‘ast_for_factor’:
Python/ast.c:1741:55: error: ‘factor’ undeclared (first use in this function)
Python/ast.c:1743:60: error: ‘power’ undeclared (first use in this function)
Python/ast.c:1745:58: error: ‘atom’ undeclared (first use in this function)
Python/ast.c: In function ‘ast_for_power’:
Python/ast.c:1792:31: error: ‘trailer’ undeclared (first use in this function)
Python/ast.c:1801:64: error: ‘factor’ undeclared (first use in this function)
Python/ast.c: In function ‘ast_for_expr’:
Python/ast.c:1849:14: error: ‘test’ undeclared (first use in this function)
Python/ast.c:1850:14: error: ‘old_test’ undeclared (first use in this function)
Python/ast.c:1851:51: error: ‘lambdef’ undeclared (first use in this function)
Python/ast.c:1852:51: error: ‘old_lambdef’ undeclared (first use in this function)
Python/ast.c:1857:14: error: ‘or_test’ undeclared (first use in this function)
Python/ast.c:1858:14: error: ‘and_test’ undeclared (first use in this function)
Python/ast.c:1877:14: error: ‘not_test’ undeclared (first use in this function)
Python/ast.c:1890:14: error: ‘comparison’ undeclared (first use in this function)
Python/ast.c:1936:14: error: ‘expr’ undeclared (first use in this function)
Python/ast.c:1937:14: error: ‘xor_expr’ undeclared (first use in this function)
Python/ast.c:1938:14: error: ‘and_expr’ undeclared (first use in this function)
Python/ast.c:1939:14: error: ‘shift_expr’ undeclared (first use in this function)
Python/ast.c:1940:14: error: ‘arith_expr’ undeclared (first use in this function)
Python/ast.c:1941:14: error: ‘term’ undeclared (first use in this function)
Python/ast.c:1947:14: error: ‘yield_expr’ undeclared (first use in this function)
Python/ast.c:1956:14: error: ‘factor’ undeclared (first use in this function)
Python/ast.c:1962:14: error: ‘power’ undeclared (first use in this function)
Python/ast.c: In function ‘ast_for_call’:
Python/ast.c:1993:31: error: ‘argument’ undeclared (first use in this function)
Python/ast.c:1996:57: error: ‘comp_for’ undeclared (first use in this function)
Python/ast.c: In function ‘ast_for_testlist’:
Python/ast.c:2116:26: error: ‘testlist_comp’ undeclared (first use in this function)
Python/ast.c: In function ‘ast_for_testlist_comp’:
Python/ast.c:2141:69: error: ‘comp_for’ undeclared (first use in this function)
Python/ast.c: In function ‘ast_for_expr_stmt’:
Python/ast.c:2187:48: error: ‘augassign’ undeclared (first use in this function)
Python/ast.c:2212:31: error: ‘testlist’ undeclared (first use in this function)
Python/ast.c:2240:35: error: ‘yield_expr’ undeclared (first use in this function)
Python/ast.c: In function ‘ast_for_flow_stmt’:
Python/ast.c:2355:14: error: ‘break_stmt’ undeclared (first use in this function)
Python/ast.c:2357:14: error: ‘continue_stmt’ undeclared (first use in this function)
Python/ast.c:2359:14: error: ‘yield_stmt’ undeclared (first use in this function)
Python/ast.c:2365:14: error: ‘return_stmt’ undeclared (first use in this function)
Python/ast.c:2375:14: error: ‘raise_stmt’ undeclared (first use in this function)
Python/ast.c: In function ‘alias_for_import_name’:
Python/ast.c:2437:15: error: ‘import_as_name’ undeclared (first use in this function)
Python/ast.c:2457:14: error: ‘dotted_as_name’ undeclared (first use in this function)
Python/ast.c:2476:14: error: ‘dotted_name’ undeclared (first use in this function)
Python/ast.c: In function ‘ast_for_import_stmt’:
Python/ast.c:2548:26: error: ‘import_name’ undeclared (first use in this function)
Python/ast.c:2562:31: error: ‘import_from’ undeclared (first use in this function)
Python/ast.c:2571:53: error: ‘dotted_name’ undeclared (first use in this function)
Python/ast.c:2594:14: error: ‘import_as_names’ undeclared (first use in this function)
Python/ast.c: In function ‘ast_for_suite’:
Python/ast.c:2737:43: error: ‘simple_stmt’ undeclared (first use in this function)
Python/ast.c: In function ‘ast_for_try_stmt’:
Python/ast.c:3083:54: error: ‘except_clause’ undeclared (first use in this function)
Python/ast.c: In function ‘ast_for_stmt’:
Python/ast.c:3234:26: error: ‘stmt’ undeclared (first use in this function)
Python/ast.c:3238:26: error: ‘simple_stmt’ undeclared (first use in this function)
Python/ast.c:3242:26: error: ‘small_stmt’ undeclared (first use in this function)
Python/ast.c:3249:18: error: ‘expr_stmt’ undeclared (first use in this function)
Python/ast.c:3251:18: error: ‘print_stmt’ undeclared (first use in this function)
Python/ast.c:3253:18: error: ‘del_stmt’ undeclared (first use in this function)
Python/ast.c:3255:18: error: ‘pass_stmt’ undeclared (first use in this function)
Python/ast.c:3257:18: error: ‘flow_stmt’ undeclared (first use in this function)
Python/ast.c:3259:18: error: ‘import_stmt’ undeclared (first use in this function)
Python/ast.c:3261:18: error: ‘global_stmt’ undeclared (first use in this function)
Python/ast.c:3263:18: error: ‘exec_stmt’ undeclared (first use in this function)
Python/ast.c:3265:18: error: ‘assert_stmt’ undeclared (first use in this function)
Python/ast.c:3281:18: error: ‘if_stmt’ undeclared (first use in this function)
Python/ast.c:3283:18: error: ‘while_stmt’ undeclared (first use in this function)
Python/ast.c:3285:18: error: ‘for_stmt’ undeclared (first use in this function)
Python/ast.c:3287:18: error: ‘try_stmt’ undeclared (first use in this function)
Python/ast.c:3289:18: error: ‘with_stmt’ undeclared (first use in this function)
Python/ast.c:3291:18: error: ‘funcdef’ undeclared (first use in this function)
Python/ast.c:3293:18: error: ‘classdef’ undeclared (first use in this function)
Python/ast.c:3295:11: error: ‘decorated’ undeclared (first use in this function)
make: *** [Python/ast.o] Error 1
make: *** Waiting for unfinished jobs....
emake failed




$ einfo =dev-lang/python-2.7.1
Portage 2.2.0_alpha23 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.12.2-r0, 2.6.37-lh x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.37-lh-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 15 Feb 2011 07:00:01 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1::last-hope
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo sunrise dummy science last-hope
Installed sets: 
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -frecord-gcc-switches -msse4.2 -g -Wimplicit-function-declaration"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/nano/ /usr/share/openvpn/easy-rsa /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 -msse4.2 -g -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 metadata-transfer multilib-strict 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 -msse4.2 -g"
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 -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="en"
MAKEOPTS="-j12 -l12"
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="/data/local/sunrise/reviewed /data/local/dummy /data/local/sci /data/local/lh/ebuilds"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit 7zip X acpi additions alsa amd64 arpwarp atlas bash-completion berkdb blas branding bzip2 c++ cairo caps cblas ccache cleartype cli command-args consolekit 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 ipod javascript jpeg kqemu lapack lcms ldap libnotify libsexy lm_sensors lzma mailtrain md5sum mmx mng 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 policykit pppd pymol python qt-static qt3support readline rrdcgi rrdtool science sensord session smp sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs system-sqlite tcpd threads tiff truetype type1 udev 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" CAMERAS="ptp2" 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="php5-3" 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

=================================================================
                        Package Settings
=================================================================

dev-lang/python-2.7.1 was built with the following:
USE="berkdb gdbm (multilib) ncurses readline sqlite ssl threads tk (wide-unicode) xml -build -doc -examples -ipv6 -wininst"
CFLAGS="-march=core2 -pipe -mssse3 -msse4 -mmmx -mcx16 -frecord-gcc-switches -g -O3"
CXXFLAGS="-march=core2 -pipe -mssse3 -msse4 -mmmx -mcx16 -frecord-gcc-switches -g -O3"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -L."
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2011-02-15 07:51:33 UTC
Created attachment 262567 [details]
/var/log/portage/build/dev-lang/python-2.7.1:20110215-074726.log

build.log
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2011-02-15 07:54:51 UTC
MAKEOPTS="" makes it build.
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2012-04-12 09:38:17 UTC
This has been fixed in 2.7.3, hitting the tree shortly.
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-04-12 09:40:36 UTC
(In reply to comment #3)
> This has been fixed in 2.7.3, hitting the tree shortly.
The fix is already in dev-lang/python-2.7.2-r3