FS#79330 - [mygui] openmw fails to build with 3.4.3
Attached to Project:
Arch Linux
Opened by Lone_Wolf (Lone_Wolf) - Tuesday, 08 August 2023, 14:40 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:27 GMT
Opened by Lone_Wolf (Lone_Wolf) - Tuesday, 08 August 2023, 14:40 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:27 GMT
|
Details
Mygui 3.4.3 has changes that break openmw build.
Please delay updating until openmw devs have found a fix & backported it to latest release (currently 0.48) . See https://gitlab.com/OpenMW/openmw/-/issues/7528 |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:27 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/mygui/issues/1
Saturday, 25 November 2023, 20:27 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/mygui/issues/1
Maybe an mygui 3.4.3 package can be provided in testing repo or pkgbuild.com to verify whether openmw master & 0.48 will work with it ?
@Lone_Wolf do you have a patch that does apply?
Edit:
Attached diff for mygui PKGBUILD update [1] and the build failure for openmw-git [2].
[1]: PKGBUILD.diff.mygui
[2]: openmw-git-0.48.0.r3465.g8380da2e1d-1-x86_64-build.log.xz
openmw-git-0.48.0.r3465.g8380... (13.3 KiB)
It seems we may need to change the build options for mygui .
https://gitlab.com/OpenMW/openmw/-/blob/master/extern/CMakeLists.txt?ref_type=heads#L64 shows what settings openmw uses to build it's own version of mygui.
My money is on the MYGUI_DONT_USE_OBSOLETE option as that has been the cause of lengthy discussions between openmw & mygui devs.
To tired to continue, going to sleep now.
That fixed the openmw-git build.
The hack to get demos installed to /opt doesn't work anymore. Also -DMYGUI_INSTALL_SAMPLES=TRUE and -DMYGUI_INSTALL_MEDIA=TRUE are no longer used by mygui.
I've attached a patch file against current 3.4.2 PKGBUILD.
Will start looking into applying the upstream patch to 0.48 branch.
Unfortunately the number of commits after 0.48 was branched off over a year ago makes it impractable to backport the mygui 3.4.3 patch by cherrypicking commits .
There's no timeframe for when 0.49 will be released, but judging by past releases I'd be surprised if it happens before Q4 2024 .
As far as I can tell openmw is the only user of mygui in archlinux repos, while in aur it's mainly openmw-git .
Some possible solutions / workarounds :
Keep mygui 2.4.2 in repos and do nothing with 2.4.3 until 0.49 is released
switch mygui to a non-sytem external dep in the 0.48 PKGBUILD and drop mygui to aur .
Update the repo openmw package to build from a pinned git commit (at or after the mygui 3.4.3 patch) instead of the 0.48 tarball .
This would allow updating mygui in repos to 3.4.3 .
@Svenstaro: the decision lies with you and other archlinux devs.
I am already using a local mygui-openmw 3.4.3 package with openmw trunk and intend to upload that to AUR this weekend so it can be used for openmw-git .
FYI :
An issue that requires a (small) change in openmw sourcecode related to mygui 3.4.3 has been found and is being solved in [2] .
[1] https://gitlab.com/OpenMW/openmw/-/merge_requests/3319#note_1625554232
[2] https://gitlab.com/OpenMW/openmw/-/merge_requests/3541