Flatpak Builder does ignore --build-shell parameter?

Lothar Scholz scholz.lothar at gmail.com
Mon Jul 4 02:17:55 UTC 2022


The documentation is wrong. For --build-shell  it reads

"Extract and prepare the sources for the named module,
and then start a shell in a sandbox identical to the one flatpak-builder
would use for building the module. This is useful to debug a module."

It doesnt stop after downloading and extracting the sources, but infact
after the configuration step. And if the configuration step fails there is no
way to get into the build shell which is obviously an error.

I will file this as a bug.

Am Do., 30. Juni 2022 um 13:17 Uhr schrieb Lothar Scholz
<scholz.lothar at gmail.com>:
>
> Ok this looks like it has to do with the bad  runtime/sdk version of
> "org.fedoraproject.Platform//f36".
>
> And today even org.gnome.Sdk is available which was not yesterday
> because somebody at flathub or gnome played around with the server.
> Now it all seems to work, but things like this is really frustrating.
>
> Am Mi., 29. Juni 2022 um 17:28 Uhr schrieb Lothar Scholz
> <scholz.lothar at gmail.com>:
> >
> > Why is the following not working?
> >
> > flatpak-builder --build-shell=program build_example
> > example/flatpak_manifest.yaml
> >
> > It copies the sources but does not stop and instead is building it
> > until an error happened.
> > But it works with stop-at (so there is no spelling error)
> >
> > flatpak-builder --stop-at=program build_example example/flatpak_manifest.yaml


More information about the Flatpak mailing list