Package Details: cargo-vet 0.8.0-1

Git Clone URL: https://aur.archlinux.org/cargo-vet.git (read-only, click to copy)
Package Base: cargo-vet
Description: Supply-chain security for Rust
Upstream URL: https://github.com/mozilla/cargo-vet
Licenses: MIT, Apache
Submitter: jonasmalacofilho
Maintainer: jonasmalacofilho
Last Packager: jonasmalacofilho
Votes: 1
Popularity: 0.001135
First Submitted: 2022-10-21 23:53 (UTC)
Last Updated: 2023-07-20 16:58 (UTC)

Latest Comments

swsnr commented on 2023-05-28 16:59 (UTC)

I had to disable LTO to build in a clean chroot:

diff --git i/PKGBUILD w/PKGBUILD
index cd82b0a..3416397 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -8,6 +8,7 @@ pkgdesc='Supply-chain security for Rust'
 arch=('x86_64' 'i686' 'aarch64' 'armv7h')
 url='https://github.com/mozilla/cargo-vet'
 license=('Apache' 'MIT')
+options=("!lto")
 depends=(
     cargo
     gcc-libs

Without this change the package failed to build in a chroot with something like the following error:

          /usr/bin/ld: /build/cargo-vet/src/cargo-vet-0.6.1/target/release/deps/cargo_vet-ad15482393d7ca58: hidden symbol `GFp_ia32cap_P' isn't defined
          /usr/bin/ld: final link failed: bad value
          collect2: error: ld returned 1 exit status

  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)