From: Romain Naour Date: Sun, 31 May 2026 19:45:53 +0000 (+0200) Subject: xfsprogs: include/buildrules: fix ltdep X-Git-Tag: v7.1.0~67 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=188dc92e4e57dd4c79d354df7de497e453f8fef5;p=xfsprogs-dev.git xfsprogs: include/buildrules: fix ltdep Our CI uses "/builds/buildroot.org/buildroot" as build directory. xfsprogs build system misbehaves when a file path contains ".o". While generating .ltdep, the sed command used to convert object file (.o) to libtool object (.lo) replace buildroot.org by buildroot.lorg. .ltdep: $(CFILES) $(HFILES) $(Q)$(MAKEDEP) $(CFILES) | $(SED) -e 's,^\([^:]*\)\.o,\1.lo,' > .ltdep Building libfrog [CC] gen_crc32table [GENERATE] crc32table.h gmake[4]: *** No rule to make target '/builds/buildroot.lorg/buildroot/test-output/TestXfs/host/include/urcu.h', needed by 'avl64.lo'. Stop. Update the sed command to avoid this effect. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/14607335648 Signed-off-by: Romain Naour [aalbersh: updated second sentence] Reviewed-by: Andrey Albershteyn --- diff --git a/include/buildrules b/include/buildrules index 871e92db..3fabbe5a 100644 --- a/include/buildrules +++ b/include/buildrules @@ -140,7 +140,7 @@ rmltdep: $(Q)rm -f .ltdep .ltdep: $(CFILES) $(HFILES) - $(Q)$(MAKEDEP) $(CFILES) | $(SED) -e 's,^\([^:]*\)\.o,\1.lo,' > .ltdep + $(Q)$(MAKEDEP) $(CFILES) | $(SED) -e 's,^\([^:]*\)\.o:,\1.lo:,' > .ltdep depend: rmdep .dep