Bug#932201: wine64 should also look for /usr/lib/wine/wineserver64 if WINESERVER is not set
Package: wine64
Version: 4.0-2
Severity: normal
wine64(1) says:
WINESERVER
Specifies the path and name of the wineserver binary. If not
set, Wine will try to load /usr/lib/wine/wineserver, and if this
doesn't exist it will then look for a file named "wineserver" in
the path and in a few other likely locations.
But wine64 only ships with /usr/lib/wine/wineserver64.
I'm finding that i need to set WINESERVER=/usr/lib/wine/wineserver64
in libgpg-error's debian/tests/windows (an autopkgtest where we ensure
that we can build a static windows executable against libgpg-error on
debian), otherwise i get "could not exec wineserver".
It seems like wine64 should be smart enough to try
/usr/lib/wine/wineserver64.
(aside about the overall problem space of using wine in autopkgtest:
i think if i installed the "wine" package, and then just invoked
/usr/bin/wine directly, instead of wine64, it would work correctly
for me, but the problem with that is that "wine" sends a warning to
stderr about wanting wine32 installed upon every invocation, which
isn't possible on a non-multiarch system (and all the continuous
integration systems i've used thus far are non-multiarch). And
messages to stderr are indicators to autopkgtest that the test is a
failure. I could suppress the warning by setting WINEDEBUG=-all,
but i *don't* want to suppress any other warnings that wine might
produce. So if you see a better way around this, so that i can use
wine in autopkgtest more easily, please don't hesitate to suggest
it)
--dkg
-- Package-specific info:
/usr/bin/wine points to /usr/bin/wine-stable.
-- System Information:
Debian Release: bullseye/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing'), (500, 'oldstable'), (200, 'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages wine64 depends on:
ii libc6 2.28-10
ii libwine 4.0-2
Versions of packages wine64 recommends:
ii wine 4.0-2
pn wine32 <none>
Versions of packages wine64 suggests:
pn wine64-preloader <none>
Versions of packages wine64 is related to:
pn fonts-wine <none>
ii wine 4.0-2
pn wine32 <none>
ii wine64 4.0-2
-- no debconf information
Reply to: