Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829369 - games-strategy/naev-0.8.2 fails to compile
Summary: games-strategy/naev-0.8.2 fails to compile
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM64 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-16 19:17 UTC by korte
Modified: 2022-02-16 20:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info naev (emerge--info_naev.txt,6.87 KB, text/plain)
2021-12-16 19:17 UTC, korte
Details
build.log (naev-0.8.2:20211216-173614.log.gz,3.09 KB, application/gzip)
2021-12-16 19:25 UTC, korte
Details
glxinfo -B (glxinfo-B.txt,730 bytes, text/plain)
2021-12-16 19:30 UTC, korte
Details

Note You need to log in before you can comment on or make changes to this bug.
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