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

Bug 638076

Summary: games-arcade/supertux-0.5.1 fails to build with CMAKE_MAKEFILE_GENERATOR="ninja"
Product: Gentoo Linux Reporter: Brian Evans (RETIRED) <grknight>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: tsmksubc
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 557992    
Attachments: build.log

Description Brian Evans (RETIRED) gentoo-dev 2017-11-19 04:10:57 UTC
Created attachment 504736 [details]
build.log

While building with ninja, the following error occurs..

>>> Compiling source in /var/tmp/portage/games-arcade/supertux-0.5.1/work/SuperTux-v0.5.1-Source ...
>>> Working in BUILD_DIR: "/var/tmp/portage/games-arcade/supertux-0.5.1/work/supertux-0.5.1_build"
ninja -v -j7 -l0
ninja: error: 'squirrel/lib/libsquirrel_static.a', needed by 'supertux2', missing and no known rule to make it
Comment 1 Larry the Git Cow gentoo-dev 2018-07-01 09:46:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=252a6dd9f24a9054f7d4e5b7996c531a640f1541

commit 252a6dd9f24a9054f7d4e5b7996c531a640f1541
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2018-07-01 09:43:31 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2018-07-01 09:46:19 +0000

    games-arcade/supertux: Build using Ninja
    
    * Use system PhysFS
    * Fix CMake unused variable error
    
    Closes: https://bugs.gentoo.org/638076
    Closes: https://bugs.gentoo.org/649458
    Package-Manager: Portage-2.3.41, Repoman-2.3.9

 .../supertux/files/supertux-0.5.1-ninja.patch      | 30 ++++++++++++++++++++++
 games-arcade/supertux/supertux-0.5.1.ebuild        | 19 +++++---------
 2 files changed, 37 insertions(+), 12 deletions(-)