xfsprogs 7.1.0 LTINSTALL fix

Allen Hewes <[email protected]>
Newsgroups org.kernel.vger.linux-xfs
Message-ID <[email protected]>
Hi!

I am not a member of the list.

I got local mock build error with xfsprogs 7.1.0:
Installing healer-install
../install-sh -o root -g mock -m 755 -d /usr/libexec/xfsprogs
/bin/sh ../libtool --quiet --mode=install ../install-sh -o root -g mock
-m 755 xfs_healer xfs_healer_start /usr/libexec/xfsprogs
Usage: /builddir/build/BUILD/xfsprogs-7.1.0-build/xfsprogs-
7.1.0/libtool [OPTION]... [MODE-ARG]...
Try 'libtool --help' for more information.
libtool:   error: '/usr/libexec/xfsprogs' is not a directory
gmake[1]: *** [Makefile:72: install-healer] Error 1
make: *** [Makefile:135: healer-install] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.YMwAaj (%install)
    Bad exit status from /var/tmp/rpm-tmp.YMwAaj (%install)

RPM build errors:

I tracked this down to a recent change
https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/commit/?id=79551362141a051faf9c3d504fe18ee34ca800f8
and then worked from there.

It appears that LTINSTALL need a single target and not multiple
targets. Here's a patch that let me mock build xfsprogs 7.1.0:

diff -Nuarp xfsprogs-7.1.0.a/healer/Makefile xfsprogs-
7.1.0.b/healer/Makefile
--- xfsprogs-7.1.0.a/healer/Makefile    2026-07-10 07:06:28.000000000 -
0400
+++ xfsprogs-7.1.0.b/healer/Makefile    2026-07-14 13:08:18.106217736 -
0400
@@ -69,7 +69,9 @@ install: $(INSTALL_HEALER)
 
 install-healer: default
        $(INSTALL) -m 755 -d $(PKG_LIBEXEC_DIR)
-       $(LTINSTALL) -m 755 $(BUILD_TARGETS) $(PKG_LIBEXEC_DIR)
+       for f in $(BUILD_TARGETS); do \
+               $(LTINSTALL) -m 755 $$f $(PKG_LIBEXEC_DIR); \
+       done
 
 install-systemd: default
        $(INSTALL) -m 755 -d $(SYSTEMD_SYSTEM_UNIT_DIR)

I will send as an attachment.

Thanks!

/allen
xfsprogs-7.1.0-ltinstall-fix.patch (text/x-patch, 564 B)
diff -Nuarp xfsprogs-7.1.0.a/healer/Makefile xfsprogs-7.1.0.b/healer/Makefile
--- xfsprogs-7.1.0.a/healer/Makefile	2026-07-10 07:06:28.000000000 -0400
+++ xfsprogs-7.1.0.b/healer/Makefile	2026-07-14 13:08:18.106217736 -0400
@@ -69,7 +69,9 @@ install: $(INSTALL_HEALER)
 
 install-healer: default
 	$(INSTALL) -m 755 -d $(PKG_LIBEXEC_DIR)
-	$(LTINSTALL) -m 755 $(BUILD_TARGETS) $(PKG_LIBEXEC_DIR)
+	for f in $(BUILD_TARGETS); do \
+		$(LTINSTALL) -m 755 $$f $(PKG_LIBEXEC_DIR); \
+	done
 
 install-systemd: default
 	$(INSTALL) -m 755 -d $(SYSTEMD_SYSTEM_UNIT_DIR)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.