[Bug 257696] audio/openal-soft: Fails to link with JACK enabled: ERROR: ld-elf.so.1: /usr/local/lib/libopenal.so.1: Undefined symbol "jack_error_callback"
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 257696] audio/openal-soft Undefined symbol"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Jan 2022 22:03:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257696 --- Comment #16 from Sean Champ <lab+bsd@thinkum.space> --- erm that was too soon, the build still fails here, back to " undefined reference to `jack_error_callback'". This is with the following change in the openal-soft port Makefile USES= cmake compiler:gcc-c++11-lib tar:bzip2 and with GCC11 patched for '--enable-libstdcxx-time' An excerpt of the build log, without truncation to screen width: ~~~~ [ 95% 103/107] : && /usr/local/libexec/ccache/gcc11 -O2 -pipe -Wno-thread-safety -fstack-protector -Wl,-rpath=/usr/local/lib/gcc11 -isystem /usr/local/include -fno-strict-aliasing -O2 -pipe -Wno-thread-safety -fstack-protector -Wl,-rpath=/usr/local/lib/gcc11 -isystem /usr/local/include -fno-strict-aliasing -Wl,--as-needed -Wl,--as-needed -L/wrkdirs/usr/ports/audio/openal-soft /work -fstack-protector -Wl,-rpath=/usr/local/lib/gcc11 -L/usr/local/lib/gcc11 CMakeFiles/openal-info.dir/utils/openal-info.c.o -o openal-info -Wl,-rpath,/wrkdirs/usr/ports/audio/openal-soft /work/.build: -pthread libopenal.so.1.21.1 && : FAILED: openal-info : && /usr/local/libexec/ccache/gcc11 -O2 -pipe -Wno-thread-safety -fstack-protector -Wl,-rpath=/usr/local/lib/gcc11 -isystem /usr/local/include -fno-strict-aliasing -O2 -pipe -Wno-thread-sa fety -fstack-protector -Wl,-rpath=/usr/local/lib/gcc11 -isystem /usr/local/include -fno-strict-aliasing -Wl,--as-needed -Wl,--as-needed -L/wrkdirs/usr/ports/audio/openal-soft/work -fstack-p rotector -Wl,-rpath=/usr/local/lib/gcc11 -L/usr/local/lib/gcc11 CMakeFiles/openal-info.dir/utils/openal-info.c.o -o openal-info -Wl,-rpath,/wrkdirs/usr/ports/audio/openal-soft/work/.build: -pthread libopenal.so.1.21.1 && : /usr/local/bin/ld: libopenal.so.1.21.1: undefined reference to `jack_error_callback' collect2: error: ld returned 1 exit status [ 96% 103/107] /usr/local/libexec/ccache/g++11 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -I/wrkdirs/usr/ports/audio/openal-soft/work/.build/utils/alsoft-config -I/wrkdirs/usr/ports/audio/openal-soft/work/.build -isystem /usr/local/include/qt5 -isystem /usr/local/include/qt5/QtWidgets -isystem /usr/local/include/qt5/QtGui -isystem /usr/local/include/qt5/QtCore -isystem /usr/local/lib/qt5/mkspecs/freebsd-clang -O2 -pipe -Wno-thread-safety -fstack-protector -Wl,-rpath=/usr/local/lib/gcc11 -nostdinc++ -isystem /usr/include/c++/v1 -Wl,-rpath=/usr/local/lib/gcc11 -isystem /usr/local/include -O2 -pipe -Wno-thread-safety -fstack-protector -Wl,-rpath=/usr/local/lib/gcc11 -nostdinc++ -isystem /usr/include/c++/v1 -Wl,-rpath=/usr/local/lib/gcc11 -isystem /usr/local/include -fPIC -std=gnu++14 -MD -MT utils/alsoft-config/CMakeFiles/alsoft-config.dir/main.cpp.o -MF utils/alsoft-config/CMakeFiles/alsoft-config.dir/main.cpp.o.d -o utils/alsoft-config/CMakeFiles/alsoft-config.dir/main.cpp.o -c /wrkdirs/usr/ports/audio/openal-soft/work/openal-soft-1.21.1/utils/alsoft-config/main.cpp ninja: build stopped: subcommand failed. ~~~~ With apologies for the circuitous patching and build logs here, in the local build it's back to the original build failure presently I'll try to keep an eye out for any updates with jackd in the ports tree. imo the ideal kdenlive build would use jackd, lol, I'm sure there are countless usage cases -- You are receiving this mail because: You are the assignee for the bug.