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: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PATCH
Depends on: 946706
Blocks:
  Show dependency tree
 
Reported: 2023-10-11 20:46 UTC by asdfg
Modified: 2024-12-21 10:54 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.
Comment 4 Larry the Git Cow gentoo-dev 2024-12-21 10:54:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dfdaca896b571fd8aceb162eedb756f8ff7f0ba

commit 7dfdaca896b571fd8aceb162eedb756f8ff7f0ba
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2024-12-21 10:53:34 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-12-21 10:53:34 +0000

    media-libs/openal: dropped obsolete 1.23.1-r1 & 1.24.0
    
    Bug: https://bugs.gentoo.org/946706
    Closes: https://bugs.gentoo.org/915607
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-libs/openal/Manifest                         |  2 -
 .../openal/files/openal-1.23.1-gcc15-cstdint.patch | 32 --------
 media-libs/openal/openal-1.23.1-r1.ebuild          | 91 ----------------------
 media-libs/openal/openal-1.24.0.ebuild             | 87 ---------------------
 4 files changed, 212 deletions(-)