Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195059 - dev-python/tagpy-0.92 needs USE=threads w/ <dev-libs/boost-1.34.0
Summary: dev-python/tagpy-0.92 needs USE=threads w/ <dev-libs/boost-1.34.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High trivial
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-08 06:11 UTC by Stephen Boyd
Modified: 2008-02-23 17:55 UTC (History)
3 users (show)

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 Stephen Boyd 2007-10-08 06:11:49 UTC
dev-python/tagpy-0.92 fails when building because it's looking for libboost-python-mt which doesn't exist when dev-libs/boost is built without the threads useflag.

Reproducible: Always

Steps to Reproduce:

Actual Results:  
>>> Unpacking source...
>>> Unpacking tagpy-0.92.tar.gz to /var/tmp/portage/dev-python/tagpy-0.92/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-python/tagpy-0.92/work/tagpy-0.92 ...
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.4
creating build/lib.linux-x86_64-2.4/tagpy
copying src/python/flac.py -> build/lib.linux-x86_64-2.4/tagpy
copying src/python/ape.py -> build/lib.linux-x86_64-2.4/tagpy
copying src/python/mpeg.py -> build/lib.linux-x86_64-2.4/tagpy
copying src/python/mpc.py -> build/lib.linux-x86_64-2.4/tagpy
copying src/python/id3v1.py -> build/lib.linux-x86_64-2.4/tagpy
copying src/python/id3v2.py -> build/lib.linux-x86_64-2.4/tagpy
copying src/python/__init__.py -> build/lib.linux-x86_64-2.4/tagpy
creating build/lib.linux-x86_64-2.4/tagpy/ogg
copying src/python/ogg/flac.py -> build/lib.linux-x86_64-2.4/tagpy/ogg
copying src/python/ogg/vorbis.py -> build/lib.linux-x86_64-2.4/tagpy/ogg
copying src/python/ogg/__init__.py -> build/lib.linux-x86_64-2.4/tagpy/ogg
running build_ext
building '_tagpy' extension
creating build/temp.linux-x86_64-2.4
creating build/temp.linux-x86_64-2.4/src
creating build/temp.linux-x86_64-2.4/src/wrapper
x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -O3 -march=k8 -O2 -pipe -fPIC -I/usr/include/taglib -I/usr/include/python2.4 -c src/wrapper/basics.cpp -o build/temp.linux-x86_64-2.4/src/wrapper/basics.o
x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -O3 -march=k8 -O2 -pipe -fPIC -I/usr/include/taglib -I/usr/include/python2.4 -c src/wrapper/id3.cpp -o build/temp.linux-x86_64-2.4/src/wrapper/id3.o
x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -O3 -march=k8 -O2 -pipe -fPIC -I/usr/include/taglib -I/usr/include/python2.4 -c src/wrapper/rest.cpp -o build/temp.linux-x86_64-2.4/src/wrapper/rest.o
x86_64-pc-linux-gnu-g++ -pthread -shared -march=k8 -O2 -pipe build/temp.linux-x86_64-2.4/src/wrapper/basics.o build/temp.linux-x86_64-2.4/src/wrapper/id3.o build/temp.linux-x86_64-2.4/src/wrapper/rest.o -ltag -lboost_python-mt -o build/lib.linux-x86_64-2.4/_tagpy.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lboost_python-mt
collect2: ld returned 1 exit status
error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1



Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3500+
Timestamp of tree: Mon, 08 Oct 2007 02:20:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
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
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
LANG="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j2"
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://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 avahi bash-completion berkdb bitmap-fonts branding cairo cdinstall cdr cli cracklib crypt cups dbus dri dvd firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog java jpeg logrotate midi mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin nvidia opengl openmp pam pcre perl png pppd python qt3 readline reflection samba session spl sse sse2 ssl startup-notification tcpd threads tk truetype truetype-fonts type1-fonts unicode xcb xorg 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-08 07:15:01 UTC
Sigh...

dev-zero: can we get >=boost-1.34.0-r1 stable to avoid sticking more of these sucky checks all over the place?
Comment 2 movrev 2007-11-18 08:35:51 UTC
Hey, I can confirm that enabling threads solves the problem and I can now emerge tagpy-0.91 through 0.93. I hope this bug gets eventually fixed, but for now the solution will reside in package.use. Thanks.
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2008-02-23 17:55:41 UTC
Changed the dependency to require >=boost-1.34.1 (since that one's stable now). This fixes the problem.
Cheers.