Package: src:ubertooth
Version: 2018.12.R1-5.2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Creating ubertooth-firmare-source.tar.gz:
cp -rf firmware ubertooth-firmware-source
cd ubertooth-firmware-source ; patch -R -Np2 < 
../debian/patches/02_fix_missing_dfu.patch ; \
  patch -Np2 < ../debian/patches_extra/patch_include_source.patch
patching file common.mk
patching file bootloader/Makefile
patching file common.mk
cd ubertooth-firmware-source ; sed -i 's/REPLACE_ME_WITH_VERSION/2018-12-R1/' 
common.mk
GZIP=-9n tar --mtime='Mon Jun 10 23:39:47 UTC 2024' --sort=name --owner=root 
--group=root \
  --mode=go=rX,u+rw,a-s -czvf ubertooth-firmware-source.tar.gz \
  ubertooth-firmware-source/
tar: Option --mtime: Treating date 'Mon Jun 10 23:39:47 UTC 2024' as 2024-06-10 
23:39:47
ubertooth-firmware-source/
ubertooth-firmware-source/Makefile
ubertooth-firmware-source/README
ubertooth-firmware-source/assembly_test/
ubertooth-firmware-source/assembly_test/Makefile
ubertooth-firmware-source/assembly_test/README
ubertooth-firmware-source/assembly_test/assembly_test.c
ubertooth-firmware-source/blinky/
ubertooth-firmware-source/blinky/Makefile
ubertooth-firmware-source/blinky/README
ubertooth-firmware-source/blinky/blinky.c
ubertooth-firmware-source/bluetooth_rxtx/
ubertooth-firmware-source/bluetooth_rxtx/Makefile
ubertooth-firmware-source/bluetooth_rxtx/README
ubertooth-firmware-source/bluetooth_rxtx/bluetooth.c
ubertooth-firmware-source/bluetooth_rxtx/bluetooth.h
ubertooth-firmware-source/bluetooth_rxtx/bluetooth_le.c
ubertooth-firmware-source/bluetooth_rxtx/bluetooth_le.h
gzip: warning: GZIP environment variable is deprecated; use an alias or script
ubertooth-firmware-source/bluetooth_rxtx/bluetooth_rxtx.c
ubertooth-firmware-source/bluetooth_rxtx/cc2400_rangetest.c
ubertooth-firmware-source/bluetooth_rxtx/cc2400_rangetest.h
ubertooth-firmware-source/bluetooth_rxtx/debug_uart.c
ubertooth-firmware-source/bluetooth_rxtx/debug_uart.h
ubertooth-firmware-source/bluetooth_rxtx/ego.c
ubertooth-firmware-source/bluetooth_rxtx/ego.h
ubertooth-firmware-source/bluetooth_rxtx/le_phy.c
ubertooth-firmware-source/bluetooth_rxtx/queue.c
ubertooth-firmware-source/bluetooth_rxtx/queue.h
ubertooth-firmware-source/bluetooth_rxtx/tinyprintf.c
ubertooth-firmware-source/bluetooth_rxtx/tinyprintf.h
ubertooth-firmware-source/bluetooth_rxtx/ubertooth_clock.c
ubertooth-firmware-source/bluetooth_rxtx/ubertooth_clock.h
ubertooth-firmware-source/bluetooth_rxtx/ubertooth_cs.c
ubertooth-firmware-source/bluetooth_rxtx/ubertooth_cs.h
ubertooth-firmware-source/bluetooth_rxtx/ubertooth_dma.c
ubertooth-firmware-source/bluetooth_rxtx/ubertooth_dma.h
ubertooth-firmware-source/bluetooth_rxtx/ubertooth_rssi.c
ubertooth-firmware-source/bluetooth_rxtx/ubertooth_rssi.h
ubertooth-firmware-source/bluetooth_rxtx/ubertooth_usb.c
ubertooth-firmware-source/bluetooth_rxtx/ubertooth_usb.h
ubertooth-firmware-source/bootloader/
ubertooth-firmware-source/bootloader/Makefile
ubertooth-firmware-source/bootloader/README
ubertooth-firmware-source/bootloader/bootloader.cpp
ubertooth-firmware-source/bootloader/dfu.cpp
ubertooth-firmware-source/bootloader/dfu.h
ubertooth-firmware-source/bootloader/flash.h
ubertooth-firmware-source/bootloader/iap.cpp
ubertooth-firmware-source/bootloader/iap.h
ubertooth-firmware-source/cc2400_test/
ubertooth-firmware-source/cc2400_test/Makefile
ubertooth-firmware-source/cc2400_test/README
ubertooth-firmware-source/cc2400_test/cc2400_test.c
ubertooth-firmware-source/clock_test/
ubertooth-firmware-source/clock_test/Makefile
ubertooth-firmware-source/clock_test/README
ubertooth-firmware-source/clock_test/clock_test.c
ubertooth-firmware-source/common/
ubertooth-firmware-source/common/LPC17xx_Interrupts.c
ubertooth-firmware-source/common/LPC17xx_Linker_Script_bootloader.ld
ubertooth-firmware-source/common/LPC17xx_Linker_Script_with_bootloader.ld
ubertooth-firmware-source/common/LPC17xx_Linker_Script_without_bootloader.ld
ubertooth-firmware-source/common/LPC17xx_Startup.c
ubertooth-firmware-source/common/README
ubertooth-firmware-source/common/cc2400.h
ubertooth-firmware-source/common/lpc17.h
ubertooth-firmware-source/common/lpcusb/
ubertooth-firmware-source/common/lpcusb/README
ubertooth-firmware-source/common/lpcusb/target/
ubertooth-firmware-source/common/lpcusb/target/debug.h
ubertooth-firmware-source/common/lpcusb/target/type.h
ubertooth-firmware-source/common/lpcusb/target/usbapi.h
ubertooth-firmware-source/common/lpcusb/target/usbcontrol.c
ubertooth-firmware-source/common/lpcusb/target/usbhw_lpc.c
ubertooth-firmware-source/common/lpcusb/target/usbhw_lpc.h
ubertooth-firmware-source/common/lpcusb/target/usbinit.c
ubertooth-firmware-source/common/lpcusb/target/usbstdreq.c
ubertooth-firmware-source/common/lpcusb/target/usbstruct.h
ubertooth-firmware-source/common/sections.ld
ubertooth-firmware-source/common/serial_fifo.c
ubertooth-firmware-source/common/serial_fifo.h
ubertooth-firmware-source/common/types.h
ubertooth-firmware-source/common/ubertooth.c
ubertooth-firmware-source/common/ubertooth.h
ubertooth-firmware-source/common/usb_serial.c
ubertooth-firmware-source/common/usb_serial.h
ubertooth-firmware-source/common.mk
ubertooth-firmware-source/ctags.mk
ubertooth-firmware-source/tc13badge/
ubertooth-firmware-source/tc13badge/Makefile
ubertooth-firmware-source/tc13badge/R5F212L4.ld
ubertooth-firmware-source/tc13badge/README
ubertooth-firmware-source/tc13badge/bitmaps.h
ubertooth-firmware-source/tc13badge/cc2400.h
ubertooth-firmware-source/tc13badge/init.S
ubertooth-firmware-source/tc13badge/ivects.S
ubertooth-firmware-source/tc13badge/mkports
ubertooth-firmware-source/tc13badge/r8c2l.io
ubertooth-firmware-source/tc13badge/tc13badge.c
ubertooth-firmware-source/tc13badge/tc13badge.h
ubertooth-firmware-source/tc13badge/toorcon.c
ubertooth-firmware-source/usb_test/
ubertooth-firmware-source/usb_test/Makefile
ubertooth-firmware-source/usb_test/README
ubertooth-firmware-source/usb_test/usb_test.c
#
dh_auto_configure --sourcedirectory=host -- -DLIB_SUFFIX=/x86_64-linux-gnu \
  -DUBERTOOTH_GROUP=plugdev -DUDEV_RULES_PATH=/usr/lib/udev/rules.d
        cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb 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 "-GUnix 
Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu 
-DLIB_SUFFIX=/x86_64-linux-gnu -DUBERTOOTH_GROUP=plugdev -DUDEV_RULES_PATH=/usr/lib/udev/rules.d 
../host
CMake Deprecation Warning at CMakeLists.txt:23 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- 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
-- 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
CMake Warning (dev) at CMakeLists.txt:28 (set):
  implicitly converting 'INT' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:29 (set):
  implicitly converting 'INT' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Setting version string 2018-12-R1
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Found LIBBTBB: /lib/x86_64-linux-gnu/libbtbb.so
-- Checking for module 'libusb-1.0'
--   Found libusb-1.0, version 1.0.27
-- Found LIBUSB: /usr/lib/x86_64-linux-gnu/libusb-1.0.so
-- Building shared library
-- Checking for module 'bluez'
--   Found bluez, version 5.73
-- Found LIBBLUETOOTH: /usr/lib/x86_64-linux-gnu/libbluetooth.so
CMake Deprecation Warning at misc/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at misc/udev/CMakeLists.txt:1 
(cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Setting udev rule group to - plugdev
-- Ubertooth udev rules will be installed to '/usr/lib/udev/rules.d' upon 
running 'make install'
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.12.4", minimum 
required is "3")
-- Configuring done (0.7s)
-- 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_configure --sourcedirectory=firmware
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build --sourcedirectory=host
        cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install 
--strip-program=true" VERBOSE=1
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
/usr/bin/cmake -S/<<PKGBUILDDIR>>/host -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[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f libubertooth/src/CMakeFiles/ubertooth.dir/build.make 
libubertooth/src/CMakeFiles/ubertooth.dir/depend
make  -f python/specan_ui/CMakeFiles/specan.dir/build.make 
python/specan_ui/CMakeFiles/specan.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>>/host 
/<<PKGBUILDDIR>>/host/libubertooth/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libubertooth/src 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libubertooth/src/CMakeFiles/ubertooth.dir/DependInfo.cmake "--color="
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>>/host 
/<<PKGBUILDDIR>>/host/python/specan_ui /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python/specan_ui 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python/specan_ui/CMakeFiles/specan.dir/DependInfo.cmake "--color="
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f python/specan_ui/CMakeFiles/specan.dir/build.make 
python/specan_ui/CMakeFiles/specan.dir/build
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f libubertooth/src/CMakeFiles/ubertooth.dir/build.make 
libubertooth/src/CMakeFiles/ubertooth.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[  2%] Generating build/timestamp
[  5%] Building C object libubertooth/src/CMakeFiles/ubertooth.dir/ubertooth.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python/specan_ui && /usr/bin/python3 
setup.py build
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libubertooth/src && /usr/bin/cc -DRELEASE=\"2018-12-R1\" 
-DVERSION=\"1.1\" -Dubertooth_EXPORTS -I/usr/include/libusb-1.0 -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT libubertooth/src/CMakeFiles/ubertooth.dir/ubertooth.c.o -MF 
CMakeFiles/ubertooth.dir/ubertooth.c.o.d -o CMakeFiles/ubertooth.dir/ubertooth.c.o -c 
/<<PKGBUILDDIR>>/host/libubertooth/src/ubertooth.c
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python/specan_ui/setup.py", line 13, in 
<module>
    from distutils.core import setup
ModuleNotFoundError: No module named 'distutils'
make[4]: *** [python/specan_ui/CMakeFiles/specan.dir/build.make:77: 
python/specan_ui/build/timestamp] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:665: 
python/specan_ui/CMakeFiles/specan.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....
[  8%] Building C object 
libubertooth/src/CMakeFiles/ubertooth.dir/ubertooth_callback.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libubertooth/src && /usr/bin/cc -DRELEASE=\"2018-12-R1\" 
-DVERSION=\"1.1\" -Dubertooth_EXPORTS -I/usr/include/libusb-1.0 -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT libubertooth/src/CMakeFiles/ubertooth.dir/ubertooth_callback.c.o -MF 
CMakeFiles/ubertooth.dir/ubertooth_callback.c.o.d -o CMakeFiles/ubertooth.dir/ubertooth_callback.c.o -c 
/<<PKGBUILDDIR>>/host/libubertooth/src/ubertooth_callback.c
[ 11%] Building C object 
libubertooth/src/CMakeFiles/ubertooth.dir/ubertooth_control.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libubertooth/src && /usr/bin/cc -DRELEASE=\"2018-12-R1\" 
-DVERSION=\"1.1\" -Dubertooth_EXPORTS -I/usr/include/libusb-1.0 -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT libubertooth/src/CMakeFiles/ubertooth.dir/ubertooth_control.c.o -MF 
CMakeFiles/ubertooth.dir/ubertooth_control.c.o.d -o CMakeFiles/ubertooth.dir/ubertooth_control.c.o -c 
/<<PKGBUILDDIR>>/host/libubertooth/src/ubertooth_control.c
[ 14%] Building C object 
libubertooth/src/CMakeFiles/ubertooth.dir/ubertooth_fifo.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libubertooth/src && /usr/bin/cc -DRELEASE=\"2018-12-R1\" 
-DVERSION=\"1.1\" -Dubertooth_EXPORTS -I/usr/include/libusb-1.0 -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT libubertooth/src/CMakeFiles/ubertooth.dir/ubertooth_fifo.c.o -MF 
CMakeFiles/ubertooth.dir/ubertooth_fifo.c.o.d -o CMakeFiles/ubertooth.dir/ubertooth_fifo.c.o -c 
/<<PKGBUILDDIR>>/host/libubertooth/src/ubertooth_fifo.c
[ 17%] Linking C shared library libubertooth.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libubertooth/src && /usr/bin/cmake -E 
cmake_link_script CMakeFiles/ubertooth.dir/link.txt --verbose=1
/usr/bin/cc -fPIC -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -shared 
-Wl,-soname,libubertooth.so.1 -o libubertooth.so.1.1 CMakeFiles/ubertooth.dir/ubertooth.c.o 
CMakeFiles/ubertooth.dir/ubertooth_callback.c.o 
CMakeFiles/ubertooth.dir/ubertooth_control.c.o CMakeFiles/ubertooth.dir/ubertooth_fifo.c.o  
-lusb-1.0 -lbtbb
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libubertooth/src && /usr/bin/cmake -E 
cmake_symlink_library libubertooth.so.1.1 libubertooth.so.1 libubertooth.so
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 17%] Built target ubertooth
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:139: all] Error 2
make[2]: 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[1]: *** [debian/rules:51: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:23: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202407/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to