chirpstack / chirpstack-gateway-os

OpenWrt based gateway images including ChirpStack components.
https://www.chirpstack.io
131 stars 57 forks source link

Chirpstack concentratord building error #67

Closed SLDP-8255 closed 2 years ago

SLDP-8255 commented 3 years ago

Hello, I've encountered the problem with concentratord package during chirpstack-gateway-os-full build process. I was building the image on Ubuntu 18.04 LTS, all necessary packages and toolchain for Yocto Project already installed. It looks like some dependency error for rustc.

Chirpstack Gateway OS revision

The logs fragment regarding the issue:

|   running: "/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/cc-native-wrapper.sh" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-O2" "-pipe" "-g" "-feliminate-unused-debug-types" "-fmacro-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1" "-fdebug-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1" "-fdebug-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/recipe-sysroot=" "-fdebug-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/recipe-sysroot-native=" "-o" "/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/build/libloading-8b4570a569a949e1/out/src/os/unix/global_static.o" "-c" "src/os/unix/global_static.c"
|   cargo:warning=gcc: error: unrecognized command line option ‘-fmacro-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1’
|   exit code: 1
| 
|   --- stderr
| 
| 
|   error occurred: Command "/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/cc-native-wrapper.sh" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-O2" "-pipe" "-g" "-feliminate-unused-debug-types" "-fmacro-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1" "-fdebug-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1" "-fdebug-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/recipe-sysroot=" "-fdebug-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/recipe-sysroot-native=" "-o" "/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/build/libloading-8b4570a569a949e1/out/src/os/unix/global_static.o" "-c" "src/os/unix/global_static.c" with args "cc-native-wrapper.sh" did not execute successfully (status code exit code: 1).
| 
| 
| warning: build failed, waiting for other jobs to finish...
| error: build failed
| WARNING: exit code 101 from a shell command.
| ERROR: Execution of '/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/temp/run.do_compile.22309' failed with exit code 101:
|        Fresh unicode-xid v0.2.0
|        Fresh cc v1.0.50
|        Fresh autocfg v1.0.0
|        Fresh cfg-if v0.1.10
|        Fresh version_check v0.1.5
|        Fresh either v1.5.3
|        Fresh glob v0.3.0
|        Fresh regex-syntax v0.6.14
|        Fresh lazy_static v1.4.0
|        Fresh bytes v0.5.4
|        Fresh pkg-config v0.3.17
|        Fresh toml v0.2.1
|        Fresh error-chain v0.10.0
|        Fresh termcolor v1.1.0
|        Fresh unicode-segmentation v1.6.0
|        Fresh rustc-hash v1.1.0
|        Fresh fixedbitset v0.2.0
|        Fresh peeking_take_while v0.1.2
|        Fresh shlex v0.1.1
|        Fresh remove_dir_all v0.5.2
|        Fresh lazycell v1.2.1
|        Fresh futures-core v0.3.4
|        Fresh multimap v0.8.0
|        Fresh pin-project-lite v0.1.4
|        Fresh fnv v1.0.6
|        Fresh itoa v0.4.5
|        Fresh ppv-lite86 v0.2.6
|        Fresh pin-utils v0.1.0-alpha.4
|        Fresh tower-service v0.3.0
|        Fresh futures-sink v0.3.4
|        Fresh futures-task v0.3.4
|        Fresh unicode-width v0.1.7
|        Fresh percent-encoding v1.0.1
|        Fresh void v1.0.2
|        Fresh vec_map v0.8.1
|        Fresh strsim v0.8.0
|        Fresh ansi_term v0.11.0
|        Fresh quick-error v1.2.3
|        Fresh arc-swap v0.4.5
|        Fresh hex v0.4.2
|        Fresh cmake v0.1.42
|        Fresh thread_local v1.0.1
|        Fresh itertools v0.8.2
|        Fresh tracing-core v0.1.9
|        Fresh metadeps v1.1.2
|        Fresh heck v0.3.1
|        Fresh http v0.2.0
|        Fresh tokio v0.2.11
|        Fresh c2-chacha v0.2.3
|        Fresh futures-util v0.3.4
|        Fresh textwrap v0.11.0
|        Fresh humantime v1.3.0
|        Fresh zeromq-src v0.1.8+4.3.2
|    Compiling libloading v0.5.2
|        Fresh libc v0.2.66
|        Fresh log v0.4.8
|      Running `/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/build/libloading-cb7b018aa809cc7e/build-script-build`
|        Fresh proc-macro2 v1.0.8
|        Fresh memchr v2.3.2
|        Fresh anyhow v1.0.26
|        Fresh bitflags v1.2.1
|    Compiling http-body v0.3.1
|        Fresh tower-make v0.3.0
|        Fresh byteorder v1.3.4
|    Compiling indexmap v1.3.2
|      Running `rustc --crate-name http_body --edition=2018 /Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/cargo_home/registry/src/github.com-1ecc6299db9ec823/http-body-0.3.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C debuginfo=2 -C metadata=8649422dfd444137 -C extra-filename=-8649422dfd444137 --out-dir /Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/armv7-unknown-linux-gnueabihf/release/deps --target armv7-unknown-linux-gnueabihf -C linker=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/linker-wrapper.sh -L dependency=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/armv7-unknown-linux-gnueabihf/release/deps -L dependency=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps --extern bytes=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/armv7-unknown-linux-gnueabihf/release/deps/libbytes-5d2c809e61e64d9e.rmeta --extern http=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/armv7-unknown-linux-gnueabihf/release/deps/libhttp-54d33158dc617507.rmeta --cap-lints allow`
|    Compiling which v3.1.0
|      Running `rustc --crate-name indexmap /Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/cargo_home/registry/src/github.com-1ecc6299db9ec823/indexmap-1.3.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C debuginfo=2 -C metadata=8fb89b3b1dc68577 -C extra-filename=-8fb89b3b1dc68577 --out-dir /Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps -C linker=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/linker-native-wrapper.sh -L dependency=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps --cap-lints allow --cfg has_std`
|    Compiling getrandom v0.1.14
|      Running `rustc --crate-name which /Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/cargo_home/registry/src/github.com-1ecc6299db9ec823/which-3.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C debuginfo=2 -C metadata=4c02c31949687ae1 -C extra-filename=-4c02c31949687ae1 --out-dir /Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps -C linker=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/linker-native-wrapper.sh -L dependency=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps --extern libc=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps/liblibc-e67e84f46eecfe68.rmeta --cap-lints allow`
|    Compiling atty v0.2.14
|      Running `rustc --crate-name getrandom --edition=2018 /Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/cargo_home/registry/src/github.com-1ecc6299db9ec823/getrandom-0.1.14/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C debuginfo=2 --cfg 'feature="std"' -C metadata=794ed87a7ab195c5 -C extra-filename=-794ed87a7ab195c5 --out-dir /Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps -C linker=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/linker-native-wrapper.sh -L dependency=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps --extern cfg_if=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps/libcfg_if-dfee4a32393c1242.rmeta --extern libc=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps/liblibc-e67e84f46eecfe68.rmeta --cap-lints allow`
|      Running `rustc --crate-name atty /Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/cargo_home/registry/src/github.com-1ecc6299db9ec823/atty-0.2.14/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C debuginfo=2 -C metadata=a055b837389f423a -C extra-filename=-a055b837389f423a --out-dir /Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps -C linker=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/linker-native-wrapper.sh -L dependency=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps --extern libc=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps/liblibc-e67e84f46eecfe68.rmeta --cap-lints allow`
| The following warnings were emitted during compilation:
| 
| warning: gcc: error: unrecognized command line option ‘-fmacro-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1’
| 
| error: failed to run custom build command for `libloading v0.5.2`
| 
| Caused by:
|   process didn't exit successfully: `/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/build/libloading-cb7b018aa809cc7e/build-script-build` (exit code: 1)
|   --- stdout
|   cargo:rustc-link-lib=dl
|   TARGET = Some("x86_64-unknown-linux-gnu")
|   OPT_LEVEL = Some("3")
|   HOST = Some("x86_64-unknown-linux-gnu")
|   CC_x86_64-unknown-linux-gnu = None
|   CC_x86_64_unknown_linux_gnu = None
|   HOST_CC = None
|   CC = Some("/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/cc-native-wrapper.sh")
|   CFLAGS_x86_64-unknown-linux-gnu = None
|   CFLAGS_x86_64_unknown_linux_gnu = None
|   HOST_CFLAGS = None
|   CFLAGS = Some(" -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1                      -fdebug-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1                      -fdebug-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/recipe-sysroot=                      -fdebug-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/recipe-sysroot-native= ")
|   CRATE_CC_NO_DEFAULTS = None
|   DEBUG = Some("true")
|   CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
|   running: "/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/cc-native-wrapper.sh" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-O2" "-pipe" "-g" "-feliminate-unused-debug-types" "-fmacro-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1" "-fdebug-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1" "-fdebug-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/recipe-sysroot=" "-fdebug-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/recipe-sysroot-native=" "-o" "/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/build/libloading-8b4570a569a949e1/out/src/os/unix/global_static.o" "-c" "src/os/unix/global_static.c"
|   cargo:warning=gcc: error: unrecognized command line option ‘-fmacro-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1’
|   exit code: 1
| 
|   --- stderr
| 
| 
|   error occurred: Command "/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/cc-native-wrapper.sh" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-O2" "-pipe" "-g" "-feliminate-unused-debug-types" "-fmacro-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1" "-fdebug-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1" "-fdebug-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/recipe-sysroot=" "-fdebug-prefix-map=/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/recipe-sysroot-native=" "-o" "/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/build/libloading-8b4570a569a949e1/out/src/os/unix/global_static.o" "-c" "src/os/unix/global_static.c" with args "cc-native-wrapper.sh" did not execute successfully (status code exit code: 1).
| 
| 
| warning: build failed, waiting for other jobs to finish...
| error: build failed
| WARNING: exit code 101 from a shell command.
| 
ERROR: Task (/Projects/chirpstack-gateway-os/layers/chirpstack/meta-chirpstack/recipes-chirpstack/chirpstack-concentratord/chirpstack-concentratord_3.0.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 642 tasks of which 641 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /Projects/chirpstack-gateway-os/layers/chirpstack/meta-chirpstack/recipes-chirpstack/chirpstack-concentratord/chirpstack-concentratord_3.0.2.bb:do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Thanks

SLDP-8255 commented 3 years ago

@brocaar Any advice would be appreciated, Thanks

brocaar commented 3 years ago

Are you using the provided Docker Compose environment?

SLDP-8255 commented 3 years ago

@brocaar Thanks for your interest. Yes, the problem occurs both during build with use of docker-compose as well in the case of direct build in the host OS (without container). In addition, I changed and set PARALLEL_MAKE variable to 6 in local.conf file, because with its default value (6*2 in my case) I was experiencing the out of memory issue while compiling clang.

brocaar commented 3 years ago

Looking at the logs, it seems these are not from the provided Compose environment (the Compose env. is not using /Projects/... as prefix):

running: "/Projects/chirpstack-gateway-os/build/tmp/raspberrypi/raspberrypi3-glibc/...

Could you post the logs when using the provided Compose environment?

SLDP-8255 commented 3 years ago

@brocaar Yes, the logs I attached in the first post are about building directly in the host system (Ubuntu 18.04). Sorry, I forgot to add Compose environment logs in the last message. They are as follows:

|   error occurred: Command "/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/cc-native-wrapper.sh" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-O2" "-pipe" "-g" "-feliminate-unused-debug-types" "-fmacro-prefix-map=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1" "-fdebug-prefix-map=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1" "-fdebug-prefix-map=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/recipe-sysroot=" "-fdebug-prefix-map=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/recipe-sysroot-native=" "-o" "/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/build/libloading-8b4570a569a949e1/out/src/os/unix/global_static.o" "-c" "src/os/unix/global_static.c" with args "cc-native-wrapper.sh" did not execute successfully (status code exit code: 1).
| 
| 
| warning: build failed, waiting for other jobs to finish...
| error: build failed
| WARNING: exit code 101 from a shell command.
| ERROR: Execution of '/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/temp/run.do_compile.112' failed with exit code 101:
|        Fresh unicode-xid v0.2.0
|        Fresh cc v1.0.50
|        Fresh autocfg v1.0.0
|        Fresh cfg-if v0.1.10
|        Fresh version_check v0.1.5
|        Fresh either v1.5.3
|        Fresh glob v0.3.0
|        Fresh lazy_static v1.4.0
|        Fresh regex-syntax v0.6.14
|        Fresh error-chain v0.10.0
|        Fresh toml v0.2.1
|        Fresh pkg-config v0.3.17
|        Fresh termcolor v1.1.0
|        Fresh bytes v0.5.4
|        Fresh shlex v0.1.1
|        Fresh remove_dir_all v0.5.2
|        Fresh lazycell v1.2.1
|        Fresh rustc-hash v1.1.0
|        Fresh unicode-segmentation v1.6.0
|        Fresh fixedbitset v0.2.0
|        Fresh peeking_take_while v0.1.2
|        Fresh futures-core v0.3.4
|        Fresh pin-project-lite v0.1.4
|        Fresh multimap v0.8.0
|        Fresh itoa v0.4.5
|        Fresh ppv-lite86 v0.2.6
|        Fresh fnv v1.0.6
|        Fresh futures-sink v0.3.4
|        Fresh futures-task v0.3.4
|        Fresh pin-utils v0.1.0-alpha.4
|        Fresh tower-service v0.3.0
|        Fresh void v1.0.2
|        Fresh unicode-width v0.1.7
|        Fresh percent-encoding v1.0.1
|        Fresh strsim v0.8.0
|        Fresh quick-error v1.2.3
|        Fresh vec_map v0.8.1
|        Fresh ansi_term v0.11.0
|        Fresh arc-swap v0.4.5
|        Fresh hex v0.4.2
|        Fresh cmake v0.1.42
|        Fresh itertools v0.8.2
|        Fresh thread_local v1.0.1
|        Fresh tracing-core v0.1.9
|        Fresh metadeps v1.1.2
|        Fresh heck v0.3.1
|        Fresh tokio v0.2.11
|        Fresh http v0.2.0
|        Fresh c2-chacha v0.2.3
|        Fresh futures-util v0.3.4
|        Fresh textwrap v0.11.0
|        Fresh humantime v1.3.0
|        Fresh proc-macro2 v1.0.8
|        Fresh libc v0.2.66
|    Compiling libloading v0.5.2
|        Fresh log v0.4.8
|        Fresh zeromq-src v0.1.8+4.3.2
|      Running `/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/build/libloading-cb7b018aa809cc7e/build-script-build`
|        Fresh bitflags v1.2.1
|        Fresh memchr v2.3.2
|        Fresh anyhow v1.0.26
|        Fresh tower-make v0.3.0
|        Fresh byteorder v1.3.4
|        Fresh http-body v0.3.1
|        Fresh which v3.1.0
|    Compiling atty v0.2.14
|        Fresh quote v1.0.2
|    Compiling getrandom v0.1.14
|      Running `rustc --crate-name atty /build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/cargo_home/registry/src/github.com-1ecc6299db9ec823/atty-0.2.14/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C debuginfo=2 -C metadata=a055b837389f423a -C extra-filename=-a055b837389f423a --out-dir /build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps -C linker=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/linker-native-wrapper.sh -L dependency=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps --extern libc=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps/liblibc-e67e84f46eecfe68.rmeta --cap-lints allow`
|    Compiling time v0.1.42
|      Running `rustc --crate-name atty /build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/cargo_home/registry/src/github.com-1ecc6299db9ec823/atty-0.2.14/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C debuginfo=2 -C metadata=a64b44b2e529e023 -C extra-filename=-a64b44b2e529e023 --out-dir /build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/armv7-unknown-linux-gnueabihf/release/deps --target armv7-unknown-linux-gnueabihf -C linker=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/linker-wrapper.sh -L dependency=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/armv7-unknown-linux-gnueabihf/release/deps -L dependency=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps --extern libc=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/armv7-unknown-linux-gnueabihf/release/deps/liblibc-e8a1de2073893db9.rmeta --cap-lints allow`
|    Compiling signal-hook-registry v1.2.0
|      Running `rustc --crate-name getrandom --edition=2018 /build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/cargo_home/registry/src/github.com-1ecc6299db9ec823/getrandom-0.1.14/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C debuginfo=2 --cfg 'feature="std"' -C metadata=2591183458f44a4f -C extra-filename=-2591183458f44a4f --out-dir /build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/armv7-unknown-linux-gnueabihf/release/deps --target armv7-unknown-linux-gnueabihf -C linker=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/linker-wrapper.sh -L dependency=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/armv7-unknown-linux-gnueabihf/release/deps -L dependency=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps --extern cfg_if=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/armv7-unknown-linux-gnueabihf/release/deps/libcfg_if-c7a115ed8ece9609.rmeta --extern libc=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/armv7-unknown-linux-gnueabihf/release/deps/liblibc-e8a1de2073893db9.rmeta --cap-lints allow`
|      Running `rustc --crate-name signal_hook_registry /build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/cargo_home/registry/src/github.com-1ecc6299db9ec823/signal-hook-registry-1.2.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C debuginfo=2 -C metadata=935d5c63acc88142 -C extra-filename=-935d5c63acc88142 --out-dir /build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/armv7-unknown-linux-gnueabihf/release/deps --target armv7-unknown-linux-gnueabihf -C linker=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/linker-wrapper.sh -L dependency=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/armv7-unknown-linux-gnueabihf/release/deps -L dependency=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps --extern arc_swap=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/armv7-unknown-linux-gnueabihf/release/deps/libarc_swap-bed3a5c411a41a7b.rmeta --extern libc=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/armv7-unknown-linux-gnueabihf/release/deps/liblibc-e8a1de2073893db9.rmeta --cap-lints allow`
|      Running `rustc --crate-name time /build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/cargo_home/registry/src/github.com-1ecc6299db9ec823/time-0.1.42/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -Cembed-bitcode=no -C debuginfo=2 -C metadata=2ab97d6e9d94e118 -C extra-filename=-2ab97d6e9d94e118 --out-dir /build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/armv7-unknown-linux-gnueabihf/release/deps --target armv7-unknown-linux-gnueabihf -C linker=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/linker-wrapper.sh -L dependency=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/armv7-unknown-linux-gnueabihf/release/deps -L dependency=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/deps --extern libc=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/armv7-unknown-linux-gnueabihf/release/deps/liblibc-e8a1de2073893db9.rmeta --cap-lints allow`
| The following warnings were emitted during compilation:
| 
| warning: gcc: error: unrecognized command line option ‘-fmacro-prefix-map=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1’
| 
| error: failed to run custom build command for `libloading v0.5.2`
| 
| Caused by:
|   process didn't exit successfully: `/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/build/libloading-cb7b018aa809cc7e/build-script-build` (exit code: 1)
|   --- stdout
|   cargo:rustc-link-lib=dl
|   TARGET = Some("x86_64-unknown-linux-gnu")
|   OPT_LEVEL = Some("3")
|   HOST = Some("x86_64-unknown-linux-gnu")
|   CC_x86_64-unknown-linux-gnu = None
|   CC_x86_64_unknown_linux_gnu = None
|   HOST_CC = None
|   CC = Some("/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/cc-native-wrapper.sh")
|   CFLAGS_x86_64-unknown-linux-gnu = None
|   CFLAGS_x86_64_unknown_linux_gnu = None
|   HOST_CFLAGS = None
|   CFLAGS = Some(" -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1                      -fdebug-prefix-map=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1                      -fdebug-prefix-map=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/recipe-sysroot=                      -fdebug-prefix-map=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/recipe-sysroot-native= ")
|   CRATE_CC_NO_DEFAULTS = None
|   DEBUG = Some("true")
|   CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
|   running: "/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/cc-native-wrapper.sh" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-O2" "-pipe" "-g" "-feliminate-unused-debug-types" "-fmacro-prefix-map=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1" "-fdebug-prefix-map=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1" "-fdebug-prefix-map=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/recipe-sysroot=" "-fdebug-prefix-map=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/recipe-sysroot-native=" "-o" "/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/build/libloading-8b4570a569a949e1/out/src/os/unix/global_static.o" "-c" "src/os/unix/global_static.c"
|   cargo:warning=gcc: error: unrecognized command line option ‘-fmacro-prefix-map=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1’
|   exit code: 1
| 
|   --- stderr
| 
| 
|   error occurred: Command "/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/wrappers/cc-native-wrapper.sh" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-O2" "-pipe" "-g" "-feliminate-unused-debug-types" "-fmacro-prefix-map=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1" "-fdebug-prefix-map=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1=/usr/src/debug/chirpstack-concentratord/3.0.2-r1" "-fdebug-prefix-map=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/recipe-sysroot=" "-fdebug-prefix-map=/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/recipe-sysroot-native=" "-o" "/build/tmp/raspberrypi/raspberrypi3-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/chirpstack-concentratord/3.0.2-r1/target/release/build/libloading-8b4570a569a949e1/out/src/os/unix/global_static.o" "-c" "src/os/unix/global_static.c" with args "cc-native-wrapper.sh" did not execute successfully (status code exit code: 1).
| 
| 
| warning: build failed, waiting for other jobs to finish...
| error: build failed
| WARNING: exit code 101 from a shell command.
| 
ERROR: Task (/chirpstack-gateway-os/layers/chirpstack/meta-chirpstack/recipes-chirpstack/chirpstack-concentratord/chirpstack-concentratord_3.0.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 642 tasks of which 641 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /chirpstack-gateway-os/layers/chirpstack/meta-chirpstack/recipes-chirpstack/chirpstack-concentratord/chirpstack-concentratord_3.0.2.bb:do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
SLDP-8255 commented 2 years ago

That was caused by the docker container that was not rebuilt and updated.