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

Doesn't build correctly on gnome-builder IDE. #5

Open
YuanModu opened this issue Mar 2, 2022 · 3 comments
Open

Doesn't build correctly on gnome-builder IDE. #5

YuanModu opened this issue Mar 2, 2022 · 3 comments

Comments

@YuanModu
Copy link

YuanModu commented Mar 2, 2022

While building on gnome-builder, it doesn't change to the extracted archive folder of the last module and moves files of git repo root instead.
Dirty hack: Adding a dummy module entry at the end of modules list of manifest file fixes.
{ "name": "dummy" }

@YuanModu YuanModu changed the title Doesn't build correctly on gnome-software IDE. Doesn't build correctly on gnome-builder IDE. Mar 2, 2022
@pjbroad
Copy link
Collaborator

pjbroad commented Mar 12, 2022

The build works fine locally using flatpak-builder and on flat hubs build bot. Could this be a bug with gnome-builder?

@YuanModu
Copy link
Author

I pasted the build log for reference. It contains the executed flatpak build/bundle commands.
If they are identical of yours then I guess its a gnome-builder bug.

flatpak-builder --arch=x86_64 --ccache --force-clean --state-dir /var/home/atilasatilmis/.var/app/org.gnome.Builder/cache/gnome-builder/flatpak-builder --download-only --disable-updates --stop-at=music /var/home/atilasatilmis/.var/app/org.gnome.Builder/cache/gnome-builder/projects/org.pjbroad.EternallandsClient/flatpak/staging/x86_64-master /var/home/atilasatilmis/Projects/org.pjbroad.EternallandsClient/org.pjbroad.EternallandsClient.json Emptying app dir '/var/home/atilasatilmis/.var/app/org.gnome.Builder/cache/gnome-builder/projects/org.pjbroad.EternallandsClient/flatpak/staging/x86_64-master' error: org.freedesktop.Sdk/x86_64/20.08 not installed error: org.freedesktop.Sdk/x86_64/20.08 not installed Downloading sources flatpak-builder --arch=x86_64 --ccache --force-clean --disable-updates --disable-download --state-dir /var/home/atilasatilmis/.var/app/org.gnome.Builder/cache/gnome-builder/flatpak-builder --stop-at=music /var/home/atilasatilmis/.var/app/org.gnome.Builder/cache/gnome-builder/projects/org.pjbroad.EternallandsClient/flatpak/staging/x86_64-master /var/home/atilasatilmis/Projects/org.pjbroad.EternallandsClient/org.pjbroad.EternallandsClient.json Stopping at module music Starting build of org.pjbroad.EternallandsClient Cache hit for libglu, skipping build Cache hit for libpng, skipping build Cache hit for libcal3d, skipping build Cache hit for client, skipping build Cache hit for launcher, skipping build Cache hit for exports, skipping build Cache hit for data, skipping build Cache hit for sound, skipping build Stopping at module music Everything cached, checking out from cache Pruning cache flatpak build --share=network --nofilesystem=host --filesystem=/var/home/atilasatilmis/.var/app/org.gnome.Builder/cache/gnome-builder --filesystem=/var/home/atilasatilmis/Projects/org.pjbroad.EternallandsClient --filesystem=/var/home/atilasatilmis/.var/app/org.gnome.Builder/cache/gnome-builder/projects/org.pjbroad.EternallandsClient/builds/org.pjbroad.EternallandsClient.json-flatpak-org.freedesktop.Platform-20.08-x86_64-master --env=NOCONFIGURE=1 /var/home/atilasatilmis/.var/app/org.gnome.Builder/cache/gnome-builder/projects/org.pjbroad.EternallandsClient/flatpak/staging/x86_64-master /bin/sh -c 'mkdir -p /app/data/music' flatpak build --share=network --nofilesystem=host --filesystem=/var/home/atilasatilmis/.var/app/org.gnome.Builder/cache/gnome-builder --filesystem=/var/home/atilasatilmis/Projects/org.pjbroad.EternallandsClient --filesystem=/var/home/atilasatilmis/.var/app/org.gnome.Builder/cache/gnome-builder/projects/org.pjbroad.EternallandsClient/builds/org.pjbroad.EternallandsClient.json-flatpak-org.freedesktop.Platform-20.08-x86_64-master --env=NOCONFIGURE=1 /var/home/atilasatilmis/.var/app/org.gnome.Builder/cache/gnome-builder/projects/org.pjbroad.EternallandsClient/flatpak/staging/x86_64-master /bin/sh -c 'mv * /app/data/music/' flatpak build-finish --command launcher.sh --share=ipc --socket=x11 --socket=wayland --socket=pulseaudio --share=network --device=dri --filesystem=~/.elc:create /var/home/atilasatilmis/.var/app/org.gnome.Builder/cache/gnome-builder/projects/org.pjbroad.EternallandsClient/flatpak/staging/x86_64-master Exporting share/applications/org.pjbroad.EternallandsClient.desktop Exporting share/icons/hicolor/128x128/apps/org.pjbroad.EternallandsClient.png Please review the exported files and the metadata flatpak build-export --arch=x86_64 /var/home/atilasatilmis/.var/app/org.gnome.Builder/cache/gnome-builder/projects/org.pjbroad.EternallandsClient/flatpak/repo /var/home/atilasatilmis/.var/app/org.gnome.Builder/cache/gnome-builder/projects/org.pjbroad.EternallandsClient/flatpak/staging/x86_64-master Commit: 850085719bbbb6b463adf08a3f24ef1562284f9c8f0f733dde4c775c20af97a8 Metadata Total: 229 Metadata Written: 18 Content Total: 4961 Content Written: 0 Content Bytes Written: 0 (0 bytes) flatpak build-bundle --arch=x86_64 /var/home/atilasatilmis/.var/app/org.gnome.Builder/cache/gnome-builder/projects/org.pjbroad.EternallandsClient/flatpak/repo /var/home/atilasatilmis/.var/app/org.gnome.Builder/cache/gnome-builder/projects/org.pjbroad.EternallandsClient/flatpak/staging/x86_64-master/org.pjbroad.EternallandsClient.flatpak org.pjbroad.EternallandsClient master

@pjbroad
Copy link
Collaborator

pjbroad commented Oct 12, 2022

I've just updated to the latest run-time and fixed a couple of lint errors. Perhaps you cold try again.

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