Bug 2435306 - RFE: Wine 11 for EPEL 9
Summary: RFE: Wine 11 for EPEL 9
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: wine
Version: epel9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Michael Cronenworth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-29 15:39 UTC by Dr. Stephan Wonczak
Modified: 2026-02-09 16:05 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dr. Stephan Wonczak 2026-01-29 15:39:36 UTC
EPEL-9 contains a rather ancient version of wine - 8.0, to be exact.
This version has serious problems running 32-bit applications (documented all over the net), which are reportedly solved in the latest version.

Can the wine be updated to the latest stable version in EPEL? 
I actually tried to rebuild the FC-43 source package on a CENTOS-9 Stream machine, and with a minor tweak to the specfile (simply by doing "%define fedora_version 41" near the top) I was able to build it without errors. So there should be no problems in principle.

Comment 1 Michael Cronenworth 2026-01-29 22:01:57 UTC
A mock build for EPEL 9 of wine 11 fails. The error is a gcc error for incompatible type. Probably easy enough to fix.

Wine also has dependencies on Wine Mono and Wine Gecko. These build from source for Fedora. They do not build in EPEL due to missing dependencies. I do not have the time or need to build newer version of Wine in EPEL, but I am not opposed to it.

Until I have time to address compiling issues and Mono/Gecko I can't push an update.

Comment 2 Michael Cronenworth 2026-02-03 22:06:57 UTC
*** Bug 2436473 has been marked as a duplicate of this bug. ***

Comment 3 Dr. Stephan Wonczak 2026-02-09 16:05:20 UTC
To be a bit more specificy, I can build wine on a CENTOS-9 Stream system by doing the following steps:

- get wine-stable-11.0.0-2.1.src.rpm from https://dl.winehq.org/wine-builds/fedora/42/src/
- install this rpm
- patch the spec-file like this:

[root@mycroft~/rpmbuild]$ diff -p0  wine-stable.spec.ORG wine-stable.spec
*** wine-stable.spec.ORG	2026-01-21 16:37:56.441592809 +0100
--- wine-stable.spec	2026-01-21 16:38:51.986099066 +0100
***************
*** 16 ****
--- 17,18 ----
+ %define fedora_version 41
+ 

- do a complete rpmbuild
[root@mycroft~/rpmbuild]$ LANG=C rpmbuild -ba wine-stable.spec 
warning: Macro expanded in comment on line 60: %{realver}.tar.xz.sign

warning: line 140: second Summary
warning: line 141: second Group
warning: line 211: second Description
warning: Macro expanded in comment on line 394: %{_bindir}/wine-preloader

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RCw1ns
+ umask 022
+ cd /root/rpmbuild/BUILD

(... lots of compiling ...)

warning: absolute symlink: /usr/bin/wmc -> /opt/wine-stable/bin/wmc
warning: absolute symlink: /usr/bin/wrc -> /opt/wine-stable/bin/wrc
warning: absolute symlink: /usr/share/applications/wine.desktop -> /opt/wine-stable/share/applications/wine.desktop
Provides: winehq-stable = 1:11.0.0-2.1 winehq-stable(x86-64) = 1:11.0.0-2.1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Conflicts: wine wine-common wine-core wine-desktop wine64
Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/wine-stable-11.0.0-2.1.x86_64
Wrote: /root/rpmbuild/SRPMS/wine-stable-11.0.0-2.1.src.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/winehq-stable-11.0.0-2.1.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/wine-stable-devel-11.0.0-2.1.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/wine-stable-11.0.0-2.1.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qNxj8E
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd wine-11.0
+ /usr/bin/rm -rf /root/rpmbuild/BUILDROOT/wine-stable-11.0.0-2.1.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0

So, apart from a few warnings concerning the packaging itself (that should be fixable), I get an installable winehq-stable RPM. 

I will try to do wine-mono and wine-gecko next over the next days.


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