Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915607 - media-libs/openal-1.23.1-r1 fails to find openal libs
Summary: media-libs/openal-1.23.1-r1 fails to find openal libs
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-11 20:46 UTC by asdfg
Modified: 2023-10-12 17:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,20.85 KB, text/plain)
2023-10-11 20:47 UTC, asdfg
Details
Complete build log (build.log,139.84 KB, text/plain)
2023-10-11 20:48 UTC, asdfg
Details
Patch taken from https://github.com/kcat/openal-soft/commit/7910f1afbdfb1ab886b3a9c7ac3165c7fd2065c0.patch (7910f1afbdfb1ab886b3a9c7ac3165c7fd2065c0.patch,2.98 KB, patch)
2023-10-11 23:44 UTC, asdfg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description asdfg 2023-10-11 20:46:58 UTC
FAILED: openal-info 
: && /usr/lib/llvm/17/bin/clang -march=native -O3 -pipe  -Wl,-znow,-zrelro -pie -Wl,-O1 -Wl,--as-needed  -Wl,-znow,-zrelro -pie -Wl,-O2 -Wl,--as-needed -Wl,--allow-shlib-undefined    -rdynamic CMakeFiles/openal-info.dir/utils/openal-info.c.o -o openal-info  -Wl,-rpath,/tmp/portage/media-libs/openal-1.23.1-r1/work/openal-soft-1.23.1_build-abi_x86_64.amd64:  -pthread  libopenal.so.1.23.1 && :
x86_64-gentoo-linux-musl-ld.lld: error: undefined symbol: alcIsExtensionPresent
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced 4 more times

x86_64-gentoo-linux-musl-ld.lld: error: undefined symbol: alcGetString
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced 13 more times

x86_64-gentoo-linux-musl-ld.lld: error: undefined symbol: alcOpenDevice
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)

x86_64-gentoo-linux-musl-ld.lld: error: undefined symbol: alcGetProcAddress
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)

x86_64-gentoo-linux-musl-ld.lld: error: undefined symbol: alcGetIntegerv
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced 5 more times

x86_64-gentoo-linux-musl-ld.lld: error: undefined symbol: alcGetError
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced 7 more times

x86_64-gentoo-linux-musl-ld.lld: error: undefined symbol: alcCreateContext
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)

x86_64-gentoo-linux-musl-ld.lld: error: undefined symbol: alcMakeContextCurrent
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)

x86_64-gentoo-linux-musl-ld.lld: error: undefined symbol: alcDestroyContext
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)

x86_64-gentoo-linux-musl-ld.lld: error: undefined symbol: alcCloseDevice
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)

x86_64-gentoo-linux-musl-ld.lld: error: undefined symbol: alGetString
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced 6 more times

x86_64-gentoo-linux-musl-ld.lld: error: undefined symbol: alGetError
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced 20 more times

x86_64-gentoo-linux-musl-ld.lld: error: undefined symbol: alIsExtensionPresent
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)

x86_64-gentoo-linux-musl-ld.lld: error: undefined symbol: alGetProcAddress
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced 4 more times

x86_64-gentoo-linux-musl-ld.lld: error: undefined symbol: alGetInteger
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
>>> referenced by openal-info.c
>>>               CMakeFiles/openal-info.dir/utils/openal-info.c.o:(main)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
 * ERROR: media-libs/openal-1.23.1-r1::gentoo failed (compile phase):
 *   ninja -v -j12 -l0 failed


version 1.22.2-r1 builds just fine.

Reproducible: Always

Steps to Reproduce:
1. emerge -av1 openal
2. see the errors above
3. rejoice
Comment 1 asdfg 2023-10-11 20:47:28 UTC
Created attachment 872591 [details]
emerge --info
Comment 2 asdfg 2023-10-11 20:48:29 UTC
Created attachment 872592 [details]
Complete build log
Comment 3 asdfg 2023-10-11 23:44:24 UTC
Created attachment 872594 [details, diff]
Patch taken from https://github.com/kcat/openal-soft/commit/7910f1afbdfb1ab886b3a9c7ac3165c7fd2065c0.patch

It builds fine with this patch applied.

Thank you for your attention.