[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#956974: ableton-link: ftbfs with GCC-10



Package: src:ableton-link
Version: 3.0.2+dfsg-1
Severity: normal
Tags: sid bullseye
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-10

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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/ableton-link_3.0.2+dfsg-1_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 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-10/porting_to.html

[...]
[  6%] Building CXX object src/CMakeFiles/LinkDiscoveryTest.dir/ableton/discovery/tst_PeerGateway.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++  -DLINK_PLATFORM_LINUX=1 -DLINK_PLATFORM_UNIX=1 -isystem /<<PKGBUILDDIR>>/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -Wno-multichar   -o CMakeFiles/LinkDiscoveryTest.dir/ableton/discovery/tst_PeerGateway.cpp.o -c /<<PKGBUILDDIR>>/src/ableton/discovery/tst_PeerGateway.cpp
[  8%] Building CXX object src/CMakeFiles/LinkDiscoveryTest.dir/ableton/discovery/tst_PeerGateways.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++  -DLINK_PLATFORM_LINUX=1 -DLINK_PLATFORM_UNIX=1 -isystem /<<PKGBUILDDIR>>/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -Wno-multichar   -o CMakeFiles/LinkDiscoveryTest.dir/ableton/discovery/tst_PeerGateways.cpp.o -c /<<PKGBUILDDIR>>/src/ableton/discovery/tst_PeerGateways.cpp
[ 10%] Building CXX object src/CMakeFiles/LinkDiscoveryTest.dir/ableton/discovery/tst_UdpMessenger.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++  -DLINK_PLATFORM_LINUX=1 -DLINK_PLATFORM_UNIX=1 -isystem /<<PKGBUILDDIR>>/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -Wno-multichar   -o CMakeFiles/LinkDiscoveryTest.dir/ableton/discovery/tst_UdpMessenger.cpp.o -c /<<PKGBUILDDIR>>/src/ableton/discovery/tst_UdpMessenger.cpp
[ 12%] Building CXX object src/CMakeFiles/LinkDiscoveryTest.dir/ableton/discovery/v1/tst_Messages.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++  -DLINK_PLATFORM_LINUX=1 -DLINK_PLATFORM_UNIX=1 -isystem /<<PKGBUILDDIR>>/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -Wno-multichar   -o CMakeFiles/LinkDiscoveryTest.dir/ableton/discovery/v1/tst_Messages.cpp.o -c /<<PKGBUILDDIR>>/src/ableton/discovery/v1/tst_Messages.cpp
[ 14%] Building CXX object src/CMakeFiles/LinkDiscoveryTest.dir/ableton/test/catch/CatchMain.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++  -DLINK_PLATFORM_LINUX=1 -DLINK_PLATFORM_UNIX=1 -isystem /<<PKGBUILDDIR>>/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -Wno-multichar   -o CMakeFiles/LinkDiscoveryTest.dir/ableton/test/catch/CatchMain.cpp.o -c /<<PKGBUILDDIR>>/src/ableton/test/catch/CatchMain.cpp
[ 17%] Building CXX object src/CMakeFiles/LinkDiscoveryTest.dir/ableton/test/serial_io/SchedulerTree.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++  -DLINK_PLATFORM_LINUX=1 -DLINK_PLATFORM_UNIX=1 -isystem /<<PKGBUILDDIR>>/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -Wno-multichar   -o CMakeFiles/LinkDiscoveryTest.dir/ableton/test/serial_io/SchedulerTree.cpp.o -c /<<PKGBUILDDIR>>/src/ableton/test/serial_io/SchedulerTree.cpp
[ 19%] Linking CXX executable ../bin/LinkDiscoveryTest
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/LinkDiscoveryTest.dir/link.txt --verbose=1
/usr/bin/c++  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -Wno-multichar  -Wl,-z,relro -rdynamic CMakeFiles/LinkDiscoveryTest.dir/ableton/discovery/tst_InterfaceScanner.cpp.o CMakeFiles/LinkDiscoveryTest.dir/ableton/discovery/tst_Payload.cpp.o CMakeFiles/LinkDiscoveryTest.dir/ableton/discovery/tst_PeerGateway.cpp.o CMakeFiles/LinkDiscoveryTest.dir/ableton/discovery/tst_PeerGateways.cpp.o CMakeFiles/LinkDiscoveryTest.dir/ableton/discovery/tst_UdpMessenger.cpp.o CMakeFiles/LinkDiscoveryTest.dir/ableton/discovery/v1/tst_Messages.cpp.o CMakeFiles/LinkDiscoveryTest.dir/ableton/test/catch/CatchMain.cpp.o CMakeFiles/LinkDiscoveryTest.dir/ableton/test/serial_io/SchedulerTree.cpp.o  -o ../bin/LinkDiscoveryTest  -latomic -lpthread 
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 19%] Built target LinkDiscoveryTest
make -f src/CMakeFiles/LinkCoreTest.dir/build.make src/CMakeFiles/LinkCoreTest.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CMakeFiles/LinkCoreTest.dir/DependInfo.cmake --color=
Scanning dependencies of target LinkCoreTest
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f src/CMakeFiles/LinkCoreTest.dir/build.make src/CMakeFiles/LinkCoreTest.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 21%] Building CXX object src/CMakeFiles/LinkCoreTest.dir/ableton/link/tst_Beats.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++  -DLINK_PLATFORM_LINUX=1 -DLINK_PLATFORM_UNIX=1 -isystem /<<PKGBUILDDIR>>/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -Wno-multichar   -o CMakeFiles/LinkCoreTest.dir/ableton/link/tst_Beats.cpp.o -c /<<PKGBUILDDIR>>/src/ableton/link/tst_Beats.cpp
[ 23%] Building CXX object src/CMakeFiles/LinkCoreTest.dir/ableton/link/tst_CircularFifo.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++  -DLINK_PLATFORM_LINUX=1 -DLINK_PLATFORM_UNIX=1 -isystem /<<PKGBUILDDIR>>/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -Wno-multichar   -o CMakeFiles/LinkCoreTest.dir/ableton/link/tst_CircularFifo.cpp.o -c /<<PKGBUILDDIR>>/src/ableton/link/tst_CircularFifo.cpp
In file included from /<<PKGBUILDDIR>>/src/ableton/link/tst_CircularFifo.cpp:20:
/<<PKGBUILDDIR>>/include/ableton/link/CircularFifo.hpp:77:3: error: ‘size_t’ does not name a type
   77 |   size_t nextIndex(const size_t index) const
      |   ^~~~~~
/<<PKGBUILDDIR>>/include/ableton/link/CircularFifo.hpp:26:1: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
   25 | #include <cassert>
  +++ |+#include <cstddef>
   26 | 
/<<PKGBUILDDIR>>/include/ableton/link/CircularFifo.hpp:82:3: error: ‘size_t’ does not name a type
   82 |   size_t previousIndex(const size_t index) const
      |   ^~~~~~
/<<PKGBUILDDIR>>/include/ableton/link/CircularFifo.hpp:82:3: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
/<<PKGBUILDDIR>>/include/ableton/link/CircularFifo.hpp: In member function ‘bool ableton::link::CircularFifo<Type, size>::push(Type)’:
/<<PKGBUILDDIR>>/include/ableton/link/CircularFifo.hpp:48:27: error: there are no arguments to ‘nextIndex’ that depend on a template parameter, so a declaration of ‘nextIndex’ must be available [-fpermissive]
   48 |     const auto nextTail = nextIndex(currentTail);
      |                           ^~~~~~~~~
/<<PKGBUILDDIR>>/include/ableton/link/CircularFifo.hpp:48:27: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/<<PKGBUILDDIR>>/include/ableton/link/CircularFifo.hpp: In member function ‘ableton::link::Optional<Type> ableton::link::CircularFifo<Type, size>::pop()’:
/<<PKGBUILDDIR>>/include/ableton/link/CircularFifo.hpp:67:16: error: there are no arguments to ‘nextIndex’ that depend on a template parameter, so a declaration of ‘nextIndex’ must be available [-fpermissive]
   67 |     head.store(nextIndex(currentHead));
      |                ^~~~~~~~~
/<<PKGBUILDDIR>>/include/ableton/link/CircularFifo.hpp: In instantiation of ‘bool ableton::link::CircularFifo<Type, size>::push(Type) [with Type = int; long unsigned int size = 2]’:
/<<PKGBUILDDIR>>/src/ableton/link/tst_CircularFifo.cpp:34:5:   required from here
/<<PKGBUILDDIR>>/include/ableton/link/CircularFifo.hpp:48:36: error: ‘nextIndex’ was not declared in this scope
   48 |     const auto nextTail = nextIndex(currentTail);
      |                           ~~~~~~~~~^~~~~~~~~~~~~
/<<PKGBUILDDIR>>/include/ableton/link/CircularFifo.hpp: In instantiation of ‘ableton::link::Optional<Type> ableton::link::CircularFifo<Type, size>::pop() [with Type = int; long unsigned int size = 2]’:
/<<PKGBUILDDIR>>/src/ableton/link/tst_CircularFifo.cpp:41:26:   required from here
/<<PKGBUILDDIR>>/include/ableton/link/CircularFifo.hpp:67:25: error: ‘nextIndex’ was not declared in this scope
   67 |     head.store(nextIndex(currentHead));
      |                ~~~~~~~~~^~~~~~~~~~~~~
make[4]: *** [src/CMakeFiles/LinkCoreTest.dir/build.make:79: src/CMakeFiles/LinkCoreTest.dir/ableton/link/tst_CircularFifo.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:174: src/CMakeFiles/LinkCoreTest.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:87: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j1 returned exit code 2
make[1]: *** [debian/rules:31: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:17: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: