Building gnome-software on Ubuntu failed with OSTree Error

While building the GNOME software source code from https://gitlab.gnome.org/GNOME/gnome-software.git using Builder IDE on Ubuntu 25.04 failed with following error.


/bin/sh ./libtool   --mode=install /usr/bin/install -c ostree '/app/bin'
libtool: install: /usr/bin/install -c .libs/ostree /app/bin/ostree
 /usr/bin/mkdir -p '/app/libexec/libostree'
 /usr/bin/install -c src/boot/grub2/grub2-15_ostree '/app/libexec/libostree'
 /usr/bin/mkdir -p '/usr/share/bash-completion/completions'
 /usr/bin/install -c -m 644 bash/ostree '/usr/share/bash-completion/completions'
install: cannot create regular file '/usr/share/bash-completion/completions/ostree': Read-only file system
make[3]: *** [Makefile:8060: install-dist_completionsDATA] Error 1
make[3]: Leaving directory '/run/build/ostree'
make[2]: *** [Makefile:9980: install-am] Error 2
make[2]: Leaving directory '/run/build/ostree'
make[1]: *** [Makefile:8426: install-recursive] Error 1
make[1]: Leaving directory '/run/build/ostree'
make: *** [Makefile:9973: install] Error 2
Error: module ostree: Child process exited with code 2

Tracked in:

This issue is now fixed and merged.

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.