Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178783 - vim-7.0.235 does not compile if useflags "+python -threads"
Summary: vim-7.0.235 does not compile if useflags "+python -threads"
Status: RESOLVED DUPLICATE of bug 177866
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-16 16:04 UTC by damage
Modified: 2007-05-16 19:01 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 damage 2007-05-16 16:04:19 UTC
Hi,
vim-7.0.235 does not compile if compiled with useflag "python" but python was not compiled with useflag "threads".

This results in undefined references like this one (sorry, forgot to copy the whole errors):

if_python.c:(.text+0x2a64): undefined reference to `PyGILState_Ensure'

hope this helps
damage

btw: i'm using ~x86 and profiles/default-linux/x86/2007.0/server


drunken ~ # emerge --info
Portage 2.1.2.7 (default-linux/x86/2007.0/server, gcc-4.1.2, glibc-2.5-r1, 2.6.19.1 i686)
=================================================================
System uname: 2.6.19.1 i686 AMD Athlon(tm) Processor
Gentoo Base System release 1.12.10
Timestamp of tree: Wed, 09 May 2007 09:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.3.6-r1, 2.4.4-r2
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://localhost/gentoo-portage"
USE="3dnow 3dnowext acl alsa apache2 bash-completion bzip2 cdparanoia cli cracklib crypt dba divx4linux dri encode extensions fam fbcon fortran gd gdbm gif iconv idn ipv6 isdnlog java jpeg l7filter libg++ lm_sensors logrotate maildir mailwrapper memlimit midi milter mmx mmxext mpeg mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses nls no-suexec nptl nptlonly ogg onaccess oss pam pcre perl png pppd python qt readline reflection samba session slang snmp soap sockets spl ssl tcpd tidy truetype unicode vim-syntax vorbis win32codecs x86 xml xorg xvid 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always

Steps to Reproduce:
1.emerge python without threads
2.emerge vim
3.

Actual Results:  
does not compile

Expected Results:  
should require useflag threads for python package so it can compile
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-16 19:01:33 UTC
emerge --sync before reporting bugs, please.

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