Wesnoth does not build with the latest boost. Since the latter is slotted and all versions but 1.36 and 1.37 are in slot "0", all it requires is adding ':0' to the boost dependency in the ebuild, like this: RDEPEND="[...] dev-libs/boost:0 [...]" I have only tested with wesnoth-1.6.2 but it seems logical that other versions behave the same way. With my current internet connection and knowing the size of that package there's absolutely no way that I can download all 3 versions of Wesnoth currently in Portage and try them all. Sorry. Denis.
Can confirm this. Recompile of 1.6.1 fails as wel. -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE CMake Error at cmake/FindBoost.cmake:392 (MESSAGE): Please install the Boost libraries AND development packages Call Stack (most recent call first): CMakeLists.txt:22 (find_package) -- Configuring incomplete, errors occurred!
same here
And worst. Old libraries are not preserved and wesnoth does not start now: wesnoth: error while loading shared libraries: libboost_iostreams-mt.so: cannot open shared object file: No such file or directory
(In reply to comment #3) > And worst. Old libraries are not preserved and wesnoth does not start now: > > wesnoth: error while loading shared libraries: libboost_iostreams-mt.so: cannot > open shared object file: No such file or directory I'm guessing you didn't run revdep-rebuild or remerged Wesnoth after updating Boost. Because with my fix above it runs perfectly well here. Denis.
(In reply to comment #4) > (In reply to comment #3) > > And worst. Old libraries are not preserved and wesnoth does not start now: > > > > wesnoth: error while loading shared libraries: libboost_iostreams-mt.so: cannot > > open shared object file: No such file or directory > > I'm guessing you didn't run revdep-rebuild or remerged Wesnoth after updating > Boost. Because with my fix above it runs perfectly well here. > > Denis. > I have no problem to install boost:0. The issue is with newest portage and the "@preserved-rebuild" feature. It should protect the old libraries until is the package rebuilded. But it failed in this case.
wesnoth-1.6.2 compiled fine here (~amd64 setup) with boost-1.37.0-r1: -- Found Threads: TRUE -- Found The Following Boost Libraries: -- iostreams -- regex -- Boost Version: 1.37.0 -- Looking for gettext [snip] [100%] Building CXX object src/CMakeFiles/wesnoth.dir/editor2/map_fragment.o [100%] Building CXX object src/CMakeFiles/wesnoth.dir/editor2/mouse_action.o Linking CXX executable ../wesnoth [100%] Built target wesnoth >>> Source compiled.
Problem solved with "eselect boost set ...".
(In reply to comment #7) > Problem solved with "eselect boost set ...". > I can confirm this. Thanks
*** This bug has been marked as a duplicate of bug 269517 ***
*** Bug 269811 has been marked as a duplicate of this bug. ***