Package: wine
Version: 1.6.1-12
Severity: important

--- Please enter the report below this line. ---
revision 11 indeed fixed the issue in #733648, but introduced the opposite problem

When executing winecfg on a 32 bit wineprofile, it fails with

$winecfg
wine: '/home/francesco/.wine' is a 32-bit installation, it cannot support 64-bit applications.

Moreover, winecfg also ignores the WINEARCH variable:

$env WINEARCH=win32 winecfg
wine: '/home/francesco/.wine' is a 32-bit installation, it cannot support 64-bit applications.

and fails on the default 32 bit wineprofile (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734252 ):
env WINEPREFIX="$HOME/.wine32" WINEARCH=win32 winecfg
wine: '/home/francesco/.wine32' is a 32-bit installation, it cannot support 64-bit applications.

I would suggest to read inside the profile whether it is 32 or 64 bit, for instance with
test -z "$WINEPREFIX" && WINEPREFIX="$HOME/.wine"
WINEARCH=$(cat "$WINEPREFIX/system.reg"|grep "#arch"|sed -e s/'#arch='/''/)
and to call the 32 bit or 64 bit binary accordingly.

Regards

--- System information. ---
Architecture: amd64
Kernel: Linux 3.11.8-desktop-f

Debian Release: jessie/sid
900 testing ftp.nluug.nl
900 solydxk ftp.nluug.nl
900 solydxk community.solydxk.com
850 testing debian.fastweb.it
800 unstable debian.fastweb.it
750 experimental debian.fastweb.it
500 wheezy linux.dropbox.com
500 home:ksmanis download.opensuse.org
400 testing debian.linuxmint.com
400 debian packages.linuxmint.com

--- Package information. ---
Depends (Version) | Installed
==========================-+-===============
file | 1:5.14-2
wine64 (>= 1.6.1-12) | 1.6.1-12
OR wine32 (>= 1.6.1-12) | 1.6.1-12


Package's Recommends field is empty.

Suggests (Version) | Installed
========================================-+-===========
wine-doc | 1.0.0-1
binfmt-support | 2.0.16
ttf-mscorefonts-installer | 3.5
winbind | 2:4.0.11+dfsg-1
avscan |
OR klamav |
OR clamav | 0.97.8+dfsg-1


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to