[pkg-wine-party] Bug#770813: /usr/bin/wine script insufficiently clever

Erik de Castro Lopo erikd at mega-nerd.com
Mon Nov 24 10:47:49 UTC 2014


Package: wine
Version: 1.6.2-16
Severity: normal

I have a number of project written in C that I cross compile from Linux
to Windows. These projects often have test programs also written in C
and these I run under Wine.

This all works fine when I'm compiling 32 bit windows binaries but for
64 bit binaries there's a bit of a problem, the /usr/bin/wine script
fails for 64 bit windows binaries although if I set some environment
variables I can run 64 bit binaries, eg:

    WINARCH=wine64 WINEPREFIX=~/.wine64 wine hello64.exe

My suggestion is that if $WINEARCH and $WINEPREFIX are both empty
strings, the script could use the file command to figure out whether
the binary is 32 or 64 bits and set those variables appropriately.

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

Kernel: Linux 3.17-rc5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_AU.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wine depends on:
ii  file    1:5.20-2
ii  wine32  1.6.2-16
ii  wine64  1.6.2-16

wine recommends no packages.

Versions of packages wine suggests:
pn  avscan | klamav | clamav   <none>
ii  binfmt-support             2.1.5-1
ii  ttf-mscorefonts-installer  3.6
pn  winbind                    <none>

-- no debconf information



More information about the pkg-wine-party mailing list