snapcrafters / sommelier-core

Package a Windows application for Linux using a Snap with Wine.
MIT License
30 stars 10 forks source link

[Bug]: wine segfaults when using sommelier & wine-platform-7-stable-core20 #35

Closed n8marti closed 2 years ago

n8marti commented 2 years ago

What happened?

I've been trying to snap a couple of windows apps-on-wine using sommelier-core and wine-7, and I'm getting the following segmentation faults:

$ snap install cardsorter --devmode --edge
# ...
$ cardsorter.winecfg
Initialising Wine..
Gtk-Message: 15:29:44.358: Failed to load module "appmenu-gtk-module"
Gtk-Message: 15:29:44.358: Failed to load module "appmenu-gtk-module"
# ... zillions of Fontconfig warnings/errors...
ERROR: ld.so: object '/snap/cardsorter/22/gnome-platform/$LIB/bindtextdomain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
/snap/cardsorter/22/bin/sommelier: line 62: 1017011 Segmentation fault      "$WINELOADER" regedit "$SNAP/sommelier/themes/light/light.reg"
ERROR: ld.so: object '/snap/cardsorter/22/gnome-platform/$LIB/bindtextdomain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
/snap/cardsorter/22/bin/sommelier: line 461: 1017028 Segmentation fault      "$WINELOADER" "$ACTION" "${ACTION_ARGS[@]}"

This might be a problem with the wine-platform-7-stable-core20 snap (@mmtrt), but I don't know now to nail down the specific problem to be certain. I see the similar things with cardsorter, snapcraft.yaml, and map-creator-unofficial, snapcraft.yaml.

For map-creator-unofficial, I've tried forcing the use of wine64 by setting it in the environment (and not letting it be set by the sommelier script). It succeeds with all the earlier wine-related commands, but I still get a similar error when it's time to run the EXE installer:

$ SOMMELIER_DEBUG=1 map-creator-unofficial.wine64 ~/MapCreatorSetup-x64-2.3.2.exe | grep -v Fontconfig
# ... No errors before the end:
+ ACTION=/home/nate/MapCreatorSetup-x64-2.3.2.exe
+ shift
+ ACTION_ARGS=("$@")
+ [[ /home/nate/MapCreatorSetup-x64-2.3.2.exe = \w\i\n\e\t\r\i\c\k\s ]]
+ [[ /home/nate/MapCreatorSetup-x64-2.3.2.exe = \w\i\n\e\d\b\g ]]
+ [[ /home/nate/MapCreatorSetup-x64-2.3.2.exe = \r\u\n\-\e\x\e ]]
+ /snap/map-creator-unofficial/21/wine-platform/wine-stable/bin/wine64 /home/nate/MapCreatorSetup-x64-2.3.2.exe
ERROR: ld.so: object '/snap/map-creator-unofficial/21/gnome-platform/$LIB/bindtextdomain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: Internal error.

What should have happened?

sommelier and wine-platform should be able to run without ld errors.

Output of snap info $snap_name

name:      map-creator-unofficial
summary:   Create language-specific maps, charts, diagrams, and timelines.
publisher: Nate (n8marti)
store-url: https://snapcraft.io/map-creator-unofficial
contact:   https://github.com/wasta-linux/map-creator-snap
license:   GPL-3.0+
description: |
  Map Creator simplifies the creation of language-specific maps, charts, diagrams, and timelines for
  Bible lessons and world geography.
commands:
  - map-creator-unofficial.init
  - map-creator-unofficial.map-creator
  - map-creator-unofficial.wine
  - map-creator-unofficial.wine64
  - map-creator-unofficial.winecfg
  - map-creator-unofficial.winetricks
snap-id:      gnOHqAj7l8LQLpr5NVaW88kL0oIkcu05
tracking:     latest/edge
refresh-date: aujourd'hui à 16h27, heure des Rocheuses
channels:
  latest/stable:    –                          
  latest/candidate: –                          
  latest/beta:      2.3.2 2022-05-27  (9) 94kB -
  latest/edge:      2.3.2 2022-05-31 (21) 90kB -
installed:          2.3.2            (21) 90kB -

Output of snap connections $snap_name

Interface                 Connecteur                              Prise                                        Notes
content[gnome-3-38-2004]  map-creator-unofficial:gnome-3-38-2004  gnome-3-38-2004:gnome-3-38-2004              -
content[gtk-3-themes]     map-creator-unofficial:gtk-3-themes     gtk-common-themes:gtk-3-themes               -
content[icon-themes]      map-creator-unofficial:icon-themes      gtk-common-themes:icon-themes                -
content[sound-themes]     map-creator-unofficial:sound-themes     gtk-common-themes:sound-themes               -
content[wine-7-stable]    map-creator-unofficial:wine-7-stable    wine-platform-7-stable-core20:wine-7-stable  -
content[wine-runtime]     map-creator-unofficial:wine-runtime     wine-platform-runtime:wine-runtime           -
desktop                   map-creator-unofficial:desktop          :desktop                                     -
desktop-legacy            map-creator-unofficial:desktop-legacy   :desktop-legacy                              -
gsettings                 map-creator-unofficial:gsettings        :gsettings                                   -
home                      map-creator-unofficial:home             :home                                        -
network                   map-creator-unofficial:network          :network                                     -
opengl                    map-creator-unofficial:opengl           :opengl                                      -
removable-media           map-creator-unofficial:removable-media  -                                            -
wayland                   map-creator-unofficial:wayland          :wayland                                     -
x11                       map-creator-unofficial:x11              :x11                                         -

Output of snap version

snap    2.55.5
snapd   2.55.5
series  16
ubuntu  20.04
kernel  5.13.0-41-generic

Relevant log output

No response

Teminal output of app

No response

mmtrt commented 2 years ago

You are using old wine-platform-runtime snap use core20 one.

n8marti commented 2 years ago

Oh, my goodness. I can't believe it never occurred to me to check that. Thanks.

On Tue, May 31, 2022, 5:20 PM Taqi Raza @.***> wrote:

You are using old wine-platform-runtime snap use core20 one.

— Reply to this email directly, view it on GitHub https://github.com/snapcrafters/sommelier-core/issues/35#issuecomment-1142344226, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSOCVMHIIDWRBNQDZWZPD3VMY36JANCNFSM5XODDLVA . You are receiving this because you authored the thread.Message ID: @.***>

n8marti commented 2 years ago

I've updated the snapcraft.yaml for cardsorter, and I'm still getting ld errors. Maybe I've not properly updated everything for wine-platform-runtime-core20?

1st run debug output

$ SOMMELIER_DEBUG=1 cardsorter
+ [[ amd64 != \a\m\d\6\4 ]]
+ [[ -z '' ]]
+ export WINEDEBUG=-all
+ WINEDEBUG=-all
++ grep --extended-regexp 'default-provider: *wine-platform-[[:digit:]]' /snap/cardsorter/24/meta/snap.yaml
++ cut --delimiter=: --fields=2
++ sed 's/^ *//;s|-| |g'
++ awk '{print $4}'
+ WINE_RELEASE=stable
+ WINE_PLATFORM=/snap/cardsorter/24/wine-platform/wine-stable
+ [[ ! -d /snap/cardsorter/24/wine-platform/wine-stable ]]
+ export LD_LIBRARY_PATH=/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio
+ LD_LIBRARY_PATH=/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio
+ append_dir PATH /snap/cardsorter/24/wine-platform/wine-stable/bin
+ local -n var=PATH
+ local dir=/snap/cardsorter/24/wine-platform/wine-stable/bin
+ [[ /snap/cardsorter/24/wine-platform/wine-stable/bin == *\$* ]]
+ [[ -d /snap/cardsorter/24/wine-platform/wine-stable/bin ]]
+ export PATH=/snap/cardsorter/24/usr/sbin:/snap/cardsorter/24/usr/bin:/snap/cardsorter/24/sbin:/snap/cardsorter/24/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/cardsorter/24/gnome-platform/usr/bin:/snap/cardsorter/24/wine-platform/wine-stable/bin
+ PATH=/snap/cardsorter/24/usr/sbin:/snap/cardsorter/24/usr/bin:/snap/cardsorter/24/sbin:/snap/cardsorter/24/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/cardsorter/24/gnome-platform/usr/bin:/snap/cardsorter/24/wine-platform/wine-stable/bin
+ export WINELOADER=/snap/cardsorter/24/wine-platform/wine-stable/bin/wine
+ WINELOADER=/snap/cardsorter/24/wine-platform/wine-stable/bin/wine
+ append_dir LD_LIBRARY_PATH /snap/cardsorter/24/wine-platform/wine-stable/lib
+ local -n var=LD_LIBRARY_PATH
+ local dir=/snap/cardsorter/24/wine-platform/wine-stable/lib
+ [[ /snap/cardsorter/24/wine-platform/wine-stable/lib == *\$* ]]
+ [[ -d /snap/cardsorter/24/wine-platform/wine-stable/lib ]]
+ export LD_LIBRARY_PATH=/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib
+ LD_LIBRARY_PATH=/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib
+ append_dir LD_LIBRARY_PATH /snap/cardsorter/24/wine-platform/wine-stable/lib64
+ local -n var=LD_LIBRARY_PATH
+ local dir=/snap/cardsorter/24/wine-platform/wine-stable/lib64
+ [[ /snap/cardsorter/24/wine-platform/wine-stable/lib64 == *\$* ]]
+ [[ -d /snap/cardsorter/24/wine-platform/wine-stable/lib64 ]]
+ export LD_LIBRARY_PATH=/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64
+ LD_LIBRARY_PATH=/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64
+ WINE_PLATFORM_RUNTIME=/snap/cardsorter/24/wine-runtime
+ [[ ! -f /snap/cardsorter/24/wine-runtime/bin/wprfile ]]
+ append_dir PATH /snap/cardsorter/24/wine-runtime/bin
+ local -n var=PATH
+ local dir=/snap/cardsorter/24/wine-runtime/bin
+ [[ /snap/cardsorter/24/wine-runtime/bin == *\$* ]]
+ [[ -d /snap/cardsorter/24/wine-runtime/bin ]]
+ export PATH=/snap/cardsorter/24/usr/sbin:/snap/cardsorter/24/usr/bin:/snap/cardsorter/24/sbin:/snap/cardsorter/24/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/cardsorter/24/gnome-platform/usr/bin:/snap/cardsorter/24/wine-platform/wine-stable/bin:/snap/cardsorter/24/wine-runtime/bin
+ PATH=/snap/cardsorter/24/usr/sbin:/snap/cardsorter/24/usr/bin:/snap/cardsorter/24/sbin:/snap/cardsorter/24/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/cardsorter/24/gnome-platform/usr/bin:/snap/cardsorter/24/wine-platform/wine-stable/bin:/snap/cardsorter/24/wine-runtime/bin
+ append_dir PATH /snap/cardsorter/24/wine-runtime/usr/bin
+ local -n var=PATH
+ local dir=/snap/cardsorter/24/wine-runtime/usr/bin
+ [[ /snap/cardsorter/24/wine-runtime/usr/bin == *\$* ]]
+ [[ -d /snap/cardsorter/24/wine-runtime/usr/bin ]]
+ export PATH=/snap/cardsorter/24/usr/sbin:/snap/cardsorter/24/usr/bin:/snap/cardsorter/24/sbin:/snap/cardsorter/24/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/cardsorter/24/gnome-platform/usr/bin:/snap/cardsorter/24/wine-platform/wine-stable/bin:/snap/cardsorter/24/wine-runtime/bin:/snap/cardsorter/24/wine-runtime/usr/bin
+ PATH=/snap/cardsorter/24/usr/sbin:/snap/cardsorter/24/usr/bin:/snap/cardsorter/24/sbin:/snap/cardsorter/24/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/cardsorter/24/gnome-platform/usr/bin:/snap/cardsorter/24/wine-platform/wine-stable/bin:/snap/cardsorter/24/wine-runtime/bin:/snap/cardsorter/24/wine-runtime/usr/bin
+ prepend_dir LD_LIBRARY_PATH /snap/cardsorter/24/wine-runtime/lib
+ local -n var=LD_LIBRARY_PATH
+ local dir=/snap/cardsorter/24/wine-runtime/lib
+ [[ /snap/cardsorter/24/wine-runtime/lib == *\$* ]]
+ [[ -d /snap/cardsorter/24/wine-runtime/lib ]]
+ export LD_LIBRARY_PATH=/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64
+ LD_LIBRARY_PATH=/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64
+ prepend_dir LD_LIBRARY_PATH '/snap/cardsorter/24/wine-runtime/$LIB'
+ local -n var=LD_LIBRARY_PATH
+ local 'dir=/snap/cardsorter/24/wine-runtime/$LIB'
+ [[ /snap/cardsorter/24/wine-runtime/$LIB == *\$* ]]
+ export 'LD_LIBRARY_PATH=/snap/cardsorter/24/wine-runtime/$LIB:/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64'
+ LD_LIBRARY_PATH='/snap/cardsorter/24/wine-runtime/$LIB:/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64'
+ prepend_dir LD_LIBRARY_PATH /snap/cardsorter/24/wine-runtime/usr/lib
+ local -n var=LD_LIBRARY_PATH
+ local dir=/snap/cardsorter/24/wine-runtime/usr/lib
+ [[ /snap/cardsorter/24/wine-runtime/usr/lib == *\$* ]]
+ [[ -d /snap/cardsorter/24/wine-runtime/usr/lib ]]
+ export 'LD_LIBRARY_PATH=/snap/cardsorter/24/wine-runtime/usr/lib:/snap/cardsorter/24/wine-runtime/$LIB:/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64'
+ LD_LIBRARY_PATH='/snap/cardsorter/24/wine-runtime/usr/lib:/snap/cardsorter/24/wine-runtime/$LIB:/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64'
+ prepend_dir LD_LIBRARY_PATH '/snap/cardsorter/24/wine-runtime/usr/$LIB'
+ local -n var=LD_LIBRARY_PATH
+ local 'dir=/snap/cardsorter/24/wine-runtime/usr/$LIB'
+ [[ /snap/cardsorter/24/wine-runtime/usr/$LIB == *\$* ]]
+ export 'LD_LIBRARY_PATH=/snap/cardsorter/24/wine-runtime/usr/$LIB:/snap/cardsorter/24/wine-runtime/usr/lib:/snap/cardsorter/24/wine-runtime/$LIB:/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64'
+ LD_LIBRARY_PATH='/snap/cardsorter/24/wine-runtime/usr/$LIB:/snap/cardsorter/24/wine-runtime/usr/lib:/snap/cardsorter/24/wine-runtime/$LIB:/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64'
+ prepend_dir LD_LIBRARY_PATH '/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/'
+ local -n var=LD_LIBRARY_PATH
+ local 'dir=/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/'
+ [[ /snap/cardsorter/24/wine-runtime/usr/$LIB/dri/ == *\$* ]]
+ export 'LD_LIBRARY_PATH=/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/:/snap/cardsorter/24/wine-runtime/usr/$LIB:/snap/cardsorter/24/wine-runtime/usr/lib:/snap/cardsorter/24/wine-runtime/$LIB:/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64'
+ LD_LIBRARY_PATH='/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/:/snap/cardsorter/24/wine-runtime/usr/$LIB:/snap/cardsorter/24/wine-runtime/usr/lib:/snap/cardsorter/24/wine-runtime/$LIB:/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64'
+ prepend_dir LIBGL_DRIVERS_PATH '/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/'
+ local -n var=LIBGL_DRIVERS_PATH
+ local 'dir=/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/'
+ [[ /snap/cardsorter/24/wine-runtime/usr/$LIB/dri/ == *\$* ]]
+ export 'LIBGL_DRIVERS_PATH=/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri'
+ LIBGL_DRIVERS_PATH='/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri'
+ prepend_dir LIBVA_DRIVERS_PATH '/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/'
+ local -n var=LIBVA_DRIVERS_PATH
+ local 'dir=/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/'
+ [[ /snap/cardsorter/24/wine-runtime/usr/$LIB/dri/ == *\$* ]]
+ export 'LIBVA_DRIVERS_PATH=/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri'
+ LIBVA_DRIVERS_PATH='/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri'
+ prepend_dir LD_LIBRARY_PATH '/snap/cardsorter/24/wine-runtime/usr/$LIB/pulseaudio'
+ local -n var=LD_LIBRARY_PATH
+ local 'dir=/snap/cardsorter/24/wine-runtime/usr/$LIB/pulseaudio'
+ [[ /snap/cardsorter/24/wine-runtime/usr/$LIB/pulseaudio == *\$* ]]
+ export 'LD_LIBRARY_PATH=/snap/cardsorter/24/wine-runtime/usr/$LIB/pulseaudio:/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/:/snap/cardsorter/24/wine-runtime/usr/$LIB:/snap/cardsorter/24/wine-runtime/usr/lib:/snap/cardsorter/24/wine-runtime/$LIB:/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64'
+ LD_LIBRARY_PATH='/snap/cardsorter/24/wine-runtime/usr/$LIB/pulseaudio:/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/:/snap/cardsorter/24/wine-runtime/usr/$LIB:/snap/cardsorter/24/wine-runtime/usr/lib:/snap/cardsorter/24/wine-runtime/$LIB:/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64'
+ append_dir LD_LIBRARY_PATH '/snap/cardsorter/24/wine-runtime/usr/$LIB/samba'
+ local -n var=LD_LIBRARY_PATH
+ local 'dir=/snap/cardsorter/24/wine-runtime/usr/$LIB/samba'
+ [[ /snap/cardsorter/24/wine-runtime/usr/$LIB/samba == *\$* ]]
+ export 'LD_LIBRARY_PATH=/snap/cardsorter/24/wine-runtime/usr/$LIB/pulseaudio:/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/:/snap/cardsorter/24/wine-runtime/usr/$LIB:/snap/cardsorter/24/wine-runtime/usr/lib:/snap/cardsorter/24/wine-runtime/$LIB:/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64:/snap/cardsorter/24/wine-runtime/usr/$LIB/samba'
+ LD_LIBRARY_PATH='/snap/cardsorter/24/wine-runtime/usr/$LIB/pulseaudio:/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/:/snap/cardsorter/24/wine-runtime/usr/$LIB:/snap/cardsorter/24/wine-runtime/usr/lib:/snap/cardsorter/24/wine-runtime/$LIB:/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64:/snap/cardsorter/24/wine-runtime/usr/$LIB/samba'
+ export WINETRICKS=/snap/cardsorter/24/wine-runtime/bin/winetricks
+ WINETRICKS=/snap/cardsorter/24/wine-runtime/bin/winetricks
+ export WINETRICKS_LATEST_VERSION_CHECK=disabled
+ WINETRICKS_LATEST_VERSION_CHECK=disabled
+ export WINEPREFIX=/home/nate/snap/cardsorter/common/.wine
+ WINEPREFIX=/home/nate/snap/cardsorter/common/.wine
+ export DXVK_CONFIG_FILE=/home/nate/snap/cardsorter/common/dxvk.conf
+ DXVK_CONFIG_FILE=/home/nate/snap/cardsorter/common/dxvk.conf
+ [[ -z '' ]]
+ export DXVK_LOG_LEVEL=none
+ DXVK_LOG_LEVEL=none
+ append_dir LD_LIBRARY_PATH /snap/cardsorter/24/lib
+ local -n var=LD_LIBRARY_PATH
+ local dir=/snap/cardsorter/24/lib
+ [[ /snap/cardsorter/24/lib == *\$* ]]
+ [[ -d /snap/cardsorter/24/lib ]]
+ export 'LD_LIBRARY_PATH=/snap/cardsorter/24/wine-runtime/usr/$LIB/pulseaudio:/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/:/snap/cardsorter/24/wine-runtime/usr/$LIB:/snap/cardsorter/24/wine-runtime/usr/lib:/snap/cardsorter/24/wine-runtime/$LIB:/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64:/snap/cardsorter/24/wine-runtime/usr/$LIB/samba:/snap/cardsorter/24/lib'
+ LD_LIBRARY_PATH='/snap/cardsorter/24/wine-runtime/usr/$LIB/pulseaudio:/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/:/snap/cardsorter/24/wine-runtime/usr/$LIB:/snap/cardsorter/24/wine-runtime/usr/lib:/snap/cardsorter/24/wine-runtime/$LIB:/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64:/snap/cardsorter/24/wine-runtime/usr/$LIB/samba:/snap/cardsorter/24/lib'
+ append_dir LD_LIBRARY_PATH '/snap/cardsorter/24/$LIB'
+ local -n var=LD_LIBRARY_PATH
+ local 'dir=/snap/cardsorter/24/$LIB'
+ [[ /snap/cardsorter/24/$LIB == *\$* ]]
+ export 'LD_LIBRARY_PATH=/snap/cardsorter/24/wine-runtime/usr/$LIB/pulseaudio:/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/:/snap/cardsorter/24/wine-runtime/usr/$LIB:/snap/cardsorter/24/wine-runtime/usr/lib:/snap/cardsorter/24/wine-runtime/$LIB:/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64:/snap/cardsorter/24/wine-runtime/usr/$LIB/samba:/snap/cardsorter/24/lib:/snap/cardsorter/24/$LIB'
+ LD_LIBRARY_PATH='/snap/cardsorter/24/wine-runtime/usr/$LIB/pulseaudio:/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/:/snap/cardsorter/24/wine-runtime/usr/$LIB:/snap/cardsorter/24/wine-runtime/usr/lib:/snap/cardsorter/24/wine-runtime/$LIB:/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64:/snap/cardsorter/24/wine-runtime/usr/$LIB/samba:/snap/cardsorter/24/lib:/snap/cardsorter/24/$LIB'
+ append_dir LD_LIBRARY_PATH /snap/cardsorter/24/usr/lib
+ local -n var=LD_LIBRARY_PATH
+ local dir=/snap/cardsorter/24/usr/lib
+ [[ /snap/cardsorter/24/usr/lib == *\$* ]]
+ [[ -d /snap/cardsorter/24/usr/lib ]]
+ append_dir LD_LIBRARY_PATH '/snap/cardsorter/24/usr/$LIB'
+ local -n var=LD_LIBRARY_PATH
+ local 'dir=/snap/cardsorter/24/usr/$LIB'
+ [[ /snap/cardsorter/24/usr/$LIB == *\$* ]]
+ export 'LD_LIBRARY_PATH=/snap/cardsorter/24/wine-runtime/usr/$LIB/pulseaudio:/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/:/snap/cardsorter/24/wine-runtime/usr/$LIB:/snap/cardsorter/24/wine-runtime/usr/lib:/snap/cardsorter/24/wine-runtime/$LIB:/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64:/snap/cardsorter/24/wine-runtime/usr/$LIB/samba:/snap/cardsorter/24/lib:/snap/cardsorter/24/$LIB:/snap/cardsorter/24/usr/$LIB'
+ LD_LIBRARY_PATH='/snap/cardsorter/24/wine-runtime/usr/$LIB/pulseaudio:/snap/cardsorter/24/wine-runtime/usr/$LIB/dri/:/snap/cardsorter/24/wine-runtime/usr/$LIB:/snap/cardsorter/24/wine-runtime/usr/lib:/snap/cardsorter/24/wine-runtime/$LIB:/snap/cardsorter/24/wine-runtime/lib:/snap/cardsorter/24/lib:/snap/cardsorter/24/gnome-platform/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu:/snap/cardsorter/24/gnome-platform/usr/lib:/snap/cardsorter/24/gnome-platform/lib:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/dri:/var/lib/snapd/lib/gl:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/libunity:/snap/cardsorter/24/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio:/snap/cardsorter/24/wine-platform/wine-stable/lib:/snap/cardsorter/24/wine-platform/wine-stable/lib64:/snap/cardsorter/24/wine-runtime/usr/$LIB/samba:/snap/cardsorter/24/lib:/snap/cardsorter/24/$LIB:/snap/cardsorter/24/usr/$LIB'
+ [[ -f /home/nate/snap/cardsorter/common/.wine/.update-timestamp ]]
++ grep -c disable /home/nate/snap/cardsorter/common/.wine/.update-timestamp
+ chkstmp=0
+ [[ 0 -eq 1 ]]
+ export 'WINEDLLOVERRIDES=mscoree,mshtml=;winemenubuilder.exe=d'
+ WINEDLLOVERRIDES='mscoree,mshtml=;winemenubuilder.exe=d'
+ [[ ! -f /home/nate/snap/cardsorter/common/.wine/drive_c/windows/system.ini ]]
++ cat /home/nate/snap/cardsorter/common/.last_snap_revision
+ [[ 24 != \2\4 ]]
+ append_dir LD_LIBRARY_PATH /var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void
+ local -n var=LD_LIBRARY_PATH
+ local dir=/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void
+ [[ /var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void == *\$* ]]
+ [[ -d /var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void ]]
+ [[ -n run-exe ]]
+ ACTION=run-exe
+ shift
+ ACTION_ARGS=("$@")
+ [[ run-exe = \w\i\n\e\t\r\i\c\k\s ]]
+ [[ run-exe = \w\i\n\e\d\b\g ]]
+ [[ run-exe = \r\u\n\-\e\x\e ]]
+ [[ -z C:/users/nate/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/CardSorterWPF/CardSorterWPF.appref-ms ]]
+ [[ amd64 == \i\3\8\6 ]]
++ /snap/cardsorter/24/wine-platform/wine-stable/bin/wine winepath 'C:/users/nate/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/CardSorterWPF/CardSorterWPF.appref-ms'
ERROR: ld.so: object '/snap/cardsorter/24/gnome-platform/$LIB/bindtextdomain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/snap/cardsorter/24/gnome-platform/$LIB/bindtextdomain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/snap/cardsorter/24/gnome-platform/$LIB/bindtextdomain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
+ RUN_EXE='/home/nate/snap/cardsorter/common/.wine/dosdevices/c:/users/nate/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/CardSorterWPF/CardSorterWPF.appref-ms'
+ [[ ! -e /home/nate/snap/cardsorter/common/.wine/dosdevices/c:/users/nate/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/CardSorterWPF/CardSorterWPF.appref-ms ]]
+ install_app
+ echo 'Installing application..'
Installing application..
+ ORIGINAL_LINKS=($(xdg-user-dir DESKTOP)/*.lnk)
++ xdg-user-dir DESKTOP
+ [[ -n dotnet462 ]]
+ for TRICK in ${TRICKS}
+ /snap/cardsorter/24/wine-runtime/bin/winetricks --unattended dotnet462
+ yad --progress '--title=Installing dotnet462' --progress-text= --width=400 --center --no-buttons --auto-close --auto-kill --pulsate
Gtk-Message: 10:18:09.803: Failed to load module "appmenu-gtk-module"
Gtk-Message: 10:18:09.804: Failed to load module "appmenu-gtk-module"
+ [[ -f /snap/cardsorter/24/sommelier/hooks/pre-install ]]
+ echo 'Running hook '\''/snap/cardsorter/24/sommelier/hooks/pre-install'\'''
Running hook '/snap/cardsorter/24/sommelier/hooks/pre-install'
+ . /snap/cardsorter/24/sommelier/hooks/pre-install
++ /snap/cardsorter/24/wine-platform/wine-stable/bin/wine winecfg /v win10
ERROR: ld.so: object '/snap/cardsorter/24/gnome-platform/$LIB/bindtextdomain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/snap/cardsorter/24/gnome-platform/$LIB/bindtextdomain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/snap/cardsorter/24/gnome-platform/$LIB/bindtextdomain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
+ [[ -n '' ]]
+ [[ -n /snap/cardsorter/24/installer/setup.exe ]]
+ LOCAL_INSTALL_EXE=/snap/cardsorter/24/installer/setup.exe
+ [[ -n /snap/cardsorter/24/installer/setup.exe ]]
+ IFS='
'
+ ARR_INSTALL_FLAGS=($(xargs -n1 <<<"${INSTALL_FLAGS:-}"))
++ xargs -n1
++ basename /snap/cardsorter/24/installer/setup.exe
+ EXE_NAME=setup.exe
+ FILE_END=exe
+ FILE_TYPE=exe
+ [[ exe == \e\x\e ]]
+ /snap/cardsorter/24/wine-platform/wine-stable/bin/wine /snap/cardsorter/24/installer/setup.exe
ERROR: ld.so: object '/snap/cardsorter/24/gnome-platform/$LIB/bindtextdomain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/snap/cardsorter/24/gnome-platform/$LIB/bindtextdomain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/snap/cardsorter/24/gnome-platform/$LIB/bindtextdomain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
+ [[ -n '' ]]
+ [[ -f /snap/cardsorter/24/sommelier/hooks/post-install ]]
++ xdg-user-dir DESKTOP
+ for CURRENT_LINK in $(xdg-user-dir DESKTOP)/*.lnk
+ element_in '/home/nate/Bureau/*.lnk' '/home/nate/Bureau/*.lnk'
+ local e 'match=/home/nate/Bureau/*.lnk'
+ shift
+ for e in "$@"
+ [[ /home/nate/Bureau/*.lnk == \/\h\o\m\e\/\n\a\t\e\/\B\u\r\e\a\u\/\*\.\l\n\k ]]
+ return 0
+ echo 20211111
+ start_app
+ echo 'Starting application..'
Starting application..
+ [[ -f /snap/cardsorter/24/sommelier/hooks/pre-start ]]
+ ACTION_ARGS=("${args[@]}")
+ [[ -n 1 ]]
++ date +%s.%N '--date=1654075089.123683876 seconds ago'
+ echo 'DEBUG: Sommelier elapsed time: 39.465223947'
DEBUG: Sommelier elapsed time: 39.465223947
+ echo 'DEBUG: Now running: '\''/snap/cardsorter/24/wine-platform/wine-stable/bin/wine'\'' '\''/home/nate/snap/cardsorter/common/.wine/dosdevices/c:/users/nate/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/CardSorterWPF/CardSorterWPF.appref-ms'\'' '\'''\'''
DEBUG: Now running: '/snap/cardsorter/24/wine-platform/wine-stable/bin/wine' '/home/nate/snap/cardsorter/common/.wine/dosdevices/c:/users/nate/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/CardSorterWPF/CardSorterWPF.appref-ms' ''
+ [[ -z '' ]]
++ dirname '/home/nate/snap/cardsorter/common/.wine/dosdevices/c:/users/nate/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/CardSorterWPF/CardSorterWPF.appref-ms'
+ app_dir='/home/nate/snap/cardsorter/common/.wine/dosdevices/c:/users/nate/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/CardSorterWPF'
++ basename '/home/nate/snap/cardsorter/common/.wine/dosdevices/c:/users/nate/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/CardSorterWPF/CardSorterWPF.appref-ms'
+ app=CardSorterWPF.appref-ms
+ cd '/home/nate/snap/cardsorter/common/.wine/dosdevices/c:/users/nate/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/CardSorterWPF'
/snap/cardsorter/24/bin/sommelier: line 217: cd: /home/nate/snap/cardsorter/common/.wine/dosdevices/c:/users/nate/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/CardSorterWPF: No such file or directory
+ [[ -n '' ]]
+ /snap/cardsorter/24/wine-platform/wine-stable/bin/wine CardSorterWPF.appref-ms
ERROR: ld.so: object '/snap/cardsorter/24/gnome-platform/$LIB/bindtextdomain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/snap/cardsorter/24/gnome-platform/$LIB/bindtextdomain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: File not found.

+ local exit_code=1
+ [[ -f /snap/cardsorter/24/sommelier/hooks/post-stop ]]
+ exit 1

Snap connections

$ snap connections cardsorter
Interface                  Connecteur                   Prise                                          Notes
audio-playback             cardsorter:audio-playback    :audio-playback                                -
content[gnome-3-38-2004]   cardsorter:gnome-3-38-2004   gnome-3-38-2004:gnome-3-38-2004                -
content[gtk-3-themes]      cardsorter:gtk-3-themes      gtk-common-themes:gtk-3-themes                 -
content[icon-themes]       cardsorter:icon-themes       gtk-common-themes:icon-themes                  -
content[sound-themes]      cardsorter:sound-themes      gtk-common-themes:sound-themes                 -
content[wine-7-stable]     cardsorter:wine-7-stable     wine-platform-7-stable-core20:wine-7-stable    -
content[wine-runtime-c20]  cardsorter:wine-runtime-c20  wine-platform-runtime-core20:wine-runtime-c20  -
desktop                    cardsorter:desktop           :desktop                                       -
desktop-legacy             cardsorter:desktop-legacy    :desktop-legacy                                -
gsettings                  cardsorter:gsettings         :gsettings                                     -
home                       cardsorter:home              :home                                          -
network                    cardsorter:network           :network                                       -
opengl                     cardsorter:opengl            :opengl                                        -
removable-media            cardsorter:removable-media   -                                              -
wayland                    cardsorter:wayland           :wayland                                       -
x11                        cardsorter:x11               :x11                                           -
mmtrt commented 2 years ago

@n8marti can you post bindtextdomain section from desktop-launch script in built snap.

n8marti commented 2 years ago

Is this what you're looking for?:

$ snap run --shell cardsorter
$ echo $SNAP
/snap/cardsorter/24
$ find $SNAP/ -name '*desktop-launch*' -exec cat -n {} \; | grep -C5  bindtextdomain
    70    ARCH="$SNAP_ARCH-linux-gnu"
    71  fi
    72  
    73  export SNAP_LAUNCHER_ARCH_TRIPLET="$ARCH"
    74  
    75  # Don't LD_PRELOAD bindtextdomain for classic snaps
    76  if ! grep -qs "^\s*confinement:\s*classic\s*" "$SNAP/meta/snap.yaml"; then
    77    if [ -f "$SNAP/gnome-platform/lib/$ARCH/bindtextdomain.so" ]; then
    78      export LD_PRELOAD="$LD_PRELOAD:$SNAP/gnome-platform/\$LIB/bindtextdomain.so"
    79    elif [ -f "$SNAP/lib/$ARCH/bindtextdomain.so" ]; then
    80      export LD_PRELOAD="$LD_PRELOAD:$SNAP/\$LIB/bindtextdomain.so"
    81    fi
    82  fi
    83  ###############################################
    84  # Launcher common exports for any desktop app #
    85  ###############################################
mmtrt commented 2 years ago

Yes it seems like my fix https://github.com/snapcore/snapcraft/pull/3738 was not backported in snapcraft extension for older snapcraft release I think.

n8marti commented 2 years ago

Thanks for the troubleshooting help. How can I find out which snapcraft version did/will include this patch? I guess I'll keep an eye on snapcraft releases and try to build it again later.

mmtrt commented 2 years ago

Yeah np, current release is v7 I think it should have fix.

n8marti commented 2 years ago

Since this isn't really a sommelier issue, I'll close it out now.