Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 461276

Summary: dev-python/tagpy-2013.1 fails to build
Product: Gentoo Linux Reporter: Ian Delaney (RETIRED) <idella4>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: pacho
Priority: Normal Keywords: Bug, EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 504336    
Attachments: ebuild

Description Ian Delaney (RETIRED) gentoo-dev 2013-03-10 15:19:33 UTC
Created attachment 341548 [details]
ebuild

here's a nice new ebuild for tagpy-2013.1, only

Houston we have a problem

running build_ext
building '_tagpy' extension
creating /mnt/gen2/TmpDir/portage/dev-python/tagpy-2013.1/work/tagpy-2013.1-python2_7/temp.linux-x86_64-2.7
creating /mnt/gen2/TmpDir/portage/dev-python/tagpy-2013.1/work/tagpy-2013.1-python2_7/temp.linux-x86_64-2.7/src
creating /mnt/gen2/TmpDir/portage/dev-python/tagpy-2013.1/work/tagpy-2013.1-python2_7/temp.linux-x86_64-2.7/src/wrapper
x86_64-pc-linux-gnu-g++ -pthread -march=athlon64 -pipe -fomit-frame-pointer -O2 -fPIC -I/usr/include/taglib -I/usr/include/python2.7 -c src/wrapper/basics.cpp -o /mnt/gen2/TmpDir/portage/dev-python/tagpy-2013.1/work/tagpy-2013.1-python2_7/temp.linux-x86_64-2.7/src/wrapper/basics.o
x86_64-pc-linux-gnu-g++ -pthread -march=athlon64 -pipe -fomit-frame-pointer -O2 -fPIC -I/usr/include/taglib -I/usr/include/python2.6 -c src/wrapper/id3.cpp -o /mnt/gen2/TmpDir/portage/dev-python/tagpy-2013.1/work/tagpy-2013.1-python2_6/temp.linux-x86_64-2.6/src/wrapper/id3.o
x86_64-pc-linux-gnu-g++ -pthread -march=athlon64 -pipe -fomit-frame-pointer -O2 -fPIC -I/usr/include/taglib -I/usr/include/python2.7 -c src/wrapper/id3.cpp -o /mnt/gen2/TmpDir/portage/dev-python/tagpy-2013.1/work/tagpy-2013.1-python2_7/temp.linux-x86_64-2.7/src/wrapper/id3.o
x86_64-pc-linux-gnu-g++ -pthread -march=athlon64 -pipe -fomit-frame-pointer -O2 -fPIC -I/usr/include/taglib -I/usr/include/python2.6 -c src/wrapper/rest.cpp -o /mnt/gen2/TmpDir/portage/dev-python/tagpy-2013.1/work/tagpy-2013.1-python2_6/temp.linux-x86_64-2.6/src/wrapper/rest.o
x86_64-pc-linux-gnu-g++ -pthread -march=athlon64 -pipe -fomit-frame-pointer -O2 -fPIC -I/usr/include/taglib -I/usr/include/python2.7 -c src/wrapper/rest.cpp -o /mnt/gen2/TmpDir/portage/dev-python/tagpy-2013.1/work/tagpy-2013.1-python2_7/temp.linux-x86_64-2.7/src/wrapper/rest.o
x86_64-pc-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -march=athlon64 -pipe -fomit-frame-pointer -O2 /mnt/gen2/TmpDir/portage/dev-python/tagpy-2013.1/work/tagpy-2013.1-python2_6/temp.linux-x86_64-2.6/src/wrapper/basics.o /mnt/gen2/TmpDir/portage/dev-python/tagpy-2013.1/work/tagpy-2013.1-python2_6/temp.linux-x86_64-2.6/src/wrapper/id3.o /mnt/gen2/TmpDir/portage/dev-python/tagpy-2013.1/work/tagpy-2013.1-python2_6/temp.linux-x86_64-2.6/src/wrapper/rest.o -L/usr/lib64 -ltag -lboost_python--mt -lpython2.6 -o /mnt/gen2/TmpDir/portage/dev-python/tagpy-2013.1/work/tagpy-2013.1-python2_6/lib/_tagpy.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../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

it doesn't work. seems 

cannot find -lboost_python--mt

testuser@archtester ~/cvsPortage/gentoo-x86/dev-python/tagpy $ find /usr/lib64 -name "libboost_python*" | grep mt
/usr/lib64/libboost_python-2.6-mt-1_49.so.1.49.0
/usr/lib64/libboost_python-3.1-mt.so
/usr/lib64/libboost_python-2.6-mt.so
/usr/lib64/libboost_python-2.6-mt-1_49.so
/usr/lib64/libboost_python-2.7-mt-1_49.so.1.49.0
/usr/lib64/libboost_python-2.7-mt-1_49.so
/usr/lib64/boost-1_49/libboost_python-3.1-mt.so
/usr/lib64/boost-1_49/libboost_python-2.6-mt.so
/usr/lib64/boost-1_49/libboost_python-2.7-mt.so
/usr/lib64/boost-1_49/libboost_python-3.2-mt.so
/usr/lib64/libboost_python-3.2-mt-1_49.so.1.49.0
/usr/lib64/libboost_python-2.7-mt.so
/usr/lib64/libboost_python-3.1-mt-1_49.so
/usr/lib64/libboost_python-3.2-mt.so
/usr/lib64/libboost_python-3.1-mt-1_49.so.1.49.0
/usr/lib64/libboost_python-3.2-mt-1_49.so

it has a nomenclature issue.  lib is there all right.
Comment 1 Stefan Briesenick (RETIRED) gentoo-dev 2013-04-04 21:43:47 UTC
maybe it's not ready for current boost.
Comment 2 Pacho Ramos gentoo-dev 2014-11-25 12:46:53 UTC
(also prevents me from trying to support python 3.4):/
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2015-03-31 04:29:10 UTC
(In reply to Pacho Ramos from comment #2)
> (also prevents me from trying to support python 3.4):/

~/cvsPortage/gentoo-x86/dev-python/tagpy $ ebuild tagpy-2013.1.ebuild install

>>> Completed installing tagpy-2013.1 into /mnt/gen2/TmpDir/portage/dev-python/tagpy-2013.1/image/

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   usr/lib64/python3.3/site-packages/_tagpy.cpython-33.so
   usr/lib64/python2.7/site-packages/_tagpy.so
   usr/lib64/python3.4/site-packages/_tagpy.cpython-34.so
ecompressdir: bzip2 -9 /usr/share/doc

It output this rather odd

Setuptools conflict detected.
-------------------------------------------------------------------------
When I imported setuptools, I did not get the distribute version of
setuptools, which is troubling--this package really wants to be used
with distribute rather than the old setuptools package. More than likely,
you have both distribute and setuptools installed, which is bad.

See this page for more information:
http://wiki.tiker.net/DistributeVsSetuptools
-------------------------------------------------------------------------
I will continue after a short while, fingers crossed.
Hit Ctrl-C now if you'd like to think about the situation.
-------------------------------------------------------------------------
Continuing in xx seconds...    

however it was just a sleep 10, and then continued.

(In reply to Stefan Briesenick from comment #1)
> maybe it's not ready for current boost.

maybe it is

  31 Mar 2015; Ian Delaney <idella4@gentoo.org> tagpy-2013.1.ebuild:
  Clean up even more PYTHON_COMPAT from old implementations, add py3.4 support,
  fixes bug #461276