0ad game crashes when built with media-libs/openal-1.24: $ 0ad TIMER| InitVfs: 120.883 us FILES| Main log written to '/home/gringo/.config/0ad/logs/mainlog.html' FILES| Interesting log written to '/home/gringo/.config/0ad/logs/interestinglog.html' TIMER| CONFIG_Init: 1.76119 ms Sound: AlcInit success, using OpenAL Soft Assertion failed: "0 && (L"FYI: WARN_IF_FALSE reports that a function failed. Feel free to ignore or suppress this warning.")" Location: SoundManager.cpp:841 (RunHardwareDetection) Call stack: (0x75fef9b8f0b) 0ad(+0x916f0b) [0x75fef9b8f0b] (0x75fef9ad53f) 0ad(+0x90b53f) [0x75fef9ad53f] (0x75fef9ada5f) 0ad(+0x90ba5f) [0x75fef9ada5f] (0x75fef9ae1f3) 0ad(+0x90c1f3) [0x75fef9ae1f3] (0x75fef66209f) 0ad(+0x5c009f) [0x75fef66209f] (0x75fef664d4d) 0ad(+0x5c2d4d) [0x75fef664d4d] (0x75fef664ec7) 0ad(+0x5c2ec7) [0x75fef664ec7] (0x75fef5737e7) 0ad(+0x4d17e7) [0x75fef5737e7] (0x75fef2418ec) 0ad(+0x19f8ec) [0x75fef2418ec] (0x75fef2536c7) 0ad(+0x1b16c7) [0x75fef2536c7] (0x611527c4d3ee) /usr/lib64/libc.so.6(+0x263ee) [0x611527c4d3ee] (0x611527c4d4a9) /usr/lib64/libc.so.6(__libc_start_main+0x89) [0x611527c4d4a9] (0x75fef23afa5) 0ad(+0x198fa5) [0x75fef23afa5] errno = 0 (No error reported here) OS error = ? See the linked URL for patch(es). Reproducible: Always Steps to Reproduce: 1. Build games-strategy/0ad-0.0.26_alpha-r2 games with openal-1.24 2. Start the game 3. Actual Results: Game crashes Expected Results: Game should run $ emerge --info Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/hardened/systemd, gcc-14, glibc-2.40-r7, 6.12.4-hardened-k8s x86_64) ================================================================= System uname: Linux-6.12.4-hardened-k8s-x86_64-AMD_Ryzen_9_6900HX_with_Radeon_Graphics-with-glibc2.40 KiB Mem: 63534316 total, 44927012 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 14 Dec 2024 10:00:00 +0000 Head commit of repository gentoo: dfb97d60466bd705c306f4b9cda5cda94cdabee5 Timestamp of repository eras-overlay: Thu, 12 Dec 2024 06:50:34 +0000 Head commit of repository eras-overlay: 59eb4800bc5c5f4b434f3917a3f3adb4e6b651d8 Timestamp of repository steam-overlay: Wed, 11 Dec 2024 12:06:22 +0000 Head commit of repository steam-overlay: 94ba87e4a1cd7686d25b3520adee8a63e13785ee sh bash 5.2_p37 ld GNU ld (Gentoo 2.43 p3) 2.43.1 app-misc/pax-utils: 1.3.8::gentoo app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.71-r7::gentoo, 2.72-r1::gentoo dev-build/automake: 1.17-r1::gentoo dev-build/cmake: 3.31.2::gentoo dev-build/libtool: 2.5.4::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.6.0-r1::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.0-r1::gentoo dev-lang/python: 3.10.16_p1::gentoo, 3.12.8::gentoo, 3.13.1::gentoo dev-lang/rust: 1.77.1-r100::gentoo, 1.83.0-r1::gentoo llvm-core/clang: 18.1.8-r6::gentoo, 19.1.5::gentoo llvm-core/lld: 18.1.8::gentoo, 19.1.5::gentoo llvm-core/llvm: 18.1.8-r6::gentoo, 19.1.5::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/sandbox: 2.40::gentoo sys-apps/systemd: 256.9::gentoo sys-devel/binutils: 2.43-r2::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/gcc: 14.2.1_p20241116::gentoo sys-devel/gcc-config: 2.12.1::gentoo sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers) sys-libs/glibc: 2.40-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage/ priority: -1000 volatile: True sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes eras-overlay location: /var/db/repos/eras-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/eras-overlay.git masters: gentoo volatile: False slonko location: /usr/local/portage/slonko masters: gentoo volatile: True steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo volatile: False ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=y --jobs=5 --load-average=15" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,-z,now -Wl,-z,pack-relative-relocs -fuse-ld=mold" LEX="flex" LINGUAS="en en_US en_GB nl pl" MAKEOPTS="-j17" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" RUSTFLAGS="-C target-cpu=native -C strip=symbols" SHELL="/bin/bash" USE="X a52 aac accessibility acpi adns alsa amd64 ao appindicator asm atm audiofile avif bash-completion berkdb bidi bluetooth branding brotli bzip2 cairo calendar caps cdda cddb cet clamav clang colord crypt css cups curl cxx dbus dga dri dts dv dvb dvd encode exif expat fbcon ffmpeg fftw filecaps flac fontconfig ftp gd gdbm geoip geolocation ggi gif gimp glut gmp gnutls gphoto2 gpm graphicsmagick graphviz gstreamer gtk gui guile gzip hardened hddtemp heif http2 iconv icu imagemagick imap imlib inotify introspection ipv6 javascript jbig jemalloc jit joystick jpeg jpeg2k jpegxl lame lcms libass libcaca libffi libnotify libsamplerate libtirpc libwww lm-sensors lto lz4 lzip lzma lzo m17n-lib mad magic maildir man matroska mbox mhash mikmod mmap mms mng modplug modules modules-compress mp3 mp4 mpeg mpi mplayer mtp multilib musepack native-extensions ncurses nls nntp nocd nsplugin offensive ogg openal opencl openexr opengl openmp opentype-compat opus orc osc otf pam pcre pdf pgo pic pie plotutils png policykit posix postscript ppds pulseaudio qt5 qt6 raw readline recode scanner sdl seccomp session sid slang smp snappy sndfile snmp sockets sound sox speex spell ssl ssp startup-notification strip svg syslog systemd szip taglib tcmalloc tcpd test-rust theora threads tidy tiff truetype ttf udev udisks uefi unicode upower usb v4l vaapi vcd vdpau verify-sig videos vim-syntax vorbis vulkan wavpack webkit webp wmf wxwidgets x264 x265 xcb xcomposite xft xml xmlrpc xmp xmpp xosd xpm xscreensaver xtpax xv xvid zip zlib zstd" ABI_X86="32 64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-US en-GB nl pl" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access auth_basic autoindex brotli fastcgi gzip gzip_static lua map proxy rewrite stub_status vhost_traffic_status" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 914022 [details, diff] openal-1.24 patch Upstream patch which allows to run the game with openal-1.24
At least the attached patch (openal-1.24.patch) is required to run the game with openal-1.24 (tested).
same here with openal-1.24.1
Happened to me after doing emerge -ave @world Openal is 1.24.1 TIMER| InitVfs: 249.383 us FILES| Main log written to '/home/lain/.config/0ad/logs/mainlog.html' FILES| Interesting log written to '/home/lain/.config/0ad/logs/interestinglog.html' TIMER| CONFIG_Init: 3.90596 ms [ALSOFT] (EE) Could not query RTKit: No such file or directory (2) Sound: AlcInit success, using OpenAL Soft Assertion failed: "0 && (L"FYI: WARN_IF_FALSE reports that a function failed. Feel free to ignore or suppress this warning.")" Location: SoundManager.cpp:841 (RunHardwareDetection) Call stack: (0x563eb6fb3c65) 0ad(+0x643c65) [0x563eb6fb3c65] (0x563eb6fa9db6) 0ad(+0x639db6) [0x563eb6fa9db6] (0x563eb6faa56d) 0ad(+0x63a56d) [0x563eb6faa56d] (0x563eb6faaa15) 0ad(+0x63aa15) [0x563eb6faaa15] (0x563eb6ce296f) 0ad(+0x37296f) [0x563eb6ce296f] (0x563eb6ce7436) 0ad(+0x377436) [0x563eb6ce7436] (0x563eb6ce7647) 0ad(+0x377647) [0x563eb6ce7647] (0x563eb6c52996) 0ad(+0x2e2996) [0x563eb6c52996] (0x563eb69ff236) 0ad(+0x8f236) [0x563eb69ff236] (0x563eb69f1887) 0ad(+0x81887) [0x563eb69f1887] (0x7fd0673f5480) /usr/lib64/libc.so.6(+0x26480) [0x7fd0673f5480] (0x7fd0673f5539) /usr/lib64/libc.so.6(__libc_start_main+0x89) [0x7fd0673f5539] (0x563eb69fa445) 0ad(+0x8a445) [0x563eb69fa445] errno = 0 (No error reported here) OS error = ? There is a fix from creators of 0ad https://wildfiregames.com/forum/topic/125203-crash-on-start-due-to-soundmanager/
Does someone can mark this bug as "Confirmed"?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c08ce8c1e9d5c04878738f6ca9f12dccd5bfda52 commit c08ce8c1e9d5c04878738f6ca9f12dccd5bfda52 Author: Ralph Sennhauser <ralph.sennhauser@gmail.com> AuthorDate: 2025-01-22 12:32:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-10 02:19:19 +0000 games-strategy/0ad: bump to version 0.27.0 Bump to version 0.27.0 and add support for rc builds. Use system spidermonkey as the minor version restriction was dropped upstream, unlike in the early days of spidermonkey it's unlikely that version differences lead to different results. Update checkreqs as the needed space is reduced quite a bit by using system spidermonkey. Use verify-sig eclass and drop custom unpack. Use wxgtk 3.2, there is no reason not to and move wx-setup to src_configure. Install libCollada.so, fixes pyrogenesis so it can actually generate models from collada files if mods require it. Don't install various unused files on the other hand. Fix building and running tests. Also replace perl dep with python as cxxtestgen was rewitten in python long time ago. With the move to git and gitea the github repo was archived, so drop it from metadata.xml LTO still doen't work but not for the original reason Address some qa items, like http to https, line length or outdated blocker and remove no longer needed QA_PRESTRIPPED. Closes: https://bugs.gentoo.org/774153 Closes: https://bugs.gentoo.org/873058 Closes: https://bugs.gentoo.org/896964 Closes: https://bugs.gentoo.org/909509 Closes: https://bugs.gentoo.org/912838 Closes: https://bugs.gentoo.org/917626 Closes: https://bugs.gentoo.org/921324 Closes: https://bugs.gentoo.org/935474 Closes: https://bugs.gentoo.org/945956 Closes: https://bugs.gentoo.org/946468 Closes: https://bugs.gentoo.org/949122 Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/40383 Signed-off-by: Sam James <sam@gentoo.org> games-strategy/0ad/0ad-0.27.0.ebuild | 235 +++++++++++++++++++++ games-strategy/0ad/Manifest | 4 + .../0ad/files/0ad-0.27.0-fix-tests.patch | 78 +++++++ games-strategy/0ad/files/0ad-minisign.pub | 1 + games-strategy/0ad/metadata.xml | 1 - 5 files changed, 318 insertions(+), 1 deletion(-)