https://bugs.winehq.org/show_bug.cgi?id=56039
Bug ID: 56039 Summary: winecfg does no longer run after export WINEARCH=win32 Product: Wine Version: 9.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: cedric.dewijs@eclipso.eu Distribution: ---
winecfg does not run in 32 bit mode, makes it impossible to choose windows 98 emulation
Steps to reproduce: $ rm -rf ~/wine-tmp/ $ mkdir ~/wine-tmp $ export WINEPREFIX=~/wine-tmp $ export WINEARCH=win32 $ winecfg wine: '/home/cedric/wine-tmp' is a 32-bit installation, it cannot support 64-bit applications.
Software: $ wine --version wine-9.0-rc2 from this aur package: https://aur.archlinux.org/packages/wine-wow64 $ uname -a Linux cedric 6.6.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 14 Dec 2023 03:45:42 +0000 x86_64 GNU/Linux Running lxde on Xorg
Hardware: 0b:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] (rev c4)
https://bugs.winehq.org/show_bug.cgi?id=56039
--- Comment #1 from Cedric cedric.dewijs@eclipso.eu --- This is a regression from wine-8.11: https://bugs.winehq.org/show_bug.cgi?id=55175
https://bugs.winehq.org/show_bug.cgi?id=56039
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- It's not a regression, it's because you are using the new wow64 mode which doesn't support 32-bit prefixes (but yes, this could be handled better).
https://bugs.winehq.org/show_bug.cgi?id=56039
--- Comment #3 from Cedric cedric.dewijs@eclipso.eu --- I see. Is there a version of wine-9.0-rc2 that is capable of emulating windows 98?
https://bugs.winehq.org/show_bug.cgi?id=56039
--- Comment #4 from Cedric cedric.dewijs@eclipso.eu --- I'm looking at the differences between the PKGBUILD files for wine-8.21 (that can emulate windows98), and wine-9.0rc2 (that cannot emulate windows 98):
wine-8.21: https://gitlab.archlinux.org/archlinux/packaging/packages/wine/-/blob/main/P... build() { cd "$srcdir"
msg2 "Building Wine-64..."
mkdir $pkgname-64-build cd "$srcdir/$pkgname-64-build" ../$pkgname/configure \ --prefix=/usr \ --libdir=/usr/lib \ --with-x \ --with-gstreamer \ --enable-win64 # Gstreamer was disabled for FS#33655
make
_wine32opts=( --libdir=/usr/lib32 --with-wine64="$srcdir/$pkgname-64-build" )
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
msg2 "Building Wine-32..." cd "$srcdir/$pkgname-32-build" ../$pkgname/configure \ --prefix=/usr \ --with-x \ --with-gstreamer \ "${_wine32opts[@]}"
make }
wine-9.0rc2 https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=wine-wow64 build() { # Doesn't compile without remove these flags as of 4.10 export CFLAGS="${CFLAGS/-fno-plt/} -ffat-lto-objects" export LDFLAGS="${LDFLAGS/,-z,now/}" mkdir -p $srcdir/$_name-$_pkgver/build cd $srcdir/$_name-$_pkgver/build ../configure \ --without-tests \ --prefix=/usr \ --libdir=/usr/lib \ --enable-archs=x86_64,i386 make }
It looks like the PKGBUILD for wine-8.21 builds wine twice, once in 32 bit, and once in 64 bit mode, and the wine-9.0rc2 only builds wine once, only for 64 bit.
I see this is documented on the winehq wiki: https://wiki.winehq.org/Building_Wine#Shared_WoW64
Would it work if I take the wine-8.21 PKGBUILD, and change the version numbers and checksums?
https://bugs.winehq.org/show_bug.cgi?id=56039
--- Comment #5 from Cedric cedric.dewijs@eclipso.eu --- Yup, that produced a 9.0rc2 that was able to emulate windows 98. Attached is the PKGBUILD I used
https://bugs.winehq.org/show_bug.cgi?id=56039
--- Comment #6 from Cedric cedric.dewijs@eclipso.eu --- Created attachment 75696 --> https://bugs.winehq.org/attachment.cgi?id=75696 PKGBUILD that produced a wine-9.0rc2 that can emulate windows 98
https://bugs.winehq.org/show_bug.cgi?id=56039
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #7 from Fabian Maurer dark.shadow4@web.de --- Should be fixed by https://gitlab.winehq.org/wine/wine/-/commit/3fb882167f1699f0235cb8fd306eb1c...
https://bugs.winehq.org/show_bug.cgi?id=56039
--- Comment #8 from Fabian Maurer dark.shadow4@web.de --- And has a better error message as of https://gitlab.winehq.org/wine/wine/-/commit/443e49084ed2a85cba0b559eaf7921d...
https://bugs.winehq.org/show_bug.cgi?id=56039
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |443e49084ed2a85cba0b559eaf7 | |921d503638911 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED CC| |infyquest@gmail.com
--- Comment #9 from Vijay Kamuju infyquest@gmail.com --- Fix commited - 443e49084ed2a85cba0b559eaf7921d503638911
https://bugs.winehq.org/show_bug.cgi?id=56039
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.0-rc3.
https://bugs.winehq.org/show_bug.cgi?id=56039
--- Comment #11 from Cedric cedric.dewijs@eclipso.eu --- Created attachment 75744 --> https://bugs.winehq.org/attachment.cgi?id=75744 PKGBUILD that produces wine9.0rc3