bluez / bluer

BlueR — Official BlueZ Bindings for Rust
https://crates.io/crates/bluer
Other
321 stars 45 forks source link

Can't compile BlueR on Raspberry Pi Zero W - SIGKILL #93

Closed mpiotrowski closed 1 year ago

mpiotrowski commented 1 year ago

Running the latest 32bit raspbian with libdbus-1-dev. I receive this long message with no clear indication if it's caused by memory issues or something else.

Compiling bluer v0.15.7
error: could not compile `bluer` (lib)

Caused by:
  process didn't exit successfully: `/home/pi/.rustup/toolchains/beta-arm-unknown-linux-gnueabihf/bin/rustc --crate-name bluer --edition=2021 /home/pi/.cargo/registry/src/index.crates.io-1cd66030c949c28d/bluer-0.15.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=165 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="bluetoothd"' --cfg 'feature="custom_debug"' --cfg 'feature="dbus"' --cfg 'feature="dbus-crossroads"' --cfg 'feature="dbus-tokio"' --cfg 'feature="default"' --cfg 'feature="displaydoc"' --cfg 'feature="full"' --cfg 'feature="id"' --cfg 'feature="l2cap"' --cfg 'feature="lazy_static"' --cfg 'feature="pin-project"' --cfg 'feature="rfcomm"' --cfg 'feature="serde"' --cfg 'feature="tokio-stream"' -C metadata=982f6d6f999958df -C extra-filename=-982f6d6f999958df --out-dir /home/pi/bluetooth-server/target/debug/deps -L dependency=/home/pi/bluetooth-server/target/debug/deps --extern custom_debug=/home/pi/bluetooth-server/target/debug/deps/libcustom_debug-98431c62fa301277.rmeta --extern dbus=/home/pi/bluetooth-server/target/debug/deps/libdbus-b3aca35b6d5a80c9.rmeta --extern dbus_crossroads=/home/pi/bluetooth-server/target/debug/deps/libdbus_crossroads-29af77b2ce99bd7c.rmeta --extern dbus_tokio=/home/pi/bluetooth-server/target/debug/deps/libdbus_tokio-31279b8ac2b00fcf.rmeta --extern displaydoc=/home/pi/bluetooth-server/target/debug/deps/libdisplaydoc-6ab915f5fd532ec5.so --extern futures=/home/pi/bluetooth-server/target/debug/deps/libfutures-70ebd3e7f7d4c38f.rmeta --extern hex=/home/pi/bluetooth-server/target/debug/deps/libhex-9b2a33cac9399d33.rmeta --extern lazy_static=/home/pi/bluetooth-server/target/debug/deps/liblazy_static-535479bfba1b4e96.rmeta --extern libc=/home/pi/bluetooth-server/target/debug/deps/liblibc-502106dae28feb21.rmeta --extern log=/home/pi/bluetooth-server/target/debug/deps/liblog-7ca7c7c2fbdedea3.rmeta --extern macaddr=/home/pi/bluetooth-server/target/debug/deps/libmacaddr-15ec64462f57138e.rmeta --extern nix=/home/pi/bluetooth-server/target/debug/deps/libnix-d491f75f1539885f.rmeta --extern num_derive=/home/pi/bluetooth-server/target/debug/deps/libnum_derive-0cfb79c987b7e143.so --extern num_traits=/home/pi/bluetooth-server/target/debug/deps/libnum_traits-a6c51509aa78c7ec.rmeta --extern pin_project=/home/pi/bluetooth-server/target/debug/deps/libpin_project-c9deac69922337f6.rmeta --extern serde=/home/pi/bluetooth-server/target/debug/deps/libserde-9f43d6dcaf260d7a.rmeta --extern strum=/home/pi/bluetooth-server/target/debug/deps/libstrum-f821c25e28d05845.rmeta --extern tokio=/home/pi/bluetooth-server/target/debug/deps/libtokio-b9d6da863dbf0d79.rmeta --extern tokio_stream=/home/pi/bluetooth-server/target/debug/deps/libtokio_stream-2225ce72e720491e.rmeta --extern uuid=/home/pi/bluetooth-server/target/debug/deps/libuuid-14c7e4bd43568881.rmeta --cap-lints allow -L native=/usr/lib/arm-linux-gnueabihf` (signal: 9, SIGKILL: kill)
surban commented 1 year ago

Probably out of memory. Try reading your syslog.