Unable to install Swift Sdk extension #2
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: aparoksha/adwaita-template#2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Sdk extension repo doesn't seem to have Issues so I filed it here.
When running
sudo flatpak-builder build-dir org.freedesktop.Sdk.Extension.swift.json --install --force-clean
in the downloaded folder, the following error happens:bwrap: Can't find source path /var/home/kdwk/Projects/org.freedesktop.Sdk.Extension.swift-main/.flatpak-builder/rofiles/rofiles-hG49ny/var/lib: Permission denied Error: module libedit: Child process exited with code 1
And therefore the Sdk extension cannot be installed.
Have you tried executing the following command? It seems to be the same error as in #1.
Unfortunately now it fails with
Please review the exported files and the metadata Committing stage finish to cache Exporting org.freedesktop.Sdk.Extension.swift to repo Commit: 050f1e2af0697722e2fd5f0f02c718f4cd029d054162e14b09f65413d8f0de9b Metadata Total: 237 Metadata Written: 2 Content Total: 1095 Content Written: 0 Content Bytes Written: 0 (0 bytes) error: open(O_TMPFILE): Permission denied Install failed: Child process exited with code 1
Are you installing it using the following command?
Yes. That's the same command
The build-dir folder doesn't seem to allow any other user than "user #524288" to create files
Strange, the super user should have the permission.
I found this comment, maybe that helps?
https://github.com/flatpak/flatpak/issues/1507#issuecomment-378024458
This doesn't work because /var/lib is not mutable on my system
Hmm, it still fails after I gave everyone write access to build-dir
I think that is because the build-dir gets deleted and created again when running the installation command, so the permissions reset.
Have you tried running
flatpak repair
? Or installing only for the user by appending the--user
flag? I have no idea whether that helps, but it might be worth trying.I did
--user
and it worked. ThanksI've just added instructions to the README. Thanks for opening the issue!