../../../binaries/system/liblowlevel.a(snd.o): In function `snd_detect()': snd.cpp:(.text+0xe): undefined reference to `alcIsExtensionPresent' snd.cpp:(.text+0xd3): undefined reference to `alGetString' snd.cpp:(.text+0x110): undefined reference to `alcIsExtensionPresent' snd.cpp:(.text+0x120): undefined reference to `alcGetString' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 13.0-desktop-gnome_20170723-192245 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) [3] pypy3 (fallback) Available Ruby profiles: [1] ruby21 (with Rubygems) [2] ruby22 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.5.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm
Created attachment 486990 [details] emerge-info.txt
Created attachment 486992 [details] emerge-history.txt
Created attachment 486994 [details] environment
Created attachment 486996 [details] etc.portage.tbz2
Created attachment 486998 [details] games-strategy:0ad-0.0.22_alpha:20170727-193243.log.bz2
Created attachment 487000 [details] logs.tbz2
Created attachment 487002 [details] temp.tbz2
I'm hitting this too. Looks like trouble with linking and openal? I am using stable Keywords mostly, therefore have openal-1.15.1 installed but the same error.
Okay, so this can be solved for me by building with USE="sound" If you still run into this, please post the output of emerge -pv 0ad since I have no idea if you build with or without the sound useflag.
(In reply to tt_1 from comment #9) woops, which info is missing in the attached files (would enhance the tinderbox script then by the missing feature)
Well, you could adapt it to paste the output of emerge -pv *package* in plain text into the comment boxes, at least I cannot find any hard evidence about your actuall build setup. My guess is that you have build it without the sound useflag, because I cannot find +sound in make.conf or package.use, but this isn't a proof that you had been using it (or not) in my opinion. So, what are your build flags?
(In reply to tt_1 from comment #11) tinderbox@mr-fox ~ $ scw 13.0-desktop-gnome_20170723-192245 mr-fox / # emerge -pv games-strategy/0ad These are the packages that would be merged, in reverse order: Calculating dependencies ..... done! [ebuild N #] games-strategy/0ad-0.0.22_alpha::gentoo USE="lobby -editor -nvtt -pch -sound {-test}" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB FWIW the attached "emerge info" isn't what you needed, right ?
Yeah, so just alter your script in a way that this information is included into the comments, in plain text. I don't know if it is one of the archives the script seems to generate, but I certainly can't find it fast enough. For me it works with +sound, test again with +sound and if this works please ping the maintainer, if there is one, or games@gentoo.org
See my update to: https://bugs.gentoo.org/show_bug.cgi?id=626470 I have 0ad +sound. Yesterday 0ad-0.0.22_alpha wouldn't compile. Today, it does. Apparently, something got fixed.
Adding -lopenal to pyrogenesis.make fixes this for me
Same problem here. Also duplicated by #626470.
commit 63ef41c718a62fa23050d4f8abc9086b0e02feea (HEAD -> master, origin/master, origin/HEAD) Author: Lars Wendler <polynomial-c@gentoo.org> Date: Tue Aug 22 09:13:55 2017 games-strategy/0ad: Removed "sound" USE flag. A game without sound does not really provide optimal game experience. Package-Manager: Portage-2.3.8, Repoman-2.3.3
Reopening... this still isn't fixed...
(In reply to Mike Lothian from comment #15) > Adding -lopenal to pyrogenesis.make fixes this for me Can you please elaborate ? I do not know the build system used by 0ad. After doing : >$ ebuild $(equery w 0ad) prepare I do not find that file. Is it a generated file ? If the fix is so easy, is there an upstream bug opened ?
Please retry with 0.0.24_alpha_pre20210116040036-r1.
(In reply to Sam James from comment #20) > Please retry with 0.0.24_alpha_pre20210116040036-r1. Trying to run this on stable system : > # emerge -pv games-strategy/0ad > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild N ] net-libs/enet-1.3.17:1.3/7::gentoo USE="-static-libs" 687 KiB > [ebuild N ~] net-libs/gloox-1.0.24:0/18::gentoo USE="gnutls ssl zlib -debug -idn (-libressl) -static-libs -test" 711 KiB > [ebuild N ] media-libs/ilmbase-2.5.2:0/25::gentoo USE="-large-stack -static-libs -test" ABI_X86="32 (64) (-x32)" 26 881 KiB > [ebuild N ~] media-gfx/nvidia-texture-tools-2.1.2::gentoo USE="openmp" CPU_FLAGS_X86="sse2" 44 115 KiB > [ebuild N #] games-strategy/0ad-0.0.24_alpha_pre20210116040036-r1::gentoo USE="lobby (nvtt) -editor -pch -test" 2 502 340 KiB > [ebuild N #] games-strategy/0ad-data-0.0.24_alpha_pre20210116040036::gentoo 0 KiB games-strategy/0ad builds and installs fine : > $ genlop -t 0ad > * games-strategy/0ad > > Fri Feb 19 21:33:00 2021 >>> games-strategy/0ad-0.0.24_alpha_pre20210116040036-r1 > merge time: 1 hour, 3 minutes and 2 seconds. But games-strategy/0ad-data is failing with : > * 0ad -archivebuild=binaries/data/mods/mod -archivebuild-output=archives/mod/mod.zip > 0ad: error while loading shared libraries: libmozjs78-ps-release.so: cannot open shared object file: No such file or directory Will attach both build logs.
Created attachment 687672 [details] games-strategy/0ad gzipped build log
Created attachment 687675 [details] games-strategy/0ad-data build log
Thanks, this looks like bug 771147 now