/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/libcolobotbase.a(sndfile_wrapper.cpp.o): in function `CSNDFileWrapper::~CSNDFileWrapper()': sndfile_wrapper.cpp:(.text+0x26): undefined reference to `sf_close' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/libcolobotbase.a(sndfile_wrapper.cpp.o): in function `CSNDFileWrapper::~CSNDFileWrapper()': sndfile_wrapper.cpp:(.text+0x186): undefined reference to `sf_close' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/libcolobotbase.a(sndfile_wrapper.cpp.o): in function `CSNDFileWrapper::CSNDFileWrapper(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': sndfile_wrapper.cpp:(.text+0x275): undefined reference to `sf_open_virtual' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_systemd-j3-20210815-050010 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * /usr/lib/llvm/12 12.0.1 Python 3.9.6 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * The following VMs are available for generation-2: HEAD of ::gentoo commit 7746e730257ec91eb71a6d52511aa21d7877abb2 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Aug 15 16:22:07 2021 +0000 2021-08-15 16:22:06 UTC emerge -qpvO games-strategy/colobot [ebuild N ] games-strategy/colobot-0.1.12 USE="-devbuild -doc -openal -test -tools"
Created attachment 733141 [details] emerge-info.txt
Created attachment 733144 [details] emerge-history.txt
Created attachment 733147 [details] environment
Created attachment 733150 [details] etc.portage.tar.bz2
Created attachment 733153 [details] games-strategy:colobot-0.1.12:20210815-172220.log
Created attachment 733156 [details] logs.tar.bz2
Created attachment 733159 [details] temp.tar.bz2
It's only linking against libsndfile if OpenAL is enabled, but it includes files which need libsndfile unconditionally.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4754d9dc0a17508c6dc37202595ca48aa34ccb1 commit b4754d9dc0a17508c6dc37202595ca48aa34ccb1 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2021-08-19 07:16:23 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2021-08-19 07:34:12 +0000 games-strategy/colobot: Fix missing -lsndfile with USE=-openal Closes: https://bugs.gentoo.org/808495 Signed-off-by: Michał Górny <mgorny@gentoo.org> games-strategy/colobot/colobot-0.1.12.ebuild | 2 ++ .../files/colobot-0.1.12-sndfile-link.patch | 40 ++++++++++++++++++++++ 2 files changed, 42 insertions(+)