My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 59: 0.2.0 fails to build in fedora rawhide.
3 people starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  ZeFl...@gmail.com


Sign in to add a comment
 
Reported by drag...@gmail.com, Jul 16, 2008
After updating rb_libtorrent to 0.13.1 in rawhide I had to rebuild linkage
because the so name got bumped.
First it failed to build because it claimed that it could not find
libtorrent. The attached patch fixes it so that it can detect the new name
in 0.13.1 .pc files.
Now it fails to detect "Boost::Serialization" while showing me an useless
error like "configure: error: Could not link against  !"
The libs is present and is in libdir.
I have added "--with-boost-serialization=mt" to configure this fixed it for
i386 but still fails on x86_64. "configure: error: Could not link against
boost_serialization-mt !".

Besides that it still fails on i386 after it passes configure:
http://koji.fedoraproject.org/koji/getfile?taskID=720948&name=build.log

After spending some hours with it I decided to report it here.
Any idea whats going on?
Why does it fail to detect boost?
Whats up with the build failure? Does it build against 0.13.1 or only 0.13
(ie. API changed) ? If this is the case please change the configure script
from >= to == to prevent this from happening.
linkage-0.2.0-rb_libtorrent.patch
3.0 KB   View   Download
Jul 17, 2008
#1 drag...@gmail.com
There is a workaround for the boost issue:
https://www.redhat.com/archives/fedora-devel-list/2008-July/msg01070.html
but the build still fails due to using a different API.
Jul 17, 2008
#2 drag...@gmail.com
The attached patch fixes the remaining build issues.
linkage-0.2.0-buildfix.patch
503 bytes   View   Download
Jul 23, 2008
Project Member #3 ZeFl...@gmail.com
Dunno how to handle the libtorrent check, modifying it for fedora will break it for 
other distros, hmm..

And yea, libtorrent break API on almost every release so thanks for the find :)
Will commit the buildfix patch to trunk as soon as I can.
Status: Accepted
Owner: ZeFlunk
Labels: -Type-Defect Type-Patch
Jul 23, 2008
#4 drag...@gmail.com
Afaik the libtorrent change was an upstream one in 0.13.1 (not fedora specific).

Sign in to add a comment

Powered by Google Project Hosting