You are not logged in.
I'd like to provide a PKGBUILD for wireguard-vanity-address which is built by rust which is new to me within PKGBUILDs. I took a stab at an initial release.
Firstly, are my build and package functions sane? Are there more standard options I should be using? Any feedback here is welcomed.
Secondly, namcap gives me two lines:
wireguard-vanity-address W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/bin/wireguard-vanity-address')
wireguard-vanity-address E: Dependency gcc-libs detected and not included (libraries ['usr/lib/libgcc_s.so.1'] needed in files ['usr/bin/wireguard-vanity-address'])
I guess adding gcc-libs to the depends array is needed to correct the error. I am not sure what action I should take about the warning.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
export RUSTFLAGS="${RUSTFLAGS} -C link-arg=${LDFLAGS}"
To use LDFLAGS which should only link as needed. Did not have any effect.
cargo build --release --locked --verbose
To see what is linking to libm. Could not see anything explicitly linking to it.
I am not familiar with rust so those were my only ideas.
Offline