Bug 1595194 - "unimplemented function UxTheme.dll.SetWindowThemeAttribute" for MSYS2 installer
Summary: "unimplemented function UxTheme.dll.SetWindowThemeAttribute" for MSYS2 installer
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: wine
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Bierfert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-26 10:53 UTC by Toralf
Modified: 2018-06-26 19:46 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-06-26 14:38:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Full error report (7.57 KB, text/plain)
2018-06-26 10:53 UTC, Toralf
no flags Details
Screen-shot of error message with updated application (5.44 KB, image/png)
2018-06-26 12:20 UTC, Toralf
no flags Details

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


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