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

Bug 269811

Summary: games-strategy/wesnoth-1.6.2 fails to build: cmake cannot find boost
Product: Gentoo Linux Reporter: Christos Gitsis <cgitsis>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christos Gitsis 2009-05-14 09:44:21 UTC
games-strategy/wesnoth-1.6.2 fails to build with a message saying that cmake cannot find the boost libraries.
If I run #>eix boost, it says everything containing boost (app-admin/eselect-boost-0.3, dev-libs/boost-1.37.0-r1, dev-util/boost-build-1.37.0) is already installed.

Reproducible: Always

Steps to Reproduce:
1.emerge wesnoth


Actual Results:  
>>> Unpacking source...
>>> Unpacking wesnoth-1.6.2.tar.bz2 to /var/tmp/portage/games-strategy/wesnoth-1.6.2/work
>>> Source unpacked in /var/tmp/portage/games-strategy/wesnoth-1.6.2/work
>>> Preparing source in /var/tmp/portage/games-strategy/wesnoth-1.6.2/work/wesnoth-1.6.2 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/games-strategy/wesnoth-1.6.2/work/wesnoth-1.6.2 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/games-strategy/wesnoth-1.6.2/work/wesnoth-1.6.2_build"
loading initial cache file /var/tmp/portage/games-strategy/wesnoth-1.6.2/temp/gentoo_common_config.cmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- 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!
 * 
 * ERROR: games-strategy/wesnoth-1.6.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 3102:  Called cmake-utils_src_configure
 *             environment, line  820:  Called die
 * The specific snippet of code:
 *       cmake ${cmakeargs} "${CMAKE_USE_DIR}" || die "cmake failed";
 *  The die message:
 *   cmake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-strategy/wesnoth-1.6.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-strategy/wesnoth-1.6.2/temp/environment'.
 *
Comment 1 Xavier Neys (RETIRED) gentoo-dev 2009-05-14 10:45:07 UTC

*** This bug has been marked as a duplicate of bug 269495 ***