chirpstack-gateway-os
chirpstack-gateway-os copied to clipboard
Build error - chirpstack_4.0.0.-rc.2
- [x] The issue is present in the latest release.
- [X] I have searched the issues of this repository and believe that this is not a duplicate.
What happened?
During Yocto build process, compilation errors occured for package: chirpstack_4.0.0-rc.2. I cloned fresh repository and set revision to 4.0.0-rc.1 and MACHINE variable to "raspberrypi4-64" (but I think it shouldn't affect compilation of this package). Then, a fresh docker environment has created and Yocto building process started.
What did you expect?
No compilation errors for this package.
Steps to reproduce this issue
Steps:
- Clone repository
- make submodules
- make permissions
- set MACHINE to "raspberrypi4-64" in meta/conf/local.conf.sample
- Launch build in the way as shown in the readme.md
Could you share your log output?
Initialising tasks: 100% |##########################################################################################################################################################################| Time: 0:00:03
Sstate summary: Wanted 14 Local 0 Mirrors 0 Missed 14 Current 1656 (0% match, 99% complete)
NOTE: Executing Tasks
ERROR: chirpstack-4.0.0-rc.2-r0 do_compile: ExecutionError('/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/temp/run.do_compile.105789', 101, None, None)
ERROR: Logfile of failure stored in: /build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/temp/log.do_compile.105789
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 32
| yarn install
| yarn install v1.22.18
| warning Skipping preferred cache folder "/home/yocto/.cache/yarn" because it is not writable.
| warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-999".
| [1/4] Resolving packages...
| [2/4] Fetching packages...
| [3/4] Linking dependencies...
| warning " > @testing-library/[email protected]" has unmet peer dependency "@testing-library/dom@>=7.21.4".
| warning " > [email protected]" has unmet peer dependency "moment@^2.10.2".
| warning " > [email protected]" has incorrect peer dependency "react@>=15.5 <=16.x".
| warning "react-scripts > eslint-config-react-app > [email protected]" has unmet peer dependency "@babel/plugin-syntax-flow@^7.14.5".
| warning "react-scripts > eslint-config-react-app > [email protected]" has unmet peer dependency "@babel/plugin-transform-react-jsx@^7.14.9".
| [4/4] Building fresh packages...
| success Saved lockfile.
| Done in 6.37s.
| yarn add file:../api/grpc-web
| yarn add v1.22.18
| warning Skipping preferred cache folder "/home/yocto/.cache/yarn" because it is not writable.
| warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-999".
| [1/4] Resolving packages...
| [2/4] Fetching packages...
| [3/4] Linking dependencies...
| warning " > @testing-library/[email protected]" has unmet peer dependency "@testing-library/dom@>=7.21.4".
| warning " > [email protected]" has unmet peer dependency "moment@^2.10.2".
| warning " > [email protected]" has incorrect peer dependency "react@>=15.5 <=16.x".
| warning "react-scripts > eslint-config-react-app > [email protected]" has unmet peer dependency "@babel/plugin-syntax-flow@^7.14.5".
| warning "react-scripts > eslint-config-react-app > [email protected]" has unmet peer dependency "@babel/plugin-transform-react-jsx@^7.14.9".
| [4/4] Building fresh packages...
| success Saved lockfile.
| success Saved 1 new dependency.
| info Direct dependencies
| └─ @chirpstack/[email protected]
| info All dependencies
| └─ @chirpstack/[email protected]
| Done in 6.65s.
| yarn build
| yarn run v1.22.18
| warning Skipping preferred cache folder "/home/yocto/.cache/yarn" because it is not writable.
| warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-999".
| $ react-scripts build
| warning Cannot find a suitable global folder. Tried these: "/usr/local, /home/yocto/.yarn"
| Creating an optimized production build...
| Compiled successfully.
|
| File sizes after gzip:
|
| 755.44 kB build/static/js/main.5bf7c541.js
| 98.78 kB build/static/css/main.119ef0d6.css
| 1.78 kB build/static/js/787.c7670997.chunk.js
|
| The bundle size is significantly larger than recommended.
| Consider reducing it with code splitting: https://goo.gl/9VhYWB
| You can also analyze the project dependencies: https://goo.gl/LeUzfb
|
| The project was built assuming it is hosted at /.
| You can control this with the homepage field in your package.json.
|
| The build folder is ready to be deployed.
| You may serve it with a static server:
|
| yarn global add serve
| serve -s build
|
| Find out more about deployment here:
|
| https://cra.link/deployment
|
| Done in 41.68s.
| NOTE: cargo = /build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/recipe-sysroot-native/usr/bin/cargo
| NOTE: rustc =
| NOTE: cargo build -v --target aarch64-oe-linux --release --manifest-path=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/git/chirpstack/Cargo.toml
| Fresh unicode-ident v1.0.2
| Fresh version_check v0.9.4
| Fresh autocfg v1.1.0
| Fresh once_cell v1.13.0
| Fresh cc v1.0.73
| Fresh pin-project-lite v0.2.9
| Fresh itoa v1.0.2
| Fresh futures-io v0.3.21
| Fresh slab v0.4.6
| Fresh futures-sink v0.3.21
| Fresh pin-utils v0.1.0
| Fresh ryu v1.0.10
| Fresh fnv v1.0.7
| Fresh base64 v0.13.0
| Fresh percent-encoding v2.1.0
| Fresh spin v0.5.2
| Fresh untrusted v0.7.1
| Fresh tower-service v0.3.2
| Fresh pkg-config v0.3.25
| Fresh cfg-if v1.0.0
| Fresh try-lock v0.2.3
| Fresh httpdate v1.0.2
| Fresh matches v0.1.9
| Fresh ppv-lite86 v0.2.16
| Fresh openssl-probe v0.1.5
| Fresh hashbrown v0.12.3
| Fresh subtle v2.4.1
| Fresh time-macros v0.2.4
| Fresh tinyvec_macros v0.1.0
| Fresh num_threads v0.1.6
| Fresh lazy_static v1.4.0
| Fresh unicode-bidi v0.3.8
| Fresh either v1.7.0
| Fresh itoa v0.4.8
| Fresh mime v0.3.16
| Fresh bytes v1.2.0
| Fresh tower-layer v0.3.1
| Fresh scopeguard v1.1.0
| Fresh heck v0.4.0
| Fresh fastrand v1.7.0
| Fresh regex-syntax v0.6.27
| Fresh multimap v0.8.3
| Fresh smallvec v1.9.0
| Fresh cache-padded v1.2.0
| Fresh glob v0.3.0
| Fresh foreign-types-shared v0.1.1
| Fresh os_str_bytes v6.2.0
| Fresh parking v2.0.0
| Fresh hex v0.4.3
| Fresh termcolor v1.1.3
| Fresh waker-fn v1.1.0
| Fresh textwrap v0.15.0
| Fresh strsim v0.10.0
| Fresh bitflags v1.3.2
| Fresh event-listener v2.5.2
| Fresh zeroize v1.5.6
| Fresh http-range-header v0.3.0
| Fresh lazycell v1.3.0
| Fresh shlex v1.1.0
| Fresh rustc-hash v1.1.0
| Fresh byteorder v1.4.3
| Fresh minimal-lexical v0.2.1
| Fresh peeking_take_while v0.1.2
| Fresh matchit v0.5.0
| Fresh yasna v0.5.0
| Fresh sync_wrapper v0.1.1
| Fresh cookie-factory v0.3.2
| Fresh async-task v4.3.0
| Fresh urlencoding v1.3.3
| Fresh ipnet v2.5.0
| Fresh maplit v1.0.2
| Fresh atomic-waker v1.0.0
| Fresh xmlparser v0.13.3
| Fresh opaque-debug v0.3.0
| Fresh remove_dir_all v0.5.3
| Fresh safemem v0.3.3
| Fresh utf-8 v0.7.6
| Fresh same-file v1.0.6
| Fresh base64ct v1.5.1
| Fresh linked-hash-map v0.5.6
| Fresh ucd-trie v0.1.4
| Fresh sha1_smol v1.0.0
| Fresh relative-path v1.7.2
| Fresh quick-error v1.2.3
| Fresh unicode-width v0.1.9
| Fresh stable_deref_trait v1.2.0
| Fresh ansi_term v0.12.1
| Fresh humantime v2.1.0
| Fresh futures-timer v3.0.2
| Fresh fixedbitset v0.4.2
| Fresh dtoa v0.4.8
| Fresh dtoa v1.0.2
| Fresh scoped-tls v1.0.0
| Fresh vec_map v0.8.2
| Fresh validator_types v0.12.0
| Fresh strsim v0.8.0
| Fresh urlencoding v2.1.0
| Fresh tracing-core v0.1.28
| Fresh http v0.2.8
| Fresh cmake v0.1.45
| Fresh openssl-src v111.22.0+1.1.1q
| Fresh rustls-pemfile v1.0.0
| Fresh pem v1.1.0
| Fresh thread_local v1.1.4
| Fresh form_urlencoded v1.0.1
| Fresh tinyvec v1.6.0
| Fresh bytes-utils v0.1.2
| Fresh libloading v0.7.3
| Fresh sharded-slab v0.1.4
| Fresh itertools v0.10.3
| Fresh concurrent-queue v1.2.3
| Fresh foreign-types v0.3.2
| Fresh clap_lex v0.2.4
| Fresh async-lock v2.5.0
| Fresh regex-automata v0.1.10
| Fresh walkdir v2.3.2
| Fresh sha1 v0.6.1
| Fresh yaml-rust v0.4.5
| Fresh pest v2.1.3
| Fresh proc-macro2 v1.0.40
| Fresh futures-core v0.3.21
| Fresh futures-task v0.3.21
| Fresh owning_ref v0.4.1
| Fresh textwrap v0.11.0
| Fresh httparse v1.7.1
| Fresh http-body v0.4.5
| Fresh libc v0.2.126
| Fresh memchr v2.5.0
| Fresh unicode-normalization v0.1.21
| Fresh rustls-native-certs v0.6.2
| Fresh typenum v1.15.0
| Fresh anyhow v1.0.58
| Fresh headers-core v0.2.0
| Fresh quote v1.0.20
| Fresh socket2 v0.4.4
| Fresh num_cpus v1.13.1
| Fresh signal-hook-registry v1.4.0
| Fresh futures-channel v0.3.21
| Fresh getrandom v0.2.7
| Fresh cpufeatures v0.2.2
| Fresh time v0.1.44
| Fresh semver v1.0.12
| Fresh parking_lot_core v0.9.3
| Fresh futures-lite v1.12.0
| Fresh async-channel v1.6.1
| Fresh encoding_rs v0.8.31
| Fresh pest_meta v2.1.3
| Fresh buf_redux v0.8.4
| Fresh crossbeam-utils v0.8.10
| Fresh doc-comment v0.3.3
| Fresh twoway v0.1.8
| Fresh dirs-sys-next v0.1.2
| Fresh libm v0.2.2
| Fresh matchers v0.0.1
| Fresh crc16 v0.4.0
| Fresh combine v4.6.4
| Fresh syn v1.0.98
| Fresh num-traits v0.2.15
| Fresh ring v0.16.20
| Fresh aho-corasick v0.7.18
| Fresh which v4.2.5
| Fresh indexmap v1.9.1
| Fresh idna v0.2.3
| Fresh tempfile v3.3.0
| Fresh lock_api v0.4.7
| Fresh atty v0.2.14
| Fresh nom v7.1.1
| Fresh generic-array v0.14.5
| Fresh proc-macro-error-attr v1.0.4
| Fresh unicase v2.6.0
| Fresh pq-sys v0.4.7
| Fresh libz-sys v1.1.8
| Fresh ctor v0.1.22
| Fresh serde_derive v1.0.139
| Fresh tokio-macros v1.8.0
| Fresh tracing-attributes v0.1.22
| Fresh futures-macro v0.3.21
| Fresh num-integer v0.1.45
| Fresh pin-project-internal v1.0.11
| Fresh rand_core v0.6.3
| Fresh thiserror-impl v1.0.31
| Fresh crypto-common v0.1.6
| Fresh prost-derive v0.10.1
| Fresh async-trait v0.1.56
| Fresh block-buffer v0.10.2
| Fresh block-padding v0.3.2
| Fresh rustc_version v0.4.0
| Fresh openssl-macros v0.1.0
| Fresh prettyplease v0.1.16
| Fresh clang-sys v1.3.3
| Fresh cipher v0.3.0
| Fresh async-stream-impl v0.3.3
| Fresh blocking v1.2.0
| Fresh async-executor v1.4.1
| Fresh dbl v0.3.2
| Fresh pest_generator v2.1.3
| Fresh ordered-float v2.10.0
| Fresh geo-types v0.7.6
| Fresh crossbeam-channel v0.5.6
| Fresh prometheus-client-derive-text-encode v0.2.0
| Fresh dirs-next v2.0.0
| Fresh async-recursion v1.0.0
| Fresh clap v2.34.0
| Fresh futures-util v0.3.21
| Fresh pin-project v1.0.11
| Fresh rand_chacha v0.3.1
| Fresh value-bag v1.0.0-alpha.9
| Fresh regex v1.6.0
| Fresh webpki v0.22.0
| Fresh sct v0.7.0
| Fresh digest v0.10.3
| Fresh inout v0.1.3
| Fresh petgraph v0.6.2
| Fresh sct v0.6.1
| Fresh openssl-sys v0.9.75
| Fresh serde v1.0.139
| Fresh webpki v0.21.4
| Fresh parking_lot v0.12.1
| Fresh num-bigint v0.4.3
| Fresh clap v3.2.12
| Fresh cexpr v0.6.0
| Fresh prost v0.10.4
| Fresh thiserror v1.0.31
| Fresh proc-macro-error v1.0.4
| Fresh block-buffer v0.9.0
| Fresh digest v0.9.0
| Fresh reactor-trait v1.1.0
| Fresh spin v0.9.4
| Fresh executor-trait v2.1.0
| Fresh password-hash v0.2.3
| Fresh rand v0.8.5
| Fresh serde_json v1.0.82
| Fresh log v0.4.17
| Fresh time v0.3.11
| Fresh url v2.2.2
| Fresh chrono v0.4.19
| Fresh serde_urlencoded v0.7.1
| Fresh axum-core v0.2.7
| Fresh webpki-roots v0.22.4
| Fresh crypto-mac v0.11.1
| Fresh async-stream v0.3.3
| Fresh sha-1 v0.9.8
| Fresh uuid v1.1.2
| Fresh futures-executor v0.3.21
| Fresh aws-smithy-xml v0.33.1
| Fresh serde_path_to_error v0.1.7
| Fresh pbjson v0.3.2
| Fresh serde-value v0.7.0
| Fresh tracing-serde v0.1.3
| Fresh pest_derive v2.1.0
| Fresh aes v0.7.5
| Fresh prometheus-client v0.16.0
| Fresh humantime-serde v1.1.1
| Fresh serde_yaml v0.8.26
| Fresh geohash v0.12.0
| Fresh mio v0.8.4
| Fresh tracing v0.1.35
| Fresh want v0.3.0
| Fresh aws-smithy-types v0.33.1
| Fresh rustls v0.20.6
| Fresh cipher v0.4.3
| Fresh toml v0.5.9
| Fresh rustls v0.19.1
| Fresh openssl v0.10.41
| Fresh env_logger v0.9.0
| Fresh polling v2.2.0
| Fresh ct-logs v0.8.0
| Fresh sha1 v0.10.1
| Fresh scheduled-thread-pool v0.2.6
| Fresh hmac v0.12.1
| Fresh amq-protocol-types v7.0.1
| Fresh sha2 v0.9.9
| Fresh diesel_derives v2.0.0-rc.1
| Fresh bigdecimal v0.3.0
| Fresh sha2 v0.10.2
| Fresh sha-1 v0.10.0
| Fresh prost-types v0.10.1
| Fresh flume v0.10.13
| Fresh tracing-log v0.1.3
| Fresh simple_asn1 v0.6.2
| Fresh paho-mqtt-sys v0.7.0
| Fresh validator v0.13.0
| Fresh tokio v1.20.0
| Fresh prost-build v0.10.4
| Fresh pbjson-build v0.3.2
| Fresh des v0.8.1
| Fresh rc2 v0.8.1
| Fresh tracing-futures v0.2.5
| Fresh cbc v0.1.2
| Fresh rustls-connector v0.16.1
| Fresh proc-macro-crate v1.1.3
| Fresh aws-smithy-query v0.33.1
| Fresh tungstenite v0.14.0
| Fresh futures v0.3.21
| Fresh aes v0.8.1
| Fresh cmac v0.6.0
| Fresh hmac v0.11.0
| Fresh aws-smithy-json v0.33.1
| Fresh migrations_internals v2.0.0-rc.1
| Fresh handlebars v4.3.2
| Fresh tower-http v0.1.3
| Fresh tokio-util v0.7.3
| Fresh tokio-util v0.6.10
| Fresh aws-smithy-async v0.33.1
| Fresh tokio-rustls v0.23.4
| Fresh tokio-stream v0.1.9
| Fresh tonic-build v0.7.2
| Fresh native-tls v0.2.10
| Fresh tokio-rustls v0.22.0
| Fresh bindgen v0.60.1
| Fresh tokio-io-timeout v1.2.0
| Fresh rustls-native-certs v0.5.0
| Fresh async-io v1.7.0
| Fresh p12 v0.6.3
| Fresh r2d2 v0.8.10
| Fresh num_enum_derive v0.5.7
| Fresh amq-protocol-uri v7.0.1
| Fresh rust-embed-utils v7.2.0
| Fresh mime_guess v2.0.4
| Fresh pinky-swear v6.1.0
| Fresh headers v0.3.7
| Fresh tokio-executor-trait v2.1.0
| Fresh tracing-subscriber v0.2.25
| Fresh jsonwebtoken v8.1.1
| Fresh h2 v0.3.13
| Fresh tower v0.4.13
| Fresh aws-types v0.3.0
| Fresh tokio-native-tls v0.3.0
| Fresh tcp-stream v0.24.4
| Fresh num_enum v0.5.7
| warning: target json file contains unused fields: has-elf-tls
|
| Fresh async-global-executor v2.2.0
| Fresh diesel v2.0.0-rc.1
| Fresh multipart v0.18.0
| Fresh async-reactor-trait v1.1.0
| Fresh migrations_macros v2.0.0-rc.1
| Fresh aes-kw v0.2.1
| Fresh rust-embed-impl v6.2.0
| Fresh tokio-tungstenite v0.15.0
| Fresh tokio-reactor-trait v1.1.0
| Fresh redis v0.21.5
| Fresh pbkdf2 v0.8.0
| Fresh paho-mqtt v0.11.1
| warning: `chirpstack_api` (build script) generated 2 warnings (1 duplicate)
| Fresh hyper v0.14.20
| Fresh tower-http v0.3.4
| Fresh amq-protocol-tcp v7.0.1
| Fresh pbjson-types v0.3.2
| Fresh rdkafka-sys v4.2.0+1.8.2
| Fresh async-global-executor-trait v2.1.0
| Compiling diesel_migrations v2.0.0-rc.1
| Compiling lrwn v4.0.0-rc.2 (/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/git/lrwn)
| Fresh rust-embed v6.4.0
| Running `rustc --crate-name diesel_migrations --edition=2018 /build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/cargo_home/bitbake/diesel_migrations-2.0.0-rc.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=z -C linker-plugin-lto -C codegen-units=1 --cfg 'feature="default"' -C metadata=e9f7efbf1ed9daf0 -C extra-filename=-e9f7efbf1ed9daf0 --out-dir /build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/deps --target aarch64-oe-linux -C linker=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/wrapper/target-rust-ccld -L dependency=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/deps -L dependency=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/release/deps --extern diesel=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/deps/libdiesel-caa2ac519941155c.rmeta --extern migrations_internals=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/deps/libmigrations_internals-916d1e567e7e0bf9.rmeta --extern migrations_macros=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/release/deps/libmigrations_macros-519e48fb890c32e6.so --cap-lints allow -L /build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/recipe-sysroot/usr/lib/rust --remap-path-prefix=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0=/usr/src/debug/chirpstack/4.0.0-rc.2-r0 -L native=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/recipe-sysroot/usr/lib`
| Fresh aws-smithy-http v0.33.1
| Fresh hyper-rustls v0.23.0
| Fresh axum v0.5.13
| Fresh hyper-timeout v0.4.1
| Fresh hyper-tls v0.5.0
| Fresh hyper-rustls v0.22.1
| Compiling rquickjs-sys v0.1.6
| Fresh amq-protocol v7.0.1
| Fresh rdkafka v0.28.0
| Fresh warp v0.3.2
| Running `rustc --crate-name lrwn --edition=2018 lrwn/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=z -C linker-plugin-lto -C codegen-units=1 -C metadata=4d00deef9d1ece70 -C extra-filename=-4d00deef9d1ece70 --out-dir /build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/deps --target aarch64-oe-linux -C linker=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/wrapper/target-rust-ccld -L dependency=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/deps -L dependency=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/release/deps --extern aes=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/deps/libaes-3c18c550fe0cccec.rmeta --extern anyhow=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/deps/libanyhow-148e77bfcaaa8074.rmeta --extern cmac=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/deps/libcmac-87064073b0d12e18.rmeta --extern diesel=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/deps/libdiesel-caa2ac519941155c.rmeta --extern hex=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/deps/libhex-bfe995cdfabee278.rmeta --extern lazy_static=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/deps/liblazy_static-50b0870d96e9a0d2.rmeta --extern serde=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/deps/libserde-59e18f1a56dce495.rmeta --extern thiserror=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/deps/libthiserror-c90eeb85d587eb20.rmeta -L /build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/recipe-sysroot/usr/lib/rust --remap-path-prefix=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0=/usr/src/debug/chirpstack/4.0.0-rc.2-r0 -L native=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/recipe-sysroot/usr/lib`
| Running `rustc --crate-name rquickjs_sys --edition=2018 /build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/cargo_home/bitbake/rquickjs-sys-0.1.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=z -C linker-plugin-lto -C codegen-units=1 --cfg 'feature="bindgen"' --cfg 'feature="bindgen-rs"' --cfg 'feature="exports"' -C metadata=c559bcdb10e8e735 -C extra-filename=-c559bcdb10e8e735 --out-dir /build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/deps --target aarch64-oe-linux -C linker=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/wrapper/target-rust-ccld -L dependency=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/deps -L dependency=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/release/deps --cap-lints allow -L /build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/recipe-sysroot/usr/lib/rust --remap-path-prefix=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0=/usr/src/debug/chirpstack/4.0.0-rc.2-r0 -L native=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/build/rquickjs-sys-f0d5f8a4503cfd99/out -l static=quickjs`
| Fresh aws-smithy-http-tower v0.33.1
| Fresh aws-sigv4 v0.3.0
| Fresh aws-http v0.3.0
| Fresh tonic v0.7.2
| Fresh reqwest v0.11.11
| Fresh aws-endpoint v0.3.0
| Fresh gcp_auth v0.7.3
| Fresh lapin v2.1.1
| Fresh aws-smithy-client v0.33.1
| Fresh aws-sig-auth v0.3.0
| Fresh oauth2 v4.2.3
| Fresh chirpstack_api v4.0.0-rc.2 (/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/git/api/rust)
| Fresh tonic-reflection v0.4.0
| Fresh tonic-web v0.3.0
| Fresh backend v4.0.0-rc.2 (/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/git/backend)
| warning: `chirpstack_api` (lib) generated 2 warnings (2 duplicates)
| warning: `backend` (lib) generated 2 warnings (2 duplicates)
| Fresh aws-sdk-sts v0.3.0
| Fresh aws-sdk-sns v0.3.0
| Fresh openidconnect v2.3.2
| Fresh aws-config v0.3.0
| Building [=======================> ] 544/550: diesel_migrations, rquick...
| error[E0422]: cannot find struct, variant or union type `JSValueUnion` in this scope
| --> /usr/src/debug/chirpstack/4.0.0-rc.2-r0/cargo_home/bitbake/rquickjs-sys-0.1.6/src/inlines/ptr_64.rs:34:12
| |
| 34 | u: JSValueUnion { int32: val },
| | ^^^^^^^^^^^^ not found in this scope
|
| error[E0422]: cannot find struct, variant or union type `JSValueUnion` in this scope
| --> /usr/src/debug/chirpstack/4.0.0-rc.2-r0/cargo_home/bitbake/rquickjs-sys-0.1.6/src/inlines/ptr_64.rs:42:12
| |
| 42 | u: JSValueUnion { ptr },
| | ^^^^^^^^^^^^ not found in this scope
|
| error[E0422]: cannot find struct, variant or union type `JSValueUnion` in this scope
| --> /usr/src/debug/chirpstack/4.0.0-rc.2-r0/cargo_home/bitbake/rquickjs-sys-0.1.6/src/inlines/ptr_64.rs:54:8
| |
| 54 | u: JSValueUnion { float64: f64::NAN },
| | ^^^^^^^^^^^^ not found in this scope
|
| error[E0422]: cannot find struct, variant or union type `JSValueUnion` in this scope
| --> /usr/src/debug/chirpstack/4.0.0-rc.2-r0/cargo_home/bitbake/rquickjs-sys-0.1.6/src/inlines/ptr_64.rs:61:12
| |
| 61 | u: JSValueUnion { float64: d },
| | ^^^^^^^^^^^^ not found in this scope
|
| error[E0071]: expected struct, variant or union type, found `u64`
| --> /usr/src/debug/chirpstack/4.0.0-rc.2-r0/cargo_home/bitbake/rquickjs-sys-0.1.6/src/inlines/ptr_64.rs:52:29
| |
| 52 | pub const JS_NAN: JSValue = JSValue {
| | ^^^^^^^ not a struct
|
| error[E0610]: `u64` is a primitive type and therefore doesn't have fields
| --> /usr/src/debug/chirpstack/4.0.0-rc.2-r0/cargo_home/bitbake/rquickjs-sys-0.1.6/src/inlines/ptr_64.rs:3:7
| |
| 3 | v.tag as _
| | ^^^
|
| error[E0610]: `u64` is a primitive type and therefore doesn't have fields
| --> /usr/src/debug/chirpstack/4.0.0-rc.2-r0/cargo_home/bitbake/rquickjs-sys-0.1.6/src/inlines/ptr_64.rs:13:7
| |
| 13 | v.u.int32
| | ^
|
| error[E0610]: `u64` is a primitive type and therefore doesn't have fields
| --> /usr/src/debug/chirpstack/4.0.0-rc.2-r0/cargo_home/bitbake/rquickjs-sys-0.1.6/src/inlines/ptr_64.rs:18:7
| |
| 18 | v.u.int32 != 0
| | ^
|
| error[E0610]: `u64` is a primitive type and therefore doesn't have fields
| --> /usr/src/debug/chirpstack/4.0.0-rc.2-r0/cargo_home/bitbake/rquickjs-sys-0.1.6/src/inlines/ptr_64.rs:23:7
| |
| 23 | v.u.float64
| | ^
|
| error[E0610]: `u64` is a primitive type and therefore doesn't have fields
| --> /usr/src/debug/chirpstack/4.0.0-rc.2-r0/cargo_home/bitbake/rquickjs-sys-0.1.6/src/inlines/ptr_64.rs:28:7
| |
| 28 | v.u.ptr
| | ^
|
| error[E0071]: expected struct, variant or union type, found `u64`
| --> /usr/src/debug/chirpstack/4.0.0-rc.2-r0/cargo_home/bitbake/rquickjs-sys-0.1.6/src/inlines/ptr_64.rs:33:5
| |
| 33 | JSValue {
| | ^^^^^^^ not a struct
|
| error[E0071]: expected struct, variant or union type, found `u64`
| --> /usr/src/debug/chirpstack/4.0.0-rc.2-r0/cargo_home/bitbake/rquickjs-sys-0.1.6/src/inlines/ptr_64.rs:41:5
| |
| 41 | JSValue {
| | ^^^^^^^ not a struct
|
| error[E0071]: expected struct, variant or union type, found `u64`
| --> /usr/src/debug/chirpstack/4.0.0-rc.2-r0/cargo_home/bitbake/rquickjs-sys-0.1.6/src/inlines/ptr_64.rs:59:5
| |
| 59 | JSValue {
| | ^^^^^^^ not a struct
|
| error[E0610]: `u64` is a primitive type and therefore doesn't have fields
| --> /usr/src/debug/chirpstack/4.0.0-rc.2-r0/cargo_home/bitbake/rquickjs-sys-0.1.6/src/inlines/ptr_64.rs:71:10
| |
| 71 | if v.tag != JS_TAG_FLOAT64 as _ {
| | ^^^
|
| error[E0610]: `u64` is a primitive type and therefore doesn't have fields
| --> /usr/src/debug/chirpstack/4.0.0-rc.2-r0/cargo_home/bitbake/rquickjs-sys-0.1.6/src/inlines/ptr_64.rs:74:22
| |
| 74 | let u = U { d: v.u.float64 };
| | ^
|
| Some errors have detailed explanations: E0071, E0422, E0610.
| For more information about an error, try `rustc --explain E0071`.
| warning: `rquickjs-sys` (lib) generated 2 warnings (2 duplicates)
| error: could not compile `rquickjs-sys` due to 15 previous errors; 2 warnings emitted
|
| Caused by:
| process didn't exit successfully: `rustc --crate-name rquickjs_sys --edition=2018 /build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/cargo_home/bitbake/rquickjs-sys-0.1.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=z -C linker-plugin-lto -C codegen-units=1 --cfg 'feature="bindgen"' --cfg 'feature="bindgen-rs"' --cfg 'feature="exports"' -C metadata=c559bcdb10e8e735 -C extra-filename=-c559bcdb10e8e735 --out-dir /build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/deps --target aarch64-oe-linux -C linker=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/wrapper/target-rust-ccld -L dependency=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/deps -L dependency=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/release/deps --cap-lints allow -L /build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/recipe-sysroot/usr/lib/rust --remap-path-prefix=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0=/usr/src/debug/chirpstack/4.0.0-rc.2-r0 -L native=/build/tmp/raspberrypi4-64-glibc/work/cortexa72-oe-linux/chirpstack/4.0.0-rc.2-r0/build/target/aarch64-oe-linux/release/build/rquickjs-sys-f0d5f8a4503cfd99/out -l static=quickjs` (exit status: 1)
| warning: build failed, waiting for other jobs to finish...
| Building [=======================> ] 545/550: diesel_migrations, lrwn
| warning: `diesel_migrations` (lib) generated 2 warnings (2 duplicates)
| Building [=======================> ] 546/550: lrwn
| warning: `lrwn` (lib) generated 2 warnings (2 duplicates)
| error: build failed
| WARNING: exit code 101 from a shell command.
ERROR: Task (/chirpstack-gateway-os/meta/recipes-chirpstack/chirpstack/chirpstack_4.0.0-rc.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4025 tasks of which 4023 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/chirpstack-gateway-os/meta/recipes-chirpstack/chirpstack/chirpstack_4.0.0-rc.2.bb:do_compile
Summary: There was 1 ERROR message, returning a non-zero exit code.
Your Environment
Host OS: Ubuntu 22.04
| Component | Version |
|---|---|
| ChirpStack Gateway OS | v4.0.0-rc.1 |