Bug 1595194

Summary: "unimplemented function UxTheme.dll.SetWindowThemeAttribute" for MSYS2 installer
Product: [Fedora] Fedora EPEL Reporter: Toralf <bugzilla>
Component: wineAssignee: Andreas Bierfert <andreas.bierfert>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: andreas.bierfert, besser82, mike
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-26 14:38:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Full error report
none
Screen-shot of error message with updated application none

Description Toralf 2018-06-26 10:53:28 UTC
Created attachment 1454618 [details]
Full error report

Description of problem:
WINE fails to start installer .exe from http://www.msys2.org/. Error is "unimplemented function UxTheme.dll.SetWindowThemeAttribute".

Version-Release number of selected component (if applicable):
3.0.1-1.el7

How reproducible:
Every time

Steps to Reproduce:
1. Download msys2-x86_64-20180531.exe from http://www.msys2.org/
2. wine start /unix msys2-x86_64-20180531.exe

Actual results:
"Program Error" window pops up. The text shown under "Show Details" mentions "unimplemented function UxTheme.dll.SetWindowThemeAttribute".


Expected results:
The program does what it's supposed to, i.e. run an interactive installer session.

Additional info:
Full backtrace is attached.

The problem looks a lot like the one(s) described in https://bugs.winehq.org/show_bug.cgi?id=44494 and https://bugs.winehq.org/show_bug.cgi?id=42085, which means an upgrade to the latest upstream version will probably help.

Comment 1 Toralf 2018-06-26 12:19:28 UTC
I have built newer rpms using "rpm --rebuild wine-3.5-1.fc28.src.rpm", and after installing this, the installer starts as expected. I get an error during installation, though. If I ignore it, the operation completes, but the installed programs don't seem to work.

Comment 2 Toralf 2018-06-26 12:20:57 UTC
Created attachment 1454631 [details]
Screen-shot of error message with updated application

Comment 3 Michael Cronenworth 2018-06-26 14:38:33 UTC
Please ask upstream to backport the enhancement for this if you want it.

https://source.winehq.org/git/wine.git/commit/28613fcd934bffb3a581830a8fa7568ab35e4140

https://bugs.winehq.org/

EPEL will only contain stable Wine versions. 3.0.x +

Comment 4 Michael Cronenworth 2018-06-26 14:40:15 UTC
On another note you can install MinGW packages from EPEL without needing something crazy like running MinGW inside of Wine.

Comment 5 Toralf 2018-06-26 17:07:46 UTC
OK. I thought EPEL would generally use the same policy as Fedora, which evidently does have newer ("development"?) releases of WINE.

I have thought about cross-compiling, but decided to try the emulated set-up first. One advantage of MSYS2 is that it has a more extensive selection of pre-compiled packages. It actually covers everything I need, which the "mingw" set in EPEL doesn't. Besides that, the bug probably also affects other Windows applications.

On a related note, Wine 3.0.2 was also released today...

Comment 6 Michael Cronenworth 2018-06-26 19:46:06 UTC
(In reply to Toralf from comment #5)
> OK. I thought EPEL would generally use the same policy as Fedora, which
> evidently does have newer ("development"?) releases of WINE.

EPEL does not follow Fedora's policies.

https://fedoraproject.org/wiki/EPEL_Updates_Policy

> I have thought about cross-compiling, but decided to try the emulated set-up
> first. One advantage of MSYS2 is that it has a more extensive selection of
> pre-compiled packages. It actually covers everything I need, which the
> "mingw" set in EPEL doesn't. Besides that, the bug probably also affects
> other Windows applications.

MinGW may be more limited on EPEL, but it is fully functional on Fedora.

> On a related note, Wine 3.0.2 was also released today...

Please check Bodhi often and feel free to leave karma (after logging in).

https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-2edb7953a5