bug-make
[Top][All Lists]
Advanced

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

Re: Goodbye to GNU make's "build.sh" ... ?


From: Dmitry Goncharov
Subject: Re: Goodbye to GNU make's "build.sh" ... ?
Date: Sun, 26 Jun 2022 16:57:37 -0400

On Sun, Jun 26, 2022 at 10:11 AM Paul Smith <psmith@gnu.org> wrote:
> This really came up because I was trying to find a way to include the
> latest gnulib globbing library.  Adding "glob" to this pulls in a HUGE
> number of prerequisites.

Have you considered to to avoid glob from gnulib? Make has its one
impl of glob which it uses on certain systems.
We could use this impl and maintain it on all systems.
Aside from dependencies, one problem with the gnulib impl of glob is
that it has a bug on some filesystems.
i submitted a patch to both glibc and gnulib.
https://sourceware.org/pipermail/libc-alpha/2017-November/088984.html
and
https://lists.gnu.org/archive/html/bug-gnulib/2019-11/msg00006.html.
The code is complex enough that review requires significant effort and
the patch is not merged.
The result is that the gnulib impl, which is supposed to be preferred,
is the only one that has the bug. Code like this
$(wildcard lib/ src/)
works on any system other than gnu (again on some filesystems).

regards, Dmitry



reply via email to

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