bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61386: [PATCH] cp,mv,install: Disable sparse copy on macOS


From: George Valkov
Subject: bug#61386: [PATCH] cp,mv,install: Disable sparse copy on macOS
Date: Tue, 21 Mar 2023 20:08:57 +0200

> On 2023-03-21, at 7:32 PM, Paul Eggert <eggert@cs.ucla.edu> wrote:
> 
> On 3/21/23 08:27, George Valkov wrote:
>> However since the old m4-1.4.19 in under tools/m4, coreutils builds with the 
>> legacy version:
> 
> If you're building from that tarball, coreutils doesn't need m4. I just now 
> double-checked that, in an environment that didn't have m4. "./configure && 
> make check" succeeded. So the m4 version should be irrelevant.

Yes, I can confirm that a stand-alone build using your instructions works. I do 
not have enough experience with the OpenWRT build system, but what I can see is 
that at some point it tries to run staging_dir/host/bin/m4
And that’s why I had the impression that the legacy version of m4 is used. I 
might be wrong, and maybe it just needs that executable, since when tools/m4 is 
present, tools/coreutils builds and works. If the m4 directory from the tarball 
is used, then everything’s fine, we can keep tools/m4 as it is.
staging_dir/host/bin/m4 is compiled from tools/m4 and does not exist without 
tools/m4, so the build fails if I remove it. If I create a link to 
/usr/local/Cellar/m4/1.4.19/bin/m4, that part of the build succeeds, but then 
we also need to apply the following patch:
https://github.com/openwrt/openwrt/blob/master/tools/coreutils/patches/001-m4.patch
Do you know if the patch is applied upstream in coreutils?

Thanks Paul!

Georgi Valkov
httpstorm.com
nano RTOS






reply via email to

[Prev in Thread] Current Thread [Next in Thread]