Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1034052: winetricks: winetrick searches for 32 bit wine as wine32, not wine

239 views
Skip to first unread message

Thomas Dorner

unread,
Apr 7, 2023, 10:00:04 AM4/7/23
to
Package: winetricks
Version: 20230212-2
Severity: normal
X-Debbugs-Cc: debia...@th-dorner.de

Dear Maintainer,

I have the following wine multiarch installation in Sid:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================-============-============-==================================================
ii wine 8.0~repack-4 all Windows API implementation - standard suite
ii wine32:i386 8.0~repack-4 i386 Windows API implementation - 32-bit binary loader
ii wine64 8.0~repack-4 amd64 Windows API implementation - 64-bit binary loader
ii winetricks 20230212-2 all simple tool to work around common problems in Wine

While setting up a new Wine environment winetricks aborted with the
following error:


------------------------------------------------------
Using winetricks 20230212 - sha256sum: 14afe10e8858e47f95fc6f02015003a6ffd8cd438249b25b85e1078e8e326949 with wine-8.0 (Debian 8.0~repack-4) and WINEARCH=win64
Executing w_do_call vcrun2019
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_vcrun2019
Using native,builtin override for following DLLs: api-ms-win-crt-private-l1-1-0 api-ms-win-crt-conio-l1-1-0 api-ms-win-crt-heap-l1-1-0 api-ms-win-crt-locale-l1-1-0 api-ms-win-crt-math-l1-1-0 api-ms-win-crt-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcp140_1 msvcp140_2 msvcp140_atomic_wait msvcp140_codecvt_ids vcamp140 vccorlib140 vcomp140 vcruntime140
Executing wine C:\windows\syswow64\regedit.exe C:\windows\Temp\override-dll.reg
it looks like wine32 is missing, you should install it.
multiarch needs to be enabled first. as root, please
execute "dpkg --add-architecture i386 && apt-get update &&
apt-get install wine32:i386"
wine: failed to open "C:\\windows\\syswow64\\regedit.exe": c0000135
------------------------------------------------------
egedit.exe C:\windows\Temp\override-dll.reg returned status 53. Aborting.
------------------------------------------------------


After simply creating a hard-link between /usr/lib/wine/wine and
/usr/lib/wine/wine32 it worked. I guess this is either a bug in the
winetricks or the wine (32 bit) package, at least it looks like
something not consistent. The fix should be easy in each of them. (I
did not try a soft-link, but that probably works as well.)

Best regards, Thomas

PS: Classified as "normal" as it has a very easy work-around.


-- System Information:
Debian Release: 12.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-7-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages winetricks depends on:
ii binutils 2.40-2
ii curl 7.88.1-8
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 fuseiso 20070708-3.2+b1
ii p7zip-full 16.02+dfsg-8
ii pkexec 122-3
ii policykit-1 122-3
ii sudo 1.9.13p3-1
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 tor 0.4.7.13-1
ii unrar 1:6.2.6-1

-- no debconf information

Jens Reyer

unread,
Apr 11, 2023, 10:10:05 AM4/11/23
to
control: tags -1 moreinfo

Hi,


On 07.04.23 15:49, Thomas Dorner wrote:
> While setting up a new Wine environment winetricks aborted with the
> following error:

I can't reproduce this issue. What steps exactly did you issue that failed?

With the same packages installed I successfully did the following tests:

rm -rf .wine
wineboot
winetricks vcrun2019

rm -rf .wine
winetricks vcrun2019

rm -rf .wine
regedit




> it looks like wine32 is missing, you should install it.
> multiarch needs to be enabled first. as root, please
> execute "dpkg --add-architecture i386 && apt-get update &&
> apt-get install wine32:i386"

This is an error message from Wine. Winetricks doesn't look for "wine32".

Please remove the hardlink again and report the output of "wine --version".

You may also reinstall wine (apt purge wine wine32 wine64 && apt install
wine wine32 wine64) and check again.


Thanks and greets
jre

Thomas Dorner

unread,
Apr 12, 2023, 4:20:03 AM4/12/23
to
Hello Jens!

> I can't reproduce this issue. What steps exactly did you issue that
> failed?

Hmm, I tried it again today (after removing my hard-link), and I
couldn't reproduce it either. I did some other changes / updates in
the meantime though (esp. installing winbind and some Samba packages,
which I did not have installed last week). So I guess we can close
this as a glitch specific to my environment. Should I encounter it
again, I'll reopen with a more through analysis.

> Please remove the hardlink again and report the output of "wine
> --version".

wine-8.0 (Debian 8.0~repack-4)

Thanks for your efforts and best regards,
Thomas
--
𝓣𝓱𝓸𝓶𝓪𝓼 𝓓𝓸𝓻𝓷𝓮𝓻
0 new messages