Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: introduce common CI, README, etc. #28

Merged
merged 10 commits into from
Mar 14, 2024
Merged

chore: introduce common CI, README, etc. #28

merged 10 commits into from
Mar 14, 2024

Conversation

jnsgruk
Copy link
Member

@jnsgruk jnsgruk commented Mar 14, 2024

2024-ify this snap with the most recent patterns

@popey
Copy link
Contributor

popey commented Mar 14, 2024

Builds but fails to launch here. Looks like missing ALSA and Wayland support?

alan@nuc:~/Source/jnsgruk/minetest$ snap run minetest
2024-03-14 09:37:25: WARNING[Main]: system-wide share not found at "/usr/share/minetest"
2024-03-14 09:37:25: WARNING[Main]: system-wide share found at "/snap/minetest/x1/usr/bin/../share/minetest"
ALSA lib conf.c:4553:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': No such file or directory
2024-03-14 09:37:25: ERROR[Main]: Audio: Global Initialization: Failed to open device
2024-03-14 09:37:25: ERROR[Main]: Irrlicht: Error: Need running XServer to start Irrlicht Engine.
2024-03-14 09:37:25: ERROR[Main]: Irrlicht: Could not open display, set DISPLAY variable
2024-03-14 09:37:25: ERROR[Main]: An unhandled exception occurred: "Could not initialize the device with any supported video driver"
2024-03-14 09:37:25: ERROR[Main]: In thread 7fc0c7d983c0:
2024-03-14 09:37:25: ERROR[Main]: /root/parts/minetest/src/src/main.cpp:116: int main(int, char**): A fatal error occurred: "Could not initialize the device with any supported video driver"
Aborted (core dumped)

@jnsgruk
Copy link
Member Author

jnsgruk commented Mar 14, 2024

Ooops! Fixed!
image

@popey
Copy link
Contributor

popey commented Mar 14, 2024

Still failing here:

alan@nuc:~/Source/jnsgruk/minetest$ snap run minetest
2024-03-14 10:39:23: WARNING[Main]: system-wide share not found at "/usr/share/minetest"
2024-03-14 10:39:23: WARNING[Main]: system-wide share found at "/snap/minetest/x2/usr/bin/../share/minetest"
/dev/shm/jack_db-1000/__db.001: No such file or directory
2024-03-14 10:39:23: ERROR[Main]: Irrlicht: Error: Need running XServer to start Irrlicht Engine.
2024-03-14 10:39:23: ERROR[Main]: Irrlicht: Could not open display, set DISPLAY variable
2024-03-14 10:39:23: ERROR[Main]: An unhandled exception occurred: "Could not initialize the device with any supported video driver"
2024-03-14 10:39:23: ERROR[Main]: In thread 7f34a61153c0:
2024-03-14 10:39:23: ERROR[Main]: /root/parts/minetest/src/src/main.cpp:116: int main(int, char**): A fatal error occurred: "Could not initialize the device with any supported video driver"
Aborted (core dumped)

@popey
Copy link
Contributor

popey commented Mar 14, 2024

Scratch that, pilot error...

image

Copy link
Contributor

@popey popey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jnsgruk jnsgruk merged commit 849e672 into snapcrafters:candidate Mar 14, 2024
1 check passed
@jnsgruk jnsgruk deleted the 2024ify branch March 14, 2024 10:42
@jnsgruk jnsgruk mentioned this pull request Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Audio not working for 5.8.0 [Enhancement]: Minetest should no longer ship with Minetest Game
2 participants