Package Details: vfstool-git 0.9.0-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/DreamWeave-MP/vfstool
Licenses: GPL
Provides: vfstool
Submitter: S3ctor
Maintainer: S3ctor
Last Packager: S3ctor
Votes: 2
Popularity: 0.94
First Submitted: 2025-04-25 04:32 (UTC)
Last Updated: 2026-08-13 18:11 (UTC)

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

1 2 Next › Last »

S3ctor commented on 2026-08-13 18:18 (UTC)

I should have clarified prior comments. Both VFSTool and LightFixes are built and maintained by me. I take care of my own software. Modding-OpenMW and the MOMW tools pack have nothing on earth to do with me and if anyone wishes to maintain MOMW-adjacent tooling in the AUR, they're more than welcome to do so, but I'd like to continue maintaining my own software.

S3ctor commented on 2026-08-13 18:12 (UTC)

Hey folks, a couple months ago I did a massive rework of vfstool_lib's internals and replaced all of the C-based dependencies I could with pure Rust ones. The LZ4 link error should now be permanently resolved and some significant performance improvements to be found.

Spaicrab commented on 2026-04-23 16:20 (UTC) (edited on 2026-04-23 16:21 (UTC) by Spaicrab)

This fails the package() step because of line 45 in the PKGBUILD: install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

There is no singular LICENSE file, instead there are two different license files: LICENSE-APACHE and LICENSE-MIT. Editing line 45 to copy one or both of them should fix the issue.

Kovariszt commented on 2026-02-05 17:21 (UTC)

Yes, options=('!lto') also fixes it for me. Very odd, I wonder what that's about

Engdyn commented on 2026-02-05 07:59 (UTC)

Adding options=('!lto') does fix it consistently for me. It's a known thing that rust + lto + arch build system do have very weird interactions

Kovariszt commented on 2026-02-05 01:03 (UTC)

delta-plugin-git builds without any issues for me, for some reason

S3ctor commented on 2026-02-05 00:54 (UTC)

Kovariszt, could you please do me a favor and see if delta-plugin-git builds for you? These two both have the same lz4 link error, and in my chroot, I was able to build delta-plugin after applying the relevant changes. I'll give it a try here though.

Kovariszt commented on 2026-02-05 00:50 (UTC)

I'm still having the exact same issue as the previous people did, the fix doesn't seem to actually have fixed it

S3ctor commented on 2026-01-18 17:53 (UTC)

Hey, everyone. I apologize for the delay in fixing this package! I pushed a fix a few days ago that should work. In the check phase, tests also need to be built in release mode or that triggers the lz4 link error.

I tried to investigate it a bit and I'm honestly not entirely sure what the issue is. I think it may be a bug in lzzz, which vfstool_lib inherits from the ba2 crate. lzzz vendors the LZ4 library, so as far as I understand it should build and link properly either way, but, I didn't look at its build.rs especially closely once I got that far down.

Engdyn commented on 2025-12-21 01:09 (UTC)

I looked into it and has something to do with lto. Removing lto flags fixed it for me. It also seems that the llz4 linker flag isn't needed anymore

diff --git a/PKGBUILD b/PKGBUILD
index 5555780..bf6fbe3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,6 +9,7 @@ provides=(vfstool)
 arch=('i686' 'x86_64' 'armv6h' 'armv7h')
 source=('git+https://github.com/magicaldave/vfstool')
 sha1sums=('SKIP')
+options=('!lto')

 pkgver() {
    cd "${srcdir}/vfstool"
@@ -28,7 +29,6 @@ build() {
    cd "${srcdir}/vfstool"
    export RUSTUP_TOOLCHAIN=stable
    export CARGO_TARGET_DIR=target
-   export RUSTFLAGS+=" -C link-arg=-llz4 "
    cargo build --frozen --release --all-features
 }