Bug 30462 - WINE totally broken - no DLLs can be found even though they exist
Summary: WINE totally broken - no DLLs can be found even though they exist
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-21 19:40 CEST by Frank Griffin
Modified: 2024-03-21 15:27 CET (History)
6 users (show)

See Also:
Source RPM: wine-7.8-7.mga9.src.rpm
CVE:
Status comment:


Attachments

Description Frank Griffin 2022-05-21 19:40:22 CEST
In current cauldron any attempt to use wine, e. g. "winecfg" at a command prompt, produces a flood of errors of the type:

0024:err:module:import_dll Library user32.dll (which is needed by L"C:\\windows\\syswow64\\shcore.dll") not found

This is occurring on two up-to-date cauldron systems.

According to google, this occurred in the past with version 6.6 and was corrected in 6.7: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwjTh8CgkfH3AhWAkIkEHToAAs0QrAIoAnoECAwQAw&url=https%3A%2F%2Fforum.winehq.org%2Fviewtopic.php%3Ff%3D8%26t%3D35222&usg=AOvVaw3Bjg6vVgmJCWqoyQ2IO-pV

It may be the same cause or not
Comment 1 sturmvogel 2022-05-21 20:30:31 CEST
Confirmed. 

Full output in a 64bit VB:
$ winecfg
wine: created the configuration directory '/home/caul/.wine'
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:err:module:import_dll Library libpng16-16.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found
0040:err:module:import_dll Library libpng16-16.dll (which is needed by L"C:\\windows\\system32\\user32.dll") not found
002c:err:module:DelayLoadFailureHook failed to delay load user32.dll.CreateDialogParamW
wine: Call from 000000007B01397E to unimplemented function user32.dll.CreateDialogParamW, aborting
wine: Unimplemented function user32.dll.CreateDialogParamW called at address 000000007B01397E (thread 002c), starting debugger...
002c:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 40 48" (2)
Read the Wine Developers Guide on how to set up winedbg or another debugger
wine: could not load kernel32.dll, status c0000135
0040:err:module:import_dll Library user32.dll (which is needed by L"C:\\windows\\system32\\rundll32.exe") not found
0040:err:module:LdrInitializeThunk Importing dlls for L"C:\\windows\\system32\\rundll32.exe" failed, status c0000135


The folders .wine/drive_c/windows/system32/ and .wine/drive_c/windows/syswow64/ are completely empty whereas on a working MGA8 system these folders are filled with a lot of data.

Wine 7.9 is available for download. If the problem persists with this version, the reporter should file an upstream bugreport.

Source RPM: wine => wine-7.8-7.mga9.src.rpm

Comment 2 sturmvogel 2022-05-22 13:05:43 CEST
I have built upstream wine64-7.9 with our spec and patches on one of my cauldron machines. This version solves the problem.

Assigning to Thierry who did the last few updates of wine.

Assignee: bugsquad => thierry.vignaud
CC: (none) => thierry.vignaud

Comment 3 Aurelian R 2022-05-23 15:25:26 CEST
   
It looks like WINE requires now to load mingw64(32)-libpng(liblcms2,libxml2,libxslt maybe?) rpm packages at install time in order to satisfy PE system libraries dependencies.

As a workaround for wine-7.8, try to manually install mingw64(32)-libpng ...

Regards.

CC: (none) => arusanu

Comment 4 Frank Griffin 2022-05-23 15:54:16 CEST
I tried installing the mingw64- versions of libpng/libxml2/libxslt with no joy.  There is no mingw64-liblcms2, but the regular liblcms2 was already installed.

The mingw32- packages appear to be incompatible with the mingw64- packages.
Comment 5 Aurelian R 2022-05-23 16:57:04 CEST
(In reply to Frank Griffin from comment #4)

You need both mingw64-libpng and mingw32-libpng for an x86_64 system, whereas  
mingw64-* rpms are not needed on an 32bit system.

> joy.  There is no mingw64-liblcms2, but the regular liblcms2 was already
Sorry, that should be "mingw64-lcms2"

For your troubleshooting, here are wine/mingw packages I have installed in a VB in which winecfg runs properly.

$ rpm -qa --last | grep -E 'wine|mingw'

mingw64-win-iconv-0.0.8-3.mga9.noarch         Mon 23 May 2022 05:44:27 PM EEST
mingw64-libxslt-1.1.35-3.mga9.noarch          Mon 23 May 2022 05:44:27 PM EEST
mingw64-libxml2-2.9.14-1.mga9.noarch          Mon 23 May 2022 05:44:27 PM EEST
mingw64-lcms2-2.12-3.mga9.noarch              Mon 23 May 2022 05:44:27 PM EEST
mingw32-win-iconv-0.0.8-3.mga9.noarch         Mon 23 May 2022 05:44:27 PM EEST
mingw32-libxslt-1.1.35-3.mga9.noarch          Mon 23 May 2022 05:44:27 PM EEST
mingw32-libxml2-2.9.14-1.mga9.noarch          Mon 23 May 2022 05:44:27 PM EEST
mingw32-lcms2-2.12-3.mga9.noarch              Mon 23 May 2022 05:44:27 PM EEST

mingw64-zlib-1.2.11-5.mga9.noarch             Mon 23 May 2022 03:35:35 PM EEST
mingw64-winpthreads-10.0.0-2.mga9.noarch      Mon 23 May 2022 03:35:35 PM EEST
mingw64-libpng-1.6.37-5.mga9.noarch           Mon 23 May 2022 03:35:35 PM EEST
mingw64-libgcc-12.1.1-1.mga9.x86_64           Mon 23 May 2022 03:35:35 PM EEST
mingw64-crt-10.0.0-2.mga9.noarch              Mon 23 May 2022 03:35:35 PM EEST
mingw32-zlib-1.2.11-5.mga9.noarch             Mon 23 May 2022 03:33:45 PM EEST
mingw32-winpthreads-10.0.0-2.mga9.noarch      Mon 23 May 2022 03:33:45 PM EEST
mingw32-libpng-1.6.37-5.mga9.noarch           Mon 23 May 2022 03:33:45 PM EEST
mingw32-libgcc-12.1.1-1.mga9.x86_64           Mon 23 May 2022 03:33:45 PM EEST
mingw32-crt-10.0.0-2.mga9.noarch              Mon 23 May 2022 03:33:45 PM EEST
mingw32-filesystem-139-1.mga9.noarch          Mon 23 May 2022 03:32:20 PM EEST
mingw64-filesystem-139-1.mga9.noarch          Mon 23 May 2022 03:31:25 PM EEST
mingw-filesystem-base-139-1.mga9.noarch       Mon 23 May 2022 03:15:38 PM EEST
wine-mono-5.1.1-2.mga8.noarch                 Mon 23 May 2022 04:11:55 PM EEST
wine32-7.8-7.mga9.i586                        Mon 23 May 2022 04:11:54 PM EEST
wine64-7.8-7.mga9.x86_64                      Mon 23 May 2022 04:11:50 PM EEST
wine-gecko-2.47.2-3.mga8.noarch               Mon 23 May 2022 04:11:46 PM EEST
wine64-gecko-2.47.2-3.mga8.noarch             Mon 23 May 2022 04:11:46 PM EEST
lib64kwineffects13-5.24.4-1.mga9.x86_64       Mon 25 Apr 2022 11:49:23 AM EEST
Comment 6 Frank Griffin 2022-05-23 17:40:44 CEST
That did it, thanks Aurelian.
Comment 7 Thierry Vignaud 2022-07-22 11:56:29 CEST
The deps are fixed in wine-7.12-2.mga9

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 8 sturmvogel 2022-07-22 20:11:53 CEST
Deps are still completely broken in cauldron with wine-7.12-3.mga9

Completely fresh 64 bit LXDE cauldron box.

I try to install wine64 and wine32.

Only following deps get pulled:
- lib64amd5-5.12.0-2.mga9.x86_64
- lib64ass9-0.15.2-2.mga9.x86_64
- lib64avfilter8-5.0.1-2.mga9.tainted.x86_64
- lib64avformat59-5.0.1-2.mga9.tainted.x86_64
- lib64babl0.1_0-0.1.92-3.mga9.x86_64
- lib64camd5-5.12.0-2.mga9.x86_64
- lib64ccolamd4-5.12.0-2.mga9.x86_64
- lib64cholmod5-5.12.0-2.mga9.x86_64
- lib64colamd4-5.12.0-2.mga9.x86_64
- lib64dc1394_25-2.2.6-3.mga9.x86_64
- lib64exiv2_27-0.27.5-2.mga9.x86_64
- lib64gegl0.4_0-0.4.36-4.mga9.x86_64
- lib64gexiv2_2-0.14.0-3.mga9.x86_64
- lib64gimp2.0_0-2.10.32-1.mga9.x86_64
- lib64ilmbase3_1_30-3.1.5-1.mga9.x86_64
- lib64imath3_1_29-3.1.5-2.mga9.x86_64
- lib64jasper4-2.0.33-1.mga9.x86_64
- lib64openal1-1.21.1-2.mga9.x86_64
- lib64openexr3_1_30-3.1.5-1.mga9.x86_64
- lib64osmesa8-22.1.4-1.mga9.x86_64
- lib64postproc56-5.0.1-2.mga9.tainted.x86_64
- lib64raw20-0.20.2-2.mga9.x86_64
- lib64rtmp1-2.4-0.git20160101.11.mga9.tainted.x86_64
- lib64sndio7-1.8.1-2.mga9.x86_64
- lib64suitesparseconfig5-5.12.0-2.mga9.x86_64
- lib64swscaler6-5.0.1-2.mga9.tainted.x86_64
- lib64umfpack5-5.12.0-2.mga9.x86_64
- lib64unixODBC2-2.3.9-2.mga9.x86_64
- lib64vidstab1.1-1.1.0-2.git20190213.6.mga9.x86_64
- libalsa-plugins-pulseaudio-1.2.7.1-1.mga9.i586
- libalsa2-1.2.7.2-1.mga9.i586
- libasyncns0-0.8-13.mga9.i586
- libblkid1-2.38-1.mga9.i586
- libbrotlicommon1-1.0.9-5.mga9.i586
- libbrotlidec1-1.0.9-5.mga9.i586
- libbsd0-0.10.0-3.mga9.i586
- libbz2_1-1.0.8-3.mga9.i586
- libcap2-2.52-2.mga9.i586
- libcom_err2-1.46.5-2.mga9.i586
- libcurl4-7.84.0-2.mga9.i586
- libdbus1_3-1.14.0-2.mga9.i586
- libelfutils1-0.187-1.mga9.i586
- libexif12-0.6.24-2.mga9.i586
- libffi8-3.4.2-5.mga9.i586
- libflac8-1.3.4-2.mga9.i586
- libgcrypt20-1.10.1-1.mga9.i586
- libgio2.0_0-2.72.3-1.mga9.i586
- libglib-networking-gnutls-2.72~beta-2.mga9.i586
- libglib2.0_0-2.72.3-1.mga9.i586
- libgmp10-6.2.1-3.mga9.i586
- libgnutls30-3.7.6-1.mga9.i586
- libgpg-error0-1.45-1.mga9.i586
- libgphoto2_6-2.5.29-1.mga9.i586
- libgphoto2_port12-2.5.29-1.mga9.i586
- libgstreamer-plugins-base1.0_0-1.20.2-1.mga9.i586
- libgstreamer1.0_0-1.20.2-1.mga9.i586
- libhogweed6-3.8-1.mga9.i586
- libidn2_0-2.3.2-2.mga9.i586
- libieee1284_3-0.2.11-20.mga8.i586
- libjbig1-2.1-8.mga9.i586
- libjpeg8-2.1.1-2.mga9.i586
- libkeyutils1-1.6.3-2.mga9.i586
- libkrb53-1.19.2-4.mga9.i586
- libldap2.4_2-2.4.59-4.mga9.i586
- libltdl7-2.4.7-1.mga9.i586
- liblz4_1-1.9.3-3.mga9.i586
- liblzma5-5.2.5-5.mga9.i586
- libmount1-2.38-1.mga9.i586
- libnettle8-3.8-1.mga9.i586
- libnghttp2_14-1.48.0-1.mga9.i586
- libnl-genl3_200-3.7.0-1.mga9.i586
- libnl3_200-3.7.0-1.mga9.i586
- libogg0-1.3.5-2.mga9.i586
- libopenal1-1.21.1-2.mga9.i586
- libopencl1-2.3.1-1.mga9.i586
- libopenssl3-3.0.5-1.mga9.i586
- libopus0-1.3.1-4.mga9.i586
- liborc0.4_0-0.4.32-2.mga9.i586
- libp11-kit0-0.24.0-2.mga9.i586
- libpcap1-1.10.1-2.mga9.i586
- libpcre1-8.45-2.mga9.i586
- libpsl5-0.21.1-2.mga9.i586
- libpulseaudio0-15.0-5.mga9.i586
- libpulsecommon15.0-15.0-5.mga9.i586
- libsane1-1.0.32-2.mga9.i586
- libsasl2_3-2.1.27-6.mga9.i586
- libsndfile1-1.0.31-5.mga9.i586
- libsndio7-1.8.1-2.mga9.i586
- libssh4-0.9.6-2.mga9.i586
- libsystemd0-251.3-1.mga9.i586
- libtasn1_6-4.18.0-2.mga9.i586
- libtiff5-4.4.0-2.mga9.i586
- libudev1-251.3-1.mga9.i586
- libunistring2-1.0-2.mga9.i586
- libunwind8-1.6.2-2.mga9.i586
- libusb1.0_0-1.0.24-4.mga9.i586
- libv4l0-1.22.1-2.mga9.i586
- libverto1-0.3.2-2.mga9.i586
- libvorbis0-1.3.7-2.mga9.i586
- libvorbisenc2-1.3.7-2.mga9.i586
- libwebp7-1.2.2-2.mga9.i586
- libx11_6-1.8.1-1.mga9.i586
- libxau6-1.0.9-3.mga9.i586
- libxcb1-1.14-2.mga9.i586
- libxdmcp6-1.1.3-3.mga9.i586
- libxext6-1.3.4-3.mga9.i586
- libxml2_2-2.9.14-1.mga9.i586
- libzlib1-1.2.12-2.mga9.i586
- libzstd1-1.5.2-3.mga9.i586
- mingw-filesystem-base-139-1.mga9.noarch
- mingw64-crt-10.0.0-2.mga9.noarch
- mingw64-filesystem-139-1.mga9.noarch
- mingw64-lcms2-2.12-3.mga9.noarch
- mingw64-libgcc-12.1.1-1.mga9.x86_64
- mingw64-libpng-1.6.37-5.mga9.noarch
- mingw64-libxml2-2.9.14-1.mga9.noarch
- mingw64-libxslt-1.1.35-3.mga9.noarch
- mingw64-vkd3d-1.4-1.mga9.noarch
- mingw64-win-iconv-0.0.8-3.mga9.noarch
- mingw64-winpthreads-10.0.0-2.mga9.noarch
- mingw64-zlib-1.2.12-5.mga9.noarch
- sane-frontends-1.0.14-28.mga9.x86_64
- wine-gecko-2.47.2-3.mga8.noarch
- wine-mono-5.1.1-2.mga8.noarch
- wine32-7.12-3.mga9.i586
- wine64-gecko-2.47.2-3.mga8.noarch

As all mingw32 deps are missing, wincfg still won't start and throws this error:
$ LC_ALL=C winecfg
wine: could not load kernel32.dll, status c0000135

After installation of all mingw32 deps (see mingw64 pacakages), winecfg finaly starts sucessfull.

Additionally wine-mono-5.1.1-2.mga8.noarch and wine64-gecko-2.47.2-3.mga8.noarch are not rebuild so mono gets downloaded externaly. See bug 16273

Resolution: FIXED => (none)
Status: RESOLVED => REOPENED

Comment 9 sturmvogel 2022-07-22 20:22:38 CEST
wine32 pulls wrong mingw deps on a 64 bit machine.

For wine 32 following deps get pulled:
- mingw-filesystem-base-139-1.mga9.noarch
- mingw64-crt-10.0.0-2.mga9.noarch
- mingw64-filesystem-139-1.mga9.noarch
- mingw64-lcms2-2.12-3.mga9.noarch
- mingw64-libgcc-12.1.1-1.mga9.x86_64
- mingw64-libpng-1.6.37-5.mga9.noarch
- mingw64-libxml2-2.9.14-1.mga9.noarch
- mingw64-libxslt-1.1.35-3.mga9.noarch
- mingw64-vkd3d-1.4-1.mga9.noarch
- mingw64-win-iconv-0.0.8-3.mga9.noarch
- mingw64-winpthreads-10.0.0-2.mga9.noarch
- mingw64-zlib-1.2.12-5.mga9.noarch
- wine-gecko-2.47.2-3.mga8.noarch
- wine-mono-5.1.1-2.mga8.noarch
- wine64-7.12-3.mga9.x86_64
- wine64-gecko-2.47.2-3.mga8.noarch
Comment 10 sturmvogel 2022-07-22 20:52:00 CEST
wine32 should pull mingw32
wine64 should pull wingw64
If you install wine 32 and wine 64 both wingw32/64 should get pulled.
Morgan Leijström 2023-03-16 17:23:54 CET

CC: (none) => fri
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=28814

Comment 11 Hans Micheelsen 2023-09-27 22:38:40 CEST
I  think this one is no longer valid. The current version in Cauldron is 8.0. And winecfg work without problems. I guess it also works in mga9?

CC: (none) => micheelsen

Comment 12 Marja Van Waes 2024-01-02 15:40:43 CET
(In reply to Hans Micheelsen from comment #11)
> I  think this one is no longer valid. The current version in Cauldron is
> 8.0. And winecfg work without problems. I guess it also works in mga9?

Thanks :-)

Cauldron and Mageia 9 have the same version, wine-8.0-7.mga9, so closing.

CC: (none) => marja11
Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 13 Morgan Leijström 2024-01-02 18:19:01 CET
So removed from mga9 Errata (had this version in release) and
https://wiki.mageia.org/en/Ways_to_install_programs#Wine (mga8 is EOL)
Comment 14 David Winnie 2024-03-21 05:11:38 CET Comment hidden (spam)

CC: (none) => reyna1081us

Dave Hodgins 2024-03-21 15:27:58 CET

CC: reyna1081us => davidwhodgins


Note You need to log in before you can comment on or make changes to this bug.