https://github.com/IamTheCarl/system-mqtt

Hi everybody,

I am trying to get the following working on my Pi1 (Having also a Pi2, Pi3 newt to me)

But I didn’t come through the installation process.
Stucking hard within the:
Cargo helper command cargo-deb
(Called it about 13 times and get no response for hours → ssh session ends)

Is it possible to create some precpmpiled package on any other system to port back on the pi1?
I guess it would not get any better with a pi3 (and at the end I need only the Pi1 that might idle wit 5% CPU load I want to track over weekls)

Greatings
Oekel

I think you are asking the wrong community, as this project is absolutely not openHAB related.

Do you have enough space on the Pi ?
Try to run

cargo deb --verbose

to see if there is any progress or where it is stuck.

ser2net:~ $ df -h
Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
/dev/root        59G    2,8G   54G    5% /
devtmpfs         87M       0   87M    0% /dev
tmpfs           215M       0  215M    0% /dev/shm
tmpfs            86M    912K   85M    2% /run
tmpfs           5,0M    4,0K  5,0M    1% /run/lock
/dev/mmcblk0p1  255M     52M  204M   21% /boot
tmpfs            43M       0   43M    0% /run/user/1000
ser2net:~ $ cargo deb --verbose
error: no such command: `deb`

	Did you mean `b`?

	View all installed commands with `cargo --list`
	Find a package to install `deb` with `cargo search cargo-deb`

Follwing steps takes extrem long (maybee endless):

ser2net:~ $ cargo install --verbose cargo-deb
    Updating crates.io index
  Installing cargo-deb v2.1.0
    Updating crates.io index
  Downloaded toml_edit v0.22.9
  Downloaded aho-corasick v1.1.3
  Downloaded toml v0.8.12
  Downloaded syn v2.0.55
  Downloaded serde_json v1.0.115
  Downloaded rustix v0.38.32
  Downloaded regex-syntax v0.8.3
  Downloaded regex v1.10.4
  Downloaded rayon v1.10.0
  Downloaded proc-macro2 v1.0.79
  Downloaded memchr v2.7.2
  Downloaded itoa v1.0.11
  Downloaded indexmap v2.2.6
  Downloaded fastrand v2.0.2
  Downloaded bitflags v2.5.0
  Downloaded 15 crates (2.2 MB) in 9.14s
   Compiling proc-macro2 v1.0.79
     Running `/home/oekel/.rustup/toolchains/stable-arm-unknown-linux-gnueabihf/bin/rustc --crate-name build_script_build --edition=2021 /home/oekel/.cargo/registry/src/index.crates.io-1cd66030c949c28d/proc-macro2-1.0.79/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=113 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="proc-macro"' -C metadata=2d9ce1f46d495280 -C extra-filename=-2d9ce1f46d495280 --out-dir /tmp/cargo-installXOPUZE/release/build/proc-macro2-2d9ce1f46d495280 -L dependency=/tmp/cargo-installXOPUZE/release/deps --cap-lints allow`
     Running `/tmp/cargo-installXOPUZE/release/build/proc-macro2-2d9ce1f46d495280/build-script-build`
   Compiling unicode-ident v1.0.12
     Running `/home/oekel/.rustup/toolchains/stable-arm-unknown-linux-gnueabihf/bin/rustc --crate-name unicode_ident --edition=2018 /home/oekel/.cargo/registry/src/index.crates.io-1cd66030c949c28d/unicode-ident-1.0.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=113 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=5bc59702059a34bb -C extra-filename=-5bc59702059a34bb --out-dir /tmp/cargo-installXOPUZE/release/deps -L dependency=/tmp/cargo-installXOPUZE/release/deps --cap-lints allow`
     Running `/home/oekel/.rustup/toolchains/stable-arm-unknown-linux-gnueabihf/bin/rustc --crate-name proc_macro2 --edition=2021 /home/oekel/.cargo/registry/src/index.crates.io-1cd66030c949c28d/proc-macro2-1.0.79/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=113 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="proc-macro"' -C metadata=ce851cfc93c73b9b -C extra-filename=-ce851cfc93c73b9b --out-dir /tmp/cargo-installXOPUZE/release/deps -L dependency=/tmp/cargo-installXOPUZE/release/deps --extern unicode_ident=/tmp/cargo-installXOPUZE/release/deps/libunicode_ident-5bc59702059a34bb.rmeta --cap-lints allow --cfg wrap_proc_macro`
   Compiling quote v1.0.35
     Running `/home/oekel/.rustup/toolchains/stable-arm-unknown-linux-gnueabihf/bin/rustc --crate-name quote --edition=2018 /home/oekel/.cargo/registry/src/index.crates.io-1cd66030c949c28d/quote-1.0.35/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=113 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="proc-macro"' -C metadata=2d061052462ec541 -C extra-filename=-2d061052462ec541 --out-dir /tmp/cargo-installXOPUZE/release/deps -L dependency=/tmp/cargo-installXOPUZE/release/deps --extern proc_macro2=/tmp/cargo-installXOPUZE/release/deps/libproc_macro2-ce851cfc93c73b9b.rmeta --cap-lints allow`
   Compiling syn v2.0.55
     Running `/home/oekel/.rustup/toolchains/stable-arm-unknown-linux-gnueabihf/bin/rustc --crate-name syn --edition=2021 /home/oekel/.cargo/registry/src/index.crates.io-1cd66030c949c28d/syn-2.0.55/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=113 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=d4165000b1660896 -C extra-filename=-d4165000b1660896 --out-dir /tmp/cargo-installXOPUZE/release/deps -L dependency=/tmp/cargo-installXOPUZE/release/deps --extern proc_macro2=/tmp/cargo-installXOPUZE/release/deps/libproc_macro2-ce851cfc93c73b9b.rmeta --extern quote=/tmp/cargo-installXOPUZE/release/deps/libquote-2d061052462ec541.rmeta --extern unicode_ident=/tmp/cargo-installXOPUZE/release/deps/libunicode_ident-5bc59702059a34bb.rmeta --cap-lints allow`
   Compiling serde v1.0.197
     Running `/home/oekel/.rustup/toolchains/stable-arm-unknown-linux-gnueabihf/bin/rustc --crate-name build_script_build --edition=2018 /home/oekel/.cargo/registry/src/index.crates.io-1cd66030c949c28d/serde-1.0.197/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=113 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="serde_derive"' --cfg 'feature="std"' -C metadata=97935c665ab0967a -C extra-filename=-97935c665ab0967a --out-dir /tmp/cargo-installXOPUZE/release/build/serde-97935c665ab0967a -L dependency=/tmp/cargo-installXOPUZE/release/deps --cap-lints allow`
     Running `/tmp/cargo-installXOPUZE/release/build/serde-97935c665ab0967a/build-script-build`
   Compiling serde_derive v1.0.197
     Running `/home/oekel/.rustup/toolchains/stable-arm-unknown-linux-gnueabihf/bin/rustc --crate-name serde_derive /home/oekel/.cargo/registry/src/index.crates.io-1cd66030c949c28d/serde_derive-1.0.197/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=113 --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=5eabccddbe80b534 -C extra-filename=-5eabccddbe80b534 --out-dir /tmp/cargo-installXOPUZE/release/deps -L dependency=/tmp/cargo-installXOPUZE/release/deps --extern proc_macro2=/tmp/cargo-installXOPUZE/release/deps/libproc_macro2-ce851cfc93c73b9b.rlib --extern quote=/tmp/cargo-installXOPUZE/release/deps/libquote-2d061052462ec541.rlib --extern syn=/tmp/cargo-installXOPUZE/release/deps/libsyn-d4165000b1660896.rlib --extern proc_macro --cap-lints allow`
    Building [=>                          ] 8/86: serde_derive        

after 1 hour:

   Compiling rayon v1.10.0
     Running `/home/oekel/.rustup/toolchains/stable-arm-unknown-linux-gnueabihf/bin/rustc --crate-name rayon --edition=2021 /home/oekel/.cargo/registry/src/index.crates.io-1cd66030c949c28d/rayon-1.10.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=113 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C metadata=32d43bdf667f1fab -C extra-filename=-32d43bdf667f1fab --out-dir /tmp/cargo-installXOPUZE/release/deps -L dependency=/tmp/cargo-installXOPUZE/release/deps --extern either=/tmp/cargo-installXOPUZE/release/deps/libeither-3c140b7daf8bf781.rmeta --extern rayon_core=/tmp/cargo-installXOPUZE/release/deps/librayon_core-e995d1b5fd73c032.rmeta --cap-lints allow`
    Building [======================>    ] 75/86: rayon 

after 10 hours:

Building [=========================> ] 85/86: cargo-deb(bin)
1 Like

After 3 days I have the luck to see an error:

error: could not compile `cargo-deb` (bin "cargo-deb")

Caused by:
  process didn't exit successfully: `/home/oekel/.rustup/toolchains/stable-arm-unknown-linux-gnueabihf/bin/rustc --crate-name cargo_deb --edition=2021 /home/oekel/.cargo/registry/src/index.crates.io-1cd66030c949c28d/cargo-deb-2.1.0/src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=269 --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto --cfg 'feature="default"' --cfg 'feature="lzma"' -C metadata=ebec226dfc487470 -C extra-filename=-ebec226dfc487470 --out-dir /tmp/cargo-installNOw9xE/release/deps -L dependency=/tmp/cargo-installNOw9xE/release/deps --extern ar=/tmp/cargo-installNOw9xE/release/deps/libar-a016d8766906390c.rlib --extern cargo_deb=/tmp/cargo-installNOw9xE/release/deps/libcargo_deb-5eb6d41862cd5a9a.rlib --extern cargo_toml=/tmp/cargo-installNOw9xE/release/deps/libcargo_toml-a6a295996075fea7.rlib --extern env_logger=/tmp/cargo-installNOw9xE/release/deps/libenv_logger-89f6eb7814b9b77a.rlib --extern flate2=/tmp/cargo-installNOw9xE/release/deps/libflate2-19d65f46672ca02e.rlib --extern getopts=/tmp/cargo-installNOw9xE/release/deps/libgetopts-a135cd4c871ac82b.rlib --extern glob=/tmp/cargo-installNOw9xE/release/deps/libglob-de331d4c9fe2ce7e.rlib --extern itertools=/tmp/cargo-installNOw9xE/release/deps/libitertools-d71af0dd5aaf4f59.rlib --extern log=/tmp/cargo-installNOw9xE/release/deps/liblog-24165df8f506849f.rlib --extern md5=/tmp/cargo-installNOw9xE/release/deps/libmd5-e1db240d40da1995.rlib --extern quick_error=/tmp/cargo-installNOw9xE/release/deps/libquick_error-63b3a0cbb0f9972f.rlib --extern rayon=/tmp/cargo-installNOw9xE/release/deps/librayon-32d43bdf667f1fab.rlib --extern regex=/tmp/cargo-installNOw9xE/release/deps/libregex-5dbdc8ea573618c5.rlib --extern serde=/tmp/cargo-installNOw9xE/release/deps/libserde-489bbd784339194a.rlib --extern serde_json=/tmp/cargo-installNOw9xE/release/deps/libserde_json-045f864769713ef0.rlib --extern tar=/tmp/cargo-installNOw9xE/release/deps/libtar-f90dfd884a340889.rlib --extern tempfile=/tmp/cargo-installNOw9xE/release/deps/libtempfile-7b099fc87836abd3.rlib --extern toml=/tmp/cargo-installNOw9xE/release/deps/libtoml-76ec3cf62a205f91.rlib --extern xz2=/tmp/cargo-installNOw9xE/release/deps/libxz2-e20dbe457f8cdc0d.rlib --extern zopfli=/tmp/cargo-installNOw9xE/release/deps/libzopfli-e8f4f2c1517dc04e.rlib --cap-lints allow -L native=/tmp/cargo-installNOw9xE/release/build/lzma-sys-5b1340c6774f031d/out` (signal: 9, SIGKILL: kill)
error: failed to compile `cargo-deb v2.1.0`, intermediate artifacts can be found at `/tmp/cargo-installNOw9xE`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

But I can not point to the reason :frowning:

You may check if you can find any hint about OOM (out of memory ) error in /var/log/syslog that was in use at that time or in journalctl.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.