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

Add libfuse #201

Closed
wants to merge 2 commits into from
Closed

Add libfuse #201

wants to merge 2 commits into from

Conversation

MinmoTech
Copy link
Contributor

Closes #200
Closes #198
Closes #12

This is mostly copied from https://github.com/flathub/org.gnome.World.PikaBackup/blob/master/org.gnome.World.PikaBackup.yml

It does use flatpak-spawn to acces fusermount on the host, meaning it punches another hole into the sandbox.

@flathubbot
Copy link
Contributor

Started test build 72570

@flathubbot
Copy link
Contributor

Build 72570 failed

@MinmoTech
Copy link
Contributor Author

MinmoTech commented Dec 29, 2021

stripping /srv/buildbot/worker/build-x86_64-2/build/.flatpak-builder/rofiles/rofiles-44Onax/files/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/libgnome-desktop-3.so.19.1.6.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug to /srv/buildbot/worker/build-x86_64-2/build/.flatpak-builder/rofiles/rofiles-44Onax/files/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/libgnome-desktop-3.so.19.1.6.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug
FB: Running: eu-strip --remove-comment --reloc-debug-sections -f /srv/buildbot/worker/build-x86_64-2/build/.flatpak-builder/rofiles/rofiles-44Onax/files/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/libgnome-desktop-3.so.19.1.6.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug -F /app/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/libgnome-desktop-3.so.19.1.6.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug /srv/buildbot/worker/build-x86_64-2/build/.flatpak-builder/rofiles/rofiles-44Onax/files/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/libgnome-desktop-3.so.19.1.6.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug
eu-strip: cannot open '/srv/buildbot/worker/build-x86_64-2/build/.flatpak-builder/rofiles/rofiles-44Onax/files/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/libgnome-desktop-3.so.19.1.6.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug': File name too long
�]2;flatpak-builder: Cleanup FAudio-32bit�Error: module FAudio-32bit: Child process exited with code 1

@A6GibKm The way this build errored with endless lib/debug/ nested folders also happens locally for me sometimes.

Do you know the reason/ a fix for this?

Edit: The same issue is happening in #199 currently

@MinmoTech
Copy link
Contributor Author

bot, build net.lutris.Lutris

@flathubbot
Copy link
Contributor

Queued test build for net.lutris.Lutris.

@flathubbot
Copy link
Contributor

Started test build 72638

@flathubbot
Copy link
Contributor

Build 72638 failed

@MinmoTech
Copy link
Contributor Author

bot, build net.lutris.Lutris

@flathubbot
Copy link
Contributor

Queued test build for net.lutris.Lutris.

@flathubbot
Copy link
Contributor

Started test build 73042

@flathubbot
Copy link
Contributor

Build 73042 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/70889/net.lutris.Lutris.flatpakref

@A6GibKm
Copy link
Collaborator

A6GibKm commented Jan 2, 2022

stripping /srv/buildbot/worker/build-x86_64-2/build/.flatpak-builder/rofiles/rofiles-44Onax/files/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/libgnome-desktop-3.so.19.1.6.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug to /srv/buildbot/worker/build-x86_64-2/build/.flatpak-builder/rofiles/rofiles-44Onax/files/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/libgnome-desktop-3.so.19.1.6.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug
FB: Running: eu-strip --remove-comment --reloc-debug-sections -f /srv/buildbot/worker/build-x86_64-2/build/.flatpak-builder/rofiles/rofiles-44Onax/files/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/libgnome-desktop-3.so.19.1.6.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug -F /app/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/libgnome-desktop-3.so.19.1.6.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug /srv/buildbot/worker/build-x86_64-2/build/.flatpak-builder/rofiles/rofiles-44Onax/files/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/libgnome-desktop-3.so.19.1.6.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug
eu-strip: cannot open '/srv/buildbot/worker/build-x86_64-2/build/.flatpak-builder/rofiles/rofiles-44Onax/files/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/debug/lib/libgnome-desktop-3.so.19.1.6.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug.debug': File name too long
�]2;flatpak-builder: Cleanup FAudio-32bit�Error: module FAudio-32bit: Child process exited with code 1

@A6GibKm The way this build errored with endless lib/debug/ nested folders also happens locally for me sometimes.

Do you know the reason/ a fix for this?

Edit: The same issue is happening in #199 currently

I am sorry, I don't know whats the cause, but it is building now. Did it fix the issue?

@MinmoTech
Copy link
Contributor Author

MinmoTech commented Jan 2, 2022

I am sorry, I don't know whats the cause, but it is building now. Did it fix the issue?

It does fix the original issue, meaning I can start Appimages inside of lutris.
So if you want to, this could be merged.

I opened another issue to track the the build issues: #202

@@ -14,9 +14,11 @@ finish-args:
- --share=network
- --allow=multiarch
- --allow=devel
- --talk-name=org.freedesktop.Flatpak.*
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why it needs this line? Its for the wrapper? This is a somewhat dangerous hole in the sandbox.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One alternative is to not add this hole and explicitly say how-to in the README.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why it needs this line? Its for the wrapper? This is a somewhat dangerous hole in the sandbox.

Appimages don't start without it and every other flatpak implementing fuse has this line.
Sadly I couldn't find out why exactly it needs this line.

One alternative is to not add this hole and explicitly say how-to in the README.

Yes, that might be a good idea.
I'm also not completely comfortable with how much it compromises the sandbox.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, lets do that, that particular hole allows for arbitrary code execution.

net.lutris.Lutris.yml Outdated Show resolved Hide resolved
@flathubbot
Copy link
Contributor

Started test build 85068

@flathubbot
Copy link
Contributor

Build 85068 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/82914/net.lutris.Lutris.flatpakref

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

Successfully merging this pull request may close these issues.

Connect with installed Yuzu flatpak instead of normal Lutris runner Appimage games are missing fuse
3 participants