Bug#1087824: openal-soft: FTBFS on armel: static assertion failed: std::atomic<std::chrono::nanoseconds>::is_always_lock_free
Simon McVittie
smcv at debian.org
Tue Nov 19 10:47:52 GMT 2024
Control: forwarded -1 https://github.com/kcat/openal-soft/issues/1059
On Tue, 19 Nov 2024 at 09:33:52 +0100, Matthias Klose wrote:
> /<<PKGBUILDDIR>>/core/device.cpp:12:54: error: static assertion failed
> 12 |
> static_assert(std::atomic<std::chrono::nanoseconds>::is_always_lock_free);
If OpenAL now requires lock-free atomics, then I think that's going to be
unfixable on armel: if its upstream developer will not revert the change
(which I suspect they will not want to) then it will have to be removed
from armel.
The upstream issue says lock-free 64-bit atomics are needed for:
> backends that use the mixer in real-time callbacks, which need 64-bit
> atomic load/stores to be lock-free
I think it might be more proportionate to remove openal-soft from armel
than to go to heroic efforts to make it supportable: OpenAL doesn't seem
like something that is required by reasonable use-cases for this particular
platform.
`dak rm -R -n -a armel openal-soft` says this will require removal of
various other packages. They're mostly games (leaf or near-leaf packages
that can be removed from armel easily), but some look more problematic
to remove, and might need to be built without OpenAL support on armel
(if possible) instead of being removed altogether:
- allegro5 (?)
- alure (?)
- ffmpeg
- freealut (?)
- gst-plugins-bad1.0
- libmikmod (?)
- libsfml (?)
- mpd
- mpg123
- mplayer
- qtmultimedia-opensource-src
Among -ports architectures, m68k and sh4 also lack the necessary atomics
and therefore are affected by a similar issue.
smcv
--------
Source packages that would be affected by removal of openal-soft (their
recursive reverse dependencies will also be affected, I haven't done the
full recursion here):
0ad
7kaa
aegisub
alien-arena
allegro5
alure
antigrav
ares
assaultcube
astromenace
berusky2
bino
blender
bucklespring
casparcg-server
cen64
chromium-bsu
colobot
darkradiant
desmume
dhewm3
dolphin-emu
dustrac
endless-sky
ffmpeg
fife
flightgear
freealut
freegish
freeorion
freespace2
freespace2-launcher-wxlauncher
fs-uae
funguloids
gambas3
gemrb
gst-plugins-bad1.0
hugs98
ioquake3
iortcw
komposter
libkdegames
libmikmod
libsfml
love
lugaru
megaglest
minetest
mpd
mpg123
mplayer
naev
openclonk
openmrac
openmw
psychtoolbox-3
qtmultimedia-opensource-src
qtox
rbdoom3bfg
retroarch
rss-glx
scorched3d
simgear
sludge
spring
springlobby
storm-lang
subtitlecomposer
supertux
supertuxkart
telegram-desktop
torcs
toxic
trigger-rally
ufoai
utox
warzone2100
wine
wine-development
woof-doom
yabause
yquake2
More information about the Pkg-games-devel
mailing list