Summary: | New package: dev-python/python-libtorrent | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Raúl Porcel (RETIRED) <armin76> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | brebs, bruce, lucamarturana |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Other | ||
URL: | http://code.google.com/p/python-libtorrent/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 148667 | ||
Bug Blocks: | 153543 | ||
Attachments: |
python-libtorrent-0.3.0.ebuild
python-libtorrent-0.4.0.ebuild |
Description
Raúl Porcel (RETIRED)
2006-10-31 02:48:33 UTC
Created attachment 101211 [details]
python-libtorrent-0.3.0.ebuild
Fixes boost version requirement.
(In reply to comment #1) > Created an attachment (id=101211) [edit] > python-libtorrent-0.3.0.ebuild > > Fixes boost version requirement. > Hm...i prefer this to work with stable versions. The library compiles when specifying the boost prefix and everything. After r1 becomes stable(i guess in about a month) then we can modify the dep. Does your boost-1.33.1 provide /usr/lib/libboost_thread.so? Mine (on x86) didn't, when compiled with the "threads" USE flag. So I needed boost-1.33.1-r1 instead, which *did* provide libboost_thread.so. Otherwise, python-libtorrent-0.3.0 did not compile. (In reply to comment #3) > Does your boost-1.33.1 provide /usr/lib/libboost_thread.so? Mine (on x86) > didn't, when compiled with the "threads" USE flag. So I needed boost-1.33.1-r1 > instead, which *did* provide libboost_thread.so. Otherwise, > python-libtorrent-0.3.0 did not compile. > Right, you are completely right. I remember that i linked manually the lib sometime ago. My fault. On my machine python-libtorrent doesn't compile, this is the output: i686-pc-linux-gnu-g++ -pthread -shared -O2 -march=pentium4 -fomit-frame-pointer -pipe -momit-leaf-frame-pointer build/temp.linux-i686-2.4/alert.o build/temp.linux-i686-2.4/identify_client.o build/temp.linux-i686-2.4/storage.o build/temp.linux-i686-2.4/allocate_resources.o build/temp.linux-i686-2.4/ip_filter.o build/temp.linux-i686-2.4/torrent.o build/temp.linux-i686-2.4/bt_peer_connection.o build/temp.linux-i686-2.4/peer_connection.o build/temp.linux-i686-2.4/torrent_handle.o build/temp.linux-i686-2.4/entry.o build/temp.linux-i686-2.4/piece_picker.o build/temp.linux-i686-2.4/torrent_info.o build/temp.linux-i686-2.4/escape_string.o build/temp.linux-i686-2.4/policy.o build/temp.linux-i686-2.4/tracker_manager.o build/temp.linux-i686-2.4/file.o build/temp.linux-i686-2.4/session.o build/temp.linux-i686-2.4/udp_tracker_connection.o build/temp.linux-i686-2.4/sha1.o build/temp.linux-i686-2.4/web_peer_connection.o build/temp.linux-i686-2.4/http_tracker_connection.o build/temp.linux-i686-2.4/stat.o build/temp.linux-i686-2.4/python-libtorrent.o -lboost_filesystem -lboost_date_time -lboost_program_options -lboost_regex -lboost_serialization -lboost_thread -lz -lpthread -o build/lib.linux-i686-2.4/torrent.so /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lboost_filesystem collect2: ld returned 1 exit status error: command 'i686-pc-linux-gnu-g++' failed with exit status 1 I'm using the ebuild found on sunrise overlay and I tried with boost-1.33.1 and boost-1.33.1-r1 with the same results. Any hint? emerge boost-1.33.1-r1 with its "threads" USE flag, then "equery files boost | grep filesystem | wc -l" produces 17 for me, including: /usr/lib/libboost_filesystem.a /usr/lib/libboost_filesystem.so /usr/lib/libboost_filesystem.so.1.33.1 (In reply to comment #6) > emerge boost-1.33.1-r1 with its "threads" USE flag, then "equery files boost | > grep filesystem | wc -l" produces 17 for me, including: > > /usr/lib/libboost_filesystem.a > /usr/lib/libboost_filesystem.so > /usr/lib/libboost_filesystem.so.1.33.1 > I now use 1.33.1-r1 with USE="doc threads threadsonly -bcp -bjam -debug -pyste" But the error still remain. There really should be a check it boost was built_with_use threads. As it stands there's no way of knowing that boost needs to have threads enabled before you compile python-libtorrent. Created attachment 103045 [details]
python-libtorrent-0.4.0.ebuild
Added USE flags check.
Comment on attachment 103045 [details]
python-libtorrent-0.4.0.ebuild
Obsoleted, in favour of the ebuild on Sunrise.
Marking as WONTFIX, as i'll add deluge-0.5.0_rc2 to the tree and it doesn't need this. |