Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 847289 - >=app-emulation/wine-vanilla-7.5: 32 bit prefixes doesn't work correctly because of --disable-hal
Summary: >=app-emulation/wine-vanilla-7.5: 32 bit prefixes doesn't work correctly beca...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-24 21:39 UTC by Kővágó, Zoltán
Modified: 2022-05-24 21:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of winecfg (log_wine75,5.71 KB, text/plain)
2022-05-24 21:39 UTC, Kővágó, Zoltán
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kővágó, Zoltán 2022-05-24 21:39:21 UTC
Created attachment 780575 [details]
Output of winecfg

Opening winecfg in a 32-bit prefix (i.e. WINEPREFIX="some_dir" WINEARCH=win32 wine ...), selecting the Drives page results in an error:

Failed to connect to the mount manager; the drive configuration cannot be edited.

Looking at the wine log (see attachment), it looks like it's missing hal.dll (tested with vanilla 7.5-r1 mingw/non-mingw and vanilla/staging 7.8 mingw but probably all the other versions inside the range are affected), which is not built due to a hardcoded --disable-hal in the ebuild. (Interestingly 64-bit prefixes don't need this file to work.) Removing that --disable-hal from the ebuild seems to fix the problem for me.
wine-vanilla-7.0 (the oldest wine version still in the portage tree) works though, probably because it spews out

configure: WARNING: unrecognized options: --without-hal

during configuration.

Could we remove that line from the ebuild? As far as I can tell it only compiles a ~200 line C file with no extra dependencies to a dll, or at least get a USE flag for it if there are some other problems with it? (It looks like there was one in the past: #141532)
Comment 1 Nick Sarnie gentoo-dev 2022-05-24 21:50:11 UTC
We don't pass --disable-pal anymore after f531c502e94231ab1e4a6017ea87557ea17a4fb8
Comment 2 Nick Sarnie gentoo-dev 2022-05-24 21:50:26 UTC
typo, hal