During update of qjackctl I get the following error FAILED: src/CMakeFiles/qjackctl.dir/qjackctlSetup.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_XML_LIB -Isrc -I/var/tmp/portage/media-sound/qjackctl-0.9.1/work/qjackctl-0.9.1/src -Isrc/qjackctl_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtDBus -O2 -pipe -march=bdver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check -fPIC -pthread -std=gnu++17 -MD -MT src/CMakeFiles/qjackctl.dir/qjackctlSetup.cpp.o -MF src/CMakeFiles/qjackctl.dir/qjackctlSetup.cpp.o.d -o src/CMakeFiles/qjackctl.dir/qjackctlSetup.cpp.o -c /var/tmp/portage/media-sound/qjackctl-0.9.1/work/qjackctl-0.9.1/src/qjackctlSetup.cpp /var/tmp/portage/media-sound/qjackctl-0.9.1/work/qjackctl-0.9.1/src/qjackctlSetup.cpp: In member function ‘bool qjackctlSetup::parse_args(const QStringList&)’: /var/tmp/portage/media-sound/qjackctl-0.9.1/work/qjackctl-0.9.1/src/qjackctlSetup.cpp:694:10: error: ‘jack_get_version_string’ was not declared in this scope 694 | .arg(jack_get_version_string()); | ^~~~~~~~~~~~~~~~~~~~~~~ Reproducible: Always I'm using jack-audio-connection-kit for the virtual/jack slot. build log and emerge --info attached.
Created attachment 686082 [details] qjackctl-0.9.1:20210208-083838.log build log
Created attachment 686085 [details] emerge-info-qjackctl-0.9.1.txt output of emerge --info qjackctl
jack_get_version_string() only exists in jack2, so that's not surprising. Looking at the source it's guarded behind #ifdef CONFIG_JACK_VERSION, and the ebuild has -DCONFIG_JACK_VERSION=1 Builds fine if unset
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6a8f2f248930df0790be4bd9bcd0a16fd4742d8 commit d6a8f2f248930df0790be4bd9bcd0a16fd4742d8 Author: Bernd Waibel <waebbl-gentoo@posteo.net> AuthorDate: 2021-02-08 21:16:47 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2021-02-09 09:32:10 +0000 media-sound/qjackctl: fix cmake flags Remove passing of CONFIG_JACK_VERSION to enable switching between virtual/jack slots. Closes: https://bugs.gentoo.org/769563 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/19380 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> media-sound/qjackctl/qjackctl-0.9.1.ebuild | 1 - 1 file changed, 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53b9ac0dc26ea350dc6841cdd2e95a5ee71d175d commit 53b9ac0dc26ea350dc6841cdd2e95a5ee71d175d Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2021-02-09 09:31:50 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2021-02-09 09:32:11 +0000 media-sound/qjackctl: copied fix from 0.9.1 Bug: https://github.com/gentoo/gentoo/pull/19380 Bug: https://bugs.gentoo.org/769563 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> media-sound/qjackctl/qjackctl-9999.ebuild | 1 - 1 file changed, 1 deletion(-)