Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383041 - dev-python/pycuda bundles a copy of libboost_python (or statically link against it)
Summary: dev-python/pycuda bundles a copy of libboost_python (or statically link again...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: bundled-libs
  Show dependency tree
 
Reported: 2011-09-15 07:03 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2012-01-10 16:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
2011.1.2-r1 ebuild that disables using 'built-in' boost (pycuda-2011.1.2-ebuild-no-ship-boost.patch,330 bytes, patch)
2011-09-23 16:06 UTC, JTRiley
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2011-09-15 07:03:39 UTC
Symbol _ZNK5boost6python6detail10slice_base4stepEv@ (32-bit UNIX - System V Intel 80386) present 2 times
  libboost_python
  /media/tinderbox/usr/lib/python2.7/site-packages/pycuda/_driver.so
Symbol _ZNK5boost6python6detail10slice_base4stopEv@ (32-bit UNIX - System V Intel 80386) present 2 times
  libboost_python
  /media/tinderbox/usr/lib/python2.7/site-packages/pycuda/_driver.so
Symbol _ZNK5boost6python6detail10slice_base5startEv@ (32-bit UNIX - System V Intel 80386) present 2 times
  libboost_python
  /media/tinderbox/usr/lib/python2.7/site-packages/pycuda/_driver.so
Symbol _ZNK5boost6python6detail12wrapper_base12get_overrideEPKcP11_typeobject@ (32-bit UNIX - System V Intel 80386) present 2 times
  libboost_python
  /media/tinderbox/usr/lib/python2.7/site-packages/pycuda/_driver.so
Symbol _ZNK5boost6python6detail17exception_handlerclERKNS_9function0IvEE@ (32-bit UNIX - System V Intel 80386) present 2 times
  libboost_python
  /media/tinderbox/usr/lib/python2.7/site-packages/pycuda/_driver.so
Symbol _ZNK5boost6python6detail8str_base10capitalizeEv@ (32-bit UNIX - System V Intel 80386) present 2 times
  libboost_python
  /media/tinderbox/usr/lib/python2.7/site-packages/pycuda/_driver.so
Symbol _ZNK5boost6python6detail8str_base10expandtabsERKNS0_3api6objectE@ (32-bit UNIX - System V Intel 80386) present 2 times
  libboost_python
  /media/tinderbox/usr/lib/python2.7/site-packages/pycuda/_driver.so
[...]
Comment 1 JTRiley 2011-09-23 16:06:41 UTC
Created attachment 287519 [details, diff]
2011.1.2-r1 ebuild that disables using 'built-in' boost

just need to pass --no-use-shipped-boost=True to configure.py

% ldd /usr/lib64/python2.6/site-packages/pycuda/_driver.so
	linux-vdso.so.1 =>  (0x00007fff04bff000)
	libboost_python-mt-1_46.so.1.46.1 => /usr/lib64/libboost_python-mt-1_46.so.1.46.1 (0x00007f349e020000)
	libboost_thread-mt-1_46.so.1.46.1 => /usr/lib64/libboost_thread-mt-1_46.so.1.46.1 (0x00007f349de06000)
	libcuda.so.1 => /usr/lib64/libcuda.so.1 (0x00007f349d2d2000)
	libcurand.so.4 => /opt/cuda/lib64/libcurand.so.4 (0x00007f349b39e000)
	libpython2.6.so.1.0 => /usr/lib64/libpython2.6.so.1.0 (0x00007f349b00e000)
	libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libstdc++.so.6 (0x00007f349ad0c000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f349aaf6000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f349a8d9000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f349a57f000)
	libutil.so.1 => /lib64/libutil.so.1 (0x00007f349a37c000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f349a178000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f3499f70000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f3499d59000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f3499ad9000)
	libcudart.so.4 => /opt/cuda/lib64/libcudart.so.4 (0x00007f3499888000)
	/lib64/ld-linux-x86-64.so.2 (0x00000035c5400000)
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2012-01-10 16:17:21 UTC
+*pycuda-2011.2.2 (10 Jan 2012)
+
+  10 Jan 2012; Justin Lecher <jlec@gentoo.org> -pycuda-0.94.2.ebuild,
+  -pycuda-2011.1.2.ebuild, +pycuda-2011.2.2.ebuild, pycuda-9999.ebuild,
+  metadata.xml:
+  Version Bump, Dropped old, fixes python.eclass related issues, do not link
+  against bundled boost, fix finding of system cuda related libs, use git
+  submodules, #345517, #383041 and #384211; thanks JTRiley for the many fixes
+