Bug 26106 - wine-mono must be rebuilt(?) because we have a new wine version
Summary: wine-mono must be rebuilt(?) because we have a new wine version
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Rémi Verschelde
QA Contact:
URL:
Whiteboard: mutual(?) build/version dependency
Keywords:
Depends on:
Blocks: 26093
  Show dependency treegraph
 
Reported: 2020-01-19 01:03 CET by Morgan Leijström
Modified: 2020-01-23 12:14 CET (History)
4 users (show)

See Also:
Source RPM: wine-mono-4.7.5-1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Morgan Leijström 2020-01-19 01:03:30 CET
See comment 5 in
Bug 26093 - Update candidate: Wine 4.0.3 maintenance release

Which seem to be reprise of
Bug 16273 - wine-mono and wine-gecko must be rebuilt when wine is
Morgan Leijström 2020-01-19 01:07:15 CET

Blocks: (none) => 26093

Comment 1 Morgan Leijström 2020-01-19 01:15:07 CET
Rémi?  (as you packaged wine)
Thierry? (as you updated wine-mono last)

I think wine and wine-mono must to be updated together and pushed to updates simultaneously?

CC: (none) => rverschelde, thierry.vignaud
Whiteboard: (none) => mutual(?) version dependency

Comment 2 Morgan Leijström 2020-01-19 15:26:01 CET
Regarding version, maybe wine-mono should get updated regardless;
Our version 4.7.5 is a year old, and current is 4.9.4 from november.
Comment 3 Morgan Leijström 2020-01-19 17:31:53 CET
CC Anssi and David G from last time maybe this same happened, Bug 16273

CC: (none) => anssi.hannula, geiger.david68210
Whiteboard: mutual(?) version dependency => mutual(?) build/version dependency
Summary: wine-mono must be rebuilt because we have a new wine version => wine-mono must be rebuilt because we have a new wine version (+ update would be good)

Comment 4 Lewis Smith 2020-01-19 21:23:56 CET
Thank you Morgan for your detective work; and Rémi for the quick work on Wine in that other bug.
Assigning to you [R] as just having done wine-4.0.3-1 for bug 26093.

From https://bugs.mageia.org/show_bug.cgi?id=26093#c6
> AFAIK wine-mono needs to be *updated*
> to include the version required by wine
> maybe wine-mono should get updated regardless  [from comment 2]
And what about wine-gecko?
And is it possible to update these in advance of Wine itself? Just a thought.

Summary: wine-mono must be rebuilt because we have a new wine version (+ update would be good) => wine-mono must be updated because we have a new wine version (+ update would be good)
CC: rverschelde => (none)
Assignee: bugsquad => rverschelde

Comment 5 Morgan Leijström 2020-01-19 21:37:43 CET
Good question, Lewis.
I found a list of wine version ranges and gecko version:
https://wiki.winehq.org/Gecko

Oddly our wine version 4.x is not listed, but recent 3 needed gecko 2.47, and upcoming 5.0 (for Mageia 8?) need 2.47.1.

So i would guess our wine 4.0.x is fine with our current gecko in mga7.
Comment 6 Morgan Leijström 2020-01-19 21:41:10 CET
Re concurrency, i think that we best aim to put both in testing to test together, and push updates at the same time.  And best to have latest wine-mono 4.9.4.
Comment 7 Rémi Verschelde 2020-01-19 22:44:41 CET
@Morgan: No, wine-mono should not be updated. Each wine version has a strict dependency on a specific wine-mono version, and for wine 4.0.3, it's wine-mono 4.7.5:
http://svnweb.mageia.org/packages/updates/7/wine/current/SPECS/wine.spec?view=markup#l31

The wine %build section actually checks that, it wouldn't build against another version.

wine-mono 4.9.4 is used by wine 5.0 rc currently.
Comment 8 Morgan Leijström 2020-01-20 02:03:17 CET
I am not familiar with this, so i take your word for it.

I fail to find any version matching info upstream.

How do we decide suitable wine-mono version?

As i read that line you link we should set it to the wine-mono version we provide.  I and if we update wine-mono, we should change the version number in line 35 and rebuild wine.

Summary: wine-mono must be updated because we have a new wine version (+ update would be good) => wine-mono must be rebuilt(?) because we have a new wine version

Comment 9 Rémi Verschelde 2020-01-20 08:15:19 CET
See line 33:

33 	# Dependencies hardcoded in dlls/appwiz.cpl/addons.c

The required versions are written in wine's source code, and those are the ones we have to package for wine-mono and wine-gecko.
Comment 10 Morgan Leijström 2020-01-20 10:41:20 CET
Ah thank you.
Sorry i somehow did not interprete that line.
Comment 11 PC LX 2020-01-22 19:54:41 CET
I'm only seeing the old version of wine-mono. Will it be updated? Or should I test wine with the current wine-mono version?

$ urpmq -f wine-mono
wine-mono-4.7.5-1.mga7.noarch|wine-mono-4.7.5-1.mga7.noarch

CC: (none) => mageia

Comment 12 Morgan Leijström 2020-01-23 08:12:45 CET
As Rémi told, we must keep to version 4.7.5.

See if that works for you.

If it does not work, maybe a rebuild is needed / or there is another problem.
Comment 13 Rémi Verschelde 2020-01-23 09:23:25 CET
To be fair, I've always had warnings that wine can't find wine-mono, and I don't think the update in bug 26093 changes anything to that issue. I don't know how to reproduce it reliably but it comes us quite frequently when initializing a new wine prefix.

I'll throw in a blank rebuild of wine-mono to match the update candidate, but I'm not sure it will make a difference. If it doesn't, I think it should not block the update as it's a pre-existing bug.
Comment 14 Rémi Verschelde 2020-01-23 09:30:31 CET
Looking at Fedora's wine-mono, they don't seem to ever need to rebuild it against an updated wine: https://src.fedoraproject.org/rpms/wine-mono/commits/master

While they do update wine *a lot* in the meantime. So I think this is an invalid bug, the real issue is that even though we have wine and wine-mono in matching versions, wine still can't find wine-mono.
Comment 15 Rémi Verschelde 2020-01-23 09:34:06 CET
This is likely the same issue as bug 12253 which was closed as WORKSFORME because it's elusive and not so easy to trigger reliably. But I do see this warning every now and then (which doesn't prevent running applications).
Comment 16 Rémi Verschelde 2020-01-23 09:41:55 CET
If you can confirm my assumption from https://bugs.mageia.org/show_bug.cgi?id=26093#c8 (that you were testing Lutris' own Wine version and not Mageia's), then this can be closed.
Comment 17 Morgan Leijström 2020-01-23 12:14:19 CET
You seem to be correct.
Lutris seem to always use internal wine.

If i uninstall all wine, and in lutris try to install something it pops up a dialogue suggesting to install my distros wine in order to have all dependencies supplied.
There clicking Continue, it continues anyway, and later in the process tell it cannot find wine-mono, offer to install it, and i click to let it install it, and it continues. After a while same procedure with wine-gecko.

It makes sense it is not satisfied with our wine-mono, as i suppose it internally have a later wine version, not compatible with our wine-mono.

I dont have a windows program i know needs .net/mono, - optimally that should be tested, but have to leave that test due to lack of time.

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


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