Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 561832 - games-strategy/freeorion-0.4.5::gentoo failed
Summary: games-strategy/freeorion-0.4.5::gentoo failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Thomas Kahle (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-29 14:54 UTC by Roman Gruber
Modified: 2015-09-29 19:42 UTC (History)
0 users

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 Roman Gruber 2015-09-29 14:54:13 UTC
* Fetching files in the background. To view fetch progress, run
 * `tail -f /var/log/emerge-fetch.log` in another terminal.
 * freeorion-0.4.5.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                            [ ok ]
>>> Unpacking source...
>>> Unpacking freeorion-0.4.5.tar.gz to /mnt/sdb2/var/tmp/portage/games-strategy/freeorion-0.4.5/work
>>> Source unpacked in /mnt/sdb2/var/tmp/portage/games-strategy/freeorion-0.4.5/work
>>> Preparing source in /mnt/sdb2/var/tmp/portage/games-strategy/freeorion-0.4.5/work/freeorion-0.4.5 ...
>>> Source prepared.
>>> Configuring source in /mnt/sdb2/var/tmp/portage/games-strategy/freeorion-0.4.5/work/freeorion-0.4.5 ...
>>> Working in BUILD_DIR: "/mnt/sdb2/var/tmp/portage/games-strategy/freeorion-0.4.5/work/freeorion-0.4.5_build"
cmake --no-warn-unused-cli -C /mnt/sdb2/var/tmp/portage/games-strategy/freeorion-0.4.5/work/freeorion-0.4.5_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DRELEASE_COMPILE_FLAGS= -DCMAKE_SKIP_RPATH=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/mnt/sdb2/var/tmp/portage/games-strategy/freeorion-0.4.5/work/freeorion-0.4.5_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/mnt/sdb2/var/tmp/portage/games-strategy/freeorion-0.4.5/work/freeorion-0.4.5_build/gentoo_toolchain.cmake  /mnt/sdb2/var/tmp/portage/games-strategy/freeorion-0.4.5/work/freeorion-0.4.5
Not searching for unused variables given on the command line.
loading initial cache file /mnt/sdb2/var/tmp/portage/games-strategy/freeorion-0.4.5/work/freeorion-0.4.5_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 5.2.0
-- The CXX compiler identification is GNU 5.2.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not 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  
-- Found PythonInterp: /mnt/sdb2/var/tmp/portage/games-strategy/freeorion-0.4.5/temp/python2.7/bin/python (found suitable version "2.7.10", minimum required is "2.7") 
-- Boost version: 1.52.0
-- Found the following Boost libraries:
--   chrono
--   date_time
--   filesystem
--   signals
--   system
--   thread
--   log
-- Found JPEG: /usr/lib64/libjpeg.so  
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8") 
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.18") 
-- Found TIFF: /usr/lib64/libtiff.so (found version "4.0.6") 
-- Found OpenGL: /usr/lib64/libGL.so  
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.6.0") 
-- Configuring GiGi
-- Configuring GiGiSDL
-- Found SDL2: /usr/lib64/libSDL2main.a;/usr/lib64/libSDL2.so;-lpthread  
CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:1286 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.52.0

  Boost include path: /usr/include/boost-1_51

  Detected version of Boost is too old.  Requested version was 1.54 (or
  newer).
Call Stack (most recent call first):
  CMakeLists.txt:115 (find_package)


-- Configuring freeoriond
CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:1286 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.52.0

  Boost include path: /usr/include/boost-1_51

  Detected version of Boost is too old.  Requested version was 1.54 (or
  newer).
Call Stack (most recent call first):
  server/CMakeLists.txt:8 (find_package)


-- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.10", minimum required is "2.7") 
-- Configuring freeorionca
CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:1286 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.52.0

  Boost include path: /usr/include/boost-1_51

  Detected version of Boost is too old.  Requested version was 1.54 (or
  newer).
Call Stack (most recent call first):
  client/AI/CMakeLists.txt:8 (find_package)


-- Configuring freeorion
-- Found GLEW: /usr/include  
-- Found OpenAL: /usr/lib64/libopenal.so  
-- Found Ogg: /usr/lib64/libogg.so  
-- Found Vorbis: /usr/lib64/libvorbis.so  
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=native -O2 -pipe 
C++             -march=native -O2 -pipe  -Wno-deprecated -Wall -Wno-parentheses
Linker flags:
Executable       -Wl,-O1 -Wl,--as-needed
Module           -Wl,-O1 -Wl,--as-needed
Shared           -Wl,-O1 -Wl,--as-needed

-- Configuring incomplete, errors occurred!
See also "/mnt/sdb2/var/tmp/portage/games-strategy/freeorion-0.4.5/work/freeorion-0.4.5_build/CMakeFiles/CMakeOutput.log".
See also "/mnt/sdb2/var/tmp/portage/games-strategy/freeorion-0.4.5/work/freeorion-0.4.5_build/CMakeFiles/CMakeError.log".
 * ERROR: games-strategy/freeorion-0.4.5::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   90:  Called src_configure
 *   environment, line 4221:  Called cmake-utils_src_configure
 *   environment, line  995:  Called _execute_optionally 'src_configure'
 *   environment, line  327:  Called enable_cmake-utils_src_configure
 *   environment, line 1442:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=games-strategy/freeorion-0.4.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=games-strategy/freeorion-0.4.5::gentoo'`.
 * The complete build log is located at '/mnt/sdb2/var/tmp/portage/games-strategy/freeorion-0.4.5/temp/build.log'.
 * The ebuild environment file is located at '/mnt/sdb2/var/tmp/portage/games-strategy/freeorion-0.4.5/temp/environment'.
 * Working directory: '/mnt/sdb2/var/tmp/portage/games-strategy/freeorion-0.4.5/work/freeorion-0.4.5_build'
 * S: '/mnt/sdb2/var/tmp/portage/games-strategy/freeorion-0.4.5/work/freeorion-0.4.5'

>>> Failed to emerge games-strategy/freeorion-0.4.5, Log file:

>>>  '/mnt/sdb2/var/tmp/portage/games-strategy/freeorion-0.4.5/temp/build.log'

 * GNU info directory index is up-to-date.
Knight roman # gcc-config -l
 [1] x86_64-pc-linux-gnu-4.4.7
 [2] x86_64-pc-linux-gnu-4.5.4
 [3] x86_64-pc-linux-gnu-4.7.4
 [4] x86_64-pc-linux-gnu-4.9.3
 [5] x86_64-pc-linux-gnu-5.2.0 *
Knight roman # eix gigi
No matches found.
Knight roman # eix Gigi
No matches found.
Knight roman # eix boost
[I] dev-libs/boost
     Available versions:  1.52.0-r7(0/1.52) (~)1.53.0-r1(0/1.53) (~)1.54.0-r1(0/1.54) 1.55.0-r2(0/1.55.0)^t 1.56.0-r1(0/1.56.0)^t (~)1.57.0(0/1.57.0)^t [M](~)1.58.0-r1(0/1.58.0)^t {context debug doc icu mpi +nls python static-libs +threads tools ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" PYTHON_TARGETS="python2_7 python3_3 python3_4"}
     Installed versions:  1.57.0^t(10:28:05 28.07.2015)(icu nls python threads tools -context -debug -doc -mpi -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32" PYTHON_TARGETS="python2_7 python3_4 -python3_3")
     Homepage:            http://www.boost.org/
     Description:         Boost Libraries for C++

* dev-libs/boost-numpy
     Available versions:  (~)0_pre20131206 **9999 {doc examples}
     Homepage:            https://github.com/ndarray/Boost.NumPy
     Description:         Boost.Python interface for NumPy

* dev-ros/rosboost_cfg
     Available versions:  (~)1.12.3 **9999 {test PYTHON_TARGETS="python2_7 python3_3 python3_4"}
     Homepage:            http://wiki.ros.org/rosboost_cfg
     Description:         Tool for determining cflags/lflags/etc. of boost on your system

[I] dev-util/boost-build
     Available versions:  1.52.0-r1^t (~)1.53.0^t (~)1.54.0^t 1.55.0^t (~)1.55.0-r1^t 1.56.0^t (~)1.57.0^t [M](~)1.58.0^t {examples python test PYTHON_TARGETS="python2_7"}
     Installed versions:  1.57.0^t(10:04:38 28.07.2015)(python -examples -test PYTHON_TARGETS="python2_7")
     Homepage:            http://www.boost.org/doc/tools/build/index.html
     Description:         A system for large project software construction, which is simple to use and powerful

* media-sound/pianobooster
     Available versions:  (~)0.6.4b {fluidsynth}
     Homepage:            http://pianobooster.sourceforge.net
     Description:         A MIDI file player that teaches how to play the piano

* sys-devel/boost-m4
     Available versions:  0.4 (~)0.4-r1
     Homepage:            https://github.com/tsuna/boost.m4
     Description:         Another set of autoconf macros for compiling against boost

Found 6 matches.
Knight roman # ls /usr/include/
Display all 1739 possibilities? (y or n)
Knight roman # ls /usr/include/boost
boost/      boost-1_51/ 


Not sure if there is no gigi, but definitly there is an issue with having two folders with boost and boost-1_51.

Did portage did not clean up proper previous installations? is this folder lint?

How comes it uses   Boost include path: /usr/include/boost-1_51 instead of /boost ?
Comment 1 Julian Ospald 2015-09-29 15:05:41 UTC
(In reply to Roman Gruber from comment #0)
> 
> Found 6 matches.
> Knight roman # ls /usr/include/
> Display all 1739 possibilities? (y or n)
> Knight roman # ls /usr/include/boost
> boost/      boost-1_51/ 
> 
> 
> Not sure if there is no gigi, but definitly there is an issue with having
> two folders with boost and boost-1_51.
> 
> Did portage did not clean up proper previous installations? is this folder
> lint?
> 
> How comes it uses   Boost include path: /usr/include/boost-1_51 instead of
> /boost ?

/usr/include/boost-1_51 is a leftover from the old days when boost was slotted and eselect-compatible

It seems portage screwed up or the transition was just improperly done. Try removing it manually. There might be more left-overs in /usr/lib too. It's not system critical anyway, so even if you break it temporarily, your PM will still work.
Comment 2 Roman Gruber 2015-09-29 19:42:55 UTC
Thanks. Issue solved by removing recursively /usr/include/boost-1_51

It went over the configure phase of the ebuild

...

-- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.10", minimum required is "2.7") 
-- Configuring freeorionca
-- Boost version: 1.57.0
-- Found the following Boost libraries:
--   python
--   log
-- Configuring freeorion
-- Found GLEW: /usr/include  
-- Found OpenAL: /usr/lib64/libopenal.so  
-- Found Ogg: /usr/lib64/libogg.so  
-- Found Vorbis: /usr/lib64/libvorbis.so  
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=native -O2 -pipe 
C++             -march=native -O2 -pipe  -Wno-deprecated -Wall -Wno-parentheses
Linker flags:
Executable       -Wl,-O1 -Wl,--as-needed
Module           -Wl,-O1 -Wl,--as-needed
Shared           -Wl,-O1 -Wl,--as-needed

-- Configuring done