[pkg-wine-party] Bug#767011: wine-development: WINELOADER from script is not passed (strange)

jre jre.winesim at gmail.com
Mon Oct 27 15:53:43 UTC 2014


Source: wine-development
Version: 1.7.29-2
Severity: normal


tl;dr:
For a strange reason WINELOADER is not passed correctly. This makes
wine-development fail, when wine (stable) is also installed,



Hi,

I've installed both wine and wine-development from unstable. Using
wine-development fails:

~~~~~
$ wine-development notepad
wine: cannot find L"C:\\windows\\system32\\=.exe"
wine: cannot find L"C:\\windows\\system32\\=.exe"
wine client error:0: version mismatch 447/457.
Your wineserver binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?
~~~~~

At first this looks like a WINESERVER issue, but it is not. E.g. this
does NOT help:
~~~~~
export WINESERVER=/usr/lib/i386-linux-gnu/wine-development/wineserver
~~~~~

I also rebooted my computer to rule out e.g. a still running wineserver.


But as soon as I uninstall the wine (stable) packages it works again.




Now I found that the following works:

~~~~~
export WINELOADER=/usr/lib/wine-development/wine
wine-development notepad
~~~~~

... or this works, too:

~~~~~
WINELOADER=/usr/lib/wine-development/wine wine-development notepad
~~~~~



But /usr/bin/wine-development already is supposed to do that!


I added the following DEBUG lines there to test:
1.) if the "test if WINELOADER was set manually" is working
2.) the command-line (last line of the script) is constructed correctly

~~~~~
if test -z $WINELOADER; then
echo "DEBUG: WINELOADER is empty."
    wineloader=$wine
else
echo "DEBUG: WINELOADER is not empty."
    wineloader=$WINELOADER
fi
[...]
echo DEBUG: WINEPREFIX=$wineprefix WINELOADER=$wineloader
WINEDEBUG=$winedebug $wine "$@"
WINEPREFIX=$wineprefix WINELOADER=$wineloader WINEDEBUG=$winedebug $wine
"$@"
~~~~~

The result is just fine:

~~~~~
$ wine-development notepad
wine: cannot find L"C:\\windows\\system32\\=.exe"
wine: cannot find L"C:\\windows\\system32\\=.exe"
DEBUG: WINELOADER is empty.
DEBUG: WINEPREFIX=/home/jens/.wine
WINELOADER=/usr/lib/wine-development/wine WINEDEBUG=fixme+all,err+all
/usr/lib/wine-development/wine notepad
wine client error:0: version mismatch 447/457.
Your wineserver binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?
~~~~~




Failed attempt to fix the script:

~~~~~
export WINEPREFIX=$wineprefix
export WINELOADER=$wineloader
export WINEDEBUG=$winedebug
$wine "$@"
~~~~~

Another failed attempt to fix the script:
~~~~~
eval WINEPREFIX=$wineprefix WINELOADER=$wineloader WINEDEBUG=$winedebug
$wine "$@"
~~~~~


IIRC this worked a few weeks ago.



So I'm really clueless now. Setting WINELOADER in the terminal works,
while doing the same stuff in the script does not work.
Is my system just borked? Does it work for you?




-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wine-development depends on:
ii  wine32-development  1.7.29-2
ii  wine64-development  1.7.29-2

wine-development recommends no packages.

Versions of packages wine-development suggests:
ii  binfmt-support             2.1.5-1
ii  ttf-mscorefonts-installer  3.6

-- no debconf information

$ dpkg -l "*wine*"|grep ii|sed "s|Windows.*||g"
ii  libwine:amd64                1.6.2-14     amd64
ii  libwine:i386                 1.6.2-14     i386
ii  libwine-development:amd64    1.7.29-2     amd64
ii  libwine-development:i386     1.7.29-2     i386
ii  libwine-gecko-2.21           2.21+dfsg2-1 all
ii  libwine-gecko-2.24           2.24+dfsg-1  all
ii  wine                         1.6.2-14     amd64
ii  wine-development             1.7.29-2     amd64
ii  wine32                       1.6.2-14     i386
ii  wine32-development           1.7.29-2     i386
ii  wine64                       1.6.2-14     amd64
ii  wine64-development           1.7.29-2     amd64



More information about the pkg-wine-party mailing list