Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
32-bit wine? wow64 flag is not enabled but reports as such
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 810

PostPosted: Sun Aug 11, 2024 11:56 am    Post subject: 32-bit wine? wow64 flag is not enabled but reports as such Reply with quote

So I'm trying to get wine to run in 32-bit mode so I can get an old driver talking to a very old piece of hardware. I'm not sure if it's possible in the first place but I'm trying to get something to work at least.

Regardless of that, I'm trying to get wine working in 32-bit mode but when I run it (or winetricks) I get this message:

Code:
$ winetricks
------------------------------------------------------
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.
------------------------------------------------------
------------------------------------------------------
warning: You apppear to be using Wine's new wow64 mode. Note that this is EXPERIMENTAL and not yet fully supported. If reporting an issue, be sure to mention this.
------------------------------------------------------
Using winetricks 20240105 - sha256sum: 8f28985b06e9e04b5268e2aef3429b2a0f6abd4fd12c4a30472dfe66355128fa with wine-9.0 and WINEARCH=win64


The thing is that I specifically did *not* enable the 'wow64' use flag. In fact, I removed the flag and even rebuilt wine using 'emerge -e wine' and I'm still getting the "you apppear (sic) to be using Wine's new wow64 mode" message.

Any suggestions would be appreciated. Thank you.

dq
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2728
Location: Here and Away Again

PostPosted: Sun Aug 11, 2024 1:06 pm    Post subject: Reply with quote

Depending on what kind of a driver it is exactly, it very well might not work, at all, regardless of the bitness of the Wine prefix.

There are some issues with the Winetricks "new wow64 mode" detection, so that message is likely erroneus and can be ignored.

As for 32-bit support, as long as you built Wine with 'ABI_X86="32 64"', that is, both 32 and 64 enabled, the default Wine prefix will support both bitses.

The 64-bit WINEPREFIX warning I think could be seen as slightly outdated. Back some years ago, there were a lot of applications that simply didn't work in the "old style wow64" mode (which I believe it is more referring to than 64-bit /only/), and a 32-bit /only/ prefix was required for them to run. Things have improved regarding that a lot.

If the application refuses to run in the "old style wow64" mode, you can try creating a 32-bit only prefix like so:

1. Remove the default Wine prefix ($HOME/.wine) or use WINEPREFIX="/path/to/prefix" to point Wine to a different one.
2. Run Wine like so: WINEARCH="win32" WINEPREFIX="/path/to/prefix" wineboot

Or some other command that executes Wine.

If using the WINEPREFIX variable to set the prefix, you'll either want to 'export' it in the shell, or specify it for each command you want to run in that prefix like in the example (WINEARCH can not be changed after the prefix has been created, so that one only needs to be set at that time).
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 810

PostPosted: Mon Aug 12, 2024 12:32 am    Post subject: Reply with quote

Do I need to globally set ABI_X86="64 32" in make.conf? or is there another way to apply to only wine-relevant packages? I don't see a reason for samba to be compiled with the '32' flag.

Thanks.

dq
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2728
Location: Here and Away Again

PostPosted: Mon Aug 12, 2024 2:06 pm    Post subject: Reply with quote

No need to set it globally, although that certainly is an option.

Depending on the USE-flags on Wine, even samba may want it, although it actually doesn't seem like that one does from a quick test and see.

This is one situation where using 'autounmask' just to get the list of packages that will need 32-bit support can be very handy, so that one does not need to go through them and adding them one-by-one.

That said, if you already have 'ABI_X86="64 32"' on Wine, you should be good to go.

Perhaps share 'emerge --info wine-vanilla' (if 'wine-vanilla' is what you're running with).
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 810

PostPosted: Mon Aug 12, 2024 2:45 pm    Post subject: Reply with quote

Currently wine-vanilla has ABI_X86="64 -32"

If I apply ABI_X86="64 32" globally I get this output with an 'emerge -Up wine' command, and there are a few other wine-related packages that seem to need it. Like, why does firefox need to be rebuilt if I'm reinstalling wine??

Anyway, how do you suggest I issue the autounmask command to get that list and do minimal damage?

Thanks.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22648

PostPosted: Mon Aug 12, 2024 2:51 pm    Post subject: Reply with quote

That output says firefox is not rebuilt. It is only mentioned because you used --tree, and some of the things being rebuilt are present (at least in part) because firefox needs them. Look only at lines that say ebuild. Lines that say nomerge are not rebuilt.
Back to top
View user's profile Send private message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 810

PostPosted: Mon Aug 12, 2024 3:58 pm    Post subject: Reply with quote

Oh I see so it's safe to emerge wine with that 32-bit global flag and then later remove the global flag? How do I preserve the 32-bit flag after I've removed the global flag from make.conf? Sorry, I've been a long-time Gentoo user, I feel that I should know this stuff already...
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22648

PostPosted: Mon Aug 12, 2024 6:27 pm    Post subject: Reply with quote

I think setting it globally with the intent to remove it soon will cause you more rebuilds than initially setting it only on the things you intend to keep enabled indefinitely, and then not needing to remove it from anything. For that, I would suggest:
  • Unset ABI_X86 in /etc/portage/make.conf, if it is presently set.
  • Add app-emulation/wine-vanilla ABI_X86: 32 64 to /etc/portage/package.use.
  • Use emerge --ask --autounmask-write=y app-emulation/wine-vanilla (as Chiitoo hinted above) to have Portage generate for you the required secondary changes.
  • Review and approve those changes.
  • Use emerge --ask app-emulation/wine-vanilla to build wine and its dependencies with both ABIs.
Back to top
View user's profile Send private message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 810

PostPosted: Mon Aug 12, 2024 8:34 pm    Post subject: Reply with quote

I understand these instructions in theory; however, I can't figure out the syntax for the package.use:

Usually it's just a flag in the .use files but the ABI_X86 appears to be a separate instruction and not really a flag. Any ideas on what to put in the package.use file?

I've tried:

app-emulation/wine-vanilla ABI_X86:32 64 (as you suggested)
app-emulation/wine-vanilla ABI_X86="32 64"
app-emulation/wine-vanilla "ABI_X86=32 64"
app-emulation/wine-vanilla "ABI_X86='32 64'"
app-emulation/wine-vanilla "ABI_X86:32 64"
app-emulation/wine-vanilla 32

... and a few other combinations to no avail.

ABI_X86="32 64" is recognized in make.conf but, of course, I don't want to globally apply it.

Thanks.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22648

PostPosted: Mon Aug 12, 2024 8:40 pm    Post subject: Reply with quote

According to man 5 portage, the name of a USE_EXPAND (such as ABI_X86) needs to be followed by a colon and a space, as I showed it. Your description sounds like you excluded the space. Please go back to that form, and if it does not work, show here exactly what line you have.
Back to top
View user's profile Send private message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 810

PostPosted: Mon Aug 12, 2024 9:36 pm    Post subject: Reply with quote

Oh thanks, this got me further but I'm running into issues still see here.

But when I try to actually rebuild wine, I get the same output as previously linked.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2728
Location: Here and Away Again

PostPosted: Mon Aug 12, 2024 9:48 pm    Post subject: Reply with quote

don quixada wrote:
Usually it's just a flag in the .use files but the ABI_X86 appears to be a separate instruction and not really a flag. Any ideas on what to put in the package.use file?

The USE-flag form is 'abi_x86_32' and 'abi_x86_64' (you can see them via 'equery uses wine-vanilla' for example), but the USE_EXPAND form I think can have its advantages over the USE form in places.

don quixada wrote:
But when I try to actually rebuild wine, I get the same output as previously linked.

Perhaps the changes were not yet actually applied?

See:

Code:
* IMPORTANT: 5 config files in '/etc/portage' need updating.

_________________
Kindest of regardses.
Back to top
View user's profile Send private message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 810

PostPosted: Mon Aug 12, 2024 10:03 pm    Post subject: Reply with quote

So... that and some other futzing around got it to start building... 122 packages. I hope this won't break anything... :-S
Back to top
View user's profile Send private message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 810

PostPosted: Tue Aug 13, 2024 3:03 am    Post subject: Reply with quote

Ok so after all that, I got this message:
Code:

$ WINEPREFIX=~/.local/share/wineprefixes/32bitwin wine xkeyswxp.exe
wine: created the configuration directory '/home/dq/.local/share/wineprefixes/32bitwin'
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
004c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
004c:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
004c:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
004c:err:ole:apartment_get_local_server_stream Failed: 0x80004002
004c:err:ole:start_rpcss Failed to open RpcSs service
0054:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0054:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0054:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0090:fixme:file:NtLockFile I/O completion on lock not implemented yet
0090:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0098:err:environ:init_peb starting L"Z:\\usr\\share\\wine\\mono\\wine-mono-8.1.0\\support\\removeuserinstalls-x86.exe" in experimental wow64 mode
wine: failed to load L"\\??\\C:\\windows\\syswow64\\ntdll.dll" error c0000135
0090:err:msi:execute_command unable to execute command 1359
00a0:err:environ:init_peb starting L"Z:\\usr\\share\\wine\\mono\\wine-mono-8.1.0\\support\\installinf-x86.exe" in experimental wow64 mode
wine: failed to load L"\\??\\C:\\windows\\syswow64\\ntdll.dll" error c0000135
0090:err:msi:execute_command unable to execute command 1359
0090:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0090:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
wine: failed to open L"C:\\windows\\syswow64\\rundll32.exe": c0000135
0110:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0110:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0110:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
wine: configuration in L"/home/dq/.local/share/wineprefixes/32bitwin" has been updated.
0110:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0024:err:environ:init_peb starting L"Z:\\home\\dq\\wine\\xkeyswxp.exe" in experimental wow64 mode
wine: failed to load L"\\??\\C:\\windows\\syswow64\\ntdll.dll" error c0000135
0110:fixme:wineusb:query_id Unhandled ID query type 0x5.


It still thinks I'm in wow64 mode even though I don't have anything built with it! :-/

Any ideas would be appreciated. Thanks.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2728
Location: Here and Away Again

PostPosted: Tue Aug 13, 2024 9:28 am    Post subject: Reply with quote

don quixada wrote:
It still thinks I'm in wow64 mode even though I don't have anything built with it! :-/

Hrm, just to be absolutely sure, see that 'wine' is actually running the version of Wine we expect:

Code:
wine --version

Can also use 'eselect wine' to select the default.

From the logs shared, I see that you /might/ have at least two versions of 'wine-vanilla' installed 8.0.2 and 9.0, though I don't see 'wow64' on them either.
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 810

PostPosted: Tue Aug 13, 2024 12:16 pm    Post subject: Reply with quote

Code:
$ eselect wine list
Available Wine slots:
  [1]   wine-vanilla-9.0 * (main)
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2728
Location: Here and Away Again

PostPosted: Tue Aug 13, 2024 3:50 pm    Post subject: Reply with quote

Well, that certainly looks odd, seeing it's coming from Wine itself now.

Don't really have any ideas right now what might be causing it, if we really are running what we think we are running.

Perhaps time for some more sanity checks:

Code:
$ wine --version

$ which wine && file $(which wine)

$ emerge --info wine-vanilla

Also, could try the 32-bit only prefix route:

Code:
$ WINEARCH=win32 WINEPREFIX=~/.local/share/wineprefixes/32bitwin wine xkeyswxp.exe

Need to remove that prefix first, or choose a different path.
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 810

PostPosted: Wed Aug 14, 2024 2:58 am    Post subject: Reply with quote

Code:
$ wine --version
wine-9.0


Code:
$ which wine && file $(which wine)
/etc/eselect/wine/bin/wine
/etc/eselect/wine/bin/wine: symbolic link to ../../../../usr/bin/wine-vanilla-9.0


Code:
$ emerge --info wine-vanilla
Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/split-usr/desktop/plasma, gcc-13, glibc-2.39-r6, 6.6.35-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.35-gentoo-dist-x86_64-Intel-R-_Core-TM-_i5-9600K_CPU_@_3.70GHz-with-glibc2.39
KiB Mem:    49266684 total,  24280388 free
KiB Swap:  134217724 total, 134217724 free
Timestamp of repository gentoo: Tue, 13 Aug 2024 02:30:00 +0000
Head commit of repository gentoo: ca034bbed6d34c7e87a013a35ac9d72f5f8dc040
sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.38.2-r3::gentoo
dev-lang/python:           3.11.9-r1::gentoo, 3.12.3-r1::gentoo
dev-lang/rust-bin:         1.79.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           18.1.8::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo
sys-devel/llvm:            18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="rsync://mirror.csclub.uwaterloo.ca/gentoo-distfiles"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j6"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 iwd jpeg kde kf6compat kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

app-emulation/wine-vanilla-9.0::gentoo was built with the following:
USE="X alsa cups fontconfig gecko gstreamer mingw mono nls opengl pulseaudio sdl ssl strip truetype udev udisks unwind usb vulkan wayland xcomposite -capi -crossdev-mingw -custom-cflags -dos -gphoto2 -kerberos -llvm-libunwind -netapi -odbc -opencl -osmesa -pcap -perl -samba -scanner (-selinux) -smartcard -v4l -wow64 -xinerama" ABI_X86="64 -32"


Code:
$ WINEARCH=win32 WINEPREFIX=~/.local/share/wineprefixes/32bitwin2 wine xkeyswxp.exe
wine: WINEARCH is set to 'win32' but this is not supported in wow64 mode.


Pulling what's left of my hair out...
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2728
Location: Here and Away Again

PostPosted: Wed Aug 14, 2024 10:25 am    Post subject: Reply with quote

A-ha, I see 'ABI_X86="64 -32"' is still lurking there for 'app-emulation/wine-vanilla-9.0'.

The fact that it defaults to the "new wow64 mode" even with the configure option disabled is a bit unexpected (and clearly confusing). Will look into that.

In any case, it looks like for some reason the 32 abi setting did not stick for Wine just yet.
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 810

PostPosted: Wed Aug 14, 2024 12:14 pm    Post subject: Reply with quote

Yeah, it seems that it is skipping the wine-vanilla build:

Code:
# emerge -pv wine-vanilla

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 8.90 s (backtrack: 1/20).

[ebuild  NS    ] app-emulation/wine-gecko-2.47.3:2.47.3::gentoo [2.47.4:2.47.4::gentoo] USE="shared" ABI_X86="32 64" 0 KiB
[ebuild  NS    ] app-emulation/wine-mono-7.4.0:7.4.0::gentoo [8.1.0:8.1.0::gentoo] USE="shared" 0 KiB
[ebuild  NS    ] app-emulation/wine-vanilla-8.0.2:8.0.2::gentoo [9.0:9.0::gentoo] USE="X alsa cups fontconfig gecko gstreamer mingw mono nls opengl pulseaudio sdl ssl strip truetype udev udisks unwind usb vulkan xcomposite -capi -crossdev-mingw -custom-cflags -dos -gphoto2 -kerberos -llvm-libunwind -netapi -odbc -opencl -osmesa -pcap -perl -samba -scanner (-selinux) -v4l -xinerama (-smartcard%) (-wayland%*) (-wow64%)" ABI_X86="32* 64" 0 KiB

Total: 3 packages (3 in new slots), Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

app-emulation/wine-vanilla:9.0

  (app-emulation/wine-vanilla-9.0:9.0/9.0::gentoo, ebuild scheduled for merge) USE="X alsa cups fontconfig gecko gstreamer mingw mono nls opengl pulseaudio sdl ssl strip truetype udev udisks unwind usb vulkan wayland xcomposite -capi -crossdev-mingw -custom-cflags -dos -gphoto2 -kerberos -llvm-libunwind -netapi -odbc -opencl -osmesa -pcap -perl -samba -scanner (-selinux) -smartcard -v4l -wow64 -xinerama" ABI_X86="32 64" conflicts with
    app-emulation/wine-vanilla[-abi_x86_32,abi_x86_64] required by (virtual/wine-0-r10:0/0::gentoo, installed) USE="-proton (-staging)" ABI_X86="64 -32"


Anything I can do to force it to build?

EDIT: a few mins later...

Ohhh, interestingly:

Code:
# emerge -pv wine

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 5.54 s (backtrack: 0/20).

[ebuild   R    ] virtual/wine-0-r10::gentoo  USE="-proton (-staging)" ABI_X86="64 -32" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

 * IMPORTANT: 11 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


I'm not getting the above conflict after adding ABI_X86: 32 64 to the .use for virtual/wine. Rebuilding now...
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22648

PostPosted: Wed Aug 14, 2024 1:34 pm    Post subject: Reply with quote

Right, the virtual wanted wine-9.0 to have matching flags. You created a case where rebuilding wine-9.0 would cause non-matching flags, so Portage refused to rebuild it. You might have gotten a more direct hint from Portage if you forced the resolution by using emerge --ask --verbose --oneshot =app-emulation/wine-vanilla-9.0, so that Portage could not consider installing any other version of Wine.
Back to top
View user's profile Send private message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 810

PostPosted: Wed Aug 14, 2024 1:50 pm    Post subject: Reply with quote

Yes, that was in and it, in fact, worked.

The problem is that the driver xkeyswxp.exe did not install because the driver installer said that it wasn't compatible with the driver, not sure why. I may have to rely on the virtual machine approach instead which is also currently at an impasse... :-S
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum