After initiating PipeWire sound server migration process I have started system upgrade and faced issue with openal compilation Reproducible: Didn't try Steps to Reproduce: Regarding reproducibility - it is enough to `sudo emerge --update --newuse --deep --with-bdeps=y @world'. Haven't tried to reproduce problem on another machine Actual Results: See build log Expected Results: Successful emerge
Created attachment 797086 [details] emerge --info '=media-libs/openal-1.22.2::gentoo'
Created attachment 797089 [details] emerge -pqv '=media-libs/openal-1.22.2::gentoo'
Created attachment 797092 [details] media-libs/openal-1.22.2::gentoo build.log
1.22.2/alc/backends/pipewire.cpp FAILED: CMakeFiles/OpenAL.dir/alc/backends/pipewire.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DALC_API="__attribute__((visibility(\"protected\")))" -DAL_ALEXT_PROTOTYPES -DAL_API="__attribute__((visibility(\"protected\")))" -DAL_BUILD_LIBRARY -DOpenAL_EXPORTS -DRESTRICT=__restrict -I/var/tmp/portage/media-libs/openal-1.22.2/work/openal-soft-1.22.2/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/var/tmp/portage/media-libs/openal-1.22.2/work/openal-soft-1.22.2_build-abi_x86_64.amd64 -I/var/tmp/portage/media-libs/openal-1.22.2/work/openal-soft-1.22.2 -I/var/tmp/portage/media-libs/openal-1.22.2/work/openal-soft-1.22.2/common -O2 -pipe -march=znver2 -fPIC -Winline -Wunused -Wall -Wextra -Wshadow -Wconversion -Wcast-align -Wpedantic -Wold-style-cast -Wnon-virtual-dtor -Woverloaded-virtual -fno-math-errno -fvisibility=hidden -pthread -std=gnu++14 -MD -MT CMakeFiles/OpenAL.dir/alc/backends/pipewire.cpp.o -MF CMakeFiles/OpenAL.dir/alc/backends/pipewire.cpp.o.d -o CMakeFiles/OpenAL.dir/alc/backends/pipewire.cpp.o -c /var/tmp/portage/media-libs/openal-1.22.2/work/openal-soft-1.22.2/alc/backends/pipewire.cpp /var/tmp/portage/media-libs/openal-1.22.2/work/openal-soft-1.22.2/alc/backends/pipewire.cpp: In member function ‘void {anonymous}::PipeWirePlayback::outputCallback()’: /var/tmp/portage/media-libs/openal-1.22.2/work/openal-soft-1.22.2/alc/backends/pipewire.cpp:1323:43: error: ‘struct pw_buffer’ has no member named ‘requested’ 1323 | uint length{static_cast<uint>(pw_buf->requested)}; | ^~~~~~~~~
Hm. https://github.com/kcat/openal-soft/commit/dbf5306828f811286feb7e45774cfc46b117da05.
*** Bug 863983 has been marked as a duplicate of this bug. ***
See https://bugs.gentoo.org/863983#c3 from ionen too
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e50776f608e30a41a6a59d734d9a7d871d939ab4 commit e50776f608e30a41a6a59d734d9a7d871d939ab4 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-08-21 03:00:24 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-21 03:06:47 +0000 media-libs/openal: fix automagic PipeWire dependency (and others) Not sure why I didn't poke at these when I looked at sndio, but oh well. * Fix automagic issues for all backends, including newly-added PipeWire. * The PipeWire support is flaky with older versions, looks like an ifdef is subtly wrong, but given how fast PW is moving anyway & the changes in the ecosystem (see NEWS item for migration w/ USE=sound-server), we don't want people running an older PW anyway, so depend on a newer version. * Disable CMake unused argument warning as it's a false positive, as the backend options are conditionally defined based on if deps found. (Might in future want a regex / adopt the QA one for ./configure instead to allow conditionally ignoring specific ones instead of blanket disable.) Bug: https://bugs.gentoo.org/809314 Closes: https://bugs.gentoo.org/828674 Closes: https://bugs.gentoo.org/863200 Signed-off-by: Sam James <sam@gentoo.org> media-libs/openal/metadata.xml | 1 + media-libs/openal/openal-1.22.2-r1.ebuild | 91 +++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+)