Created attachment 904877 [details] ebuild modified as stated in bug report Dosbox-x depends on the package media-libs/libsdl2[threads]. However, that USE flag has been removed from newer libsdl2 on the justification that "it's effectively mandatory". I am not skilled enough to make head or tail of the upstream cmakes, so I can't tell if that's on by default. However, the ebuild commit by the libsdl2 maintainer certainly suggests it is. This could develop into a serious issue if libsdl2-2.28.5-r3 is dropped at a later date. Expected behavior: media-libs/libsdl2 upgrade is not in conflict with dosbox-x. Suggested: Attached ebuild. Changes: 52 --- media-libs/libsdl2[X,alsa,opengl?,sound,threads,video] 52 +++ >=media-libs/libsdl2-2.30.7-r1[X,alsa,opengl?,sound,video] Be advised that I am not experienced, I am not clever, and someone who actually maintains a Gentoo package should vet this fix.
(In reply to securable.alias from comment #0) > Suggested: Attached ebuild. > Changes: > 52 --- media-libs/libsdl2[X,alsa,opengl?,sound,threads,video] > 52 +++ >=media-libs/libsdl2-2.30.7-r1[X,alsa,opengl?,sound,video] The syntax for this case is threads(+) https://devmanual.gentoo.org/general-concepts/dependencies/index.html#use-dependency-defaults
Created attachment 904909 [details] ebuild modified according to correction Accordingly, find attached a further revised r1 ebuild, that the matter may move quickly should the maintainer find this adequate. Changes (from 2024.07.01): 52 --- media-libs/libsdl2[X,alsa,opengl?,sound,threads,video] 52 +++ media-libs/libsdl2[X,alsa,opengl?,sound,threads(+),video]
Thank you both for letting me know this issue and the suggestions! I have pushed a fix to 'dev', awaiting a merge to 'master' by a Trusted Contributor.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3a74bcdf3ef29cc86bd3f6646486b8d1f1b4f620 commit 3a74bcdf3ef29cc86bd3f6646486b8d1f1b4f620 Author: Yuan Liao <liaoyuan@gmail.com> AuthorDate: 2024-10-04 22:18:15 +0000 Commit: Yuan Liao <liaoyuan@gmail.com> CommitDate: 2024-10-04 22:18:15 +0000 games-emulation/dosbox-x: Update for libsdl2's dropped IUSE=threads Closes: https://bugs.gentoo.org/940731 Signed-off-by: Yuan Liao <liaoyuan@gmail.com> games-emulation/dosbox-x/dosbox-x-2024.07.01.ebuild | 2 +- games-emulation/dosbox-x/dosbox-x-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)