Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269495 - games-strategy/wesnoth requires dev-libs/boost:0
Summary: games-strategy/wesnoth requires dev-libs/boost:0
Status: RESOLVED DUPLICATE of bug 269517
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 269811 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-12 04:54 UTC by Denis Dupeyron (RETIRED)
Modified: 2009-05-14 10:45 UTC (History)
2 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 Denis Dupeyron (RETIRED) gentoo-dev 2009-05-12 04:54:53 UTC
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.
Comment 1 Marian Kyral 2009-05-12 07:43:49 UTC
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!
Comment 2 Anton S. Ustyuzhanin 2009-05-12 18:00:05 UTC
same here
Comment 3 Marian Kyral 2009-05-12 19:31:20 UTC
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
Comment 4 Denis Dupeyron (RETIRED) gentoo-dev 2009-05-12 20:07:40 UTC
(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.
Comment 5 Marian Kyral 2009-05-12 20:29:04 UTC
(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.
Comment 6 Neil Cathey 2009-05-13 03:26:25 UTC
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.
Comment 7 Vasiliy Levykin 2009-05-13 08:24:18 UTC
Problem solved with "eselect boost set ...".
Comment 8 Marian Kyral 2009-05-13 08:42:25 UTC
(In reply to comment #7)
> Problem solved with "eselect boost set ...".
> 

I can confirm this.
Thanks
Comment 9 Sebastian Luther (few) 2009-05-13 10:30:33 UTC

*** This bug has been marked as a duplicate of bug 269517 ***
Comment 10 Xavier Neys (RETIRED) gentoo-dev 2009-05-14 10:45:07 UTC
*** Bug 269811 has been marked as a duplicate of this bug. ***