Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] [bug] Flatpak fails to launch applications
@ 2021-01-08 21:40 kawaiiamber
  2021-01-09  0:32 ` ericonr
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: kawaiiamber @ 2021-01-08 21:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1888 bytes --]

New issue by kawaiiamber on void-packages repository

https://github.com/void-linux/void-packages/issues/27771

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  Void 5.9.16_1 x86_64-musl GenuineIntel notuptodate rrnFFF
* package:  
  ``flatpak-1.8.4``

### Expected behavior
Execute application

### Actual behavior
It seems to fail to be able run from some permission issue?

### Steps to reproduce the behavior
Follow setup guide for VOID as seen [here](https://flatpak.org/setup/Void%20Linux/).
```
# xbps-install -S flatpak
$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
```
Install an app
```
flatpak install flathub com.discordapp.Discord
flatpak install flathub com.valvesoftware.Steam
```
This was a while ago, but I believe I did some variable overrides.
```
sudo flatpak --env GTK_IM_MODULE="fcitx" --filesystem=$HOME com.discordapp.Discord
```
Attempt to run the app
```
[amber@otaku ~]$ flatpak run com.discordapp.Discord
bwrap: Can't mkdir parents for /run/host/fonts: Permission denied
[amber@otaku ~]$ flatpak run com.valvesoftware.Steam
https://github.com/flathub/com.valvesoftware.Steam/wiki
Bad item "/home/amber" found in filesystem overrides
Please see https://github.com/flathub/com.valvesoftware.Steam/wiki#i-want-to-add-external-disk-for-steam-libraries
```
I was told to report issue to distro first, closest bug I can find relating to this is [here](https://github.com/void-linux/void-packages/issues/11456). Though, I don't want to re-install VOID. I'm not sure how to revert / purge changes I did with flatpak. I tried
```
# xbps-remove -R flatpak
# xbps-reconfigure flatpak
# xbps-install -Sf flatpak
```

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [bug] Flatpak fails to launch applications
  2021-01-08 21:40 [ISSUE] [bug] Flatpak fails to launch applications kawaiiamber
@ 2021-01-09  0:32 ` ericonr
  2021-01-09 12:28 ` kawaiiamber
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ericonr @ 2021-01-09  0:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/27771#issuecomment-757062274

Comment:
flatpak stores stuff into `/var/...` and `~/.local/share/flatpak`, at least; maybe `~/.cache` as well. You can search for everything with `find / -name flatpak` (this can take a while).

That said, you usually don't want to run flatpak as root; just use the `--user` command line option whenever it complains about permissions.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [bug] Flatpak fails to launch applications
  2021-01-08 21:40 [ISSUE] [bug] Flatpak fails to launch applications kawaiiamber
  2021-01-09  0:32 ` ericonr
@ 2021-01-09 12:28 ` kawaiiamber
  2021-01-09 12:28 ` [ISSUE] [CLOSED] " kawaiiamber
  2021-01-09 12:44 ` kawaiiamber
  3 siblings, 0 replies; 5+ messages in thread
From: kawaiiamber @ 2021-01-09 12:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1687 bytes --]

New comment by kawaiiamber on void-packages repository

https://github.com/void-linux/void-packages/issues/27771#issuecomment-757142246

Comment:
Sorry for the late reply, I passed out. I removed flatpak `# xbps-remove -R flatpak` then used `find`:
```sh
[amber@otaku ~]$ doas find / -name flatpak
doas (amber@otaku) password:
/root/.local/share/flatpak
find: ‘/proc/12850’: No such file or directory
/var/lib/flatpak
/var/lib/flatpak/app/com.valvesoftware.Steam/x86_64/stable/772103f257be309d75e753b9228bb39d034b1d54091088d611a1795cb736399a/files/share/app-info/icons/flatpak
/var/lib/flatpak/app/com.discordapp.Discord/x86_64/stable/fee64683ecb42ebf46ee4f799f4d6a536915d7f983eb2c81a22347849f1b1658/files/share/app-info/icons/flatpak
/home/amber/projx/repos/void-packages/srcpkgs/flatpak
/home/amber/.local/share/flatpak
/home/amber/.cache/flatpak
```
I removed everything flatpak (except the flatpak template from void-packages git clone):
```sh
[amber@otaku ~]$ doas rm -rf /root/.local/share/flatpak /var/lib/flatpak/* $HOME/.local/share/flatpak $HOME/.cache/flatpak
doas (amber@otaku) password:
```
I also removed $HOME/.var:
```sh
[amber@otaku ~]$ doas rm -rf .var
doas (amber@otaku) password:
```
I then re-installed flatpak: `# xbps-install -S fllatpak`. Then, tried running an app:
```sh
[amber@otaku ~]$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
[amber@otaku ~]$ flatpak install flathub com.discordapp.Discord
[amber@otaku ~]$ flatpak run com.discordapp.Discord
```
Discord now launches. There's no voice or sound, but I believe that's because I don't use pulseaudio. Thanks @ericonr for this fix.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ISSUE] [CLOSED] [bug] Flatpak fails to launch applications
  2021-01-08 21:40 [ISSUE] [bug] Flatpak fails to launch applications kawaiiamber
  2021-01-09  0:32 ` ericonr
  2021-01-09 12:28 ` kawaiiamber
@ 2021-01-09 12:28 ` kawaiiamber
  2021-01-09 12:44 ` kawaiiamber
  3 siblings, 0 replies; 5+ messages in thread
From: kawaiiamber @ 2021-01-09 12:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1888 bytes --]

Closed issue by kawaiiamber on void-packages repository

https://github.com/void-linux/void-packages/issues/27771

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  Void 5.9.16_1 x86_64-musl GenuineIntel uptodate rrnFFF
* package:  
  ``flatpak-1.8.4``

### Expected behavior
Execute application

### Actual behavior
It seems to fail to be able run from some permission issue?

### Steps to reproduce the behavior
Follow setup guide for VOID as seen [here](https://flatpak.org/setup/Void%20Linux/).
```
# xbps-install -S flatpak
$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
```
Install an app
```
flatpak install flathub com.discordapp.Discord
flatpak install flathub com.valvesoftware.Steam
```
This was a while ago, but I believe I did some variable overrides.
```
sudo flatpak --env GTK_IM_MODULE="fcitx" --filesystem=$HOME com.discordapp.Discord
```
Attempt to run the app
```
[amber@otaku ~]$ flatpak run com.discordapp.Discord
bwrap: Can't mkdir parents for /run/host/fonts: Permission denied
[amber@otaku ~]$ flatpak run com.valvesoftware.Steam
https://github.com/flathub/com.valvesoftware.Steam/wiki
Bad item "/home/amber" found in filesystem overrides
Please see https://github.com/flathub/com.valvesoftware.Steam/wiki#i-want-to-add-external-disk-for-steam-libraries
```
I was told to report issue to distro first, closest bug I can find relating to this is [here](https://github.com/void-linux/void-packages/issues/11456). Though, I don't want to re-install VOID. I'm not sure how to revert / purge changes I did with flatpak. I tried
```
# xbps-remove -R flatpak
# xbps-reconfigure flatpak
# xbps-install -Sf flatpak
```

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [bug] Flatpak fails to launch applications
  2021-01-08 21:40 [ISSUE] [bug] Flatpak fails to launch applications kawaiiamber
                   ` (2 preceding siblings ...)
  2021-01-09 12:28 ` [ISSUE] [CLOSED] " kawaiiamber
@ 2021-01-09 12:44 ` kawaiiamber
  3 siblings, 0 replies; 5+ messages in thread
From: kawaiiamber @ 2021-01-09 12:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2827 bytes --]

New comment by kawaiiamber on void-packages repository

https://github.com/void-linux/void-packages/issues/27771#issuecomment-757148438

Comment:
It seems that steam is crashing?
```sh
[amber@otaku ~]$ flatpak run com.valvesoftware.Steam
https://github.com/flathub/com.valvesoftware.Steam/wiki
Overriding TZ to America/Denver
Running Steam on org.freedesktop.platform 20.08.3 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Steam client's requirements are satisfied
/home/amber/.local/share/Steam/ubuntu12_32/steam
[2021-01-09 05:42:33] Startup - updater built Dec 20 2020 23:07:02
Installing breakpad exception handler for appid(steam)/version(1608507519)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2021-01-09 05:42:33] Loading cached metrics from disk (/home/amber/.local/share/Steam/package/steam_client_metrics.bin)
[2021-01-09 05:42:33] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2021-01-09 05:42:33] Using the following download hosts for Public, Realm steamglobal
[2021-01-09 05:42:33] 1. http://client-download.steampowered.com, /client/, Realm 'steamglobal', weight was 100, source = 'baked in'
[2021-01-09 05:42:33] 2. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1608507519)
[2021-01-09 05:42:33] Checking for update on startup
[2021-01-09 05:42:33] Checking for available updates...
[2021-01-09 05:42:33] Downloading manifest: http://client-download.steampowered.com/client/steam_client_ubuntu12
Installing breakpad exception handler for appid(steam)/version(1608507519)
[2021-01-09 05:42:33] Download skipped: /client/steam_client_ubuntu12 version 1608507519, installed version 1608507519, downloaded version 0
[2021-01-09 05:42:33] Nothing to do
[2021-01-09 05:42:33] Verifying installation...
[2021-01-09 05:42:33] Performing checksum verification of executable files
[2021-01-09 05:42:34] Verification complete
Loaded SDL version 2.0.14-6278618
crash_20210109054233_1.dmp[157]: Uploading dump (out-of-process)
/tmp/dumps/crash_20210109054233_1.dmp
/home/amber/.local/share/Steam/steam.sh: line 759:   142 Segmentation fault      $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
[amber@otaku ~]$ crash_20210109054233_1.dmp[157]: Finished uploading minidump (out-of-process): success = yes
crash_20210109054233_1.dmp[157]: response: CrashID=bp-658f6fd2-5d83-43e5-9b31-c31c42210109
crash_20210109054233_1.dmp[157]: file ''/tmp/dumps/crash_20210109054233_1.dmp'', upload yes: ''CrashID=bp-658f6fd2-5d83-43e5-9b31-c31c42210109''
```
I'm not sure why, but now I'm thinking it's just due to flatpak being buggy, nothing to do with the package anymore to be honest... :/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-01-09 12:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-08 21:40 [ISSUE] [bug] Flatpak fails to launch applications kawaiiamber
2021-01-09  0:32 ` ericonr
2021-01-09 12:28 ` kawaiiamber
2021-01-09 12:28 ` [ISSUE] [CLOSED] " kawaiiamber
2021-01-09 12:44 ` kawaiiamber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).