Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jan 2022 22:03:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   [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"
Message-ID:  <bug-257696-12827-jvZ07jYBHT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257696-12827@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257696-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257696

--- 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'".=20

This is with the following change in the openal-soft port Makefile

USES=3D           cmake compiler:gcc-c++11-lib tar:bzip2=20

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=3D/usr/local/lib/gcc11 -i=
system
/usr/local/include -fno-strict-aliasing -O2 -pipe
 -Wno-thread-safety   -fstack-protector -Wl,-rpath=3D/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=3D/usr/local/lib/gcc11 -L/usr/local/lib/=
gcc11
CMakeFiles/openal-info.dir/utils/openal-info.c.o -o openal-info=20
-Wl,-rpath,/wrkdirs/usr/ports/audio/openal-soft
/work/.build:  -pthread  libopenal.so.1.21.1 && :
FAILED: openal-info=20
: && /usr/local/libexec/ccache/gcc11 -O2 -pipe -Wno-thread-safety=20=20
-fstack-protector -Wl,-rpath=3D/usr/local/lib/gcc11 -isystem /usr/local/inc=
lude
-fno-strict-aliasing -O2 -pipe -Wno-thread-sa
fety   -fstack-protector -Wl,-rpath=3D/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=3D/usr/local/lib/gcc11 -L/usr/local/lib/gcc11
CMakeFiles/openal-info.dir/utils/openal-info.c.o -o openal-info=20
-Wl,-rpath,/wrkdirs/usr/ports/audio/openal-soft/work/.build:=20=20
-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=20=20
-fstack-protector -Wl,-rpath=3D/usr/local/lib/gcc11   -nostdinc++ -isystem
/usr/include/c++/v1 -Wl,-rpath=3D/usr/local/lib/gcc11 -isystem /usr/local/i=
nclude
-O2 -pipe -Wno-thread-safety   -fstack-protector
-Wl,-rpath=3D/usr/local/lib/gcc11   -nostdinc++ -isystem /usr/include/c++/v1
-Wl,-rpath=3D/usr/local/lib/gcc11 -isystem /usr/local/include -fPIC -std=3D=
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-c=
onfig/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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257696-12827-jvZ07jYBHT>