talloc build system, but presumably the hashbang is wrong, and it invokes the python executable set as default installed, regardless of version. Reproducible: Always Steps to Reproduce: 1.Set Python 3 as default (sudo eselect python set 2) 2.Emerge sys-libs/talloc Actual Results: Build process fails with 'invalid syntax' error Expected Results: Build completes successfully Portage 2.1.9.39 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.2, glibc-2.13-r0, 2.6.37-gentoo x86_64) ================================================================= System uname: Linux-2.6.37-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 11 Feb 2011 15:45:01 +0000 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/cmake: 2.8.3-r1 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.6.8 sys-apps/sandbox: 2.4 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 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -mtune=generic" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" 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=native -mtune=generic" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://archive.mmu.edu.my/gentoo http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ http://gentoo.channelx.biz/" LANG="en_US.UTF-8" LDFLAGS="-Wl,--as-needed" LINGUAS="en zh_CN" MAKEOPTS="-j5" 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="/var/lib/layman/mozilla /var/lib/layman/gamerlay /var/lib/layman/steev /var/lib/layman/jensp /var/lib/layman/sunrise /var/lib/layman/Spring /usr/local/portage" SYNC="rsync://rsync.sg.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 apng audacious audio berkdb branding bzip2 cairo cdda cdparanoia cdr cli consolekit cracklib crypt cuda cups cxx dbus device-mapper dhclient djvu dri dts dvd dvdr dvi eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gdu gif gimp gnome gnome-keyring gnutls gpm gstreamer gtk hal http iconv imagemagick ipv6 jabber jack java jpeg jpeg2k lame lastfm latex lcms ldap libnotify mad mail mikmod mmx mng modules mp3 mp4 mpeg msn mtp mudflap multilib musepack mysql nautilus ncurses nls nptl nptlonly nsplugin nvidia ogg opencl opengl openmp pam pango pcre pdf perl png policykit ppds pppd python python3 qemu qos qt qt3support qt4 readline schroedinger scrobbler sdl semantic-desktop session smp sox spell sql sqlite sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd telnet theora tiff truetype udev unicode usb v4l v4l2 vcd video vorbis wav wavpack webkit webm wxwidgets x264 xcb xine 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 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 zh_CN" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
same here.
on a 32bit system: Linux linux01 2.6.33-gentoo-r2 #1 PREEMPT Tue May 11 14:21:36 CEST 2010 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
Portage 2.1.9.40 (default/linux/x86/10.0, gcc-4.5.2, glibc-2.13-r1, 2.6.33-gentoo-r2 i686) ================================================================= System uname: Linux-2.6.33-gentoo-r2-i686-Pentium_III_-Coppermine-with-gentoo-2.0.1 Timestamp of tree: Wed, 16 Feb 2011 10:15:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] 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.5-r3, 3.1.3 dev-util/ccache: 3.1.4 dev-util/cmake: 2.8.1-r2 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.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 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -maccumulate-outgoing-args -march=pentium3 -msse -mtune=pentium3 -O3 -pipe -Wunsafe-loop-optimizations -D_FORTIFY_SOURCE=2 --param l1-cache-size=16 --param l1-cache-line-size=32 --param l2-cache-size=256 -s" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -maccumulate-outgoing-args -march=pentium3 -msse -mtune=pentium3 -O3 -pipe -Wunsafe-loop-optimizations -D_FORTIFY_SOURCE=2 --param l1-cache-size=16 --param l1-cache-line-size=32 --param l2-cache-size=256 -s" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox" FFLAGS="" GENTOO_MIRRORS="http://gentoo.kems.net ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://gentoo.mneisen.org/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo" LDFLAGS="-Wl,-O9" LINGUAS="en" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="7zip X acl acpi animgif apm asm async bash-completion bdf boehm-gc boost bsf bzip2 cairo ccache cgi ck-server cli colordiff compress consolekit contentcache cracklib crypt ctype cxx deprecated device-mapper discouraged dnotify dri fastcgi fbcon firefox flatfile font-server fontconfig force-reg fortran freetype gcc-opts gd gif gkrellm glibc-omitfp gmp gpm graphviz gs gzip hal hddtemp hdri iconv icu imagemagick innodb ithreads java java6 jbig jce jcs jdbc jni jpeg jpeg2k json lcms ldap ldap-sasl lesstif libnotify log4j logrotate lzma lzw mailwrapper memcache mhash mime mmap modules mudflap mysql mysqli nasm ncurses networking nfs nls nptl nptlonly nsplugin openexr openmp openssl optimization orathreads oscache pam pch pcntl pcre pdf pdo perl php pmu png pppd python readline regex rtc sasl screen secure-delete servletapi session shared slang sockets sse ssl strong-optimization svg swarmcache sysfs syslog sysvipc szip tcpd tga threads tiff tomsfastmath tools truetype type1 unicode unzip urandom watchdog win32codecs wmf x86 xforms xfs xft xml xorg xpm zip zlib" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="i810 intel" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Attach build log please
Created attachment 262743 [details] build.log of sys-libs/talloc build.log
(In reply to comment #0) > talloc build system, but presumably the hashbang is wrong, and it invokes the > python executable set as default installed, regardless of version. > > Reproducible: Always > > Steps to Reproduce: > 1.Set Python 3 as default (sudo eselect python set 2) > 2.Emerge sys-libs/talloc > > Actual Results: > Build process fails with 'invalid syntax' error > > Expected Results: > Build completes successfully > > Portage 2.1.9.39 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.2, > glibc-2.13-r0, 2.6.37-gentoo x86_64) > ================================================================= > System uname: > Linux-2.6.37-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.0.1 > Timestamp of tree: Fri, 11 Feb 2011 15:45:01 +0000 > 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/cmake: 2.8.3-r1 > sys-apps/baselayout: 2.0.1-r1 > sys-apps/openrc: 0.6.8 > sys-apps/sandbox: 2.4 > 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 > sys-devel/make: 3.82 > virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) > ACCEPT_KEYWORDS="amd64 ~amd64" > ACCEPT_LICENSE="* -@EULA" > CBUILD="x86_64-pc-linux-gnu" > CFLAGS="-O2 -pipe -march=native -mtune=generic" > CHOST="x86_64-pc-linux-gnu" > CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" > 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=native -mtune=generic" > DISTDIR="/usr/portage/distfiles" > FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news > parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn > unmerge-logs unmerge-orphans userfetch" > FFLAGS="" > GENTOO_MIRRORS="http://archive.mmu.edu.my/gentoo > http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ http://gentoo.channelx.biz/" > LANG="en_US.UTF-8" > LDFLAGS="-Wl,--as-needed" > LINGUAS="en zh_CN" > MAKEOPTS="-j5" > 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="/var/lib/layman/mozilla /var/lib/layman/gamerlay > /var/lib/layman/steev /var/lib/layman/jensp /var/lib/layman/sunrise > /var/lib/layman/Spring /usr/local/portage" > SYNC="rsync://rsync.sg.gentoo.org/gentoo-portage" > USE="X a52 aac acl acpi alsa amd64 apng audacious audio berkdb branding bzip2 > cairo cdda cdparanoia cdr cli consolekit cracklib crypt cuda cups cxx dbus > device-mapper dhclient djvu dri dts dvd dvdr dvi eds emboss encode evo exif fam > ffmpeg firefox flac fortran gdbm gdu gif gimp gnome gnome-keyring gnutls gpm > gstreamer gtk hal http iconv imagemagick ipv6 jabber jack java jpeg jpeg2k lame > lastfm latex lcms ldap libnotify mad mail mikmod mmx mng modules mp3 mp4 mpeg > msn mtp mudflap multilib musepack mysql nautilus ncurses nls nptl nptlonly > nsplugin nvidia ogg opencl opengl openmp pam pango pcre pdf perl png policykit > ppds pppd python python3 qemu qos qt qt3support qt4 readline schroedinger > scrobbler sdl semantic-desktop session smp sox spell sql sqlite sse sse2 sse3 > ssl ssse3 startup-notification svg sysfs tcpd telnet theora tiff truetype udev > unicode usb v4l v4l2 vcd video vorbis wav wavpack webkit webm wxwidgets x264 > xcb xine 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 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 > zh_CN" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" > VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon > savage sis tdfx trident vesa via vmware dummy v4l" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, > PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, > PORTAGE_RSYNC_EXTRA_OPTS > same problem, linux-2.6.35-gentoo-r7 , will post log later
I am building a new copy of gentoo in a new partition because corg-server 1.65 and 1.7 is going away. I do builds from chrooting from existing gentoo linux because X works there. I tried to emerge xorg-server and talloc-2.0.5 failed configure just like the above. eselect python list Available Python interpreters: [1] python2.6 * [2] python2.7 [3] python3.1 (chroot) hal2 linux [3] was the default after stage 3 installed on x86_64 (Phenom II X3 720BE). Failed like above. I tried syncing portage, then rebuilt every package, resynced portage again, ran python update and nothing worked. Then I noticed this bug and changed default python using eselect python set [321]. [3] failed. [2] failed as well. [1] built fine. Reset back to [3] and continued the xorg-server build. Third failure of [3] yielded this info: (chroot) hal2 linux # emerge --info talloc Portage 2.1.9.42 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.13-r1, 2.6.31-gentoo-r6 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Phenom-tm-_II_X3_720_Processor-with-gentoo-2.0.1 Timestamp of tree: Mon, 07 Mar 2011 12:15:01 +0000 ccache version 3.1.4 [enabled] app-shells/bash: 4.1_p10 dev-lang/python: 2.6.6-r2, 2.7.1-r1, 3.1.3-r1 dev-util/ccache: 3.1.4 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.7.0 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.4.5, 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" 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" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow 3dnowexto X a52 aac aalib acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdparanoia cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr embedded emboss encode exif extras fam firefox flac fontconfig fortran gdbm gdu gif gpm iconv ipv6 java jpeg kde lcms ldap libnotify lm_sensors mad md5sum mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python qt3 qt3support qt4 readline samba script sdk sdl semantic-desktop session spell sql sqlite sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vboxwebsrv vdpau vorbis webkit x264 xcb xine xml xorg xulrunner xv xvid xvmc 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 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 joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
sys-libs/talloc-2.0.5 does not build with python 3 , I've added a restriction to force talloc build using python 2.6 so please sync again and re-emerge I'll keep this open until it works fine with python 3
Is it necessary to force python-2.6 to be installed? I've always build talloc without problems using - python-2.7 - with its python USE flag disabled I'd rather not reinstall python-2.6 when it's not needed. "emerge --info talloc" returns Portage 2.1.9.43 (default/linux/amd64/10.0/no-multilib, gcc-4.5.2, glibc-2.13-r2, 2.6.34-gentoo-r2 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.34-gentoo-r2-x86_64-Intel-R-_Core-TM-2_CPU_T5600_@_1.83GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 15 Mar 2011 21:45:01 +0000 app-shells/bash: 4.2_p7 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4 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.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 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ABI="amd64" ACCEPT_KEYWORDS="amd64 ~amd64" [..] ================================================================= Package Settings ================================================================= sys-libs/talloc-2.0.5 was built with the following: USE="-compat -python"
(In reply to comment #9) > Is it necessary to force python-2.6 to be installed? > > I've always build talloc without problems using > > - python-2.7 > - with its python USE flag disabled > > I'd rather not reinstall python-2.6 when it's not needed. I don't want to have more than one python:2 version in my systems, too. Works for me (compiles) with python-2.7 (changed in ebuild 2.6-->2.7). Samba - which needs it - runs well. So, I think it could just depend on python:2
(In reply to comment #8) > sys-libs/talloc-2.0.5 does not build with python 3 , I've added a restriction > to force talloc build using python 2.6 so please sync again and re-emerge > > I'll keep this open until it works fine with python 3 I've reverted this in tree as it was unnecessarily forcing Python 2.6 installation, where as talloc builds fine with Python 2.7.
Victor: you should not depend on dev-lang/python at all when USE=-python.
(In reply to comment #12) > Victor: you should not depend on dev-lang/python at all when USE=-python. It seems talloc-2.0.5 always needs python at least in the build process (pytalloc) --disable-python configure argument isn't of much help
Exactly the same happens to sys-libs/tdb. Solved by selecting python-2.7 with eselect. I would propose to add sys-libs/tdb to the bug summary so that others having problems building tdb can find the bug report.
You must use this: PYTHON_DEPEND="python? 2:2.6" PYTHON_USE_WITH="threads" PYTHON_USE_WITH_OPT="python" And then completely remove python from (R)DEPEND. Same for sys-libs/tdb, I think. Also, ebuild calls python_set_active_version 2, so problem of this bug must not occur. Please check that.
Created attachment 299709 [details, diff] build without python use flag and python3 active I copied pkg_setup() from talloc-2.0.7.ebuild into tdb-1.2.9.ebuild, and now I can compile tdb with python3 selected. As tdb only DEPEND on dev-lang/python, I copied the DEPEND line from talloc, too. This DEPEND line checks the use flag threads of python, I don't know if it's needed, but cannot check.
+ 07 Mar 2012; Patrick Lauer <patrick@gentoo.org> talloc-2.0.7.ebuild: + Restrict py3 #354587