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

Bug 904060

Summary: games-action/minetest-5.6.1: build fails with newer dev-games/irrlicht-mt version
Product: Gentoo Linux Reporter: sMueggli <apt-ghetto>
Component: Current packagesAssignee: Marek Szuba <marecki>
Status: RESOLVED FIXED    
Severity: normal CC: creideiki+gentoo-bugzilla, games
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
cmake output log

Description sMueggli 2023-04-09 09:18:37 UTC
Created attachment 859702 [details]
build log

dev-games/minetest-5.6.1 fails to build with dev-games/irrlicht-mt-1.9.0.10 with the error message
  CMake Error at CMakeLists.txt:135 (message):
    IrrlichtMt 1.9.0mt8 is required to build

Checking the CMakeLists.txt upstream for version 5.6.1 it seems, that for non-developer builds only irrlicht-mt version 1.9.0.8 is allowed.
Checking the CMakeLists.txt upstream for version 5.7.0 it seems, that for non-developer builds only irrlicht-mt version 1.9.0.10 is allowed.

I therefore suggest to change the ebuild lines with
  >=dev-games/irrlicht-mt-1.9.0.8
to
  =dev-games/irrlicht-mt-1.9.0.8
for dev-games/minetest-5.6.1 and to
  =dev-games/irrlicht-mt-1.9.0.10
for dev-games/minetest-5.7.0.

Thank you.
Comment 1 sMueggli 2023-04-09 09:21:12 UTC
Created attachment 859703 [details]
cmake output log
Comment 2 Larry the Git Cow gentoo-dev 2023-04-10 10:27:45 UTC
The bug has been closed via the following commit(s):

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

commit ef3a6efd082c4c9b05b46cc552b462489027d2fc
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-04-10 10:22:31 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-04-10 10:27:29 +0000

    games-action/minetest: lock to specific irrlicht-mt version
    
    Upstream build scripts disallow the use of newer versions unless
    developer-build mode is activated.
    
    Thanks-to: sMueggli <apt-ghetto@protonmail.com>
    Closes: https://bugs.gentoo.org/904060
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../minetest/{minetest-5.7.0.ebuild => minetest-5.7.0-r1.ebuild}      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)