Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503746 - net-libs/rb_libtorrent-0.16.10 on multilib - configure: error: Boost.System library not found. Try using --with-boost-system=lib
Summary: net-libs/rb_libtorrent-0.16.10 on multilib - configure: error: Boost.System l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-03-07 16:15 UTC by Georgi Georgiev
Modified: 2014-03-15 16:50 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 Georgi Georgiev 2014-03-07 16:15:09 UTC
On a multilib profile with SYMLINK_LIB=no (i.e. /usr/lib contains 32-bit libraries), net-libs/rb_libtorrent-0.16.10 fails to build with:

Checking for boost libraries:
checking for boostlib >= 1.36... yes
checking whether the Boost::System library is available... yes
configure: error: Boost.System library not found. Try using --with-boost-system=lib

The fix is trivial:

--- a/net-libs/rb_libtorrent/rb_libtorrent-0.16.10.ebuild
+++ b/net-libs/rb_libtorrent/rb_libtorrent-0.16.10.ebuild
@@ -64,6 +64,7 @@ src_configure() {
                $(use_enable python python-binding) \
                $(use_enable ssl encryption) \
                $(use_enable static-libs static) \
+               --with-boost-libdir=/usr/$(get_libdir) \
                ${myconf}
 }
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2014-03-10 19:03:06 UTC
What is this multilib profile with SYMLINK_LIB=no? Can I see your emerge --info?
Comment 2 Georgi Georgiev 2014-03-11 14:01:50 UTC
(In reply to Markos Chandras from comment #1)
> What is this multilib profile with SYMLINK_LIB=no? Can I see your emerge
> --info?

It's a custom profile. I put more info in bug#503412#c3 but the short version is:

I inherit these two profiles:

default/linux/amd64/13.0/desktop/gnome/systemd
features/multilib

And then I set SYMLINK_LIB=no inside make.defaults

And I use paludis, so "emerge --info" would be irrelevant. I can attach "cave info" if you need it.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2014-03-11 19:22:08 UTC
(In reply to Georgi Georgiev from comment #2)
> (In reply to Markos Chandras from comment #1)
> > What is this multilib profile with SYMLINK_LIB=no? Can I see your emerge
> > --info?
> 
> It's a custom profile. I put more info in bug#503412#c3 but the short
> version is:
> 
> I inherit these two profiles:
> 
> default/linux/amd64/13.0/desktop/gnome/systemd
> features/multilib
> 
> And then I set SYMLINK_LIB=no inside make.defaults
> 
> And I use paludis, so "emerge --info" would be irrelevant. I can attach
> "cave info" if you need it.

I just don't know if SYMLINK_LIB=no is something that is generally supported in multilib. If it is not, then having fixes for it should not be encouraged.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2014-03-15 16:50:07 UTC
+  15 Mar 2014; Markos Chandras <hwoarang@gentoo.org>
+  -rb_libtorrent-0.16.12.ebuild, -rb_libtorrent-0.16.13.ebuild,
+  -rb_libtorrent-0.16.14.ebuild, rb_libtorrent-0.16.10.ebuild,
+  rb_libtorrent-0.16.15.ebuild:
+  Make sure the correct boot library path is used. Bug #503746. Patch by Georgi
+  Georgiev