Re: test-symlink fails on "lustre" file system

2019-09-06 Thread Bruno Haible
Assaf Gordon wrote: > based on the code in test-symlink.h, perhaps lustre returns an > unexpected errno ? > > line 69: ASSERT (func ("nowhere", BASE "dir/") == -1); > > line 70: ASSERT (errno == EEXIST || errno == EINVAL); Yes, this is most likely the cause. Can you please insert this line bet

error: GL_GENERATE_ERRNO_H does not appear in AM_CONDITIONAL

2019-09-06 Thread Bruce Korb
Hi, what is the correct fix? I've not rebuilt for a couple of years and this is a new surprise. Thanks. Bootstrap messages: configure.ac:30: installing 'config/missing' Makefile.am: installing './COPYING' using GNU General Public License v3 file Makefile.am: Consider adding the COPYING file t

RE: test-symlink fails on "lustre" file system

2019-09-06 Thread Oppe, Thomas C ERDC-RDE-ITL-MS Contractor
Bruno, The contents of the file gettext-0.20.1/gettext-tools/gnulib-tests/test-symlink.log are INSERTED errno=2 test-symlink.h:71: assertion 'errno == EEXIST || errno == EINVAL' failed FAIL test-symlink (exit status: 134) Tom Oppe -Original Message- From: Bruno Haible [mailto:br...@c

Re: test-symlink fails on "lustre" file system

2019-09-06 Thread Bruno Haible
Thomas Oppe wrote: > INSERTED errno=2 > test-symlink.h:71: assertion 'errno == EEXIST || errno == EINVAL' failed > FAIL test-symlink (exit status: 134) Thanks. I'm pushing this patch; it will fix the failure in this place. 2019-09-06 Bruno Haible symlink tests: Avoid test failure on

Re: error: GL_GENERATE_ERRNO_H does not appear in AM_CONDITIONAL

2019-09-06 Thread Bruno Haible
Hi Bruce, > Hi, what is the correct fix? I've not rebuilt for a couple of years > and this is a new surprise. Thanks. > > Bootstrap messages: > > autoopts/Makefile.am:97: error: GL_GENERATE_ERRNO_H does not appear in > AM_CONDITIONAL > autoopts/Makefile.am:152: error: GL_GENERATE_STDDEF_H does n

[PATCH] findprog: Support searching in a specified path string

2019-09-06 Thread Paul Smith
find_prog_in_path() always uses the PATH value in the current environment. It can be very useful to search for programs on a path without having to modify the environment first. Provide find_in_path_str() which takes a path string to search. If the path passed in is NULL, fall back to searching i

Re: error: GL_GENERATE_ERRNO_H does not appear in AM_CONDITIONAL

2019-09-06 Thread Bruce Korb
Hi Bruno, On Fri, Sep 6, 2019 at 3:25 PM Bruno Haible wrote: > Hi Bruce, > > Bootstrap messages: > > > > autoopts/Makefile.am:97: error: GL_GENERATE_ERRNO_H does not appear in > > AM_CONDITIONAL > > autoopts/Makefile.am:152: error: GL_GENERATE_STDDEF_H does not appear > > in AM_CONDITIONAL > > T

Re: [PATCH] findprog: Support searching in a specified path string

2019-09-06 Thread Paul Smith
I don't know if people would prefer to actually define two real functions one of which just invokes the other, rather than use a preprocessor macro to forward the old one to the new one. I'm fine with it either way. On Fri, 2019-09-06 at 19:10 -0400, Paul Smith wrote: > find_prog_in_path() alway

Re: error: GL_GENERATE_ERRNO_H does not appear in AM_CONDITIONAL

2019-09-06 Thread Bruno Haible
Hi Bruce, > It looks right: Two other things to try: * Try using the *newest* *releases* of Autoconf and Automake. This is the combination that is most reliable. It is not intended, but it may happen that older releases don't work. * After running bootstrap, run the commands in order and ch

Re: bitset: check memory allocation

2019-09-06 Thread Akim Demaille
Hi Paul, Thanks a lot for the detailed answer! > Le 5 sept. 2019 à 22:54, Paul Eggert a écrit : > > On 9/5/19 12:59 PM, Akim Demaille wrote: > >>EBITSET_ELTS (src) >> -= realloc (EBITSET_ELTS (src), newsize * sizeof (tbitset_elt >> *)); >> += xrealloc (EBIT