I've just been through a collection of build logs on more than 75 flavors of Unix for grep-2.23, and am pleased to report that all tests passed on 46 of them. Most of the others reported only 1 or 2 failures, but because the failures are similar across platforms, I summarize them here:
FAIL: encoding-error x86 MirBSD 10 fmbtest IA-64 GNU/Linux Red Hat 5.11 x86 GNU/Linux CentOS 5.11 x86-64 GNU/Linux CentOS 5.11 invalid-multibyte-infloop x86 MirBSD 10 multibyte-white-space x86 MirBSD 10 x86-64 DragonFlyBSD 4.4, 4.6 x86-64 FreeBSD 11 x86-64 OpenIndiana 11 pcre-infloop x86-64 GNU/Linux Slackware 14 pcre-invalid-utf8-input x86-64 GNU/Linux Debian 6 x86-64 GNU/Linux Slackware 14 pcre-jitstack PowerPC G4 MacOS X 10.5.8 x86 Mac OS X 10.7.5 x86 MirBSD 10 x86 OpenBSD 4.9, 5.1 x86-64 DragonFlyBSD 4.4, 4.6 x86-64 KfreeBSD 7.7 x86-64 NetBSD 5 and 6 x86-64 OpenBSD 5.{4,5,6,7,8} surrogate-pair x86-64 OpenBSD 5.8 XFAIL: backref-alt IA-64 GNU/Linux Red Hat 5.11 x86 GNU/Linux CentOS 5.11 x86-64 GNU/Linux CentOS 5.11 x86-64 KfreeBSD 7.7 equiv-classes PowerPC G4 MacOS X 10.5.8 x86 Mac OS X 10.7.5 x86 MirBSD 10 x86 OpenBSD 4.9, 5.1 x86-64 DragonFlyBSD 4.4, 4.6 x86-64 FreeBSD 11 x86-64 GNU/Linux Debian 6 x86-64 GNU/Linux Slackware 14 x86-64 NetBSD 5 and 6 x86-64 OpenBSD 5.{4,5,6,7,8} triple-backref IA-64 GNU/Linux Red Hat 5.11 PowerPC G4 MacOS X 10.5.8 x86 Mac OS X 10.7.5 x86 MirBSD 10 x86-64 DragonFlyBSD 4.4, 4.6 x86-64 GNU/Linux CentOS 5.11 x86-64 NetBSD 5 and 6 x86-64 OpenBSD 5.{4,5,6,7,8} x86-64 OpenIndiana 11 Some of those failures may be related to deficient multibyte and UTF-8 support on some platforms; I wonder whether there might be a simple one-line test that could check for such deficiencies and suppress the rest of the test if so. It would be nice if the tests could mostly succeed everywhere, even if that means that some tests are suppressed because of limited platform support. In addition, compilation on MacOS X 10.10 (Yosemite) and 10.11 (El Capitan) produces these warnings from clang masquerading as gcc: make[3]: Entering directory '/private/var/tmp/build/bare/grep-2.23/lib' Makefile:1684: target '.deps/alloca.Po' given more than once in the same rule CC argmatch.o CC error.o error.c:386:12: warning: data argument not used by format string [-Wformat-extra-args] file_name, line_number); ^ 1 warning generated. CC regex.o In file included from regex.c:70: ./regex_internal.c:1392:11: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (idx < 0 || idx >= set->nelem) ~~~ ^ ~ 1 warning generated. ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: be...@math.utah.edu - - 155 S 1400 E RM 233 be...@acm.org be...@computer.org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ - -------------------------------------------------------------------------------