Package Details: led_matrix_daemon 0.2.2-1

Git Clone URL: https://aur.archlinux.org/led_matrix_daemon.git (read-only, click to copy)
Package Base: led_matrix_daemon
Description: A daemon that renders images on a LED matrix connected to a Framework 16 Laptop
Upstream URL: https://github.com/night-crawler/led_matrix_daemon
Keywords: framework-laptop led matrix
Licenses: MIT
Submitter: night-crawler
Maintainer: night-crawler
Last Packager: night-crawler
Votes: 0
Popularity: 0.000000
First Submitted: 2024-06-10 22:51 (UTC)
Last Updated: 2025-01-09 15:06 (UTC)

Required by (0)

Sources (1)

Latest Comments

night-crawler commented on 2025-01-09 15:18 (UTC)

@gromain I got rid of rust-nightly, please try compiling it again.

FYI, there was something going on with lto enabled by default, so the binary didn't link. I updated the PKGBUILD to make it work and hope it will work for others as well. If it does not, please let me know.


Info below is for bookkeeping:

  = note: /usr/bin/ld: /tmp/rustcDJGlhl/libzstd_sys-c7f42aab94d71da0.rlib: error adding symbols: file format not recognized

This fixed it along with lto=off in Cargo.toml:

export CFLAGS=$(echo "$CFLAGS" | sed 's/-flto=auto//g')
export RUSTFLAGS="--cfg tokio_unstable --cfg=tokio_unstable -C lto=off"

night-crawler commented on 2025-01-04 14:04 (UTC)

Hi @gromain

I think the problem is that for some reason instead of rust-nightly it's getting compiled with rust stable. I'll revisit the pkg's deps and come back to you. In the meantime, you could install rust-nightly and try compiling it again.

Probably, I'll get rid of nightly sugar.

Thanks for reporting it.

gromain commented on 2025-01-04 12:08 (UTC)

Hello,

I got a build failure:

   Compiling led_matrix_daemon v0.1.0 (/home/rbazile/.cache/yay/led_matrix_daemon/src/led_matrix_daemon-0.2.1)
error[E0554]: `#![feature]` may not be used on the stable release channel
 --> src/main.rs:1:1
  |
1 | #![feature(let_chains)]
  | ^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> src/main.rs:2:1
  |
2 | #![feature(if_let_guard)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> src/main.rs:3:1
  |
3 | #![feature(array_chunks)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> src/main.rs:4:1
  |
4 | #![feature(iter_array_chunks)]

I'm not familiar enough with Rust to suggest proper fixes, but happy to help if I can!

Thanks for packaging this,

Also, sorry for the duplicate, I realized I posted on the wrong package. Cheers