[Python-apps-team] Bug#997208: firmware-microbit-micropython: FTBFS: platform.h:25:10: fatal error: cstddef: No such file or directory

Lucas Nussbaum lucas at debian.org
Sat Oct 23 20:11:58 BST 2021


Source: firmware-microbit-micropython
Version: 1.0.1-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> python3 tools/makeversionhdr.py inc/genhdr/microbitversion.h
> Generate inc/genhdr/microbitversion.h
> info: generate for target: bbc-microbit-classic-gcc-nosd 0.2.3 at /<<PKGBUILDDIR>>/yotta_targets/bbc-microbit-classic-gcc-nosd
> CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required):
>   Compatibility with CMake < 2.8.12 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 CMakeLists.txt:16 (cmake_policy):
>   The OLD behavior for policy CMP0017 will be removed from a future version
>   of CMake.
> 
>   The cmake-policies(7) manual explains that the OLD behaviors of all
>   policies are deprecated and that a policy should be set to OLD only under
>   specific short-term circumstances.  Projects should be ported to the NEW
>   behavior and not rely on setting a policy to OLD.
> 
> 
> CMake Deprecation Warning at /usr/share/cmake-3.21/Modules/CMakeForceCompiler.cmake:75 (message):
>   The CMAKE_FORCE_C_COMPILER macro is deprecated.  Instead just set
>   CMAKE_C_COMPILER and allow CMake to identify the compiler.
> Call Stack (most recent call first):
>   /<<PKGBUILDDIR>>/yotta_targets/mbed-gcc/CMake/toolchain.cmake:78 (cmake_force_c_compiler)
>   toolchain.cmake:8 (include)
>   /usr/share/cmake-3.21/Modules/CMakeDetermineSystem.cmake:124 (include)
>   CMakeLists.txt:75 (project)
> 
> 
> CMake Deprecation Warning at /usr/share/cmake-3.21/Modules/CMakeForceCompiler.cmake:89 (message):
>   The CMAKE_FORCE_CXX_COMPILER macro is deprecated.  Instead just set
>   CMAKE_CXX_COMPILER and allow CMake to identify the compiler.
> Call Stack (most recent call first):
>   /<<PKGBUILDDIR>>/yotta_targets/mbed-gcc/CMake/toolchain.cmake:79 (cmake_force_cxx_compiler)
>   toolchain.cmake:8 (include)
>   /usr/share/cmake-3.21/Modules/CMakeDetermineSystem.cmake:124 (include)
>   CMakeLists.txt:75 (project)
> 
> 
> GCC version is: 10.3.1
> -- The ASM compiler identification is GNU
> -- Found assembler: /usr/bin/arm-none-eabi-gcc
> CMake Deprecation Warning at ym/ble/source/CMakeLists.txt:3 (cmake_minimum_required):
>   Compatibility with CMake < 2.8.12 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 ym/ble-nrf51822/source/CMakeLists.txt:3 (cmake_minimum_required):
>   Compatibility with CMake < 2.8.12 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.
> 
> 
> suppressing warnings from ble-nrf51822
> CMake Deprecation Warning at ym/nrf51-sdk/source/CMakeLists.txt:3 (cmake_minimum_required):
>   Compatibility with CMake < 2.8.12 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.
> 
> 
> suppressing warnings from nrf51-sdk
> suppressing ALL warnings from mbed-classic, ble, ble-nrf51822 & nrf51-sdk
> CMake Deprecation Warning at source/CMakeLists.txt:3 (cmake_minimum_required):
>   Compatibility with CMake < 2.8.12 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.
> 
> 
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /<<PKGBUILDDIR>>/build/bbc-microbit-classic-gcc-nosd
> [1/325] Building CXX object ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/Ethernet.cpp.o
> FAILED: ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/Ethernet.cpp.o 
> /usr/bin/arm-none-eabi-g++ -DYOTTA_MODULE_NAME=mbed-classic -I/<<PKGBUILDDIR>>/build/bbc-microbit-classic-gcc-nosd/generated/include -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/yotta_modules/microbit-dal -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic -I/<<PKGBUILDDIR>>/yotta_modules/ble -I/<<PKGBUILDDIR>>/yotta_modules/ble-nrf51822 -I/<<PKGBUILDDIR>>/yotta_modules/nrf51-sdk -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/api -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/hal -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S110 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/crc16 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/scheduler -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/util -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-exceptions -fno-unwind-tables -ffunction-sections -fdata-sections -Wall -Wextra -fno-rtti -fno-threadsafe-statics -mcpu=cortex-m0 -mthumb -D__thumb2__ -Os -g -gdwarf-3 -DNDEBUG   -DTOOLCHAIN_GCC -DTOOLCHAIN_GCC_ARM -DMBED_OPERATORS -DNRF51 -DTARGET_NORDIC -DTARGET_M0 -D__MBED__=1 -DMCU_NORDIC_16K -DTARGET_NRF51_MICROBIT -DTARGET_MCU_NORDIC_16K -DTARGET_MCU_NRF51_16K_S110  -DTARGET_NRF_LFCLK_RC -DTARGET_MCU_NORDIC_16K -D__CORTEX_M0 -DARM_MATH_CM0 -DNO_BLE -include "/<<PKGBUILDDIR>>/build/bbc-microbit-classic-gcc-nosd/yotta_config.h" -w -MMD -MT ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/Ethernet.cpp.o -MF DEPFILE -o ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/Ethernet.cpp.o -c /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/common/Ethernet.cpp
> In file included from /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/api/Ethernet.h:19,
>                  from /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/common/Ethernet.cpp:16:
> /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/api/platform.h:25:10: fatal error: cstddef: No such file or directory
>    25 | #include <cstddef>
>       |          ^~~~~~~~~
> compilation terminated.
> [2/325] Building CXX object ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/BusIn.cpp.o
> FAILED: ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/BusIn.cpp.o 
> /usr/bin/arm-none-eabi-g++ -DYOTTA_MODULE_NAME=mbed-classic -I/<<PKGBUILDDIR>>/build/bbc-microbit-classic-gcc-nosd/generated/include -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/yotta_modules/microbit-dal -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic -I/<<PKGBUILDDIR>>/yotta_modules/ble -I/<<PKGBUILDDIR>>/yotta_modules/ble-nrf51822 -I/<<PKGBUILDDIR>>/yotta_modules/nrf51-sdk -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/api -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/hal -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S110 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/crc16 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/scheduler -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/util -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-exceptions -fno-unwind-tables -ffunction-sections -fdata-sections -Wall -Wextra -fno-rtti -fno-threadsafe-statics -mcpu=cortex-m0 -mthumb -D__thumb2__ -Os -g -gdwarf-3 -DNDEBUG   -DTOOLCHAIN_GCC -DTOOLCHAIN_GCC_ARM -DMBED_OPERATORS -DNRF51 -DTARGET_NORDIC -DTARGET_M0 -D__MBED__=1 -DMCU_NORDIC_16K -DTARGET_NRF51_MICROBIT -DTARGET_MCU_NORDIC_16K -DTARGET_MCU_NRF51_16K_S110  -DTARGET_NRF_LFCLK_RC -DTARGET_MCU_NORDIC_16K -D__CORTEX_M0 -DARM_MATH_CM0 -DNO_BLE -include "/<<PKGBUILDDIR>>/build/bbc-microbit-classic-gcc-nosd/yotta_config.h" -w -MMD -MT ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/BusIn.cpp.o -MF DEPFILE -o ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/BusIn.cpp.o -c /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/common/BusIn.cpp
> In file included from /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/api/BusIn.h:19,
>                  from /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/common/BusIn.cpp:16:
> /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/api/platform.h:25:10: fatal error: cstddef: No such file or directory
>    25 | #include <cstddef>
>       |          ^~~~~~~~~
> compilation terminated.
> [3/325] Building CXX object ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/CAN.cpp.o
> FAILED: ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/CAN.cpp.o 
> /usr/bin/arm-none-eabi-g++ -DYOTTA_MODULE_NAME=mbed-classic -I/<<PKGBUILDDIR>>/build/bbc-microbit-classic-gcc-nosd/generated/include -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/yotta_modules/microbit-dal -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic -I/<<PKGBUILDDIR>>/yotta_modules/ble -I/<<PKGBUILDDIR>>/yotta_modules/ble-nrf51822 -I/<<PKGBUILDDIR>>/yotta_modules/nrf51-sdk -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/api -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/hal -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S110 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/crc16 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/scheduler -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/util -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-exceptions -fno-unwind-tables -ffunction-sections -fdata-sections -Wall -Wextra -fno-rtti -fno-threadsafe-statics -mcpu=cortex-m0 -mthumb -D__thumb2__ -Os -g -gdwarf-3 -DNDEBUG   -DTOOLCHAIN_GCC -DTOOLCHAIN_GCC_ARM -DMBED_OPERATORS -DNRF51 -DTARGET_NORDIC -DTARGET_M0 -D__MBED__=1 -DMCU_NORDIC_16K -DTARGET_NRF51_MICROBIT -DTARGET_MCU_NORDIC_16K -DTARGET_MCU_NRF51_16K_S110  -DTARGET_NRF_LFCLK_RC -DTARGET_MCU_NORDIC_16K -D__CORTEX_M0 -DARM_MATH_CM0 -DNO_BLE -include "/<<PKGBUILDDIR>>/build/bbc-microbit-classic-gcc-nosd/yotta_config.h" -w -MMD -MT ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/CAN.cpp.o -MF DEPFILE -o ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/CAN.cpp.o -c /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/common/CAN.cpp
> In file included from /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/api/CAN.h:19,
>                  from /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/common/CAN.cpp:16:
> /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/api/platform.h:25:10: fatal error: cstddef: No such file or directory
>    25 | #include <cstddef>
>       |          ^~~~~~~~~
> compilation terminated.
> [4/325] Building CXX object ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/BusInOut.cpp.o
> FAILED: ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/BusInOut.cpp.o 
> /usr/bin/arm-none-eabi-g++ -DYOTTA_MODULE_NAME=mbed-classic -I/<<PKGBUILDDIR>>/build/bbc-microbit-classic-gcc-nosd/generated/include -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/yotta_modules/microbit-dal -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic -I/<<PKGBUILDDIR>>/yotta_modules/ble -I/<<PKGBUILDDIR>>/yotta_modules/ble-nrf51822 -I/<<PKGBUILDDIR>>/yotta_modules/nrf51-sdk -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/api -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/hal -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S110 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/crc16 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/scheduler -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/util -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-exceptions -fno-unwind-tables -ffunction-sections -fdata-sections -Wall -Wextra -fno-rtti -fno-threadsafe-statics -mcpu=cortex-m0 -mthumb -D__thumb2__ -Os -g -gdwarf-3 -DNDEBUG   -DTOOLCHAIN_GCC -DTOOLCHAIN_GCC_ARM -DMBED_OPERATORS -DNRF51 -DTARGET_NORDIC -DTARGET_M0 -D__MBED__=1 -DMCU_NORDIC_16K -DTARGET_NRF51_MICROBIT -DTARGET_MCU_NORDIC_16K -DTARGET_MCU_NRF51_16K_S110  -DTARGET_NRF_LFCLK_RC -DTARGET_MCU_NORDIC_16K -D__CORTEX_M0 -DARM_MATH_CM0 -DNO_BLE -include "/<<PKGBUILDDIR>>/build/bbc-microbit-classic-gcc-nosd/yotta_config.h" -w -MMD -MT ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/BusInOut.cpp.o -MF DEPFILE -o ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/BusInOut.cpp.o -c /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/common/BusInOut.cpp
> In file included from /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/api/DigitalInOut.h:19,
>                  from /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/api/BusInOut.h:19,
>                  from /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/common/BusInOut.cpp:16:
> /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/api/platform.h:25:10: fatal error: cstddef: No such file or directory
>    25 | #include <cstddef>
>       |          ^~~~~~~~~
> compilation terminated.
> [5/325] Building CXX object ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/BusOut.cpp.o
> FAILED: ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/BusOut.cpp.o 
> /usr/bin/arm-none-eabi-g++ -DYOTTA_MODULE_NAME=mbed-classic -I/<<PKGBUILDDIR>>/build/bbc-microbit-classic-gcc-nosd/generated/include -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/yotta_modules/microbit-dal -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic -I/<<PKGBUILDDIR>>/yotta_modules/ble -I/<<PKGBUILDDIR>>/yotta_modules/ble-nrf51822 -I/<<PKGBUILDDIR>>/yotta_modules/nrf51-sdk -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/api -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/hal -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM/TARGET_MCU_NRF51_16K_S110 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/crc16 -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/scheduler -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/nordic_sdk/components/libraries/util -I/<<PKGBUILDDIR>>/yotta_modules/mbed-classic/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_MICROBIT -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-exceptions -fno-unwind-tables -ffunction-sections -fdata-sections -Wall -Wextra -fno-rtti -fno-threadsafe-statics -mcpu=cortex-m0 -mthumb -D__thumb2__ -Os -g -gdwarf-3 -DNDEBUG   -DTOOLCHAIN_GCC -DTOOLCHAIN_GCC_ARM -DMBED_OPERATORS -DNRF51 -DTARGET_NORDIC -DTARGET_M0 -D__MBED__=1 -DMCU_NORDIC_16K -DTARGET_NRF51_MICROBIT -DTARGET_MCU_NORDIC_16K -DTARGET_MCU_NRF51_16K_S110  -DTARGET_NRF_LFCLK_RC -DTARGET_MCU_NORDIC_16K -D__CORTEX_M0 -DARM_MATH_CM0 -DNO_BLE -include "/<<PKGBUILDDIR>>/build/bbc-microbit-classic-gcc-nosd/yotta_config.h" -w -MMD -MT ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/BusOut.cpp.o -MF DEPFILE -o ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/BusOut.cpp.o -c /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/common/BusOut.cpp
> In file included from /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/api/DigitalOut.h:19,
>                  from /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/api/BusOut.h:19,
>                  from /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/common/BusOut.cpp:16:
> /<<PKGBUILDDIR>>/yotta_modules/mbed-classic/api/platform.h:25:10: fatal error: cstddef: No such file or directory
>    25 | #include <cstddef>
>       |          ^~~~~~~~~
> compilation terminated.
> [6/325] Building CXX object ym/mbed-classic/existing/CMakeFiles/mbed-classic.dir/common/CallChain.cpp.o
> ninja: build stopped: subcommand failed.
> error: command ['ninja'] failed
> make[2]: *** [Makefile:19: yotta] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/firmware-microbit-micropython_1.0.1-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Python-apps-team mailing list