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

Bug 829369

Summary: games-strategy/naev-0.8.2 fails to compile
Product: Gentoo Linux Reporter: korte
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: ionen, jstein
Priority: Normal    
Version: unspecified   
Hardware: ARM64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info naev
build.log
glxinfo -B

Description korte 2021-12-16 19:17:21 UTC
Created attachment 759373 [details]
emerge --info naev

emerge naev fails. Is it x86/amd64 only since output.exe is mentioned?

> /var/tmp/portage/games-strategy/naev-0.8.2/work/naev-0.8.2-build/meson-private/tmpeu0zcaua/output.exe

System is a Pi400 with arm64.
Comment 1 korte 2021-12-16 19:25:04 UTC
Created attachment 759374 [details]
build.log
Comment 2 korte 2021-12-16 19:30:20 UTC
Created attachment 759375 [details]
glxinfo -B
Comment 3 Roman Gruber 2022-01-02 19:45:56 UTC
Package should be dropped from tree. There is newer package available

https://naev.org/page/1/

Naev 0.9.1
BY NAEV DEVTEAM, ON JANUARY 2ND, 2022

The Naev DevTeam is proud to announce the release of Naev version 0.9.1. This release addresses minor issues and bugs from the 0.9.0 release and does not add any new content. It is highly recommended to update from 0.9.0 as soon as possible
Comment 4 Ionen Wolkens gentoo-dev 2022-01-03 02:17:16 UTC
Can't reproduce with either 0.8.2 or 0.9.1, probably something to do with the detected GPU but I don't get this on amd64 with my nvidia card.

(In reply to Roman Gruber from comment #3)
> Package should be dropped from tree. There is newer package available
Please use separate bugs for version bump requests, that the version is in the bug summary doesn't mean it's necessarily specific to it.

That aside, I've still added 0.9.1 to the tree.
Comment 5 korte 2022-02-16 20:52:33 UTC
With 0.9.2 the same happens. sam_ gave me the hint to add addpredict in the ebuild.


src_configure() {
       	addpredict /dev/dri/card0
       	addpredict /dev/dri/card1
       	addpredict /dev/vchiq

It compiled.

naev needs OpenGL>=3.1 and the Pi only has 2.1, therefore running naev stops with:

naev
 Naev v0.9.2 (linux-aarch64)
Trying default datapath: /usr/share/naev/dat
Loaded configuration: /home/<user>/.config/naev/conf.lua
Read locations, searched in order:
    /home/<user>/.local/share/naev/
    /usr/share/naev/dat
Write location: /home/<user>/.local/share/naev/

 Sea of Darkness
ERROR ../naev-0.9.2/src/opengl.c:275 [gl_createWindow]: Unable to create OpenGL context! Could not create
 GL context: GLXBadFBConfig
Aborted
Comment 6 Larry the Git Cow gentoo-dev 2022-12-23 09:13:13 UTC
The bug has been closed via the following commit(s):

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

commit c8e1528bc6f7326af42f7a17b9955d3e8b509497
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-12-23 09:04:13 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-12-23 09:12:03 +0000

    games-strategy/naev: add 0.10.0
    
    wrt bug #829369, disabled OpenGL probing for tests which should
    hopefully sort out sandbox issues for everyone (not that can do
    anything about the minimum OpenGL version requirement)
    
    Closes: https://bugs.gentoo.org/829369
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-strategy/naev/Manifest           |   1 +
 games-strategy/naev/naev-0.10.0.ebuild | 101 +++++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+)