[Failed] Zephyr / zephyr-daily #102 (master) #builds


Buildkite <notifications@...>
 

Scheduled build Duration: 4 hours, 3 minutes, 40 seconds
Build #102 | master | adb62ea
View Build →
✖︎

4 failures:

samples/bluetooth/hci_spi/sample.bluetooth.hci_spi in nrf51dk_nrf51422:samples/bluetooth/hci_spi/sample.bluetooth
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/samples/bluetooth/hci_spi
-- Zephyr version: 2.4.99 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.7.2", minimum required is "0.7.1")
-- Board: nrf51dk_nrf51422
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.11.3)
-- Found dtc: /opt/sdk/zephyr-sdk-0.11.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/nrf51dk_nrf51422/nrf51dk_nrf51422.dts
-- Found devicetree overlay: /workdir/zephyr/samples/bluetooth/hci_spi/boards/nrf51dk_nrf51422.overlay
-- Generated zephyr.dts: /workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_spi/sample.bluetooth.hci_spi/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_spi/sample.bluetooth.hci_spi/zephyr/include/generated/devicetree_unfixed.h
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/nrf51dk_nrf51422/nrf51dk_nrf51422_defconfig'
Merged configuration '/workdir/zephyr/samples/bluetooth/hci_spi/prj.conf'
Configuration saved to '/workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_spi/sample.bluetooth.hci_spi/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_spi/sample.bluetooth.hci_spi/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.11.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_spi/sample.bluetooth.hci_spi
[1/177] Preparing syscall dependency handling

[2/177] Generating misc/generated/syscalls_subdirs.trigger
[3/177] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/177] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/177] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[6/177] Generating include/generated/driver-validation.h
[7/177] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/177] Generating include/generated/offsets.h
[9/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[10/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[11/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[12/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[13/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[14/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[15/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[16/177] Building C object CMakeFiles/app.dir/src/main.c.obj
[17/177] Linking C static library app/libapp.a
[18/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[19/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[20/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mempool.c.obj
[21/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[22/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[23/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[24/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[25/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[26/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[27/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[28/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[29/177] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[30/177] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
[31/177] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
[32/177] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/prf.c.obj
[33/177] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/utils/addr_utils.c.obj
[34/177] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/policy/policy_residency.c.obj
[35/177] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/console/uart_console.c.obj
[36/177] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/power.c.obj
[37/177] Building C object zephyr/subsys/random/CMakeFiles/subsys__random.dir/rand32_entropy_device.c.obj
[38/177] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/sys_clock_init.c.obj
[39/177] Generating linker.cmd
[40/177] Building C object zephyr/CMakeFiles/zephyr_prebuilt.dir/misc/empty_file.c.obj
[41/177] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[42/177] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[43/177] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/nrf_rtc_timer.c.obj
[44/177] Linking C static library zephyr/arch/common/libisr_tables.a
[45/177] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/clock_control/clock_control_nrf.c.obj
[46/177] Linking C static library zephyr/arch/common/libarch__common.a
[47/177] Linking C static library zephyr/libzephyr.a
[48/177] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
[49/177] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
[50/177] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
[51/177] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
[52/177] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
[53/177] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
[54/177] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
[55/177] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
[56/177] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
[57/177] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
[58/177] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
[59/177] Linking C static library zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a
[60/177] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
[61/177] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
[62/177] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
[63/177] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/util.c.obj
[64/177] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
[65/177] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
[66/177] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
[67/177] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
[68/177] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
[69/177] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
[70/177] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
[71/177] Linking C static library zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a
[72/177] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
[73/177] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
[74/177] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
[75/177] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
[76/177] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
[77/177] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
[78/177] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
[79/177] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
[80/177] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
[81/177] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
[82/177] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
[83/177] Linking C static library zephyr/lib/libc/minimal/liblib__libc__minimal.a
[84/177] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj
[85/177] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj
[86/177] Linking C static library zephyr/lib/posix/liblib__posix.a
[87/177] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/dummy.c.obj
[88/177] Building C object zephyr/soc/arm/nordic_nrf/nrf51/CMakeFiles/soc__arm__nordic_nrf__nrf51.dir/soc.c.obj
[89/177] Building C object zephyr/soc/arm/nordic_nrf/nrf51/CMakeFiles/soc__arm__nordic_nrf__nrf51.dir/power.c.obj
[90/177] Linking C static library zephyr/soc/arm/nordic_nrf/nrf51/libsoc__arm__nordic_nrf__nrf51.a
[91/177] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/log.c.obj
[92/177] Linking C static library zephyr/subsys/bluetooth/common/libsubsys__bluetooth__common.a
[93/177] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_common.c.obj
[94/177] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_raw.c.obj
[95/177] Linking C static library zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a
[96/177] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/mem.c.obj
[97/177] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/memq.c.obj
[98/177] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/mayfly.c.obj
[99/177] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ll_addr.c.obj
[100/177] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ll_tx_pwr.c.obj
[101/177] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/hci/hci_driver.c.obj
[102/177] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ticker/ticker.c.obj
[103/177] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/crypto/crypto.c.obj
[104/177] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/hci/hci.c.obj
[105/177] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_adv.c.obj
[106/177] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull.c.obj
[107/177] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_scan.c.obj
[108/177] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_slave.c.obj
[109/177] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj
FAILED: zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj
ccache /opt/sdk/zephyr-sdk-0.11.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v2.4.0-36-gadb62ea290ee -DKERNEL -DNRF51 -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I../../../../../../subsys/bluetooth/controller/ll_sw/nordic/lll -I../../../../../../subsys/bluetooth/controller/ll_sw/nordic -I../../../../../../subsys/bluetooth/controller/hci/nordic -I../../../../../../subsys/bluetooth/controller/. -I../../../../../../subsys/bluetooth/controller/include -I../../../../../../subsys/bluetooth/controller/ll_sw -I../../../../../../include -Izephyr/include/generated -I../../../../../../soc/arm/nordic_nrf/nrf51 -I../../../../../../subsys/bluetooth -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/nordic/nrfx -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/nordic/nrfx/drivers/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/nordic/nrfx/mdk -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/nordic/. -isystem ../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.11.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/9.2.0/include -isystem /opt/sdk/zephyr-sdk-0.11.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/9.2.0/include-fixed -Os -imacros /workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_spi/sample.bluetooth.hci_spi/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m0 -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/samples/bluetooth/hci_spi=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -O2 -MD -MT zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj -MF zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj.d -o zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj   -c /workdir/zephyr/subsys/bluetooth/controller/ll_sw/ull_conn.c
/workdir/zephyr/subsys/bluetooth/controller/ll_sw/ull_conn.c: In function 'force_md_cnt_calc':
/workdir/zephyr/subsys/bluetooth/controller/ll_sw/ull_conn.c:6330:19: error: 'CONFIG_BT_CTLR_DATA_LENGTH_MAX' undeclared (first use in this function)
 6330 |  time_incoming = (CONFIG_BT_CTLR_DATA_LENGTH_MAX << 3) *
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/bluetooth/controller/ll_sw/ull_conn.c:6330:19: note: each undeclared identifier is reported only once for each function it appears in
[110/177] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_master.c.obj
[111/177] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_sched.c.obj
ninja: build stopped: subcommand failed.

in Job #638b249a-ea9c-4cd1-95ea-502f2fe9c08f

samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.arm in /workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_spi/sample.bluetooth.hci_spi:samples/bluetooth/hci_uart/sample.bluetooth
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/samples/bluetooth/hci_uart
-- Zephyr version: 2.4.99 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.7.2", minimum required is "0.7.1")
-- Board: nrf51dk_nrf51422
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.11.3)
-- Found dtc: /opt/sdk/zephyr-sdk-0.11.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/nrf51dk_nrf51422/nrf51dk_nrf51422.dts
-- Found devicetree overlay: /workdir/zephyr/samples/bluetooth/hci_uart/boards/nrf51dk_nrf51422.overlay
-- Generated zephyr.dts: /workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.arm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.arm/zephyr/include/generated/devicetree_unfixed.h
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/nrf51dk_nrf51422/nrf51dk_nrf51422_defconfig'
Merged configuration '/workdir/zephyr/samples/bluetooth/hci_uart/prj.conf'
Merged configuration '/workdir/zephyr/samples/bluetooth/hci_uart/boards/nrf51dk_nrf51422.conf'
Configuration saved to '/workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.arm/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.arm/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.11.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.arm
[1/174] Preparing syscall dependency handling

[2/174] Generating misc/generated/syscalls_subdirs.trigger
[3/174] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/174] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/174] Generating include/generated/driver-validation.h
[6/174] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[7/174] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/174] Generating include/generated/offsets.h
[9/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[10/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[11/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[12/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[13/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[14/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[15/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[16/174] Building C object CMakeFiles/app.dir/src/main.c.obj
[17/174] Linking C static library app/libapp.a
[18/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[19/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mempool.c.obj
[20/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[21/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[22/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[23/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[24/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[25/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[26/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[27/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[28/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[29/174] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[30/174] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
[31/174] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
[32/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/prf.c.obj
[33/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/utils/addr_utils.c.obj
[34/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/power.c.obj
[35/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/policy/policy_residency.c.obj
[36/174] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/sys_clock_init.c.obj
[37/174] Generating linker.cmd
[38/174] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/clock_control/clock_control_nrf.c.obj
[39/174] Building C object zephyr/CMakeFiles/zephyr_prebuilt.dir/misc/empty_file.c.obj
[40/174] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[41/174] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/nrf_rtc_timer.c.obj
[42/174] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[43/174] Linking C static library zephyr/libzephyr.a
[44/174] Linking C static library zephyr/arch/common/libisr_tables.a
[45/174] Linking C static library zephyr/arch/common/libarch__common.a
[46/174] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
[47/174] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
[48/174] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
[49/174] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
[50/174] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
[51/174] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
[52/174] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
[53/174] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
[54/174] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
[55/174] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
[56/174] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
[57/174] Linking C static library zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a
[58/174] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
[59/174] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
[60/174] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
[61/174] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
[62/174] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
[63/174] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
[64/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
[65/174] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
[66/174] Linking C static library zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a
[67/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
[68/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
[69/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
[70/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
[71/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
[72/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
[73/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ticker/ticker.c.obj
[74/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
[75/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
[76/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
[77/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
[78/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
[79/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
[80/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
[81/174] Linking C static library zephyr/lib/libc/minimal/liblib__libc__minimal.a
[82/174] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj
[83/174] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj
[84/174] Linking C static library zephyr/lib/posix/liblib__posix.a
[85/174] Building C object zephyr/soc/arm/nordic_nrf/nrf51/CMakeFiles/soc__arm__nordic_nrf__nrf51.dir/soc.c.obj
[86/174] Building C object zephyr/soc/arm/nordic_nrf/nrf51/CMakeFiles/soc__arm__nordic_nrf__nrf51.dir/power.c.obj
[87/174] Linking C static library zephyr/soc/arm/nordic_nrf/nrf51/libsoc__arm__nordic_nrf__nrf51.a
[88/174] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/dummy.c.obj
[89/174] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/log.c.obj
[90/174] Linking C static library zephyr/subsys/bluetooth/common/libsubsys__bluetooth__common.a
[91/174] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_common.c.obj
[92/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/memq.c.obj
[93/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/mem.c.obj
[94/174] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_raw.c.obj
[95/174] Linking C static library zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a
[96/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/mayfly.c.obj
[97/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/util.c.obj
[98/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ll_addr.c.obj
[99/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ll_tx_pwr.c.obj
[100/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/crypto/crypto.c.obj
[101/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/hci/hci_driver.c.obj
[102/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_adv.c.obj
[103/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull.c.obj
[104/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/hci/hci.c.obj
[105/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_scan.c.obj
[106/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_slave.c.obj
[107/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj
FAILED: zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj
ccache /opt/sdk/zephyr-sdk-0.11.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v2.4.0-36-gadb62ea290ee -DKERNEL -DNRF51 -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I../../../../../../subsys/bluetooth/controller/ll_sw/nordic/lll -I../../../../../../subsys/bluetooth/controller/ll_sw/nordic -I../../../../../../subsys/bluetooth/controller/hci/nordic -I../../../../../../subsys/bluetooth/controller/. -I../../../../../../subsys/bluetooth/controller/include -I../../../../../../subsys/bluetooth/controller/ll_sw -I../../../../../../include -Izephyr/include/generated -I../../../../../../soc/arm/nordic_nrf/nrf51 -I../../../../../../subsys/bluetooth -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/nordic/nrfx -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/nordic/nrfx/drivers/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/nordic/nrfx/mdk -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/nordic/. -isystem ../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.11.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/9.2.0/include -isystem /opt/sdk/zephyr-sdk-0.11.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/9.2.0/include-fixed -Os -imacros /workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.arm/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m0 -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/samples/bluetooth/hci_uart=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -O2 -MD -MT zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj -MF zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj.d -o zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj   -c /workdir/zephyr/subsys/bluetooth/controller/ll_sw/ull_conn.c
/workdir/zephyr/subsys/bluetooth/controller/ll_sw/ull_conn.c: In function 'force_md_cnt_calc':
/workdir/zephyr/subsys/bluetooth/controller/ll_sw/ull_conn.c:6330:19: error: 'CONFIG_BT_CTLR_DATA_LENGTH_MAX' undeclared (first use in this function)
 6330 |  time_incoming = (CONFIG_BT_CTLR_DATA_LENGTH_MAX << 3) *
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/bluetooth/controller/ll_sw/ull_conn.c:6330:19: note: each undeclared identifier is reported only once for each function it appears in
[108/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_master.c.obj
[109/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_sched.c.obj
ninja: build stopped: subcommand failed.

in Job #638b249a-ea9c-4cd1-95ea-502f2fe9c08f

samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.nrf5 in /workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.arm:samples/bluetooth/hci_uart/sample.bluetooth
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/samples/bluetooth/hci_uart
-- Zephyr version: 2.4.99 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.7.2", minimum required is "0.7.1")
-- Board: nrf51dk_nrf51422
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.11.3)
-- Found dtc: /opt/sdk/zephyr-sdk-0.11.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/nrf51dk_nrf51422/nrf51dk_nrf51422.dts
-- Found devicetree overlay: /workdir/zephyr/samples/bluetooth/hci_uart/boards/nrf51dk_nrf51422.overlay
-- Generated zephyr.dts: /workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.nrf5/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.nrf5/zephyr/include/generated/devicetree_unfixed.h
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/nrf51dk_nrf51422/nrf51dk_nrf51422_defconfig'
Merged configuration '/workdir/zephyr/samples/bluetooth/hci_uart/prj.conf'
Merged configuration '/workdir/zephyr/samples/bluetooth/hci_uart/boards/nrf51dk_nrf51422.conf'
Configuration saved to '/workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.nrf5/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.nrf5/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.11.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.nrf5
[1/174] Preparing syscall dependency handling

[2/174] Generating misc/generated/syscalls_subdirs.trigger
[3/174] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/174] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/174] Generating include/generated/driver-validation.h
[6/174] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[7/174] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/174] Generating include/generated/offsets.h
[9/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[10/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[11/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[12/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[13/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[14/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[15/174] Building C object CMakeFiles/app.dir/src/main.c.obj
[16/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[17/174] Linking C static library app/libapp.a
[18/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[19/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mempool.c.obj
[20/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[21/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[22/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[23/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[24/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[25/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[26/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[27/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[28/174] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[29/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[30/174] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
[31/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/utils/addr_utils.c.obj
[32/174] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
[33/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/power.c.obj
[34/174] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/prf.c.obj
[35/174] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/policy/policy_residency.c.obj
[36/174] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/sys_clock_init.c.obj
[37/174] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[38/174] Generating linker.cmd
[39/174] Building C object zephyr/CMakeFiles/zephyr_prebuilt.dir/misc/empty_file.c.obj
[40/174] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/nrf_rtc_timer.c.obj
[41/174] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[42/174] Linking C static library zephyr/arch/common/libisr_tables.a
[43/174] Linking C static library zephyr/arch/common/libarch__common.a
[44/174] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
[45/174] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
[46/174] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/clock_control/clock_control_nrf.c.obj
[47/174] Linking C static library zephyr/libzephyr.a
[48/174] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
[49/174] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
[50/174] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
[51/174] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
[52/174] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
[53/174] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
[54/174] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
[55/174] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
[56/174] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
[57/174] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
[58/174] Linking C static library zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a
[59/174] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
[60/174] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
[61/174] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
[62/174] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
[63/174] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
[64/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
[65/174] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
[66/174] Linking C static library zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a
[67/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
[68/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
[69/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
[70/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ticker/ticker.c.obj
[71/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
[72/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
[73/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
[74/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
[75/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
[76/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
[77/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
[78/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
[79/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
[80/174] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
[81/174] Linking C static library zephyr/lib/libc/minimal/liblib__libc__minimal.a
[82/174] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj
[83/174] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj
[84/174] Linking C static library zephyr/lib/posix/liblib__posix.a
[85/174] Building C object zephyr/soc/arm/nordic_nrf/nrf51/CMakeFiles/soc__arm__nordic_nrf__nrf51.dir/soc.c.obj
[86/174] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/dummy.c.obj
[87/174] Building C object zephyr/soc/arm/nordic_nrf/nrf51/CMakeFiles/soc__arm__nordic_nrf__nrf51.dir/power.c.obj
[88/174] Linking C static library zephyr/soc/arm/nordic_nrf/nrf51/libsoc__arm__nordic_nrf__nrf51.a
[89/174] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/log.c.obj
[90/174] Linking C static library zephyr/subsys/bluetooth/common/libsubsys__bluetooth__common.a
[91/174] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_common.c.obj
[92/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/memq.c.obj
[93/174] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_raw.c.obj
[94/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/mem.c.obj
[95/174] Linking C static library zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a
[96/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/mayfly.c.obj
[97/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ll_addr.c.obj
[98/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/util.c.obj
[99/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ll_tx_pwr.c.obj
[100/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/crypto/crypto.c.obj
[101/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/hci/hci_driver.c.obj
[102/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/hci/hci.c.obj
[103/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_adv.c.obj
[104/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull.c.obj
[105/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_scan.c.obj
[106/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj
FAILED: zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj
ccache /opt/sdk/zephyr-sdk-0.11.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v2.4.0-36-gadb62ea290ee -DKERNEL -DNRF51 -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I../../../../../../subsys/bluetooth/controller/ll_sw/nordic/lll -I../../../../../../subsys/bluetooth/controller/ll_sw/nordic -I../../../../../../subsys/bluetooth/controller/hci/nordic -I../../../../../../subsys/bluetooth/controller/. -I../../../../../../subsys/bluetooth/controller/include -I../../../../../../subsys/bluetooth/controller/ll_sw -I../../../../../../include -Izephyr/include/generated -I../../../../../../soc/arm/nordic_nrf/nrf51 -I../../../../../../subsys/bluetooth -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/nordic/nrfx -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/nordic/nrfx/drivers/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/nordic/nrfx/mdk -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/nordic/. -isystem ../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.11.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/9.2.0/include -isystem /opt/sdk/zephyr-sdk-0.11.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/9.2.0/include-fixed -Os -imacros /workdir/zephyr/sanity-out/nrf51dk_nrf51422/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.nrf5/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m0 -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/samples/bluetooth/hci_uart=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -O2 -MD -MT zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj -MF zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj.d -o zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj   -c /workdir/zephyr/subsys/bluetooth/controller/ll_sw/ull_conn.c
/workdir/zephyr/subsys/bluetooth/controller/ll_sw/ull_conn.c: In function 'force_md_cnt_calc':
/workdir/zephyr/subsys/bluetooth/controller/ll_sw/ull_conn.c:6330:19: error: 'CONFIG_BT_CTLR_DATA_LENGTH_MAX' undeclared (first use in this function)
 6330 |  time_incoming = (CONFIG_BT_CTLR_DATA_LENGTH_MAX << 3) *
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/bluetooth/controller/ll_sw/ull_conn.c:6330:19: note: each undeclared identifier is reported only once for each function it appears in
[107/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_slave.c.obj
[108/174] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_master.c.obj
ninja: build stopped: subcommand failed.

in Job #638b249a-ea9c-4cd1-95ea-502f2fe9c08f

samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.arm in bbc_microbit:samples/bluetooth/hci_uart/sample.bluetooth
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/samples/bluetooth/hci_uart
-- Zephyr version: 2.4.99 (/workdir/zephyr)
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components:  Interpreter
-- Found west (found suitable version "0.7.2", minimum required is "0.7.1")
-- Board: bbc_microbit
-- Cache files will be written to: /root/.cache/zephyr
-- Found toolchain: zephyr (/opt/sdk/zephyr-sdk-0.11.3)
-- Found dtc: /opt/sdk/zephyr-sdk-0.11.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/bbc_microbit/bbc_microbit.dts
-- Generated zephyr.dts: /workdir/zephyr/sanity-out/bbc_microbit/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.arm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/sanity-out/bbc_microbit/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.arm/zephyr/include/generated/devicetree_unfixed.h
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/bbc_microbit/bbc_microbit_defconfig'
Merged configuration '/workdir/zephyr/samples/bluetooth/hci_uart/prj.conf'
Merged configuration '/workdir/zephyr/samples/bluetooth/hci_uart/boards/bbc_microbit.conf'
Configuration saved to '/workdir/zephyr/sanity-out/bbc_microbit/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.arm/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/sanity-out/bbc_microbit/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.arm/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/sdk/zephyr-sdk-0.11.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/sanity-out/bbc_microbit/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.arm
[1/176] Preparing syscall dependency handling

[2/176] Generating misc/generated/syscalls_subdirs.trigger
[3/176] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json
[4/176] Generating include/generated/syscall_dispatch.c, include/generated/syscall_list.h
[5/176] Generating include/generated/driver-validation.h
[6/176] Generating include/generated/kobj-types-enum.h, include/generated/otype-to-str.h
[7/176] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
[8/176] Generating include/generated/offsets.h
[9/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
[10/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
[11/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
[12/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
[13/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
[14/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
[15/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
[16/176] Building C object CMakeFiles/app.dir/src/main.c.obj
[17/176] Linking C static library app/libapp.a
[18/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
[19/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mempool.c.obj
[20/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
[21/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
[22/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
[23/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
[24/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
[25/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
[26/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/work_q.c.obj
[27/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
[28/176] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
[29/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
[30/176] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
[31/176] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/prf.c.obj
[32/176] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
[33/176] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/utils/addr_utils.c.obj
[34/176] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/power.c.obj
[35/176] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/power/policy/policy_residency.c.obj
[36/176] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/sys_clock_init.c.obj
[37/176] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/clock_control/clock_control_nrf.c.obj
[38/176] Generating linker.cmd
[39/176] Building C object zephyr/CMakeFiles/zephyr_prebuilt.dir/misc/empty_file.c.obj
[40/176] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/clock_control/nrf_clock_calibration.c.obj
[41/176] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
[42/176] Linking C static library zephyr/arch/common/libisr_tables.a
[43/176] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
[44/176] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/nrf_rtc_timer.c.obj
[45/176] Linking C static library zephyr/arch/common/libarch__common.a
[46/176] Linking C static library zephyr/libzephyr.a
[47/176] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
[48/176] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
[49/176] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
[50/176] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
[51/176] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
[52/176] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
[53/176] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
[54/176] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
[55/176] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
[56/176] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/vector_table.S.obj
[57/176] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
[58/176] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
[59/176] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
[60/176] Linking C static library zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a
[61/176] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/util.c.obj
[62/176] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
[63/176] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
[64/176] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/scb.c.obj
[65/176] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
[66/176] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/atoi.c.obj
[67/176] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtol.c.obj
[68/176] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/strtoul.c.obj
[69/176] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/thread_abort.c.obj
[70/176] Linking C static library zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a
[71/176] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/bsearch.c.obj
[72/176] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strncasecmp.c.obj
[73/176] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/exit.c.obj
[74/176] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdlib/malloc.c.obj
[75/176] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strstr.c.obj
[76/176] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/strspn.c.obj
[77/176] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/stdout_console.c.obj
[78/176] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/string/string.c.obj
[79/176] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
[80/176] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
[81/176] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/time/gmtime.c.obj
[82/176] Linking C static library zephyr/lib/libc/minimal/liblib__libc__minimal.a
[83/176] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/nanosleep.c.obj
[84/176] Building C object zephyr/lib/posix/CMakeFiles/lib__posix.dir/pthread_common.c.obj
[85/176] Linking C static library zephyr/lib/posix/liblib__posix.a
[86/176] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/dummy.c.obj
[87/176] Building C object zephyr/soc/arm/nordic_nrf/nrf51/CMakeFiles/soc__arm__nordic_nrf__nrf51.dir/soc.c.obj
[88/176] Building C object zephyr/subsys/bluetooth/common/CMakeFiles/subsys__bluetooth__common.dir/log.c.obj
[89/176] Linking C static library zephyr/subsys/bluetooth/common/libsubsys__bluetooth__common.a
[90/176] Building C object zephyr/soc/arm/nordic_nrf/nrf51/CMakeFiles/soc__arm__nordic_nrf__nrf51.dir/power.c.obj
[91/176] Linking C static library zephyr/soc/arm/nordic_nrf/nrf51/libsoc__arm__nordic_nrf__nrf51.a
[92/176] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_common.c.obj
[93/176] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/mem.c.obj
[94/176] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/memq.c.obj
[95/176] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_raw.c.obj
[96/176] Linking C static library zephyr/subsys/bluetooth/host/libsubsys__bluetooth__host.a
[97/176] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/util/mayfly.c.obj
[98/176] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ll_tx_pwr.c.obj
[99/176] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ll_addr.c.obj
[100/176] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/hci/hci_driver.c.obj
[101/176] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ticker/ticker.c.obj
[102/176] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/crypto/crypto.c.obj
[103/176] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_adv.c.obj
[104/176] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/hci/hci.c.obj
[105/176] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull.c.obj
[106/176] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj
FAILED: zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj
ccache /opt/sdk/zephyr-sdk-0.11.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v2.4.0-36-gadb62ea290ee -DKERNEL -DNRF51 -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I../../../../../../subsys/bluetooth/controller/ll_sw/nordic/lll -I../../../../../../subsys/bluetooth/controller/ll_sw/nordic -I../../../../../../subsys/bluetooth/controller/hci/nordic -I../../../../../../subsys/bluetooth/controller/. -I../../../../../../subsys/bluetooth/controller/include -I../../../../../../subsys/bluetooth/controller/ll_sw -I../../../../../../include -Izephyr/include/generated -I../../../../../../soc/arm/nordic_nrf/nrf51 -I../../../../../../subsys/bluetooth -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/cmsis/CMSIS/Core/Include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/nordic/nrfx -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/nordic/nrfx/drivers/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/nordic/nrfx/mdk -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/nordic/. -isystem ../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.11.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/9.2.0/include -isystem /opt/sdk/zephyr-sdk-0.11.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/9.2.0/include-fixed -Os -imacros /workdir/zephyr/sanity-out/bbc_microbit/samples/bluetooth/hci_uart/sample.bluetooth.hci_uart.arm/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m0 -mthumb -mabi=aapcs -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/samples/bluetooth/hci_uart=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -O2 -MD -MT zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj -MF zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj.d -o zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_conn.c.obj   -c /workdir/zephyr/subsys/bluetooth/controller/ll_sw/ull_conn.c
/workdir/zephyr/subsys/bluetooth/controller/ll_sw/ull_conn.c: In function 'force_md_cnt_calc':
/workdir/zephyr/subsys/bluetooth/controller/ll_sw/ull_conn.c:6330:19: error: 'CONFIG_BT_CTLR_DATA_LENGTH_MAX' undeclared (first use in this function)
 6330 |  time_incoming = (CONFIG_BT_CTLR_DATA_LENGTH_MAX << 3) *
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/zephyr/subsys/bluetooth/controller/ll_sw/ull_conn.c:6330:19: note: each undeclared identifier is reported only once for each function it appears in
[107/176] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_scan.c.obj
[108/176] Building C object zephyr/subsys/bluetooth/controller/CMakeFiles/subsys__bluetooth__controller.dir/ll_sw/ull_slave.c.obj
ninja: build stopped: subcommand failed.

in Job #8bc4aeef-098b-443a-b8de-d62d2125b6c9

Join builds@lists.zephyrproject.org to automatically receive all group messages.