[Debian-astro-maintainers] Bug#1114151: indi-pentax: FTBFS: /usr/include/libricohcamerasdk/ricoh_camera_sdk/camera_status.hpp:26:13: error: 'uint32_t' does not name a type
Santiago Vila
sanvila at debian.org
Fri Sep 5 19:18:34 BST 2025
Package: src:indi-pentax
Version: 1.0+20221221102411-2
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build.
Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202509/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:indi-pentax, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu ..
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- The CXX compiler identification is GNU 15.2.0
-- The C compiler identification is GNU 15.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found CFITSIO 4.6.2: /usr/lib/x86_64-linux-gnu/libcfitsio.so
-- Found INDI: /usr/lib/x86_64-linux-gnu/libindidriver.so;/usr/lib/x86_64-linux-gnu/libindiAlignmentDriver.so (found version "1.9.9")
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Found LibRaw: /usr/lib/x86_64-linux-gnu/libraw.so (found version "0.21.4")
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so
-- Found PENTAX libraries: /usr/lib/x86_64-linux-gnu/libRicohCameraSDKCpp.so;/usr/lib/x86_64-linux-gnu/libmtpricoh.so.9.3.0;/usr/lib/x86_64-linux-gnu/libpktriggercord.so
-- Performing Test COMPATIBLE_FORTIFY_SOURCE
-- Performing Test COMPATIBLE_FORTIFY_SOURCE - Success
-- Configuring done (0.4s)
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
FETCHCONTENT_FULLY_DISCONNECTED
-- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
dh_auto_build
cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install --strip-program=true" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
/usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f CMakeFiles/indi_pentax.dir/build.make CMakeFiles/indi_pentax.dir/depend
make[3]: 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>> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/indi_pentax.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f CMakeFiles/indi_pentax.dir/build.make CMakeFiles/indi_pentax.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 33%] Building CXX object CMakeFiles/indi_pentax.dir/pktriggercord_ccd.cpp.o
[ 33%] Building CXX object CMakeFiles/indi_pentax.dir/indi_pentax.cpp.o
/usr/bin/c++ -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/libindi -I/usr/include/libraw -I/usr/include/libricohcamerasdk -I/usr/include/libpktriggercord -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -fPIE -O1 -Wa,--noexecstack -Wall -Wextra -Wno-unused-but-set-variable -Wno-format-truncation -g -std=gnu++14 -fPIE -MD -MT CMakeFiles/indi_pentax.dir/pktriggercord_ccd.cpp.o -MF CMakeFiles/indi_pentax.dir/pktriggercord_ccd.cpp.o.d -o CMakeFiles/indi_pentax.dir/pktriggercord_ccd.cpp.o -c /<<PKGBUILDDIR>>/pktriggercord_ccd.cpp
/usr/bin/c++ -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/libindi -I/usr/include/libraw -I/usr/include/libricohcamerasdk -I/usr/include/libpktriggercord -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -fPIE -O1 -Wa,--noexecstack -Wall -Wextra -Wno-unused-but-set-variable -Wno-format-truncation -g -std=gnu++14 -fPIE -MD -MT CMakeFiles/indi_pentax.dir/indi_pentax.cpp.o -MF CMakeFiles/indi_pentax.dir/indi_pentax.cpp.o.d -o CMakeFiles/indi_pentax.dir/indi_pentax.cpp.o -c /<<PKGBUILDDIR>>/indi_pentax.cpp
/<<PKGBUILDDIR>>/pktriggercord_ccd.cpp: In member function âISwitch* PkTriggerCordCCD::create_switch(const char*, std::string*, size_t, int)â:
/<<PKGBUILDDIR>>/pktriggercord_ccd.cpp:703:54: warning: âvoid* calloc(size_t, size_t)â sizes specified with âsizeofâ in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
703 | ISwitch * sw = static_cast<ISwitch *>(calloc(sizeof(ISwitch), numOptions));
| ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/pktriggercord_ccd.cpp:703:54: note: earlier argument should specify number of elements, later size of each element
[ 50%] Building CXX object CMakeFiles/indi_pentax.dir/gphoto_readimage.cpp.o
/usr/bin/c++ -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/libindi -I/usr/include/libraw -I/usr/include/libricohcamerasdk -I/usr/include/libpktriggercord -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -fPIE -O1 -Wa,--noexecstack -Wall -Wextra -Wno-unused-but-set-variable -Wno-format-truncation -g -std=gnu++14 -fPIE -MD -MT CMakeFiles/indi_pentax.dir/gphoto_readimage.cpp.o -MF CMakeFiles/indi_pentax.dir/gphoto_readimage.cpp.o.d -o CMakeFiles/indi_pentax.dir/gphoto_readimage.cpp.o -c /<<PKGBUILDDIR>>/gphoto_readimage.cpp
[ 66%] Building CXX object CMakeFiles/indi_pentax.dir/pentax_ccd.cpp.o
/usr/bin/c++ -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/libindi -I/usr/include/libraw -I/usr/include/libricohcamerasdk -I/usr/include/libpktriggercord -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -fPIE -O1 -Wa,--noexecstack -Wall -Wextra -Wno-unused-but-set-variable -Wno-format-truncation -g -std=gnu++14 -fPIE -MD -MT CMakeFiles/indi_pentax.dir/pentax_ccd.cpp.o -MF CMakeFiles/indi_pentax.dir/pentax_ccd.cpp.o.d -o CMakeFiles/indi_pentax.dir/pentax_ccd.cpp.o -c /<<PKGBUILDDIR>>/pentax_ccd.cpp
/<<PKGBUILDDIR>>/pentax_ccd.cpp: In member function âISwitch* PentaxCCD::create_switch(const char*, std::vector<std::__cxx11::basic_string<char> >, int)â:
/<<PKGBUILDDIR>>/pentax_ccd.cpp:507:54: warning: âvoid* calloc(size_t, size_t)â sizes specified with âsizeofâ in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
507 | ISwitch * sw = static_cast<ISwitch *>(calloc(sizeof(ISwitch), options.size()));
| ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/pentax_ccd.cpp:507:54: note: earlier argument should specify number of elements, later size of each element
[ 83%] Building CXX object CMakeFiles/indi_pentax.dir/pentax_event_handler.cpp.o
/usr/bin/c++ -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/usr/include/libindi -I/usr/include/libraw -I/usr/include/libricohcamerasdk -I/usr/include/libpktriggercord -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -fPIE -O1 -Wa,--noexecstack -Wall -Wextra -Wno-unused-but-set-variable -Wno-format-truncation -g -std=gnu++14 -fPIE -MD -MT CMakeFiles/indi_pentax.dir/pentax_event_handler.cpp.o -MF CMakeFiles/indi_pentax.dir/pentax_event_handler.cpp.o.d -o CMakeFiles/indi_pentax.dir/pentax_event_handler.cpp.o -c /<<PKGBUILDDIR>>/pentax_event_handler.cpp
In file included from /usr/include/libricohcamerasdk/ricoh_camera_sdk/camera_device.hpp:9,
from /usr/include/libricohcamerasdk/ricoh_camera_sdk.hpp:6,
from /<<PKGBUILDDIR>>/pentax_event_handler.h:26,
from /<<PKGBUILDDIR>>/pentax_event_handler.cpp:20:
/usr/include/libricohcamerasdk/ricoh_camera_sdk/camera_status.hpp:26:13: error: âuint32_tâ does not name a type
26 | virtual uint32_t getBatteryLevel() const = 0;
| ^~~~~~~~
/usr/include/libricohcamerasdk/ricoh_camera_sdk/camera_status.hpp:1:1: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
+++ |+#include <cstdint>
1 | // Copyright (c) 2017 Ricoh Company, Ltd. All Rights Reserved.
make[3]: *** [CMakeFiles/indi_pentax.dir/build.make:138: CMakeFiles/indi_pentax.dir/pentax_event_handler.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:90: CMakeFiles/indi_pentax.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Debian-astro-maintainers
mailing list