Bruno Haible wrote: >> I hope to be able to make the coreutils-8.13 release on Wednesday. > > Still a major build problem on HP-UX 11.00:
Thanks for testing that again. I wouldn't call a "make check" failure that arises only when perl is not found a major build problem, though ;-) Patch below: > gmake[2]: Entering directory > `/home/haible/multibuild-1227/hpux11.00-cc/coreutils-8.12.193-d8dc8/doc' > GEN sc-avoid-builtin > GEN sc-avoid-io > GEN sc-avoid-non-zero > GEN sc-avoid-path > GEN sc-avoid-timezone > GEN sc-avoid-zeroes > GEN sc-exponent-grouping > GEN sc-lower-case-var > /home/haible/multibuild-1227/hpux11.00-cc/coreutils-8.12.193-d8dc8/build-aux/missing[52]: > perl: not found. > WARNING: `perl' is needed, and is missing on your system. > You might have modified some files without having the > proper tools for further handling them. Check the `README' file, > it often tells you about the needed prerequisites for installing > this package. You may also peek at any GNU archive site, in case > some other package would contain this missing `perl' program. > gmake[2]: *** [sc-lower-case-var] Error 1 > gmake[2]: Leaving directory > `/home/haible/multibuild-1227/hpux11.00-cc/coreutils-8.12.193-d8dc8/doc' >From 59cc049ffb86ce9545f1baf69addd846128ca07f Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Wed, 7 Sep 2011 11:18:20 +0200 Subject: [PATCH] tests: avoid false-positive "make check" failure when perl is missing * doc/Makefile.am (sc-lower-case-var): Skip this test when $(PERL) is not usable. Reported by Bruno Haible. --- doc/Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 6f466c5..8880483 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -128,7 +128,7 @@ find_upper_case_var = \ } \ END {$$m and (warn "$(ME): do not use upper case in \@var{...}\n"), exit 1}' sc-lower-case-var: - $(AM_V_GEN)$(PERL) -e 1 \ - && $(PERL) -lne $(find_upper_case_var) $(srcdir)/*.texi + $(AM_V_GEN)$(PERL) -e 1 || { echo $@: skipping test; exit 0; }; \ + $(PERL) -lne $(find_upper_case_var) $(srcdir)/*.texi check: check-texinfo -- 1.7.7.rc0.362.g5a14
