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

Cannot build on Linux host (in Github Actions runner) #71

Open
dapetcu21 opened this issue Mar 23, 2022 · 3 comments
Open

Cannot build on Linux host (in Github Actions runner) #71

dapetcu21 opened this issue Mar 23, 2022 · 3 comments

Comments

@dapetcu21
Copy link
Contributor

I get this whenever I try to build using bob on a Github Actions ubuntu-latest runner. It crashed for me when building for HTML, but I think it might crash for any target.

What seems odd to me is that it's looking for linux-x86-64/libSpineExt.so and that lib exists as x86_64-linux/libSpineExt.so in the extension. Also why does it need OpenAL on the machine that runs bob?

Bob version: 487296f0e70e8f3c09d7f3e79673926bc8ee18ae
Spine ext version: 2.0.8

Unable to load library 'SpineExt':
libopenal.so.1: cannot open shared object file: No such file or directory
libopenal.so.1: cannot open shared object file: No such file or directory
Native library (linux-x86-64/libSpineExt.so) not found in resource path ([file:/home/runner/work/rethink-game/rethink-game/repo/app/build/plugins/defold-spine/plugins/share/pluginSpineExt.jar])
@JCash
Copy link
Contributor

JCash commented Mar 23, 2022

I guess it's because I've reused the build pipeline for the engine, in order to build a shared library, it probably adds an engine library, which adds the dependency. (I thought I used the _null.a dependencies)
We should remove that ofc, so that it can be used stand alone.

@dapetcu21
Copy link
Contributor Author

I tried an sudo apt install libopenal1 as a workaround and now it complains about libGLU.so. I'm gonna try with libglu1-mesa too, but I have a feeling this will be a dependency hell rabbit hole ending in requiring OpenGL which I'm not sure I can give it on a headless runner.

@dapetcu21
Copy link
Contributor Author

Update: sudo apt install libopenal1 libglu1-mesa seems to have worked as a workaround.

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

No branches or pull requests

2 participants