Linux XFS filesystem development
 help / color / mirror / Atom feed
* running "make clean" in xfsprogs doesn't wipe mkfs/*.o files
@ 2026-09-28  2:52 Theodore Tso
  2026-09-28  5:44 ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Theodore Tso @ 2026-09-28  2:52 UTC (permalink / raw)
  To: linux-xfs

I recently ran into an issue where "make clean" (or "make realclean")
in the xfsprogs sources isn't deleting the *.o files in the mkfs
directory.

This is causing a problem because I first build xfsprogs for arm64,
and then I build it for x86_64, with a "make realclean" between.  The
fact that object files in the mkfs directory aren't getting cleaned
results in build failures.  This wasn't happening before when I was
building on a different build machime, but it's pretty clear the
problem is for soem reasone "make clean" isn't deleting the object
files in mkfs.

I tried to debug xfsprogs's makefiles, but it wasn't immediately
obvious, so I thought I would just file a report and hope someone can
take a look at it.

In the meantime, I'll work around it by adding a "find . -type f -name
\*.o -print0 | xargs -0 rm" to my test appiance build script.  Which
should work, but it seems really unfortunate that it's necessary.

Thanks,

					- Ted

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: running "make clean" in xfsprogs doesn't wipe mkfs/*.o files
  2026-09-28  2:52 running "make clean" in xfsprogs doesn't wipe mkfs/*.o files Theodore Tso
@ 2026-09-28  5:44 ` Christoph Hellwig
  2026-10-01 10:16   ` Andrey Albershteyn
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2026-09-28  5:44 UTC (permalink / raw)
  To: Theodore Tso; +Cc: linux-xfs

I don't have an answer either, and haven't seen this one in particular,
but the xfsprogs build system is special at best or broken if you want
to be frank.  A while ago I started on a ninja + meson port as that
seems to be build system of choice for many low-level tools.  I didn't
really have time to do more than a minimal demo, buf if someone wants
to move to a less broken build system I'd be 100% supportive.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: running "make clean" in xfsprogs doesn't wipe mkfs/*.o files
  2026-09-28  5:44 ` Christoph Hellwig
@ 2026-10-01 10:16   ` Andrey Albershteyn
  0 siblings, 0 replies; 3+ messages in thread
From: Andrey Albershteyn @ 2026-10-01 10:16 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Theodore Tso, linux-xfs

On 2026-09-27 22:44:18, Christoph Hellwig wrote:
> I don't have an answer either, and haven't seen this one in particular,
> but the xfsprogs build system is special at best or broken if you want
> to be frank.  A while ago I started on a ninja + meson port as that
> seems to be build system of choice for many low-level tools.  I didn't
> really have time to do more than a minimal demo, buf if someone wants
> to move to a less broken build system I'd be 100% supportive.

Yeah, ninja+meson would be nice, whole probing system would be much
simpler.

-- 
- Andrey

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-01 10:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-28  2:52 running "make clean" in xfsprogs doesn't wipe mkfs/*.o files Theodore Tso
2026-09-28  5:44 ` Christoph Hellwig
2026-10-01 10:16   ` Andrey Albershteyn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox