Closed fastchain closed 1 month ago
There's an error some lines above. Paste the entire log.
here is a full log:
sudo docker build \
--build-arg VERSION_PICO_SDK=1.5.0 \
--build-arg VERSION_MAJOR=4 \
--build-arg VERSION_MINOR=2 \
--build-arg PICO_BOARD=pico \
--build-arg USB_VID=0xfeff \
--build-arg USB_PID=0xfcfd \
-t pico-hsm-builder .
[+] Building 3.1s (13/13) FINISHED docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.25kB 0.0s
=> [internal] load metadata for docker.io/library/debian:bullseye 0.9s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [ 1/10] FROM docker.io/library/debian:bullseye@sha256:152b9a5dc2a03f18ddfd88fbe7b1df41bd2b16be9f2df573a373caf46ce78c08 0.0s
=> CACHED [ 2/10] RUN apt-get update && apt-get install -y build-essential git cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib python3 python3-pip 0.0s
=> CACHED [ 3/10] RUN useradd -m builduser 0.0s
=> CACHED [ 4/10] WORKDIR /home/builduser 0.0s
=> CACHED [ 5/10] RUN mkdir -p /home/builduser/Devel/pico 0.0s
=> CACHED [ 6/10] RUN cd /home/builduser/Devel/pico && git clone https://github.com/raspberrypi/pico-sdk.git && cd pico-sdk && git checkout 1.5.0 && git submodule update --init --recursive 0.0s
=> CACHED [ 7/10] RUN pip install cryptography 0.0s
=> CACHED [ 8/10] RUN cd /home/builduser && git clone https://github.com/polhenarejos/pico-hsm.git && cd pico-hsm && git checkout v4.2 && git submodule update --init --recursive && mkdir build_release 0.0s
=> [ 9/10] RUN echo pico 0.2s
=> ERROR [10/10] RUN cd /home/builduser/pico-hsm && cd build_release && cmake .. -DPICO_BOARD=pico -DUSB_VID=0xfeff -DUSB_PID=0xfcfd && make -kj20 2.0s
------
> [10/10] RUN cd /home/builduser/pico-hsm && cd build_release && cmake .. -DPICO_BOARD=pico -DUSB_VID=0xfeff -DUSB_PID=0xfcfd && make -kj20:
0.186 Using PICO_SDK_PATH from environment ('/home/builduser/Devel/pico/pico-sdk')
0.186 PICO_SDK_PATH is /home/builduser/Devel/pico/pico-sdk
0.186 Defaulting PICO_PLATFORM to rp2040 since not specified.
0.186 Defaulting PICO platform compiler to pico_arm_gcc since not specified.
0.186 -- Defaulting build type to 'Release' since not specified.
0.186 PICO compiler is pico_arm_gcc
0.222 -- The C compiler identification is GNU 8.3.1
0.256 -- The CXX compiler identification is GNU 8.3.1
0.262 -- The ASM compiler identification is GNU
0.263 -- Found assembler: /usr/bin/arm-none-eabi-gcc
0.265 -- Detecting C compiler ABI info
0.301 -- Detecting C compiler ABI info - done
0.307 -- Check for working C compiler: /usr/bin/arm-none-eabi-gcc - skipped
0.307 -- Detecting C compile features
0.307 -- Detecting C compile features - done
0.310 -- Detecting CXX compiler ABI info
0.349 -- Detecting CXX compiler ABI info - done
0.354 -- Check for working CXX compiler: /usr/bin/arm-none-eabi-g++ - skipped
0.354 -- Detecting CXX compile features
0.355 -- Detecting CXX compile features - done
0.356 Build type is Release
0.356 Using PICO_BOARD from environment ('pico')
0.356 Using board configuration from /home/builduser/Devel/pico/pico-sdk/src/boards/include/boards/pico.h
0.403 -- Found Python3: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter
0.408 TinyUSB available at /home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040; enabling build support for USB.
0.425 BTstack available at /home/builduser/Devel/pico/pico-sdk/lib/btstack
0.425 cyw43-driver available at /home/builduser/Devel/pico/pico-sdk/lib/cyw43-driver
0.431 Pico W Bluetooth build support available.
0.431 lwIP available at /home/builduser/Devel/pico/pico-sdk/lib/lwip
0.432 mbedtls available at /home/builduser/Devel/pico/pico-sdk/lib/mbedtls
0.441 -- VIDPID: 'OFF'
0.441 -- Delayed boot: disabled
0.441 -- USB CCID Interface: enabled
0.441 -- USB WebCCID Interface: enabled
0.441 -- USB VID/PID: 0xfeff:0xfcfd
0.455 -- Configuring done
0.481 -- Generating done
0.484 -- Build files have been written to: /home/builduser/pico-hsm/build_release
0.514 Scanning dependencies of target ELF2UF2Build
0.514 Scanning dependencies of target PioasmBuild
0.515 Scanning dependencies of target bs2_default
0.521 [ 0%] Creating directories for 'ELF2UF2Build'
0.521 [ 0%] Building ASM object pico-sdk/src/rp2_common/boot_stage2/CMakeFiles/bs2_default.dir/compile_time_choice.S.obj
0.521 [ 1%] Creating directories for 'PioasmBuild'
0.536 [ 2%] Linking ASM executable bs2_default.elf
0.554 [ 2%] Built target bs2_default
0.561 Scanning dependencies of target bs2_default_padded_checksummed_asm
0.562 [ 3%] No download step for 'ELF2UF2Build'
0.568 [ 3%] Generating bs2_default.bin
0.571 [ 3%] No download step for 'PioasmBuild'
0.575 [ 4%] Generating bs2_default_padded_checksummed.S
0.581 [ 4%] No update step for 'ELF2UF2Build'
0.591 [ 5%] No update step for 'PioasmBuild'
0.598 [ 6%] No patch step for 'ELF2UF2Build'
0.601 [ 6%] Built target bs2_default_padded_checksummed_asm
0.609 [ 6%] No patch step for 'PioasmBuild'
0.613 [ 6%] Performing configure step for 'ELF2UF2Build'
0.624 [ 7%] Performing configure step for 'PioasmBuild'
0.630 loading initial cache file /home/builduser/pico-hsm/build_release/pico-sdk/src/rp2_common/tinyusb/pioasm/tmp/PioasmBuild-cache-Release.cmake
0.645 -- The C compiler identification is GNU 10.2.1
0.665 -- The CXX compiler identification is GNU 10.2.1
0.669 -- Detecting CXX compiler ABI info
0.678 -- The CXX compiler identification is GNU 10.2.1
0.682 -- Detecting C compiler ABI info
0.745 -- Detecting CXX compiler ABI info - done
0.752 -- Check for working CXX compiler: /usr/bin/c++ - skipped
0.752 -- Detecting CXX compile features
0.753 -- Detecting CXX compile features - done
0.754 -- Configuring done
0.756 -- Detecting C compiler ABI info - done
0.756 -- Generating done
0.757 -- Build files have been written to: /home/builduser/pico-hsm/build_release/pioasm
0.765 -- Check for working C compiler: /usr/bin/cc - skipped
0.766 -- Detecting C compile features
0.766 -- Detecting C compile features - done
0.769 -- Detecting CXX compiler ABI info
0.774 [ 8%] Performing build step for 'PioasmBuild'
0.797 Scanning dependencies of target pioasm
0.803 [ 10%] Building CXX object CMakeFiles/pioasm.dir/c_sdk_output.cpp.o
0.803 [ 20%] Building CXX object CMakeFiles/pioasm.dir/ada_output.cpp.o
0.804 [ 40%] Building CXX object CMakeFiles/pioasm.dir/hex_output.cpp.o
0.804 [ 40%] Building CXX object CMakeFiles/pioasm.dir/main.cpp.o
0.804 [ 50%] Building CXX object CMakeFiles/pioasm.dir/pio_disassembler.cpp.o
0.804 [ 70%] Building CXX object CMakeFiles/pioasm.dir/pio_assembler.cpp.o
0.804 [ 70%] Building CXX object CMakeFiles/pioasm.dir/gen/lexer.cpp.o
0.805 [ 80%] Building CXX object CMakeFiles/pioasm.dir/gen/parser.cpp.o
0.805 [ 90%] Building CXX object CMakeFiles/pioasm.dir/python_output.cpp.o
0.823 -- Detecting CXX compiler ABI info - done
0.831 -- Check for working CXX compiler: /usr/bin/c++ - skipped
0.831 -- Detecting CXX compile features
0.832 -- Detecting CXX compile features - done
0.833 -- Configuring done
0.834 -- Generating done
0.834 -- Build files have been written to: /home/builduser/pico-hsm/build_release/elf2uf2
0.845 [ 9%] Performing build step for 'ELF2UF2Build'
0.867 Scanning dependencies of target elf2uf2
0.875 [ 50%] Building CXX object CMakeFiles/elf2uf2.dir/main.cpp.o
1.096 [100%] Linking CXX executable elf2uf2
1.141 [100%] Built target elf2uf2
1.151 [ 10%] No install step for 'ELF2UF2Build'
1.168 [ 10%] Completed 'ELF2UF2Build'
1.190 [ 10%] Built target ELF2UF2Build
1.330 Scanning dependencies of target pico_hsm
1.346 [ 13%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_initialize.c.obj
1.346 [ 13%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_key_wrap.c.obj
1.346 [ 13%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_mse.c.obj
1.347 [ 14%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_update_ef.c.obj
1.347 [ 15%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_select.c.obj
1.347 [ 15%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/sc_hsm.c.obj
1.347 [ 16%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_key_domain.c.obj
1.347 [ 17%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_verify.c.obj
1.347 [ 17%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_list_keys.c.obj
1.347 [ 17%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_read_binary.c.obj
1.347 [ 18%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_reset_retry.c.obj
1.347 [ 18%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_challenge.c.obj
1.347 [ 18%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_external_authenticate.c.obj
1.348 [ 18%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_signature.c.obj
1.348 [ 19%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_key_gen.c.obj
1.348 [ 20%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_change_pin.c.obj
1.348 [ 21%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_key_unwrap.c.obj
1.348 [ 21%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_keypair_gen.c.obj
1.349 [ 21%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_delete_file.c.obj
1.357 [100%] Linking CXX executable pioasm
1.387 [ 21%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_decrypt_asym.c.obj
1.388 [ 22%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_cipher_sym.c.obj
1.391 [ 23%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_extras.c.obj
1.391 [ 23%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_general_authenticate.c.obj
1.393 [ 23%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_derive_asym.c.obj
1.401 [ 24%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_session_pin.c.obj
1.402 [ 25%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_puk_auth.c.obj
1.415 [ 26%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_pso.c.obj
1.415 [ 26%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_bip_slip.c.obj
1.417 /home/builduser/pico-hsm/src/hsm/cmd_extras.c:21:10: fatal error: pico/aon_timer.h: No such file or directory
1.417 #include "pico/aon_timer.h"
1.417 ^~~~~~~~~~~~~~~~~~
1.417 compilation terminated.
1.417 make[2]: *** [CMakeFiles/pico_hsm.dir/build.make:368: CMakeFiles/pico_hsm.dir/src/hsm/cmd_extras.c.obj] Error 1
1.417 [ 27%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cvc.c.obj
1.417 [ 27%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/files.c.obj
1.418 [ 27%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/kek.c.obj
1.422 [ 28%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/main.c.obj
1.422 [ 29%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/usb/usb.c.obj
1.423 [ 29%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/fs/file.c.obj
1.431 [ 30%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/fs/flash.c.obj
1.435 [ 30%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/fs/low_flash.c.obj
1.438 [100%] Built target pioasm
1.438 [ 31%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/rng/random.c.obj
1.439 [ 31%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/rng/hwrng.c.obj
1.440 [ 32%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/eac.c.obj
1.443 /home/builduser/pico-hsm/pico-keys-sdk/src/main.c:38:10: fatal error: pico/aon_timer.h: No such file or directory
1.443 #include "pico/aon_timer.h"
1.443 ^~~~~~~~~~~~~~~~~~
1.443 compilation terminated.
1.444 make[2]: *** [CMakeFiles/pico_hsm.dir/build.make:485: CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/main.c.obj] Error 1
1.444 [ 34%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/crypto_utils.c.obj
1.448 [ 34%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/asn1.c.obj
1.451 [ 35%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/apdu.c.obj
1.452 [ 35%] No install step for 'PioasmBuild'
1.453 [ 35%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/usb/ccid/ccid.c.obj
1.458 [ 36%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/usb/usb_descriptors.c.obj
1.464 [ 36%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/aes.c.obj
1.469 /home/builduser/pico-hsm/pico-keys-sdk/src/fs/low_flash.c:54:13: fatal error: sys/mman.h: No such file or directory
1.469 #include <sys/mman.h>
1.469 ^~~~~~~~~~~~
1.469 compilation terminated.
1.469 make[2]: *** [CMakeFiles/pico_hsm.dir/build.make:537: CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/fs/low_flash.c.obj] Error 1
1.472 [ 37%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/asn1parse.c.obj
1.472 [ 38%] Completed 'PioasmBuild'
1.474 [ 39%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/bignum.c.obj
1.475 [ 39%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/asn1write.c.obj
1.485 [ 40%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/bignum_core.c.obj
1.491 [ 40%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/ccm.c.obj
1.493 /home/builduser/pico-hsm/pico-keys-sdk/src/usb/ccid/ccid.c: In function 'tud_vendor_tx_cb':
1.493 /home/builduser/pico-hsm/pico-keys-sdk/src/usb/ccid/ccid.c:155:5: error: implicit declaration of function 'tud_vendor_n_write_flush'; did you mean 'tud_vendor_n_read_flush'? [-Werror=implicit-function-declaration]
1.493 tud_vendor_n_write_flush(itf);
1.493 ^~~~~~~~~~~~~~~~~~~~~~~~
1.493 tud_vendor_n_read_flush
1.495 [ 41%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/cmac.c.obj
1.495 [ 41%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/cipher.c.obj
1.495 [ 42%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/cipher_wrap.c.obj
1.499 [ 42%] Built target PioasmBuild
1.504 [ 43%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/ecdsa.c.obj
1.506 [ 43%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/constant_time.c.obj
1.518 [ 43%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/ecp.c.obj
1.521 [ 44%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/ecdh.c.obj
1.529 [ 45%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/ecp_curves.c.obj
1.538 [ 45%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/gcm.c.obj
1.541 [ 46%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/hkdf.c.obj
1.542 [ 46%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/md.c.obj
1.544 [ 47%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/md5.c.obj
1.552 [ 48%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/oid.c.obj
1.560 [ 48%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/pkcs5.c.obj
1.567 [ 49%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/platform_util.c.obj
1.567 [ 49%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/rsa.c.obj
1.576 cc1: all warnings being treated as errors
1.577 make[2]: *** [CMakeFiles/pico_hsm.dir/build.make:628: CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/usb/ccid/ccid.c.obj] Error 1
1.584 [ 50%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/sha1.c.obj
1.584 [ 50%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/rsa_alt_helpers.c.obj
1.587 [ 51%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/sha256.c.obj
1.595 [ 51%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/sha512.c.obj
1.600 [ 52%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/chachapoly.c.obj
1.602 [ 53%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/chacha20.c.obj
1.610 [ 53%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/poly1305.c.obj
1.611 [ 54%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/ripemd160.c.obj
1.622 [ 54%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/des.c.obj
1.634 [ 55%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/x509write_crt.c.obj
1.637 [ 55%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/x509_create.c.obj
1.647 [ 56%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/x509write_csr.c.obj
1.668 [ 57%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/pk.c.obj
1.672 [ 57%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/pk_wrap.c.obj
1.673 [ 58%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/pkwrite.c.obj
1.677 [ 58%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_stdlib/stdlib.c.obj
1.688 [ 59%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_gpio/gpio.c.obj
1.694 [ 60%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_claim/claim.c.obj
1.695 [ 60%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_platform/platform.c.obj
1.697 [ 61%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_sync/sync.c.obj
1.709 [ 61%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_irq/irq.c.obj
1.712 [ 62%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_irq/irq_handler_chain.S.obj
1.713 [ 62%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/common/pico_sync/sem.c.obj
1.718 [ 63%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/common/pico_sync/lock_core.c.obj
1.721 [ 63%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/common/pico_sync/mutex.c.obj
1.721 [ 64%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/common/pico_sync/critical_section.c.obj
1.723 [ 64%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/common/pico_time/time.c.obj
1.723 [ 65%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/common/pico_time/timeout_helper.c.obj
1.727 [ 67%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_timer/timer.c.obj
1.741 [ 68%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/common/pico_util/pheap.c.obj
1.741 [ 68%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/common/pico_util/datetime.c.obj
1.743 [ 68%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/common/pico_util/queue.c.obj
1.743 [ 69%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_uart/uart.c.obj
1.751 [ 70%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_pll/pll.c.obj
1.752 [ 70%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_clocks/clocks.c.obj
1.752 [ 71%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_vreg/vreg.c.obj
1.759 [ 71%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_watchdog/watchdog.c.obj
1.761 [ 72%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_xosc/xosc.c.obj
1.770 [ 73%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_runtime/runtime.c.obj
1.770 [ 73%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_divider/divider.S.obj
1.771 [ 73%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_printf/printf.c.obj
1.773 [ 74%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_bit_ops/bit_ops_aeabi.S.obj
1.778 [ 74%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_divider/divider.S.obj
1.779 [ 75%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_bootrom/bootrom.c.obj
1.780 [ 75%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_double/double_init_rom.c.obj
1.782 [ 76%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_double/double_aeabi.S.obj
1.783 [ 77%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_double/double_math.c.obj
1.784 [ 77%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_double/double_v1_rom_shim.S.obj
1.785 [ 78%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_float/float_init_rom.c.obj
1.785 [ 79%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_int64_ops/pico_int64_ops_aeabi.S.obj
1.786 [ 79%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_float/float_aeabi.S.obj
1.788 [ 80%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_float/float_math.c.obj
1.788 [ 80%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_float/float_v1_rom_shim.S.obj
1.789 [ 81%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_malloc/pico_malloc.c.obj
1.796 [ 82%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_standard_link/crt0.S.obj
1.798 [ 82%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_mem_ops/mem_ops_aeabi.S.obj
1.799 [ 83%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_stdio/stdio.c.obj
1.800 [ 83%] Building CXX object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_standard_link/new_delete.cpp.obj
1.800 [ 84%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_standard_link/binary_info.c.obj
1.801 [ 84%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_stdio_uart/stdio_uart.c.obj
1.801 [ 85%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_multicore/multicore.c.obj
1.805 [ 85%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_flash/flash.c.obj
1.805 [ 85%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_unique_id/unique_id.c.obj
1.806 [ 86%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_adc/adc.c.obj
1.809 [ 87%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040/dcd_rp2040.c.obj
1.811 [ 88%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040/rp2040_usb.c.obj
1.811 [ 88%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/device/usbd.c.obj
1.815 [ 88%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/audio/audio_device.c.obj
1.816 [ 89%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/cdc/cdc_device.c.obj
1.816 [ 90%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/device/usbd_control.c.obj
1.825 [ 91%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/dfu/dfu_device.c.obj
1.825 [ 91%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/dfu/dfu_rt_device.c.obj
1.829 [ 93%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/msc/msc_device.c.obj
1.829 [ 93%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/midi/midi_device.c.obj
1.831 [ 93%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/hid/hid_device.c.obj
1.836 [ 93%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/net/ecm_rndis_device.c.obj
1.840 [ 94%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/net/ncm_device.c.obj
1.843 [ 94%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/usbtmc/usbtmc_device.c.obj
1.843 [ 95%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/vendor/vendor_device.c.obj
1.843 [ 96%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/tusb.c.obj
1.844 [ 96%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/video/video_device.c.obj
1.845 [ 97%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/portable/raspberrypi/pio_usb/dcd_pio_usb.c.obj
1.846 [ 97%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/common/tusb_fifo.c.obj
1.848 [ 98%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_fix/rp2040_usb_device_enumeration/rp2040_usb_device_enumeration.c.obj
1.851 [ 98%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/hw/bsp/rp2040/family.c.obj
1.853 [100%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_pio/pio.c.obj
1.945 make[2]: Target 'CMakeFiles/pico_hsm.dir/build' not remade because of errors.
1.946 make[1]: *** [CMakeFiles/Makefile2:1767: CMakeFiles/pico_hsm.dir/all] Error 2
1.946 make[1]: Target 'all' not remade because of errors.
1.946 make: *** [Makefile:103: all] Error 2
1.946 make: Target 'default_target' not remade because of errors.
------
Dockerfile:51
--------------------
50 | RUN echo $PICO_BOARD
51 | >>> RUN cd /home/builduser/pico-hsm \
52 | >>> && cd build_release \
53 | >>> && cmake .. -DPICO_BOARD=$PICO_BOARD -DUSB_VID=${USB_VID} -DUSB_PID=${USB_PID} \
54 | >>> && make -kj20
55 |
--------------------
ERROR: failed to solve: process "/bin/sh -c cd /home/builduser/pico-hsm \t&& cd build_release \t&& cmake .. -DPICO_BOARD=$PICO_BOARD -DUSB_VID=${USB_VID} -DUSB_PID=${USB_PID} \t&& make -kj20" did not complete successfully: exit code: 2
✘ at@box ~/gt/pico-hsm wallet-tests ±
✘ at@box ~/gt/pico-hsm wallet-tests ± sudo docker build --no-cache \
--build-arg VERSION_PICO_SDK=1.5.0 \
--build-arg VERSION_MAJOR=4 \
--build-arg VERSION_MINOR=2 \
--build-arg PICO_BOARD=pico \
--build-arg USB_VID=0xfeff \
--build-arg USB_PID=0xfcfd \
-t pico-hsm-builder .
[+] Building 593.3s (12/12) FINISHED docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.23kB 0.0s
=> [internal] load metadata for docker.io/library/debian:bullseye 0.8s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> CACHED [1/9] FROM docker.io/library/debian:bullseye@sha256:152b9a5dc2a03f18ddfd88fbe7b1df41bd2b16be9f2df573a373caf46ce78c08 0.0s
=> [2/9] RUN apt-get update && apt-get install -y build-essential git cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib python3 python3-pip 63.3s
=> [3/9] RUN useradd -m builduser 0.2s
=> [4/9] WORKDIR /home/builduser 0.0s
=> [5/9] RUN mkdir -p /home/builduser/Devel/pico 0.2s
=> [6/9] RUN cd /home/builduser/Devel/pico && git clone https://github.com/raspberrypi/pico-sdk.git && cd pico-sdk && git checkout 1.5.0 && git submodule update --init --recursive 454.4s
=> [7/9] RUN pip install cryptography 2.2s
=> [8/9] RUN cd /home/builduser && git clone https://github.com/polhenarejos/pico-hsm.git && cd pico-hsm && git checkout v4.2 && git submodule update --init --recursive && mkdir build_release 69.2s
=> ERROR [9/9] RUN cd /home/builduser/pico-hsm && cd build_release && cmake .. -DPICO_BOARD=pico -DUSB_VID=0xfeff -DUSB_PID=0xfcfd && make -kj20 2.8s
------
> [9/9] RUN cd /home/builduser/pico-hsm && cd build_release && cmake .. -DPICO_BOARD=pico -DUSB_VID=0xfeff -DUSB_PID=0xfcfd && make -kj20:
0.372 Using PICO_SDK_PATH from environment ('/home/builduser/Devel/pico/pico-sdk')
0.374 PICO_SDK_PATH is /home/builduser/Devel/pico/pico-sdk
0.374 Defaulting PICO_PLATFORM to rp2040 since not specified.
0.375 Defaulting PICO platform compiler to pico_arm_gcc since not specified.
0.375 -- Defaulting build type to 'Release' since not specified.
0.376 PICO compiler is pico_arm_gcc
0.537 -- The C compiler identification is GNU 8.3.1
0.640 -- The CXX compiler identification is GNU 8.3.1
0.649 -- The ASM compiler identification is GNU
0.651 -- Found assembler: /usr/bin/arm-none-eabi-gcc
0.660 -- Detecting C compiler ABI info
0.751 -- Detecting C compiler ABI info - done
0.757 -- Check for working C compiler: /usr/bin/arm-none-eabi-gcc - skipped
0.757 -- Detecting C compile features
0.758 -- Detecting C compile features - done
0.763 -- Detecting CXX compiler ABI info
0.831 -- Detecting CXX compiler ABI info - done
0.854 -- Check for working CXX compiler: /usr/bin/arm-none-eabi-g++ - skipped
0.855 -- Detecting CXX compile features
0.856 -- Detecting CXX compile features - done
0.863 Build type is Release
0.865 Using PICO_BOARD from environment ('pico')
0.865 Using board configuration from /home/builduser/Devel/pico/pico-sdk/src/boards/include/boards/pico.h
1.003 -- Found Python3: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter
1.020 TinyUSB available at /home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040; enabling build support for USB.
1.038 BTstack available at /home/builduser/Devel/pico/pico-sdk/lib/btstack
1.039 cyw43-driver available at /home/builduser/Devel/pico/pico-sdk/lib/cyw43-driver
1.044 Pico W Bluetooth build support available.
1.044 lwIP available at /home/builduser/Devel/pico/pico-sdk/lib/lwip
1.046 mbedtls available at /home/builduser/Devel/pico/pico-sdk/lib/mbedtls
1.056 -- VIDPID: 'OFF'
1.056 -- Delayed boot: disabled
1.056 -- USB CCID Interface: enabled
1.056 -- USB WebCCID Interface: enabled
1.056 -- USB VID/PID: 0xfeff:0xfcfd
1.068 -- Configuring done
1.094 -- Generating done
1.096 -- Build files have been written to: /home/builduser/pico-hsm/build_release
1.128 Scanning dependencies of target ELF2UF2Build
1.130 Scanning dependencies of target PioasmBuild
1.132 Scanning dependencies of target bs2_default
1.141 [ 0%] Creating directories for 'ELF2UF2Build'
1.143 [ 1%] Creating directories for 'PioasmBuild'
1.146 [ 1%] Building ASM object pico-sdk/src/rp2_common/boot_stage2/CMakeFiles/bs2_default.dir/compile_time_choice.S.obj
1.175 [ 2%] Linking ASM executable bs2_default.elf
1.196 [ 2%] Built target bs2_default
1.202 Scanning dependencies of target bs2_default_padded_checksummed_asm
1.202 [ 3%] No download step for 'ELF2UF2Build'
1.209 [ 3%] Generating bs2_default.bin
1.209 [ 3%] No download step for 'PioasmBuild'
1.216 [ 4%] Generating bs2_default_padded_checksummed.S
1.217 [ 4%] No update step for 'ELF2UF2Build'
1.225 [ 5%] No update step for 'PioasmBuild'
1.232 [ 6%] No patch step for 'ELF2UF2Build'
1.234 [ 6%] Built target bs2_default_padded_checksummed_asm
1.239 [ 6%] No patch step for 'PioasmBuild'
1.248 [ 6%] Performing configure step for 'ELF2UF2Build'
1.251 [ 7%] Performing configure step for 'PioasmBuild'
1.257 loading initial cache file /home/builduser/pico-hsm/build_release/pico-sdk/src/rp2_common/tinyusb/pioasm/tmp/PioasmBuild-cache-Release.cmake
1.331 -- The C compiler identification is GNU 10.2.1
1.338 -- The CXX compiler identification is GNU 10.2.1
1.343 -- Detecting CXX compiler ABI info
1.367 -- The CXX compiler identification is GNU 10.2.1
1.372 -- Detecting C compiler ABI info
1.408 -- Detecting CXX compiler ABI info - done
1.419 -- Check for working CXX compiler: /usr/bin/c++ - skipped
1.419 -- Detecting CXX compile features
1.420 -- Detecting CXX compile features - done
1.421 -- Configuring done
1.424 -- Generating done
1.425 -- Build files have been written to: /home/builduser/pico-hsm/build_release/pioasm
1.437 -- Detecting C compiler ABI info - done
1.445 [ 8%] Performing build step for 'PioasmBuild'
1.451 -- Check for working C compiler: /usr/bin/cc - skipped
1.452 -- Detecting C compile features
1.452 -- Detecting C compile features - done
1.457 -- Detecting CXX compiler ABI info
1.490 Scanning dependencies of target pioasm
1.497 [ 10%] Building CXX object CMakeFiles/pioasm.dir/gen/lexer.cpp.o
1.498 [ 20%] Building CXX object CMakeFiles/pioasm.dir/pio_disassembler.cpp.o
1.498 [ 30%] Building CXX object CMakeFiles/pioasm.dir/ada_output.cpp.o
1.498 [ 40%] Building CXX object CMakeFiles/pioasm.dir/main.cpp.o
1.500 [ 50%] Building CXX object CMakeFiles/pioasm.dir/pio_assembler.cpp.o
1.501 [ 60%] Building CXX object CMakeFiles/pioasm.dir/gen/parser.cpp.o
1.501 [ 70%] Building CXX object CMakeFiles/pioasm.dir/c_sdk_output.cpp.o
1.501 [ 90%] Building CXX object CMakeFiles/pioasm.dir/python_output.cpp.o
1.501 [ 90%] Building CXX object CMakeFiles/pioasm.dir/hex_output.cpp.o
1.533 -- Detecting CXX compiler ABI info - done
1.539 -- Check for working CXX compiler: /usr/bin/c++ - skipped
1.539 -- Detecting CXX compile features
1.539 -- Detecting CXX compile features - done
1.540 -- Configuring done
1.541 -- Generating done
1.545 -- Build files have been written to: /home/builduser/pico-hsm/build_release/elf2uf2
1.562 [ 9%] Performing build step for 'ELF2UF2Build'
1.588 Scanning dependencies of target elf2uf2
1.596 [ 50%] Building CXX object CMakeFiles/elf2uf2.dir/main.cpp.o
1.825 [100%] Linking CXX executable elf2uf2
1.871 [100%] Built target elf2uf2
1.882 [ 10%] No install step for 'ELF2UF2Build'
1.899 [ 10%] Completed 'ELF2UF2Build'
1.920 [ 10%] Built target ELF2UF2Build
2.054 [100%] Linking CXX executable pioasm
2.107 Scanning dependencies of target pico_hsm
2.111 [100%] Built target pioasm
2.121 [ 10%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_reset_retry.c.obj
2.121 [ 10%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_external_authenticate.c.obj
2.122 [ 11%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_initialize.c.obj
2.122 [ 11%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_key_domain.c.obj
2.122 [ 11%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/sc_hsm.c.obj
2.123 [ 13%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_select.c.obj
2.123 [ 13%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_list_keys.c.obj
2.123 [ 13%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_delete_file.c.obj
2.123 [ 13%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_read_binary.c.obj
2.123 [ 13%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_keypair_gen.c.obj
2.123 [ 14%] No install step for 'PioasmBuild'
2.123 [ 14%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_verify.c.obj
2.124 [ 15%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_challenge.c.obj
2.124 [ 15%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_signature.c.obj
2.125 [ 16%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_mse.c.obj
2.125 [ 18%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_key_gen.c.obj
2.125 [ 18%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_key_wrap.c.obj
2.126 [ 19%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_update_ef.c.obj
2.127 [ 20%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_change_pin.c.obj
2.127 [ 21%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_key_unwrap.c.obj
2.147 [ 22%] Completed 'PioasmBuild'
2.167 [ 23%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_decrypt_asym.c.obj
2.167 [ 23%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_cipher_sym.c.obj
2.169 [ 23%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_derive_asym.c.obj
2.169 [ 23%] Built target PioasmBuild
2.174 [ 24%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_extras.c.obj
2.176 [ 24%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_general_authenticate.c.obj
2.178 [ 25%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_session_pin.c.obj
2.181 [ 25%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_pso.c.obj
2.181 [ 26%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_puk_auth.c.obj
2.181 [ 27%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cmd_bip_slip.c.obj
2.183 [ 27%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/cvc.c.obj
2.189 [ 27%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/kek.c.obj
2.192 [ 30%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/main.c.obj
2.192 [ 29%] Building C object CMakeFiles/pico_hsm.dir/src/hsm/files.c.obj
2.192 [ 30%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/usb/usb.c.obj
2.196 [ 30%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/fs/file.c.obj
2.197 [ 31%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/fs/flash.c.obj
2.200 /home/builduser/pico-hsm/src/hsm/cmd_extras.c:21:10: fatal error: pico/aon_timer.h: No such file or directory
2.200 #include "pico/aon_timer.h"
2.200 ^~~~~~~~~~~~~~~~~~
2.200 compilation terminated.
2.200 [ 31%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/fs/low_flash.c.obj
2.201 make[2]: *** [CMakeFiles/pico_hsm.dir/build.make:368: CMakeFiles/pico_hsm.dir/src/hsm/cmd_extras.c.obj] Error 1
2.209 [ 32%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/rng/hwrng.c.obj
2.209 [ 32%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/rng/random.c.obj
2.215 /home/builduser/pico-hsm/pico-keys-sdk/src/main.c:38:10: fatal error: pico/aon_timer.h: No such file or directory
2.215 #include "pico/aon_timer.h"
2.215 ^~~~~~~~~~~~~~~~~~
2.215 compilation terminated.
2.216 make[2]: *** [CMakeFiles/pico_hsm.dir/build.make:485: CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/main.c.obj] Error 1
2.216 [ 34%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/eac.c.obj
2.220 [ 35%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/asn1.c.obj
2.220 [ 35%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/crypto_utils.c.obj
2.220 [ 35%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/usb/ccid/ccid.c.obj
2.220 [ 36%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/apdu.c.obj
2.220 [ 37%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/usb/usb_descriptors.c.obj
2.223 /home/builduser/pico-hsm/pico-keys-sdk/src/fs/low_flash.c:54:13: fatal error: sys/mman.h: No such file or directory
2.223 #include <sys/mman.h>
2.223 ^~~~~~~~~~~~
2.223 compilation terminated.
2.224 make[2]: *** [CMakeFiles/pico_hsm.dir/build.make:537: CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/fs/low_flash.c.obj] Error 1
2.228 [ 37%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/aes.c.obj
2.237 [ 38%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/asn1parse.c.obj
2.245 /home/builduser/pico-hsm/pico-keys-sdk/src/usb/ccid/ccid.c: In function 'tud_vendor_tx_cb':
2.245 /home/builduser/pico-hsm/pico-keys-sdk/src/usb/ccid/ccid.c:155:5: error: implicit declaration of function 'tud_vendor_n_write_flush'; did you mean 'tud_vendor_n_read_flush'? [-Werror=implicit-function-declaration]
2.245 tud_vendor_n_write_flush(itf);
2.245 ^~~~~~~~~~~~~~~~~~~~~~~~
2.245 tud_vendor_n_read_flush
2.245 [ 38%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/asn1write.c.obj
2.254 [ 39%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/bignum.c.obj
2.256 [ 40%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/bignum_core.c.obj
2.260 [ 40%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/ccm.c.obj
2.261 [ 41%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/cmac.c.obj
2.268 [ 41%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/cipher.c.obj
2.272 [ 42%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/cipher_wrap.c.obj
2.276 [ 43%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/ecdsa.c.obj
2.277 [ 43%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/constant_time.c.obj
2.284 [ 44%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/ecdh.c.obj
2.286 [ 44%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/ecp.c.obj
2.292 [ 45%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/ecp_curves.c.obj
2.299 cc1: all warnings being treated as errors
2.299 make[2]: *** [CMakeFiles/pico_hsm.dir/build.make:628: CMakeFiles/pico_hsm.dir/pico-keys-sdk/src/usb/ccid/ccid.c.obj] Error 1
2.304 [ 45%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/gcm.c.obj
2.319 [ 46%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/hkdf.c.obj
2.324 [ 46%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/md.c.obj
2.331 [ 47%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/oid.c.obj
2.332 [ 48%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/md5.c.obj
2.334 [ 48%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/pkcs5.c.obj
2.334 [ 49%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/platform_util.c.obj
2.348 [ 49%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/rsa.c.obj
2.348 [ 50%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/rsa_alt_helpers.c.obj
2.356 [ 50%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/sha1.c.obj
2.357 [ 51%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/sha256.c.obj
2.361 [ 51%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/sha512.c.obj
2.362 [ 52%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/chacha20.c.obj
2.363 [ 53%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/chachapoly.c.obj
2.365 [ 53%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/poly1305.c.obj
2.381 [ 54%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/ripemd160.c.obj
2.388 [ 54%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/des.c.obj
2.409 [ 54%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/x509_create.c.obj
2.409 [ 55%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/x509write_crt.c.obj
2.417 [ 56%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/x509write_csr.c.obj
2.421 [ 57%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/pk.c.obj
2.432 [ 57%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/pk_wrap.c.obj
2.435 [ 58%] Building C object CMakeFiles/pico_hsm.dir/pico-keys-sdk/mbedtls/library/pkwrite.c.obj
2.436 [ 58%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_stdlib/stdlib.c.obj
2.443 [ 59%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_gpio/gpio.c.obj
2.445 [ 59%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_platform/platform.c.obj
2.463 [ 60%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_claim/claim.c.obj
2.464 [ 61%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_sync/sync.c.obj
2.471 [ 61%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_irq/irq.c.obj
2.476 [ 62%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_irq/irq_handler_chain.S.obj
2.480 [ 63%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/common/pico_sync/lock_core.c.obj
2.480 [ 63%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/common/pico_sync/sem.c.obj
2.484 [ 63%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/common/pico_sync/mutex.c.obj
2.486 [ 64%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/common/pico_sync/critical_section.c.obj
2.487 [ 65%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/common/pico_time/timeout_helper.c.obj
2.487 [ 67%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_timer/timer.c.obj
2.488 [ 67%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/common/pico_time/time.c.obj
2.491 [ 67%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/common/pico_util/queue.c.obj
2.492 [ 67%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/common/pico_util/datetime.c.obj
2.493 [ 68%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/common/pico_util/pheap.c.obj
2.502 [ 69%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_uart/uart.c.obj
2.508 [ 69%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_clocks/clocks.c.obj
2.512 [ 70%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_pll/pll.c.obj
2.516 [ 71%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_vreg/vreg.c.obj
2.519 [ 71%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_watchdog/watchdog.c.obj
2.522 [ 72%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_xosc/xosc.c.obj
2.524 [ 73%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_runtime/runtime.c.obj
2.524 [ 73%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_divider/divider.S.obj
2.530 [ 74%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_bit_ops/bit_ops_aeabi.S.obj
2.530 [ 74%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_printf/printf.c.obj
2.533 [ 75%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_bootrom/bootrom.c.obj
2.538 [ 76%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_divider/divider.S.obj
2.538 [ 76%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_double/double_aeabi.S.obj
2.538 [ 76%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_double/double_init_rom.c.obj
2.539 [ 77%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_double/double_math.c.obj
2.539 [ 77%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_double/double_v1_rom_shim.S.obj
2.541 [ 78%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_float/float_init_rom.c.obj
2.541 [ 78%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_float/float_aeabi.S.obj
2.542 [ 79%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_int64_ops/pico_int64_ops_aeabi.S.obj
2.547 [ 80%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_float/float_math.c.obj
2.552 [ 81%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_malloc/pico_malloc.c.obj
2.552 [ 81%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_mem_ops/mem_ops_aeabi.S.obj
2.553 [ 81%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_float/float_v1_rom_shim.S.obj
2.553 [ 81%] Building CXX object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_standard_link/new_delete.cpp.obj
2.555 [ 82%] Building ASM object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_standard_link/crt0.S.obj
2.557 [ 83%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_standard_link/binary_info.c.obj
2.561 [ 84%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_stdio/stdio.c.obj
2.561 [ 84%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_stdio_uart/stdio_uart.c.obj
2.566 [ 85%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_multicore/multicore.c.obj
2.566 [ 85%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_flash/flash.c.obj
2.567 [ 86%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_adc/adc.c.obj
2.568 [ 86%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_unique_id/unique_id.c.obj
2.571 [ 87%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040/dcd_rp2040.c.obj
2.572 [ 88%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040/rp2040_usb.c.obj
2.575 [ 88%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/device/usbd.c.obj
2.576 [ 89%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/device/usbd_control.c.obj
2.584 [ 89%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/audio/audio_device.c.obj
2.587 [ 90%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/cdc/cdc_device.c.obj
2.589 [ 90%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/dfu/dfu_device.c.obj
2.599 [ 91%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/dfu/dfu_rt_device.c.obj
2.601 [ 91%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/hid/hid_device.c.obj
2.602 [ 92%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/msc/msc_device.c.obj
2.602 [ 93%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/net/ncm_device.c.obj
2.602 [ 93%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/net/ecm_rndis_device.c.obj
2.603 [ 93%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/usbtmc/usbtmc_device.c.obj
2.603 [ 94%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/midi/midi_device.c.obj
2.614 [ 95%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/video/video_device.c.obj
2.614 [ 95%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/class/vendor/vendor_device.c.obj
2.615 [ 95%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/common/tusb_fifo.c.obj
2.616 [ 96%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/portable/raspberrypi/pio_usb/dcd_pio_usb.c.obj
2.616 [ 97%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/pico_fix/rp2040_usb_device_enumeration/rp2040_usb_device_enumeration.c.obj
2.617 [ 98%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/src/tusb.c.obj
2.619 [ 98%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/lib/tinyusb/hw/bsp/rp2040/family.c.obj
2.619 [100%] Building C object CMakeFiles/pico_hsm.dir/home/builduser/Devel/pico/pico-sdk/src/rp2_common/hardware_pio/pio.c.obj
2.726 make[2]: Target 'CMakeFiles/pico_hsm.dir/build' not remade because of errors.
2.727 make[1]: *** [CMakeFiles/Makefile2:1767: CMakeFiles/pico_hsm.dir/all] Error 2
2.727 make[1]: Target 'all' not remade because of errors.
2.727 make: *** [Makefile:103: all] Error 2
2.727 make: Target 'default_target' not remade because of errors.
------
------
Dockerfile:50
--------------------
49 | ARG PICO_BOARD=pico
50 | >>> RUN cd /home/builduser/pico-hsm \
51 | >>> && cd build_release \
52 | >>> && cmake .. -DPICO_BOARD=$PICO_BOARD -DUSB_VID=${USB_VID} -DUSB_PID=${USB_PID} \
53 | >>> && make -kj20
54 |
--------------------
ERROR: failed to solve: process "/bin/sh -c cd /home/builduser/pico-hsm \t&& cd build_release \t&& cmake .. -DPICO_BOARD=$PICO_BOARD -DUSB_VID=${USB_VID} -DUSB_PID=${USB_PID} \t&& make -kj20" did not complete successfully: exit code: 2
You must use VERSION_PICO_SDK=2.0.0
Works like a charm! many thanks!
Hi.
I run this command in git root
and then I get this
What am I doing wrong?