Package Details: ltfs-git 2.4.8.4.10522.r0.g7d0de7c-1

Git Clone URL: https://aur.archlinux.org/ltfs-git.git (read-only, click to copy)
Package Base: ltfs-git
Description: Linear Tape File System
Upstream URL: https://github.com/LinearTapeFileSystem/ltfs
Keywords: ltfs lto tape
Licenses: BSD
Conflicts: ltfs
Provides: ltfs
Submitter: Doridian
Maintainer: Doridian
Last Packager: Doridian
Votes: 1
Popularity: 0.000357
First Submitted: 2025-06-22 05:29 (UTC)
Last Updated: 2026-06-22 21:38 (UTC)

Dependencies (14)

Required by (0)

Sources (1)

Latest Comments

dixyes commented on 2026-06-22 08:56 (UTC) (edited on 2026-06-22 08:56 (UTC) by dixyes)

LTFS is now using submodule since eb91d77

PKGBUILD needs a prepare() to clone it recursively

diff --git a/PKGBUILD b/PKGBUILD
index 2d0f988..d6db6aa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,6 +20,11 @@ pkgver() {
     git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
 }

+prepare() {
+    cd "$pkgname"
+    git submodule update --init --recursive
+}
+
 build() {
     cd "${srcdir}/${pkgname}"
     ./autogen.sh
@@ -30,7 +35,8 @@ build() {
         --localstatedir=/var \
         --enable-fast

-    make
+    # for net-snmp https://github.com/net-snmp/net-snmp/issues/1035
+    make CFLAGS='-Wno-error=declaration-after-statement'
 }

 package() {