[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Make 4.4.0.91 on AIX 7.2
From: |
Paul Smith |
Subject: |
Re: GNU Make 4.4.0.91 on AIX 7.2 |
Date: |
Sun, 19 Feb 2023 15:34:57 -0500 |
User-agent: |
Evolution 3.46.4 (by Flathub.org) |
On Sun, 2023-02-19 at 21:20 +0100, Bruno Haible wrote:
> Paul Smith wrote:
> > Does touch on AIX support the "-a" option?
>
> Yes. "-a" is a documented option of /usr/bin/touch, and it works
> fine.
Hm. Maybe the AIX filesystem has issues with subsecond timestamps, or
something. If you have the bandwidth can you apply this patch and see
if you still get that failure:
--- a/tests/scripts/features/include
+++ b/tests/scripts/features/include
@@ -476,14 +476,16 @@ all: ;
# Test that included makefiles are not intermediate.
# Here 'test.foo' is mentioned explicitly and cannot be considered
# intermediate.
-&touch('test.foo', 'test.x', 'test');
+utouch(-10, 'test.foo');
+utouch(-5, 'test.x');
+touch('test');
run_make_test(q!
.PHONY: force
include test.foo
-%.foo: force; touch -a $@
+%.foo: force; @echo force $@
%.x: %.foo; touch $@
test: test.x; touch $@
-!, '', "touch -a test.foo\n#MAKE#: 'test' is up to date.\n");
+!, '', "force test.foo\n#MAKE#: 'test' is up to date.\n");
unlink('test.foo', 'test.x', 'test');