Re: parse-datetime: Add support for VPATH builds with OpenBSD 'make'

2024-06-11 Thread Bruno Haible
I wrote: > This patch should fix it. Based on > https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=bf9412ab2e5878f2b64c8ba5d496d7a26ac4d374 > > > 2024-06-11 Bruno Haible > > parse-datetime: Add support for VPATH builds with OpenBSD 'make'. > * modules/parse-datetime

Symbol list sources

2024-06-11 Thread Po Lu
Google severally provide lists of symbols exported by libc, libm, libdl, and related NDK libraries by older Android releases, at this URL, which might be a welcome resource for Gnulib developers: https://android.googlesource.com/platform/development/+/refs/heads/marshmallow-release/ndk/platform

Re: questions following upcoming POSIX issue 8 release - iconv

2024-06-11 Thread Bruno Haible
Eric Blake wrote: > - https://austingroupbugs.net/view.php?id=1635 I added a couple of comments there, to explain the problem. It is irritating to see that the Austin Group in defect 1007 apparently acted like "we don't understand the rationale of the defect and we don't think that GNU does worthy

Re: test-framework-sh: Don't leave temporary directories on NetBSD.

2024-06-11 Thread Collin Funk
Hi Paul, On 6/11/24 3:15 PM, Paul Eggert wrote: > Yes, and Jim's point seems good so I tried to resurrect that by > installing the attached patch to use GNU-style mktemp -t without > creating junk directories on NetBSD. Please give it a try. Works on my NetBSD 10.0 VM, thanks. Also, I was able t

Re: test-framework-sh: Don't leave temporary directories on NetBSD.

2024-06-11 Thread Paul Eggert
On 6/8/24 03:19, Collin Funk wrote: The change was then reverted since Jim preferred the directory name created with -t. Yes, and Jim's point seems good so I tried to resurrect that by installing the attached patch to use GNU-style mktemp -t without creating junk directories on NetBSD. Please

parse-datetime: Add support for VPATH builds with OpenBSD 'make'

2024-06-11 Thread Bruno Haible
Building a gnulib testdir on OpenBSD 7.5 with 'make' (as opposed to GNU make), there is this build failure: : ../../gllib/parse-datetime.y && test ':' = ':' || { sed -e 's|".*/parse-datetime\.y"|"parse-datetime.y"|' -e 's|"parse-datetime\.tab\.c"|"parse-datetime.c"|' < parse-datetime.tab.c

[PATCH] mktempd: Invoke mktemp portably.

2024-06-11 Thread Collin Funk
* build-aux/mktempd (mktempd): Don't use -t when invoking mktemp since some implementations expect an argument while others do not. --- ChangeLog | 6 ++ build-aux/mktempd | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a8d28c4765..da88

Re: test-framework-sh: Don't leave temporary directories on NetBSD.

2024-06-11 Thread Bruno Haible
Collin Funk wrote: > The build-aux/mktempd script uses -t in this way too. Should it be > fixed there? > >build-aux/mktempd:94: d=`env -u TMPDIR mktemp -d -t -p "$destdir" > "$template" 2>/dev/null` \ Yes, please! Bruno

Re: test-framework-sh: Don't leave temporary directories on NetBSD.

2024-06-11 Thread Collin Funk
On 6/8/24 4:44 AM, Bruno Haible wrote: > The cause appears to be that for GNU mktemp, the -t option does not take an > argument [1]; likewise for OpenBSD mktemp [2] and Solaris mktemp [3]. > > Whereas for FreeBSD and NetBSD mktemp, the -t option takes an argument [4][5]. > > Since POSIX does not

Re: test-framework-sh: Fix 'returns_' to not turn off tracing permanently

2024-06-11 Thread Pádraig Brady
On 11/06/2024 19:54, Bruno Haible wrote: I'm debugging a unit test that consists of a dozen of shell statement groups, each with a 'returns_ 1 ...' invocation. The log file shows an error message, but no indication from which of the statement groups the error came. So, naturally, I add a 'set -x'

test-framework-sh: Fix 'returns_' to not turn off tracing permanently

2024-06-11 Thread Bruno Haible
I'm debugging a unit test that consists of a dozen of shell statement groups, each with a 'returns_ 1 ...' invocation. The log file shows an error message, but no indication from which of the statement groups the error came. So, naturally, I add a 'set -x' command near the beginning of the test fil

[PATCH] maint: avoid duplicate tight-scope work

2024-06-11 Thread Paul Eggert
* top/maint.mk (_gl_tight_scope): Sort $(SOURCES), to remove duplicates and thereby avoid unnecessary work. Found when testing this on GNU diffutils. --- ChangeLog| 7 +++ top/maint.mk | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3d3410

Re: questions following upcoming POSIX issue 8 release

2024-06-11 Thread Eric Blake
On Mon, Jun 10, 2024 at 11:35:11AM GMT, Collin Funk wrote: > Eric Blake writes: > > > wants to change requirements for isatty() and friends to be required > > to set errno on failure (right now, there is no obvious way to tell, > > using only the standard, if a failure even happened); but the Aus