nE0sIghT / vortex-overlay

Gentoo Vortex overlay
15 stars 4 forks source link

games-strategy/vcmi-0.99 failed to build #20

Closed RazrFalcon closed 5 years ago

RazrFalcon commented 6 years ago
 * Package:    games-strategy/vcmi-0.99
 * Repository: vortex
 * Maintainer: ykonotopov@gmail.com
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux launcher userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Working in BUILD_DIR: "/var/tmp/portage/games-strategy/vcmi-0.99/work/vcmi-0.99_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/games-strategy/vcmi-0.99/work/vcmi-0.99_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DBIN_DIR=games/bin -DDATA_DIR=share/games/vcmi -DLIB_DIR=games/lib64/vcmi -DENABLE_PCH=OFF -DENABLE_TEST=OFF -DENABLE_editor=OFF -DENABLE_EDITOR=OFF -DENABLE_Editor=OFF -DENABLE_erm=OFF -DENABLE_ERM=OFF -DENABLE_Erm=OFF -DENABLE_launcher=ON -DENABLE_LAUNCHER=ON -DENABLE_Launcher=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/games-strategy/vcmi-0.99/work/vcmi-0.99_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/games-strategy/vcmi-0.99/work/vcmi-0.99_build/gentoo_toolchain.cmake  /var/tmp/portage/games-strategy/vcmi-0.99/work/vcmi-0.99
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/games-strategy/vcmi-0.99/work/vcmi-0.99_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 7.2.0
-- The CXX compiler identification is GNU 7.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 shm_open in rt
-- Looking for shm_open in rt - found
-- Looking for pthread.h
-- Looking for 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  
CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:1970 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.65.0

  Boost include path: /usr/include

  Could not find the following Boost libraries:

          boost_locale

  Some (but not all) of the required Boost libraries were found.  You may
  need to install these additional Boost libraries.  Alternatively, set
  BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
  to the location of Boost.
Call Stack (most recent call first):
  CMakeLists.txt:118 (find_package)

-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") 
-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "0.29.2") 
-- Checking for module 'libavcodec'
--   Found libavcodec, version 57.107.100
-- Checking for module 'libavformat'
--   Found libavformat, version 57.83.100
-- Checking for module 'libavdevice'
--   Found libavdevice, version 57.10.100
-- Checking for module 'libavutil'
--   Found libavutil, version 55.78.100
-- Checking for module 'libswscale'
--   Found libswscale, version 4.8.100
-- Checking for module 'libpostproc'
--   Found libpostproc, version 54.7.100
-- Found FFmpeg: /usr/lib/libavcodec.so;/usr/lib/libavformat.so;/usr/lib/libavutil.so;/usr/lib/libswscale.so  
-- Checking for module 'minizip'
--   Found minizip, version 1.2.11
-- Found MINIZIP: /usr/lib64/libminizip.so (found version "1.2.11") 
-- Checking for module 'sdl2'
--   Found sdl2, version 2.0.7
-- Found SDL2: /usr/lib/libSDL2main.a;/usr/lib64/libSDL2.so;-lpthread (found version "2.0.7") 
-- Checking for module 'SDL2_image'
--   Found SDL2_image, version 2.0.2
-- Found SDL2_image: /usr/lib64/libSDL2_image.so (found version "2.0.2") 
-- Checking for module 'SDL2_mixer'
--   Found SDL2_mixer, version 2.0.2
-- Found SDL2_mixer: /usr/lib64/libSDL2_mixer.so  
-- Checking for module 'SDL2_ttf'
--   Found SDL2_ttf, version 2.0.14
-- Found SDL2_ttf: /usr/lib64/libSDL2_ttf.so (found version "2.0.14") 
-- cotire 1.7.8 loaded.
-- CXX target vcmi cotired without unity build and precompiled header.
-- CXX target vcmiclient cotired without unity build and precompiled header.
-- CXX target vcmiserver cotired without unity build and precompiled header.
-- Could NOT find FL (missing: FL_LIBRARIES FL_INCLUDE_DIRS) 
Unix
CMake Deprecation Warning at AI/FuzzyLite/fuzzylite/CMakeLists.txt:110 (cmake_policy):
  The OLD behavior for policy CMP0015 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.

=====================================
fuzzylite v.5.0b1408

FL_USE_FLOAT=OFF
FL_BACKTRACE=OFF
FL_CPP11=ON
FL_INSTALL_BINDIR=bin
FL_INSTALL_LIBDIR=lib64
Build=Gentoo
=====================================

-- CXX target BattleAI cotired without unity build and precompiled header.
-- CXX target StupidAI cotired without unity build and precompiled header.
-- CXX target VCAI cotired without unity build and precompiled header.
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=native -O2 -pipe -s
C++             -march=native -O2 -pipe -s -std=c++0x -Wall -Wextra -Wpointer-arith -Wno-strict-aliasing -Wno-switch -Wno-sign-compare -Wno-unused-local-typedefs  -Wno-unused-parameter -Wuninitialized -Wno-overloaded-virtual -Wno-type-limits -Wno-unknown-pragmas -Wno-reorder  -fvisibility=hidden
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring incomplete, errors occurred!

Looks like boost should be build with nls use-flag.

Or maybe it's possible to build vcmi without boost_locale.

nE0sIghT commented 5 years ago

Patches are welcome