Open soumyaDghosh opened 9 months ago
Same as the python plugin, when the meson plugin installs the files of a python or gjs based app, it cannot find the proper interpreter for them. To fix it, we have to manually fix the first line of those files.
https://github.com/Sjoerd1993/Graphs/blob/main/snap/snapcraft.yaml#L88 This is an example snap, just remove this line and see the error.
graphs: after: [ blueprint-compiler, numpy ] plugin: meson source: https://github.com/Sjoerd1993/Graphs.git meson-parameters: - --prefix=/snap/graphs/current/usr - --buildtype=release build-environment: - PYTHONPATH: $CRAFT_STAGE/usr/lib/python3/dist-packages:$PYTHONPATH - GI_TYPELIB_PATH: /snap/gnome-42-2204-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET/girepository-1.0:/snap/gnome-42-2204-sdk/current/usr/lib/girepository-1.0 organize: snap/graphs/current/usr: usr parse-info: [usr/share/appdata/se.sjoerd.Graphs.appdata.xml]
Logs can be found by installing the snap that'll build from the above given yaml. It'll fail to find the correct python interpreter.
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2953.
This message was autogenerated
Bug Description
Same as the python plugin, when the meson plugin installs the files of a python or gjs based app, it cannot find the proper interpreter for them. To fix it, we have to manually fix the first line of those files.
To Reproduce
https://github.com/Sjoerd1993/Graphs/blob/main/snap/snapcraft.yaml#L88 This is an example snap, just remove this line and see the error.
part yaml
Relevant log output