Bug#1063466: winetricks: architecture detection mechanism (commit #9ca7a68b) breaks winetricks.desktop

2024-02-10 Thread Jens Reyer

control: retitle -1 winetricks: architecture detection mechanism (commit 
#9ca7a68b) broken


On 08.02.24 16:02, Alex Volkov wrote:

as the architecture detection mechanism (commit #9ca7a68b) checks $1
argument, it views the "--gui" parameter in the .desktop file as a
filename, which leads to appearance of erroneous messages about
"Unknown file arch" when launching from the applications menu. Not a
big deal, but can be confusing to an unsuspecting user.


Thanks for the report. Turns out there are some other issues causing the
symptoms you reported:

The detection fails because it can't handle wrapper scripts like
Debian's wine and wineserver.  But this goes unnoticed if "--gui"
is not specified, but still leads to the correct outcome on a
common installation (wine32+wine64 in Debian).

"winetricks --gui" just exposes this issue because then winetricks is more
verbose at this moment, while "winetricks" also starts the GUI
but the logic is after the broken architecture detection mechanism.

I'll try to find a solution for this with upstream.

Greets
jre



Bug#1063466: winetricks: architecture detection mechanism (commit #9ca7a68b) breaks winetricks.desktop

2024-02-08 Thread Alex Volkov
Package: winetricks
Version: 20240105-1
Severity: normal
Tags: upstream

Dear Maintainer,

as the architecture detection mechanism (commit #9ca7a68b) checks $1 argument,
it views the "--gui" parameter in the .desktop file as a filename, which leads
to appearance of erroneous messages about "Unknown file arch" when launching
from the applications menu. Not a big deal, but can be confusing to an
unsuspecting user.


-- System Information:
Debian Release: 12.4
  APT prefers stable-updates
  APT policy: (991, 'stable-updates'), (991, 'stable-security'), (991, 
'stable'), (99, 'testing'), (90, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.10-bootes1-p-1000 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages winetricks depends on:
ii  aria21.36.0-1
ii  binutils 2.40-2
ii  curl 7.88.1-10+deb12u5
ii  wget 1.21.3-1+b2
ii  wine [wine]  8.0~repack-4

Versions of packages winetricks recommends:
ii  cabextract 1.9-3
ii  fuseiso20070708-3.2+b1
ii  kde-cli-tools  4:5.27.5.1-2
ii  kdialog4:22.12.3-1
ii  p7zip-full 16.02+dfsg-8
ii  pkexec 122-3
ii  policykit-1122-3
ii  sudo   1.9.13p3-1+deb12u1
ii  unzip  6.0-28
ii  x11-utils  7.7+5
ii  xdg-utils  1.1.3-4.1
ii  xz-utils   5.4.1-0.2
ii  zenity 3.44.0-1

Versions of packages winetricks suggests:
ii  tor0.4.7.16-1
ii  unrar  1:6.2.6-1+deb12u1

-- no debconf information