gnome-3-28-extension fails to build due to not including gcc
Metadata
Current evaluation
Closed without official resolution. The author provided a workaround by adding gcc to build-packages, indicating the report was likely abandoned or resolved in later snapcraft versions.
Suggested action: —
No scores available.
Issue body
Attempting to build a java based application (openrocket) fails to build due to gcc command not found. This worked on previous snapcraft versions, but in 4.0.4 it does not.
The application itself has a fairly simply snapcraft.yaml but depends on the gnome-3-28 extension since it is a graphical application. It has no C code, and is pure java therefore dependencies such as gcc are not included in the snapcraft.yaml file.
Snapcraft provider traceback is available at - https://paste.ubuntu.com/p/v9D7NKKzh4/
snapcraft.yaml file is available at - https://paste.ubuntu.com/p/nRKFwsGsT7/
Workaround is to add gcc as a build-package to the app.
Error code from subsequent run is found below:
wolsen@yellow:~/git/openrocket$ snapcraft
Launching a VM.
snap "snapd" has no updates available
snapd is not logged in, snap install commands will use sudo
snap "core18" has no updates available
Skipping pull gnome-3-28-extension (already ran)
Skipping pull launcher (already ran)
Skipping pull openrocket (already ran)
Building gnome-3-28-extension
make -j2
gcc -Wall -O2 -o bindtextdomain.so -fPIC -shared ./../src/bindtextdomain.c -ldl
make: gcc: Command not found
Makefile:20: recipe for target 'desktop-launch' failed
make: *** [desktop-launch] Error 127
Failed to run 'make -j2' for 'gnome-3-28-extension': Exited with code 2.
Verify that the part is using the correct parameters and try again.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without official resolution. The author provided a workaround by adding gcc to build-packages, indicating the report was likely abandoned or resolved in later snapcraft versions. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The gnome-3-28-extension build failed in snapcraft 4.0.4 due to a missing gcc dependency. The author provided a workaround to manually add gcc as a build-package. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1986962 Remote build fails to work with core22 and new gnome extension | snapcraft (launchpad) | closed | Closed without comments or resolution. Likely abandoned or superseded by updated snapcraft versions that now support the unversioned gnome extension for core22. |