Bug#1075621: vimix: ftbfs with GCC-14
Package: src:vimix
Version: 0.7.2+git20221123+ds-2
Severity: important
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/vimix_0.7.2+git20221123+ds-2_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html
[...]
135 | struct hasId: public std::unary_function<Node*, bool>
| ^~~~~~~~~~~~~~
In file included from /usr/include/c++/14/bits/refwrap.h:39,
from /usr/include/c++/14/bits/std_thread.h:42,
from /usr/include/c++/14/thread:45,
from /<<PKGBUILDDIR>>/src/Mixer.cpp:21:
/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
[ 89%] Building CXX object src/CMakeFiles/vimix.dir/Loopback.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DGST_DISABLE_LOADSAVE -DGST_DISABLE_XML -DIMGUI_IMPL_OPENGL_LOADER_GLAD -DLINK_PLATFORM_LINUX=1 -DLINK_PLATFORM_UNIX=1 -DLINUX -DUNIX -I/usr/include/gstreamer-1.0 -I/usr/lib/x86_64-linux-gnu/gstreamer-1.0/include -I/usr/include/stb -I/<<PKGBUILDDIR>>/ext/glad/include -I/<<PKGBUILDDIR>>/ext/imgui -I/<<PKGBUILDDIR>>/ext/imgui/examples -I/<<PKGBUILDDIR>>/ext/ImGuiColorTextEdit -I/<<PKGBUILDDIR>>/ext/OSCPack -I/<<PKGBUILDDIR>>/rsc/fonts -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/_cmrc/include -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/gtk-3.0 -isystem /usr/include/pango-1.0 -isystem /usr/include/sysprof-6 -isystem /usr/include/harfbuzz -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/fribidi -isystem /usr/include/cairo -isystem /usr/include/pixman-1 -isystem /usr/include/gdk-
pixbuf-2.0 -isystem /usr/include/webp -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/cloudproviders -isystem /usr/include/atk-1.0 -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/at-spi-2.0 -isystem /usr/include/dbus-1.0 -isystem /usr/lib/x86_64-linux-gnu/dbus-1.0/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++17 -pthread -MD -MT src/CMakeFiles/vimix.dir/Loopback.cpp.o -MF CMakeFiles/vimix.dir/Loopback.cpp.o.d -o CMakeFiles/vimix.dir/Loopback.cpp.o -c /<<PKGBUILDDIR>>/src/Loopback.cpp
In file included from /<<PKGBUILDDIR>>/src/SessionSource.h:6,
from /<<PKGBUILDDIR>>/src/Mixer.cpp:44:
/<<PKGBUILDDIR>>/src/Source.h:203:33: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations]
203 | struct hasNode: public std::unary_function<Source*, bool>
| ^~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/Source.h:211:33: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations]
211 | struct hasName: public std::unary_function<Source*, bool>
| ^~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/Source.h:221:31: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations]
221 | struct hasId: public std::unary_function<Source*, bool>
| ^~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/Source.h:231:34: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations]
231 | struct hasDepth: public std::unary_function<Source*, bool>
| ^~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
make[3]: *** [src/CMakeFiles/vimix.dir/build.make:485: src/CMakeFiles/vimix.dir/SessionCreator.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/<<PKGBUILDDIR>>/src/FrameGrabber.cpp:87:26: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations]
87 | struct fgId: public std::unary_function<FrameGrabber*, bool>
| ^~~~~~~~~~~~~~
In file included from /usr/include/c++/14/string:49,
from /<<PKGBUILDDIR>>/src/GstToolkit.h:6,
from /<<PKGBUILDDIR>>/src/FrameGrabber.cpp:31:
/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/src/View.h:6,
from /<<PKGBUILDDIR>>/src/RenderView.h:7,
from /<<PKGBUILDDIR>>/src/Session.h:7,
from /<<PKGBUILDDIR>>/src/Streamer.cpp:41:
/<<PKGBUILDDIR>>/src/Scene.h:135:27: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations]
135 | struct hasId: public std::unary_function<Node*, bool>
| ^~~~~~~~~~~~~~
In file included from /usr/include/c++/14/bits/refwrap.h:39,
from /usr/include/c++/14/bits/std_thread.h:42,
from /usr/include/c++/14/thread:45,
from /<<PKGBUILDDIR>>/src/Streamer.cpp:20:
/usr/include/c++/14/bits/stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:245: src/CMakeFiles/vimix.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: