-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update app and runtime #9
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This will be needed for intltool in a future commit.
Started test build 101222 |
hfiguiere
requested changes
Jul 18, 2022
Build 101222 failed |
A future commit will add flatpak-external-data-checker annotations, and fedc will reformat this file slightly.
wjt
force-pushed
the
update-app-and-runtime
branch
from
July 18, 2022 21:11
03bc6fb
to
b15af2c
Compare
Started test build 101286 |
Build 101286 was cancelled |
This fails to build for reasons fixed in a future commit.
This fixes the following build error: Making all in tools make[2]: Entering directory '/run/build/gbrainy/tools' /usr/lib/sdk/mono6/bin/mcs -target:winexe -out:GameXmlToGetString.exe ./GameXmlToGetString.cs -r:../src/gbrainy.Core.dll -r:Mono.Posix export MONO_PATH=../src && /usr/lib/sdk/mono6/bin/mono GameXmlToGetString.exe . Unhandled Exception: System.TypeLoadException: Could not set up parent class, due to: Could not load type of field 'gbrainy.Core.Main.Game:default_color' (0) due to: Could not load file or assembly 'cairo-sharp, Version=1.10.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. assembly:/run/build/gbrainy/src/gbrainy.Core.dll type:Game member:(null) at GameXmlToGetString.Main (System.String[] args) [0x00061] in <2326c82eb00343b4a364a997caa15399>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not set up parent class, due to: Could not load type of field 'gbrainy.Core.Main.Game:default_color' (0) due to: Could not load file or assembly 'cairo-sharp, Version=1.10.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. assembly:/run/build/gbrainy/src/gbrainy.Core.dll type:Game member:(null) at GameXmlToGetString.Main (System.String[] args) [0x00061] in <2326c82eb00343b4a364a997caa15399>:0 I think the problem is that the gtk-sharp build step is adding the .dll to (a subdirectory of) /app, but because Mono is being run from (a subdirectory of) /usr that path is not in Mono's search path.
Flathub passes this on the CLI; and it is desirable for local builds to use a clearly different branch.
gbrainy uses this to play sounds. Without it you see the following on stderr when gbrainy tries to play a sound: Unix.PlaySound. Error System.DllNotFoundException: libcanberra-gtk3.so.0 assembly:<unknown assembly> type:<unknown type> member:(null) at (wrapper managed-to-native) gbrainy.Core.Platform.Unix.ca_gtk_play_for_widget(intptr,uint,string,string,string,string,intptr) at gbrainy.Core.Platform.Unix.PlaySound (System.IntPtr widget, System.String filename) [0x00000] in <c1cbe592d22c4597a90c664ab477780f>:0
wjt
force-pushed
the
update-app-and-runtime
branch
from
July 18, 2022 21:27
b15af2c
to
f2820b5
Compare
Cracked it! |
Started test build 101288 |
Build 101288 successful
|
Test build works on my machine™ |
Thanks, really appreciated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #6 inasmuch as it builds.
Fixes #7 except a newer runtime.