Source: aseba
Version: 1.6.99+dfsg-7
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Dear maintainer,

aseba fails to build from source. From my build log on amd64:

| [  2%] Building CXX object 
aseba/common/CMakeFiles/asebacommon.dir/msg/TargetDescription.cpp.o
| cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/aseba/common && /usr/bin/c++ 
-DASEBA_ASSERT -I/<<PKGBUILDDIR>>/aseba -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++14   -fPIC -MD -MT 
aseba/common/CMakeFiles/asebacommon.dir/msg/TargetDescription.cpp.o -MF 
CMakeFiles/asebacommon.dir/msg/TargetDescription.cpp.o.d -o 
CMakeFiles/asebacommon.dir/msg/TargetDescription.cpp.o -c 
/<<PKGBUILDDIR>>/aseba/common/msg/TargetDescription.cpp
| In file included from 
/<<PKGBUILDDIR>>/aseba/common/msg/TargetDescription.cpp:20:
| /<<PKGBUILDDIR>>/aseba/common/msg/TargetDescription.h:88:17: error: 
‘uint16_t’ does not name a type
|    88 |                 uint16_t crc() const;
|       |                 ^~~~~~~~
| /<<PKGBUILDDIR>>/aseba/common/msg/TargetDescription.h:26:1: note: ‘uint16_t’ 
is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
|    25 | #include <vector>
|   +++ |+#include <cstdint>
|    26 | 
| /<<PKGBUILDDIR>>/aseba/common/msg/TargetDescription.cpp:26:18: error: no 
declaration matches ‘uint16_t Aseba::TargetDescription::crc() const’
|    26 |         uint16_t TargetDescription::crc() const
|       |                  ^~~~~~~~~~~~~~~~~
| /<<PKGBUILDDIR>>/aseba/common/msg/TargetDescription.cpp:26:18: note: no 
functions named ‘uint16_t Aseba::TargetDescription::crc() const’
| /<<PKGBUILDDIR>>/aseba/common/msg/TargetDescription.h:39:16: note: ‘struct 
Aseba::TargetDescription’ defined here
|    39 |         struct TargetDescription
|       |                ^~~~~~~~~~~~~~~~~
| make[3]: *** [aseba/common/CMakeFiles/asebacommon.dir/build.make:163: 
aseba/common/CMakeFiles/asebacommon.dir/msg/TargetDescription.cpp.o] Error 1
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| make[2]: *** [CMakeFiles/Makefile2:993: 
aseba/common/CMakeFiles/asebacommon.dir/all] Error 2
| make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| make[1]: *** [Makefile:169: all] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j1 "INSTALL=install 
--strip-program=true" VERBOSE=1 returned exit code 2
| make: *** [debian/rules:18: build-arch] Error 25
| dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2

A full build log on riscv64 is also available:
https://buildd.debian.org/status/fetch.php?pkg=aseba&arch=riscv64&ver=1.6.99%2Bdfsg-7&stamp=1693729588&raw=0

Regards
Aurelien

Reply via email to