Skip to content

“flatpak build-bundle” fails on system repo #3026

Closed

Description

@wjt

Linux distribution and version

Fedora 30 / Endless OS 3.7.0 (development branch)

Flatpak version

1.4.2 / 1.3.3

Description of the problem

The example invocation of flatpak build-bundle in its manpage is to export a bundle for an app installed in the system repo:

flatpak build-bundle /var/lib/flatpak/repo gnome-calculator.flatpak org.gnome.Calculator stable

However, this doesn't work – neither apps nor runtimes can be exported from the system repo.

Steps to reproduce

$ flatpak install --system -y flathub org.gnome.Calculator
(time passes, it succeeds)
$ flatpak build-bundle /var/lib/flatpak/repo gnome-calculator.flatpak org.gnome.Calculator stable
error: Refspec 'app/org.gnome.Calculator/x86_64/stable' not found

/var/lib/flatpak/repo on the Fedora system:

[core]
repo_version=1
mode=bare-user
min-free-space-size=500MB

[remote "flathub"]
url=https://dl.flathub.org/repo/
xa.title=Flathub
gpg-verify=true
gpg-verify-summary=true
xa.noenumerate=false

[remote "fedora"]
url=oci+https://registry.fedoraproject.org
xa.title=Fedora
xa.title-is-set=true

[remote "fedora-testing"]
url=oci+https://registry.fedoraproject.org#testing
xa.title=Fedora (testing)
xa.title-is-set=true
xa.disable=true

(Endless has an unusual repo layout, shared with the system ostree repo, so I think this report is more convincing on Fedora!)

Activity

  1. self-assigned this
    on Jul 25, 2019
  2. mwleeds commented on Jul 25, 2019

    @mwleeds
    Contributor

    Looks like this was broken by #2705, working on a fix. I'm surprised it took months for anyone to notice.

  3. added a commit that references this issue on Jul 30, 2019
  4. mwleeds commented on Jul 30, 2019

    @mwleeds
    Contributor

    Fix is in #3032

  5. added a commit that references this issue on Aug 15, 2019
  6. added a commit that references this issue on Aug 15, 2019
  7. added a commit that references this issue on Sep 18, 2019
  8. added a commit that references this issue on Sep 18, 2019
  9. added a commit that references this issue on Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions