Re: xfsprogs: 7.1.0 Build Failure
Reilly Brogan <[email protected]>
| Newsgroups | org.kernel.vger.linux-xfs |
|---|---|
| Message-ID | <CABqFQkbcGmDJsuuLTN+u-uV0r2jO6tQRfWO1NcsT69v4MykL_w@mail.gmail.com> |
I think the root issue here is that something (install-sh?) is checking for the existence of the output directory in the buildroot itself. In AerynOS the buildroot is an isolated chroot with the minimal set of required dependencies/toolchain packages installed. Since there's no reason for xfsprogs to be installed in the case of AerynOS the directory `/usr/lib/xfsprogs` does not exist. Instead it should be checking for the directory in the installroot where it should exist because it was created prior to the install step that failed. I'm not sure where to fix that specifically but https://raw.githubusercontent.com/AerynOS/recipes/refs/heads/main/x/xfsprogs/pkg/0001-Maybe-fix.patch is a viable workaround for the moment. On Tue, Jul 14, 2026 at 1:25 PM Holger Hoffstätte <[email protected]> wrote: > > On 2026-07-14 19:10, Reilly Brogan wrote: > > We're seeing a build failure on AerynOS with 7.1.0 that we didn't get > > with 7.0.1: > > > > ``` > > Installing healer-install > > ../install-sh -o root -g root -m 755 -d /usr/lib/xfsprogs > > /usr/bin/dash ../libtool --quiet --mode=install ../install-sh -o root > > -g root -m 755 xfs_healer xfs_healer_start /usr/lib/xfsprogs > > Usage: /mason/build/x86_64/xfsprogs-7.1.0.tar.xz/libtool [OPTION]... > > [MODE-ARG]... > > Try 'libtool --help' for more information. > > libtool: error: '/usr/lib/xfsprogs' is not a directory > > make[1]: *** [Makefile:72: install-healer] Error 1 > > ``` > > > > We use slibtool as our libtool implementation and dash as /usr/bin/sh > > so perhaps this is an incompatibility with either of those (likely > > slibtool). > > Nope - I see the same on Gentoo with bash and GNU libtool: > > Installing scrub-install > gmake[1]: Nothing to be done for 'install'. > ../install-sh -o portage -g portage -m 755 -d /usr/libexec/xfsprogs > /bin/sh ../libtool --quiet --mode=install ../install-sh -o portage -g portage -m 755 xfs_healer xfs_healer_start /usr/libexec/xfsprogs > Usage: /tmp/portage/sys-fs/xfsprogs-7.1.0/work/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:134: healer-install] Error 2 > > -h