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

Flatpak build on tumbleweed doesn't work #668

Closed
perlpunk opened this issue Feb 24, 2021 · 6 comments
Closed

Flatpak build on tumbleweed doesn't work #668

perlpunk opened this issue Feb 24, 2021 · 6 comments
Assignees

Comments

@perlpunk
Copy link
Contributor

perlpunk commented Feb 24, 2021

The output of flatpak list is empty, and flatpak-builder doesn't find the installed images either:

tar xf ../tars/org.gnome.Sdk-v3.36.x86_64.tar.gz
...
error: No such metadata object a9488ee655b701658c0325fcdf0a891be42a84d39c92deef400cfbc30dafd022.commit
Failed to init: Unable to find sdk org.gnome.Sdk version 3.36

https://build.opensuse.org/package/show/OBS:Flatpak:Templates/FlatpakTemplate

(Mentioned in #588 )

@perlpunk
Copy link
Contributor Author

I tested with org.freedesktop.Platform.openh264

  • install that via flatpak/flathub in tumbleweed container
  • create tarball
  • run fresh tumbleweed container and unpack tarball
    --> flatpak list shows it

If I do this with the current tarball (https://build.opensuse.org/project/show/OBS:Flatpak), flatpak list doesn't show anything.

Luckily unpacking the tarball from tumbleweed on Leap 15.2 also works. So the packages under OBS:Flatpak need to be generated on tumbleweed now.

@adrianschroeter
Copy link
Member

adrianschroeter commented Feb 25, 2021

I am not 100% sure why this is an issue here, is this a problem of the build script? are you going to work on it?

OBS:Flatpak is building also against Tumbleweed (but this is not a build script topic).

@perlpunk
Copy link
Contributor Author

I'm not sure where to put this issue. I am working on it, but I can't set myself as an assignee.

The rpms in OBS:Flatpak need to be fixed and built on tumbleweed instead of leap. I'm still figuring out what the difference is.

@adrianschroeter
Copy link
Member

hm, no idea why setting yourself as assignee is not work for you... but here you have it :)

@perlpunk
Copy link
Contributor Author

perlpunk commented Mar 3, 2021

I created several base images with a Tumbleweed container and put them here:
https://build.opensuse.org/project/show/home:tinita:branches:OBS:Flatpak

Then I created a project and set the repository path to home:tinita:branches:OBS:Flatpak

The app is now building fine on Leap and Tumbleweed, and I can install all 3 generated .flatpak bundles on my Leap 15.2.
https://build.opensuse.org/package/show/home:tinita:branches:OBS:Flatpak:Templates/TestNewImages

I'll now create the rest of the base images and put them into https://build.opensuse.org/project/show/OBS:Flatpak

I'll update the code in https://github.com/openSUSE/flatpak-base-to-rpm to use Tumbleweed as the base container.

@perlpunk perlpunk mentioned this issue Mar 3, 2021
@perlpunk
Copy link
Contributor Author

perlpunk commented Mar 3, 2021

Working on Tumbleweed now: https://build.opensuse.org/package/show/OBS:Flatpak:Templates/FlatpakTemplate
In the future issues related to that shuol be opened in https://github.com/openSUSE/flatpak-base-to-rpm

@perlpunk perlpunk closed this as completed Mar 3, 2021
perlpunk added a commit to perlpunk/flatpak-base-to-rpm that referenced this issue Mar 4, 2021
Images generated on Leap 15.2 aren't recognized by the newest
flatpak version on Tumbleweed
openSUSE/obs-build#668

Also update README with more detailed instructions
perlpunk added a commit to perlpunk/flatpak-base-to-rpm that referenced this issue Mar 4, 2021
Images generated on Leap 15.2 aren't recognized by the newest
flatpak version on Tumbleweed
openSUSE/obs-build#668

Also update README.md with more detailed instructions
perlpunk added a commit to openSUSE/flatpak-base-to-rpm that referenced this issue Mar 4, 2021
Images generated on Leap 15.2 aren't recognized by the newest
flatpak version on Tumbleweed
openSUSE/obs-build#668

Also update README.md with more detailed instructions
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