Package Details: vfstool-git 0.1.8.r2.gaec2622-1

Git Clone URL: https://aur.archlinux.org/vfstool-git.git (read-only, click to copy)
Package Base: vfstool-git
Description: Application for OpenMW modlists designed to allow introspecting into and creating virtual filesystems, even for other games.
Upstream URL: https://github.com/magicaldave/vfstool
Licenses: GPL
Provides: vfstool
Submitter: S3ctor
Maintainer: S3ctor
Last Packager: S3ctor
Votes: 1
Popularity: 0.115556
First Submitted: 2025-04-25 04:32 (UTC)
Last Updated: 2025-06-17 16:46 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

Engdyn commented on 2025-07-10 15:58 (UTC)

The build fails in a clean chroot with a linker error.

/usr/bin/ld: /build/vfstool-git/src/vfstool/target/release/deps/liblzzzz-3f2245784e0b0642.rlib(lzzzz-3f2245784e0b0642.lzzzz.1383ba0892d0a200-cgu.3.rcgu.o): in function `lzzzz::lz4f::api::DecompressionContext::new':
/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lzzzz-1.1.0/src/lz4f/api.rs:132:(.text.unlikely._ZN3std3sys12thread_local6native4lazy20Storage$LT$T$C$D$GT$10initialize17hda52dc25e0453d5eE+0x26): undefined reference to `LZ4F_getVersion'
/usr/bin/ld: /build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lzzzz-1.1.0/src/lz4f/api.rs:130:(.text.unlikely._ZN3std3sys12thread_local6native4lazy20Storage$LT$T$C$D$GT$10initialize17hda52dc25e0453d5eE+0x32): undefined reference to `LZ4F_createDecompressionContext'
/usr/bin/ld: /build/vfstool-git/src/vfstool/target/release/deps/liblzzzz-3f2245784e0b0642.rlib(lzzzz-3f2245784e0b0642.lzzzz.1383ba0892d0a200-cgu.3.rcgu.o): in function `<lzzzz::lz4f::api::DecompressionContext as core::ops::drop::Drop>::drop':
/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lzzzz-1.1.0/src/lz4f/api.rs:192:(.text.unlikely._ZN3std3sys12thread_local6native4lazy20Storage$LT$T$C$D$GT$10initialize17hda52dc25e0453d5eE+0x9e): undefined reference to `LZ4F_freeDecompressionContext'
/usr/bin/ld: /build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lzzzz-1.1.0/src/lz4f/api.rs:192:(.text._ZN3std3sys12thread_local6native4lazy7destroy17h8f234c456e7a1b20E+0x1e): undefined reference to `LZ4F_freeDecompressionContext'
/usr/bin/ld: /build/vfstool-git/src/vfstool/target/release/deps/liblzzzz-3f2245784e0b0642.rlib(lzzzz-3f2245784e0b0642.lzzzz.1383ba0892d0a200-cgu.2.rcgu.o): in function `lzzzz::lz4f::api::DecompressionContext::reset':
/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lzzzz-1.1.0/src/lz4f/api.rs:184:(.text._ZN3std6thread5local17LocalKey$LT$T$GT$4with17hd7ce2f5bf8ef57a6E+0x62): undefined reference to `LZ4F_resetDecompressionContext'
/usr/bin/ld: /build/vfstool-git/src/vfstool/target/release/deps/liblzzzz-3f2245784e0b0642.rlib(lzzzz-3f2245784e0b0642.lzzzz.1383ba0892d0a200-cgu.2.rcgu.o): in function `lzzzz::lz4f::api::DecompressionContext::decompress_dict':
/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lzzzz-1.1.0/src/lz4f/api.rs:168:(.text._ZN3std6thread5local17LocalKey$LT$T$GT$4with17hd7ce2f5bf8ef57a6E+0xfa): undefined reference to `LZ4F_decompress_usingDict'
collect2: error: ld returned 1 exit status

Adding export RUSTFLAGS+=" -C link-arg=-llz4 into build() resolves the issue.

Also the license is wrong. You are using MIT not GPL in your upstream git repo. The pkg should also install the license of the upstream repo.
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"