Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716030 - games-strategy/freeorion-9999 required is at least python 3.5
Summary: games-strategy/freeorion-9999 required is at least python 3.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Adam Feldman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-03 14:45 UTC by Michal Plichta
Modified: 2020-04-09 20:55 UTC (History)
1 user (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 Michal Plichta 2020-04-03 14:45:48 UTC
Looks like freeorion finally switch to python3. I believe changing:

PYTHON_COMPAT=( python2_7 )

in ebuild should be enough

Reproducible: Always




>>> Source prepared.
>>> Configuring source in /var/tmp/portage/games-strategy/freeorion-9999/work/freeorion-9999 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/games-strategy/freeorion-9999/work/freeorion-9999_build"
cmake -C /var/tmp/portage/games-strategy/freeorion-9999/work/freeorion-9999_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_RPATH=ON -DBUILD_HEADLESS=no -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/games-strategy/freeorion-9999/work/freeorion-9999_build/gentoo_toolchain.cmake  /var/tmp/portage/games-strategy/freeorion-9999/work/freeorion-9999
loading initial cache file /var/tmp/portage/games-strategy/freeorion-9999/work/freeorion-9999_build/gentoo_common_config.cmake
-- Build type CMAKE_BUILD_TYPE set to Gentoo
-- CCache version: 3.7.7
-- CCache configured for linux: /usr/bin/ccache
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- 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
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Use CCache for Ninja called with: ccache program /usr/bin/ccache 3.7.7
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- 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/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find PythonInterp: Found unsuitable version "2.7.17", but
  required is at least "3.5" (found
  /var/tmp/portage/games-strategy/freeorion-9999/temp/python2.7/bin/python)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:391 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindPythonInterp.cmake:175 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:224 (find_package)
Comment 1 Larry the Git Cow gentoo-dev 2020-04-09 20:55:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06326b0fdc05012bd0548ac53a136b0f95979c33

commit 06326b0fdc05012bd0548ac53a136b0f95979c33
Author:     Adam Feldman <NP-Hardass@gentoo.org>
AuthorDate: 2020-04-09 20:39:15 +0000
Commit:     Adam Feldman <NP-Hardass@gentoo.org>
CommitDate: 2020-04-09 20:55:12 +0000

    games-strategy/freeorion: Bump to 0.4.9
    
    Closes: https://bugs.gentoo.org/709418
    Closes: https://bugs.gentoo.org/716030
    Package-Manager: Portage-2.3.96, Repoman-2.3.21
    Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org>

 games-strategy/freeorion/Manifest                  |  1 +
 .../freeorion/freeorion-0.4.9_p20200409.ebuild     | 82 ++++++++++++++++++++++
 games-strategy/freeorion/freeorion-9999.ebuild     |  6 +-
 3 files changed, 86 insertions(+), 3 deletions(-)