x86_64-pc-linux-gnu-gcc -rdynamic -L/usr/local/lib -o vim objects/buffer.o objects/charset.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/e x_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o objects/if_cscope.o objects/if_xcmdsrv.o o bjects/main.o objects/mark.o objects/memfile.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o obje cts/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/spell.o objects/syntax.o objects/tag.o objects/te rm.o objects/ui.o objects/undo.o objects/window.o objects/if_perl.o objects/if_perlsfio.o objects/if_python.o objects/py_config.o objects/netbeans.o objects/version.o -lnsl -lcurses -lacl -lattr -ldl -rdynamic -L/usr/local/lib64 /usr/lib64/perl5/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib64/perl5/5.8.8/x86_64-linux/CORE -lperl -lpthread -lnsl -ldl -lm -lcry pt -lutil -lc -L/usr/lib/python2.4/config -lpython2.4 -ldl -lutil -lm -Xlinker -export-dynamic /usr/lib/python2.4/config/libpython2.4.a(posixmodule.o): In function `posix_tmpnam': (.text+0x755): warning: the use of `tmpnam' is dangerous, better use `mkstemp' /usr/lib/python2.4/config/libpython2.4.a(posixmodule.o): In function `posix_tempnam': (.text+0x818): warning: the use of `tempnam' is dangerous, better use `mkstemp' objects/if_python.o: In function `Python_RestoreThread': if_python.c:(.text+0x27a5): undefined reference to `PyGILState_Ensure' objects/if_python.o: In function `DoPythonCommand': if_python.c:(.text+0x27ff): undefined reference to `PyEval_InitThreads' objects/if_python.o: In function `Python_SaveThread': if_python.c:(.text+0x27c7): undefined reference to `PyGILState_Release' collect2: ld returned 1 exit status make[1]: *** [vim] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-editors/vim-7.1.266/work/vim71/src' make: *** [first] Error 2 * If the above messages seem to be talking about perl * and undefined references, please try re-emerging both * perl and libperl with the same USE flags. For more * information, see: * https://bugs.gentoo.org/show_bug.cgi?id=18129 * * ERROR: app-editors/vim-7.1.266 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2770: Called vim_src_compile * environment, line 3761: Called die * The specific snippet of code: * die "emake failed"; * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/app-editors:vim-7.1.266:20080618-142616.log'. * The ebuild environment file is located at '/var/tmp/portage/app-editors/vim-7.1.266/temp/environment'. Reproducible: Always Steps to Reproduce: 1. emerge =app-editors/vim-7.1.266 Expected Results: clean installation Might be related to bug #177866 (or even a duplicate) but unfortunally i cannot run a threaded system (this breaks php stuff seriously). # emerge --info Portage 2.1.4.4 (default-linux/amd64/2006.1/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.18-gentoo-r6 x86_64) ================================================================= System uname: 2.6.18-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3500+ Timestamp of tree: Tue, 17 Jun 2008 23:45:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.3.6-r6, 2.4.4-r13 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg candy digest distlocks metadata-transfer notitles sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://mirror.manitu.net/gentoo" LINGUAS="en de fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=180" 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" SYNC="rsync://mirror.manitu.net/gentoo-portage" USE="X509 aalib accounting acl adns aim amd64 ansi apache2 authdaemond authfile automount bacula-console bash-completion bcmath berkdb bidi bind-mysql bzip2 calendar caps ccache cdb cgi chipcard chroot command-args courier cpudetection cpulimit cracklib crypt cscope css csv ctype cups curl curlwrappers customlog cvsgraph cyrus dba dbi dbm dbx devmap dhcp dlopen dnsdb ecc exif expat fam fastcgi ffmpeg flac flash flatfile fpx ftp gd gdbm geoip gif gmp graphviz gs gssapi gzip hardened hardenedphp hpn http iconv icq idea idled idn imagemagick imap imlib imlib2 inifile innodb ipalias ipv6 jabber jbig jpeg jpeg2k lcms ldap libwww lm_sensors lmtp logrotate logwatch mailbox maildir maildrop mailwrapper mbox mcal memlimit mgetty mhash milter mime mimencode ming mmap mpeg mpi mpm-prefork mppe-mppc mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses netboot network nfs nis nls nntp nptl nptlonly oav odbc ogg oggvorbis openssh openssl pam pam_chroot pam_timestamp parse-clocks pcntl pcre pdf pdfkit pdflib perl php pic png posix postfix postgres procmail pwdb python qdbm quotas radius readline recode reiserfs rrdtool rss sample sasl screen sendfile sensord session sftp sftplogging shaper shared sharedext sharedmem simplexml slang slp smartcard smime smp sms smtp snmp snortsam soap sockets socks5 spamassassin spell sql sqlite sqlite3 ssl stream subversion svg sysfs syslog sysvipc tcpd theora tidy tiff tokenizer transparent-proxy truetype truetype-fonts type1-fonts unicode userlocales utf8 vhosts vim vim-pager vim-syntax virtual-users virus-scan wddx withsamplescripts wmf xattr xfs xinetd xml xml2 xmlrpc xpm xsl xslt xvid yahoo yaz 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 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de fr" USERLAND="GNU" VIDEO_CARDS="vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Can you reproduce this with the latest vim in portage? I bumped it yesterday.
(In reply to comment #1) > Can you reproduce this with the latest vim in portage? > I bumped it yesterday. Still fails for me, same way. Let me know if you want me to post my emerge --info too. --David
I just tried to do an equery and got a message that thread couldn't be imported. So I added the 'threads' useflag to python and re-emerged it. Equery worked at that point, and the vim emerge also went to completion. Does this means there's a missing use flag dependency in both portage and vim?
i have same problem with app-editors/vim-7.1.319 ninex@NineX ~ $ emerge --info Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686) ================================================================= System uname: 2.6.24-gentoo-r8 i686 Pentium III (Katmai) Timestamp of tree: Tue, 08 Jul 2008 14:33:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r13 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.7.9-r1, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -pipe -O2 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=i686 -pipe -O2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://gentoo.po.opole.pl http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo http://dev.gentoo.org" LINGUAS="pl en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip bash-completion berkdb bzip2 calendar caps cgi cli cracklib crypt ctype curl curlwrappers exif exiscan-acl extensions fam fastcgi fbcon fdftk ftp gd gmp gnutls gpm hash iconv idea idn imap ipv6 logrotate maildir masquerade mhash mmx mysql ncurses nls no-old-linux nptl nptlonly pam pcntl pcre perl php pop posix python readline sasl session sharedext sharedmem simplexml slang spell spl ssl symlink sysvipc tcl tokenizer truetype udev unicode urandom usb userlocales x86 xinetd xml xmlreader xmlrpc xmlwriter xsl yaz zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS steps to reproduce euse -D threads emerge -1 python emerge =app-editors/vim-7.1.319
I got the same problem with app-editors/vim-7.1.319 Steps to reproduce 1. install python with USE=-threads 2. install vim with USE=python Workaround 1. install python with USE=threads
Hello, This is affecting me too. Please let me know if I can test anything. Thanks, Claude emerge -pv python These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-lang/python-2.4.4-r13 USE="berkdb cxx gdbm ipv6 ncurses readline ssl -bootstrap -build -doc -examples -threads -tk -ucs2 -wininst" 0 kB emerge --info Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686) ================================================================= System uname: 2.6.23-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Timestamp of tree: Sun, 13 Jul 2008 20:30:02 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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://HOSTNAME_REMOVED/gentoo-portage" USE="X aac acl acpi alsa apache2 avi berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus divx4linux dri dts dvd dvdr dvdread eds emboss encode esd evo fam firefox flac fortran ftp gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog ivtv joystick jpeg kde kerberos ldap libnotify lirc mad midi mikmod mjpeg mmx mmxext mp3 mpeg mudflap mysql mythtv ncurses nls nptl nptlonly ogg oggvorbis opengl openmp pam pcre pdf perl php png ppds pppd python qt qt3 qt3support qt4 quicktime readline real reflection samba sdl session snmp spell spl sse sse2 ssl startup-notification svg tcpd theora tiff transcode truetype unicode usb v4l vorbis win32codecs x86 xine xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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 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 proxy" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="atiusb" USERLAND="GNU" VIDEO_CARDS="sis sisusb vesa vga fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
The same thing happens with blender-2.46-r1. Installing python with use=threads fixes this as well.
*** Bug 259828 has been marked as a duplicate of this bug. ***
confirmed. can someone please fix the vim dep checks? :)
*** Bug 280066 has been marked as a duplicate of this bug. ***
This is a non-trival thing to fix... basically vim.eclass needs a rewrite to clean it up and make it work with EAPIs. Any help anyone can offer would be appreciated, please post patches to this bug. I have this on my todo list, but I'm afraid it may not get done for a while.
In the first of many passes in refining vim.eclass here I added EAPI awareness and a dependency on dev-long/python[threads] (or die in pkg_setup for older EAPIs).