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

Bug 432790

Summary: schroot build failed w/ boost-1.50.0-r2
Product: Gentoo Linux Reporter: Alex Turbov <I.zaufi>
Component: New packagesAssignee: Jonathan Callen (RETIRED) <jcallen>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 425188    
Attachments: quick fix for configure

Description Alex Turbov 2012-08-26 02:02:49 UTC
boost-1.50.0-r2 doesn't use eselec-boost anymore, but schroot's configure.ac works only if boost installed w/ a system layout option or if eselect-boost provides a set of symlinks to simulate it... now there is no eselect-boost and no short symlinks to libboost-xxx.so (as well as /usr/include/boost symlink)... it is why configuration script unable to detect boost header files and libraries at all...


Reproducible: Always

Steps to Reproduce:
1. make sure u have boost-1.50.0-r2 installed as the only version
2. make sure there is no eselect-boost symlinks (or even eselect-boost is not installed)
3. try to install schroot
Actual Results:  
configuration script failed to find a boost headers (at first). even if you'll try to cheat it by adding a symlink /usr/include/boost --> /usr/include/boost_1_50/boost it would fail later on libraries detection...
Comment 1 Alex Turbov 2012-08-26 21:28:16 UTC
Created attachment 322326 [details]
quick fix for configure

upstream configure.ac is simple (naive) when detect boost, so easy way (w/o serious redesign configure.ac) is to use supposed by Tiziano Müller method (http://marc.info/?l=gentoo-dev&m=134580187015362&w=1) and patch CPPFLAGS and LDFLAGS before configure package...
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-11-22 03:38:19 UTC
Okay this should be obsolete now since eselect boost is dead.