[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[pkg-wine-party] Bug#779012: marked as done (wine: test if multiarch is enabled fails with multiple foreign archs)



Your message dated Sat, 12 Dec 2015 22:25:01 +0000
with message-id <E1a7sb7-0005sc-57@franck.debian.org>
and subject line Bug#779012: fixed in wine 1.8~rc4-1
has caused the Debian Bug report #779012,
regarding wine: test if multiarch is enabled fails with multiple foreign archs
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
779012: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779012
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: wine
Version: 1.6.2-19
Severity: normal
Tags: patch

Hi,

There are currently two issues with the /usr/bin/wine script:

a) On amd64 if fails when there more than one foreign-achitecture installed.
   For instance on my machine where I do a lot of cross-compiling from amd64
   to armhf and arm64:

        > dpkg --print-foreign-architectures
        i386
        armhf
        arm64
   which causes the existing foreign architecture test to fail.
   
b) The current script does not seamlessly handle both 32 and 64 bit binaries.
   Fortunately its trivial to add this support using file to detect whether
   the windows binary is 32 or 64 bit and then setting WINEPREFIX to either
   $HOME/.wine for 32 or $HOME/.wine64 for 64 bits.

Patch containing fixes for both these issues attached.

Cheers,
Erik

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (500, 'testing-updates'), (500, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, arm64

Kernel: Linux 3.16.0-4-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
Init: systemd (via /run/systemd/system)

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

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
--- /usr/bin/wine	2015-01-11 05:40:21.000000000 +1100
+++ usr_bin_wine	2015-01-05 21:15:03.311892601 +1100
@@ -6,11 +6,22 @@
 wine32=$bindir/wine32
 wine64=$bindir/wine64
 
+if test -z "${WINEARCH}${WINEPREFIX}" ; then
+    if test $(file $1 | grep -c 'Intel 80386') -eq 1 ; then
+        WINEARCH=win32
+        WINEPREFIX=$HOME/.wine
+    elif test $(file $1 | grep -c 'x86-64') -eq 1 ; then
+        WINEARCH=win64
+        WINEPREFIX=$HOME/.wine64
+    fi
+fi
+
+
 if test -x $wine32 -a "$WINEARCH" != "win64"; then
     wine=$wine32
 elif test -x $wine64; then
     wine=$wine64
-    if [ "$(dpkg --print-architecture)" = "amd64" -a "$(dpkg --print-foreign-architectures)" != "i386" ]; then
+    if [ "$(dpkg --print-architecture)" = "amd64" -a "$(dpkg --print-foreign-architectures | grep -c "i386")" -ne 1 ]; then
         echo "it looks like multiarch needs to be enabled.  as root, please"
         echo "execute \"dpkg --add-architecture i386 && apt-get update &&"
         echo "apt-get install $(echo $name | sed s/wine/wine32/)\""

--- End Message ---
--- Begin Message ---
Source: wine
Source-Version: 1.8~rc4-1

We believe that the bug you reported is fixed in the latest version of
wine, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 779012@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Gilbert <mgilbert@debian.org> (supplier of updated wine package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 12 Dec 2015 21:02:49 +0000
Source: wine
Binary: wine wine-binfmt wine32 wine64 wine32-preloader wine64-preloader wine32-tools wine64-tools fonts-wine libwine libwine-dev libwine-dbg
Architecture: source all
Version: 1.8~rc4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Wine Party <pkg-wine-party@lists.alioth.debian.org>
Changed-By: Michael Gilbert <mgilbert@debian.org>
Description:
 fonts-wine - Windows API implementation - fonts
 libwine    - Windows API implementation - library
 libwine-dbg - Windows API implementation - debugging symbols
 libwine-dev - Windows API implementation - development files
 wine       - Windows API implementation - standard suite
 wine-binfmt - Windows API implementation - binfmt support
 wine32     - Windows API implementation - 32-bit binary loader
 wine32-preloader - Windows API implementation - prelinked 32-bit binary loader
 wine32-tools - Windows API implementation - 32-bit developer tools
 wine64     - Windows API implementation - 64-bit binary loader
 wine64-preloader - Windows API implementation - prelinked 64-bit binary loader
 wine64-tools - Windows API implementation - 64-bit developer tools
Closes: 779012 807026 807403
Changes:
 wine (1.8~rc4-1) unstable; urgency=medium
 .
   [ Michael Gilbert ]
   * Upstream release candidate, released Dec 12, 2015.
   * Fix typo in the previous changelog entry (closes: #807026).
   * Add upstream version mangling for release candidates to debian/watch.
 .
   [ Jens Reyer ]
   * Version the unicode-data build dependency.
   * Support more than one foreign multiarch (closes: #779012).
   * Remove legacy pulseaudio/alsa latency workaround (closes: #807403).
Checksums-Sha1:
 f38a78659c652caad5e6d703d027a0f6e96c6db5 4296 wine_1.8~rc4-1.dsc
 f436a88d44377f1f9386c998654123bc70ec5923 22406772 wine_1.8~rc4.orig.tar.bz2
 9d97faa2d00bc1c7f3dbb829a88c82363fb38173 88292 wine_1.8~rc4-1.debian.tar.xz
 1aef2dfabbadf11dcf0836bdff48cbfe621dbd4b 208344 fonts-wine_1.8~rc4-1_all.deb
 1f7cb5dbfdf9af52d836024e6199e5719d203a4c 63826 wine-binfmt_1.8~rc4-1_all.deb
 e099dc1b6d22072aa61c208338c8d4f3a3237ecb 89442 wine_1.8~rc4-1_all.deb
Checksums-Sha256:
 23ffc481faeb743c8cfeb469125406ba9d5163ac640909972c6239a3864a86bb 4296 wine_1.8~rc4-1.dsc
 7ab04d82d4ecf596801adeeb32fa21e4e8f3385b684091aa5aba51832682963d 22406772 wine_1.8~rc4.orig.tar.bz2
 3b0836f8cc6c1a77e482013616928ef66dde6b793fab2b82f49347732df26a1c 88292 wine_1.8~rc4-1.debian.tar.xz
 ca18d558702ea973184c970d3d01c1c218700e5febcb7f6dbce4f52a5cbe6e49 208344 fonts-wine_1.8~rc4-1_all.deb
 ba72ce8d90431ee65590913af1f7c645b4338fa8d267ca9a5a0c554880a7a6c7 63826 wine-binfmt_1.8~rc4-1_all.deb
 24f2f762c02458e2272c422ad6f68646892bcea53d531c0d452c208181aef79e 89442 wine_1.8~rc4-1_all.deb
Files:
 ddb2b669a4944d2d541bf48e983df957 4296 otherosfs optional wine_1.8~rc4-1.dsc
 b3d2f205da556928742f58136eb5f96b 22406772 otherosfs optional wine_1.8~rc4.orig.tar.bz2
 e24f233392af33a3a7990adaa405994a 88292 otherosfs optional wine_1.8~rc4-1.debian.tar.xz
 f94d72e21fa8f1786e4a99a8a2a27011 208344 fonts optional fonts-wine_1.8~rc4-1_all.deb
 cb06db0432d15377b95868c586d94bf1 63826 otherosfs optional wine-binfmt_1.8~rc4-1_all.deb
 2261f236097e2488567c479c90002dab 89442 otherosfs optional wine_1.8~rc4-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQQcBAEBCgAGBQJWbJw4AAoJELjWss0C1vRzpT4f/ROycl6xCBBZxeZnAh4Lrg+H
bJDo3wtpRAC9r/ZzITRymdjCpApUtr9jKwNkeNcz0pAtyuFj0uDUeY5OSbzLvv2p
NJ1S2v+Pd8xihez6MX8Ncc8VZWI7WNoQ7sJHMeP04qpP1T3/ggJwI6mFeMQp637d
kzFWnWQ12+2+VfErt8mJnjqz9+ILwiJLDkq1c3yVFVd8yLWOgqMJcKcK7IkjUSFS
Za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