Hi Jim, Am 10.10.2013 um 02:41 schrieb Jim Meyering : > On Tue, Oct 8, 2013 at 12:36 AM, Dagobert Michelsen wrote: >> Am 07.10.2013 um 16:58 schrieb Jim Meyering : >>> On Fri, Oct 4, 2013 at 7:40 AM, Dagobert Michelsen wrote: >>>> I have a failing test spencer1-locale for #514. The error is the same as the one >>>> reported here: >>>> http://lists.gnu.org/archive/html/bug-grep/2012-08/msg00020.html >>>> >>>> I verified that the error also occurs when compiling with gcc 4.8.0. >>>> >>>> Here is the snippet for the failing test: >>> ... >>>> ++ echo $'a\002c' >>>> ++ LC_ALL=ru_RU.KOI8-R >>>> ++ grep -E -e 'a[^A-^C]?c' >>>> ++ echo 1 >>>> + status=1 >>>> + test 1 -ne 0 >>>> + echo Spencer test '#514' failed '(ru_RU.KOI8-R)' >>>> Spencer test #514 failed (ru_RU.KOI8-R) >>>> + failures=1 >>> ... > > I have just build and run the tests on this system: > > SunOS login 5.10 Generic_147440-27 sun4v sparc SUNW,SPARC-Enterprise-T5220 This is a physical machine with lots of zones installed. Which did you use? unstable10s? > All tests passed. > Then I ran manually the one that failed for you, and it passed: > [note that the range endpoints are Ctrl-a and Ctrl-e] > >> echo $'a\002c'| LC_ALL=ru_RU.KOI8-R ./grep -E 'a[^A-^E]?c' > ac Ok, for me this looks like > dam@unstable10s [unstable10s]:/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/build-isa-sparcv8plus/grep-2.14/src > echo $'a\002c'| LC_ALL=ru_RU.KOI8-R ./grep -E 'a[^A-^E]?c' > ./grep: ������������ ����� ��������� I use some more build options: > cd work/solaris10-sparc/build-isa-sparcv8plus/grep-2.14 && mkdir -p . && cd . && /usr/bin/env -i HOME="/home/dam" PATH="/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/install-isa-sparcv8plus/opt/csw/bin:/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/install-isa-sparcv8plus/opt/csw/bin:/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/install-isa-sparcv8plus/opt/csw/sbin:/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/install-isa-sparcv8plus/opt/csw/sbin:/opt/csw/bin:/opt/csw/bin:/opt/csw/sbin:/opt/csw/sbin:/opt/csw/bin:/home/dam/mgar/pkg/.buildsys/v2/gar/bin:/usr/bin:/usr/sbin:/usr/java/bin:/usr/ccs/bin:/usr/openwin/bin" LC_ALL="C" prefix="/opt/csw" exec_prefix="/opt/csw" bindir="/opt/csw/bin" sbindir="/opt/csw/sbin" libexecdir="/opt/csw/libexec" datadir="/opt/csw/share" sysconfdir="/etc/opt/csw" sharedstatedir="/opt/csw/share" localstatedir="/var/opt/csw" libdir="/opt/csw/lib" infodir="/opt/csw/share/info" lispdir="/opt/csw/share/emacs/site-lisp" includedir="/opt/csw/include" mandir="/opt/csw/share/man" docdir="/opt/csw/share/doc" sourcedir="/opt/csw/src" CPPFLAGS="-I/opt/csw/include" CFLAGS="-O2 -pipe -mcpu=v9" CXXFLAGS="-O2 -pipe -mcpu=v9" LDFLAGS="-mcpu=v9 -L/opt/csw/lib" FFLAGS="-O2 -pipe -mcpu=v9" FCFLAGS="-O2 -pipe -mcpu=v9" F77="/opt/csw/bin/gfortran-4.8" FC="/opt/csw/bin/gfortran-4.8" ASFLAGS="" OPTFLAGS="-O2 -pipe -mcpu=v9" CC="/opt/csw/bin/gcc-4.8" CXX="/opt/csw/bin/g++-4.8" CC_HOME="/opt/csw" CC_VERSION="gcc version 4.8.0 (GCC) " CXX_VERSION="gcc version 4.8.0 (GCC) " GARCH="sparc" GAROSREL="5.10" GARPACKAGE="trunk" LD_OPTIONS="-R/opt/csw/lib/\$ISALIST -R/opt/csw/lib -M /home/dam/mgar/pkg/.buildsys/v2/gar/lib/map.solaris10 -B direct -z ignore" PKG_CONFIG_PATH="/opt/csw/lib/pkgconfig" DESTDIR="/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/install-isa-sparcv8plus" /home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/build-isa-sparcv8plus/grep-2.14/configure --prefix=/opt/csw --exec_prefix=/opt/csw --bindir=/opt/csw/bin --sbindir=/opt/csw/sb > in --libexecdir=/opt/csw/libexec --datadir=/opt/csw/share --sysconfdir=/etc/opt/csw --sharedstatedir=/opt/csw/share --localstatedir=/var/opt/csw --libdir=/opt/csw/lib --infodir=/opt/csw/share/info --includedir=/opt/csw/include --mandir=/opt/csw/share/man --program-prefix=g --with-included-regex > It's looking like this problem is due to something specific to your > personal environment. > Can you reproduce that? > > FTR, the gcc in my path was this: > gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) On unstable10s I can reproduce the failing behaviour: dam@unstable10s [unstable10s]:/home/dam/tmp/grep-2.14 > CC=/usr/sfw/bin/gcc ./configure && gmake check checking for a BSD-compatible install... /opt/csw/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /opt/csw/bin/gmkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking for gawk... (cached) gawk checking for gcc... /usr/sfw/bin/gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/sfw/bin/gcc accepts -g... yes checking for /usr/sfw/bin/gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of /usr/sfw/bin/gcc... gcc3 checking how to run the C preprocessor... /usr/sfw/bin/gcc -E checking for grep that handles long lines and -e... fn_grep checking for egrep... (cached) fn_grep checking for Minix Amsterdam compiler... no checking for ar... ar checking for ranlib... ranlib checking whether /usr/sfw/bin/gcc and cc understand -c and -o together... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for /usr/sfw/bin/gcc option to accept ISO C99... -std=gnu99 checking for /usr/sfw/bin/gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking for ranlib... (cached) ranlib checking for size_t... yes checking for an ANSI C-conforming const... yes checking for working alloca.h... yes checking for alloca... yes checking for inline... inline checking whether uses 'inline' correctly... yes checking for btowc... yes checking for _set_invalid_parameter_handler... no checking for fchdir... yes checking for fdopendir... yes checking for fcntl... yes checking for symlink... yes checking for mempcpy... no checking for isblank... yes checking for iswctype... yes checking for mbsrtowcs... yes checking for wmemchr... yes checking for wmemcpy... yes checking for wmempcpy... no checking for __fpending... yes checking for fstatat... yes checking for openat... yes checking for fstatfs... yes checking for getdtablesize... yes checking for iswcntrl... yes checking for iswblank... yes checking for lstat... yes checking for mbsinit... yes checking for mbrtowc... yes checking for mbrlen... yes checking for mbslen... no checking for mprotect... yes checking for nl_langinfo... yes checking for wcscoll... yes checking for strdup... yes checking for strerror_r... yes checking for __xpg_strerror_r... no checking for strtoimax... yes checking for strtoumax... yes checking for pipe... yes checking for wcrtomb... yes checking for wctob... yes checking for wcwidth... yes checking for newlocale... no checking for setenv... yes checking for snprintf... yes checking for vasnprintf... no checking for isascii... yes checking for setlocale... yes checking for nl_langinfo and CODESET... yes checking for a traditional french locale... none checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking stdio_ext.h usability... yes checking stdio_ext.h presence... yes checking for stdio_ext.h... yes checking for sys/stat.h... (cached) yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking xlocale.h usability... no checking xlocale.h presence... no checking for xlocale.h... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking features.h usability... no checking features.h presence... no checking for features.h... no checking whether the preprocessor supports include_next... yes checking whether system header files limit the line length... no checking whether // is distinct from /... no checking for complete errno.h... yes checking whether strerror_r is declared... yes checking for strerror_r... (cached) yes checking whether strerror_r returns char *... no checking whether fchdir is declared... yes checking for working fcntl.h... yes checking for pid_t... yes checking for mode_t... yes checking for promoted mode_t type... mode_t checking for mbstate_t... yes checking whether stat file-mode macros are broken... no checking for nlink_t... yes checking whether fchmodat is declared without a macro... no checking whether fstat is declared without a macro... yes checking whether fstatat is declared without a macro... yes checking whether futimens is declared without a macro... yes checking whether lchmod is declared without a macro... no checking whether lstat is declared without a macro... yes checking whether mkdirat is declared without a macro... no checking whether mkfifo is declared without a macro... yes checking whether mkfifoat is declared without a macro... no checking whether mknod is declared without a macro... yes checking whether mknodat is declared without a macro... no checking whether stat is declared without a macro... yes checking whether utimensat is declared without a macro... yes checking whether lstat correctly handles trailing slash... yes checking whether getcwd (NULL, 0) allocates memory for result... no checking for getcwd with POSIX signature... yes checking for getopt.h... (cached) yes checking for getopt_long_only... yes checking whether getopt is POSIX compatible... yes checking for working GNU getopt function... no checking whether getenv is declared... yes checking for ld used by GCC... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for shared library run path origin... done checking for 64-bit host... no checking for iconv... yes checking for working iconv... no checking for iconv declaration... extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for unsigned long long int... yes checking for long long int... yes checking whether stdint.h conforms to C99... no checking sys/inttypes.h usability... yes checking sys/inttypes.h presence... yes checking for sys/inttypes.h... yes checking sys/bitypes.h usability... no checking sys/bitypes.h presence... no checking for sys/bitypes.h... no checking for bit size of ptrdiff_t... 32 checking for bit size of size_t... 32 checking for bit size of sig_atomic_t... 32 checking for bit size of wchar_t... 32 checking for bit size of wint_t... 32 checking whether sig_atomic_t is signed... yes checking whether wchar_t is signed... yes checking whether wint_t is signed... yes checking for ptrdiff_t integer literal suffix... checking for size_t integer literal suffix... u checking for sig_atomic_t integer literal suffix... checking for wchar_t integer literal suffix... l checking for wint_t integer literal suffix... l checking whether imaxabs is declared without a macro... yes checking whether imaxdiv is declared without a macro... yes checking whether strtoimax is declared without a macro... yes checking whether strtoumax is declared without a macro... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking for wint_t... yes checking whether iswcntrl works... yes checking for towlower... yes checking for wctype_t... yes checking for wctrans_t... yes checking whether wctype is declared without a macro... yes checking whether iswctype is declared without a macro... yes checking whether wctrans is declared without a macro... yes checking whether towctrans is declared without a macro... yes checking whether getc_unlocked is declared... yes checking whether we are using the GNU C Library >= 2.1 or uClibc... no checking for wchar_t... yes checking whether NULL can be used in arbitrary expressions... yes checking whether malloc, realloc, calloc are POSIX compliant... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for a traditional japanese locale... none checking for a transitional chinese locale... none checking for a french Unicode locale... none checking whether mbrtowc handles incomplete characters... guessing yes checking whether mbrtowc works as well as mbtowc... guessing yes checking whether mbrtowc handles a NULL pwc argument... guessing no checking whether mbrtowc handles a NULL string argument... guessing yes checking whether mbrtowc has a correct return value... guessing no checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes checking for mmap... yes checking for MAP_ANONYMOUS... yes checking whether memchr works... yes checking for C/C++ restrict keyword... __restrict checking whether memrchr is declared... no checking whether defines MIN and MAX... no checking whether defines MIN and MAX... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking whether strdup is declared... yes checking whether strerror(0) succeeds... yes checking for strerror_r with POSIX signature... yes checking whether strerror_r works... no checking whether ffsl is declared without a macro... no checking whether ffsll is declared without a macro... no checking whether memmem is declared without a macro... no checking whether mempcpy is declared without a macro... no checking whether memrchr is declared without a macro... no checking whether rawmemchr is declared without a macro... no checking whether stpcpy is declared without a macro... no checking whether stpncpy is declared without a macro... no checking whether strchrnul is declared without a macro... no checking whether strdup is declared without a macro... yes checking whether strncat is declared without a macro... yes checking whether strndup is declared without a macro... no checking whether strnlen is declared without a macro... no checking whether strpbrk is declared without a macro... yes checking whether strsep is declared without a macro... no checking whether strcasestr is declared without a macro... no checking whether strtok_r is declared without a macro... yes checking whether strerror_r is declared without a macro... yes checking whether strsignal is declared without a macro... yes checking whether strverscmp is declared without a macro... no checking whether strnlen is declared... no checking whether strtoimax is declared... (cached) yes checking whether strtoumax is declared... (cached) yes checking for struct timespec in ... yes checking whether clearerr_unlocked is declared... no checking whether feof_unlocked is declared... no checking whether ferror_unlocked is declared... no checking whether fflush_unlocked is declared... no checking whether fgets_unlocked is declared... no checking whether fputc_unlocked is declared... no checking whether fputs_unlocked is declared... no checking whether fread_unlocked is declared... no checking whether fwrite_unlocked is declared... no checking whether getchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking if environ is properly declared... no checking for off_t... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking whether imported symbols can be declared weak... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_kill in -lpthread... yes checking for multithread API to use... posix checking whether setenv is declared... yes checking search.h usability... yes checking search.h presence... yes checking for search.h... yes checking for tsearch... yes checking whether snprintf returns a byte count as in C99... yes checking whether snprintf is declared... yes checking whether unsetenv is declared... yes checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking where to find the exponent in a 'double'... word 0 bit 20 checking for snprintf... (cached) yes checking for strnlen... no checking for wcslen... yes checking for wcsnlen... no checking for mbrtowc... (cached) yes checking for wcrtomb... (cached) yes checking whether _snprintf is declared... no checking for alloca as a compiler built-in... yes checking whether btowc(0) is correct... yes checking whether btowc(EOF) is correct... guessing yes checking whether this system has an arbitrary file name length limit... yes checking for closedir... yes checking whether isblank is declared without a macro... yes checking for d_ino member in directory struct... yes checking for d_type member in directory struct... no checking whether alphasort is declared without a macro... yes checking whether closedir is declared without a macro... yes checking whether dirfd is declared without a macro... no checking whether fdopendir is declared without a macro... yes checking whether opendir is declared without a macro... yes checking whether readdir is declared without a macro... yes checking whether rewinddir is declared without a macro... yes checking whether scandir is declared without a macro... yes checking for dirfd... no checking whether dirfd is declared... no checking whether dirfd is a macro... no checking how to get the file descriptor associated with an open DIR*... dd_fd checking whether // is distinct from /... (cached) no checking whether dup2 works... yes checking for error_at_line... no checking whether fcntl handles F_DUPFD correctly... yes checking whether fcntl understands F_DUPFD_CLOEXEC... no checking whether fcntl is declared without a macro... yes checking whether openat is declared without a macro... yes checking whether fdopendir is declared... (cached) yes checking whether fdopendir works... yes checking for working POSIX fnmatch... yes checking whether __fpending is declared... yes checking whether fstatat (..., 0) works... yes checking for struct statfs.f_type... no checking for getpagesize... yes checking whether getpagesize is declared... yes checking whether the compiler generally respects inline... yes checking whether INT32_MAX < INTMAX_MAX... yes checking whether INT64_MAX == LONG_MAX... no checking whether UINT32_MAX < UINTMAX_MAX... yes checking whether UINT64_MAX == ULONG_MAX... no checking whether iswblank is declared... yes checking whether langinfo.h defines CODESET... yes checking whether langinfo.h defines T_FMT_AMPM... yes checking whether langinfo.h defines ERA... yes checking whether langinfo.h defines YESEXPR... yes checking whether nl_langinfo is declared without a macro... yes checking whether locale.h conforms to POSIX:2001... yes checking whether struct lconv is properly defined... yes checking whether setlocale is declared without a macro... yes checking whether duplocale is declared without a macro... no checking whether lseek detects pipes... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether mbrtowc handles a NULL pwc argument... (cached) guessing no checking whether mbrtowc handles a NULL string argument... (cached) guessing yes checking whether mbrtowc has a correct return value... (cached) guessing no checking whether mbrtowc returns 0 when parsing a NUL character... (cached) guessing yes checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether mbsrtowcs works... guessing no checking for mempcpy... (cached) no checking for memrchr... no checking whether YESEXPR works... yes checking for obstacks... no checking whether open recognizes a trailing slash... yes checking for opendir... yes checking for perl5.005 or newer... yes checking whether program_invocation_name is declared... no checking whether program_invocation_short_name is declared... no checking for readdir... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for working re_compile_pattern... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking whether isblank is declared... (cached) yes checking for ssize_t... yes checking whether stat handles trailing slashes on directories... yes checking whether stat handles trailing slashes on files... yes checking for va_copy... yes checking whether NULL can be used in arbitrary expressions... (cached) yes checking whether _Exit is declared without a macro... yes checking whether atoll is declared without a macro... yes checking whether canonicalize_file_name is declared without a macro... no checking whether getloadavg is declared without a macro... no checking whether getsubopt is declared without a macro... yes checking whether grantpt is declared without a macro... yes checking whether initstate is declared without a macro... yes checking whether initstate_r is declared without a macro... no checking whether mkdtemp is declared without a macro... no checking whether mkostemp is declared without a macro... no checking whether mkostemps is declared without a macro... no checking whether mkstemp is declared without a macro... yes checking whether mkstemps is declared without a macro... no checking whether posix_openpt is declared without a macro... yes checking whether ptsname is declared without a macro... yes checking whether ptsname_r is declared without a macro... no checking whether random is declared without a macro... yes checking whether random_r is declared without a macro... no checking whether realpath is declared without a macro... yes checking whether rpmatch is declared without a macro... no checking whether setenv is declared without a macro... yes checking whether setstate is declared without a macro... yes checking whether setstate_r is declared without a macro... no checking whether srandom is declared without a macro... yes checking whether srandom_r is declared without a macro... no checking whether strtod is declared without a macro... yes checking whether strtoll is declared without a macro... yes checking whether strtoull is declared without a macro... yes checking whether unlockpt is declared without a macro... yes checking whether unsetenv is declared without a macro... yes checking for stpcpy... no checking for working strerror function... yes checking whether strtoimax works... yes checking for strtoll... yes checking for strtoull... yes checking for nlink_t... (cached) yes checking whether fchmodat is declared without a macro... (cached) no checking whether fstat is declared without a macro... (cached) yes checking whether fstatat is declared without a macro... (cached) yes checking whether futimens is declared without a macro... (cached) yes checking whether lchmod is declared without a macro... (cached) no checking whether lstat is declared without a macro... (cached) yes checking whether mkdirat is declared without a macro... (cached) no checking whether mkfifo is declared without a macro... (cached) yes checking whether mkfifoat is declared without a macro... (cached) no checking whether mknod is declared without a macro... (cached) yes checking whether mknodat is declared without a macro... (cached) no checking whether stat is declared without a macro... (cached) yes checking whether utimensat is declared without a macro... (cached) yes checking whether chdir is declared without a macro... yes checking whether chown is declared without a macro... yes checking whether dup is declared without a macro... yes checking whether dup2 is declared without a macro... yes checking whether dup3 is declared without a macro... no checking whether environ is declared without a macro... no checking whether euidaccess is declared without a macro... no checking whether faccessat is declared without a macro... no checking whether fchdir is declared without a macro... yes checking whether fchownat is declared without a macro... yes checking whether fdatasync is declared without a macro... yes checking whether fsync is declared without a macro... yes checking whether ftruncate is declared without a macro... yes checking whether getcwd is declared without a macro... yes checking whether getdomainname is declared without a macro... no checking whether getdtablesize is declared without a macro... yes checking whether getgroups is declared without a macro... yes checking whether gethostname is declared without a macro... yes checking whether getlogin is declared without a macro... yes checking whether getlogin_r is declared without a macro... yes checking whether getpagesize is declared without a macro... yes checking whether getusershell is declared without a macro... yes checking whether setusershell is declared without a macro... yes checking whether endusershell is declared without a macro... yes checking whether group_member is declared without a macro... no checking whether isatty is declared without a macro... yes checking whether lchown is declared without a macro... yes checking whether link is declared without a macro... yes checking whether linkat is declared without a macro... no checking whether lseek is declared without a macro... yes checking whether pipe is declared without a macro... yes checking whether pipe2 is declared without a macro... no checking whether pread is declared without a macro... yes checking whether pwrite is declared without a macro... yes checking whether readlink is declared without a macro... yes checking whether readlinkat is declared without a macro... no checking whether rmdir is declared without a macro... yes checking whether sethostname is declared without a macro... no checking whether sleep is declared without a macro... yes checking whether symlink is declared without a macro... yes checking whether symlinkat is declared without a macro... no checking whether ttyname_r is declared without a macro... yes checking whether unlink is declared without a macro... yes checking whether unlinkat is declared without a macro... yes checking whether usleep is declared without a macro... yes checking whether btowc is declared without a macro... yes checking whether wctob is declared without a macro... yes checking whether mbsinit is declared without a macro... yes checking whether mbrtowc is declared without a macro... yes checking whether mbrlen is declared without a macro... yes checking whether mbsrtowcs is declared without a macro... yes checking whether mbsnrtowcs is declared without a macro... no checking whether wcrtomb is declared without a macro... yes checking whether wcsrtombs is declared without a macro... yes checking whether wcsnrtombs is declared without a macro... no checking whether wcwidth is declared without a macro... yes checking whether wmemchr is declared without a macro... yes checking whether wmemcmp is declared without a macro... yes checking whether wmemcpy is declared without a macro... yes checking whether wmemmove is declared without a macro... yes checking whether wmemset is declared without a macro... yes checking whether wcslen is declared without a macro... yes checking whether wcsnlen is declared without a macro... no checking whether wcscpy is declared without a macro... yes checking whether wcpcpy is declared without a macro... no checking whether wcsncpy is declared without a macro... yes checking whether wcpncpy is declared without a macro... no checking whether wcscat is declared without a macro... yes checking whether wcsncat is declared without a macro... yes checking whether wcscmp is declared without a macro... yes checking whether wcsncmp is declared without a macro... yes checking whether wcscasecmp is declared without a macro... no checking whether wcsncasecmp is declared without a macro... no checking whether wcscoll is declared without a macro... yes checking whether wcsxfrm is declared without a macro... yes checking whether wcsdup is declared without a macro... no checking whether wcschr is declared without a macro... yes checking whether wcsrchr is declared without a macro... yes checking whether wcscspn is declared without a macro... yes checking whether wcsspn is declared without a macro... yes checking whether wcspbrk is declared without a macro... yes checking whether wcsstr is declared without a macro... yes checking whether wcstok is declared without a macro... yes checking whether wcswidth is declared without a macro... yes checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether wcrtomb return value is correct... guessing no checking whether wctob works... guessing yes checking whether wctob is declared... (cached) yes checking whether iswcntrl works... (cached) yes checking for towlower... (cached) yes checking for wctype_t... (cached) yes checking for wctrans_t... (cached) yes checking whether wctype is declared without a macro... (cached) yes checking whether iswctype is declared without a macro... (cached) yes checking whether wctrans is declared without a macro... (cached) yes checking whether towctrans is declared without a macro... (cached) yes checking whether wcwidth is declared... (cached) yes checking whether wcwidth works reasonably in UTF-8 locales... yes checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional french locale... (cached) none checking for a turkish Unicode locale... none checking whether fdopen sets errno... yes checking whether conversion from 'int' to 'long double' works... yes checking for setlocale... (cached) yes checking for uselocale... no checking for pthread_rwlock_t... yes checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional japanese locale... (cached) none checking for a transitional chinese locale... (cached) none checking for a turkish Unicode locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional japanese locale... (cached) none checking for a transitional chinese locale... (cached) none checking for mmap... (cached) yes checking for MAP_ANONYMOUS... yes checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for putenv compatible with GNU and SVID... no checking whether setenv validates arguments... yes checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional japanese locale... (cached) none checking for a transitional chinese locale... (cached) none checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for snprintf... (cached) yes checking whether snprintf respects a size of 1... yes checking whether printf supports POSIX/XSI format strings with positions... yes checking for wchar_t... (cached) yes checking for wint_t... (cached) yes checking whether dprintf is declared without a macro... no checking whether fpurge is declared without a macro... no checking whether fseeko is declared without a macro... yes checking whether ftello is declared without a macro... yes checking whether getdelim is declared without a macro... no checking whether getline is declared without a macro... no checking whether gets is declared without a macro... yes checking whether pclose is declared without a macro... yes checking whether popen is declared without a macro... yes checking whether renameat is declared without a macro... no checking whether snprintf is declared without a macro... yes checking whether tmpfile is declared without a macro... yes checking whether vdprintf is declared without a macro... no checking whether vsnprintf is declared without a macro... yes checking for mmap... (cached) yes checking for MAP_ANONYMOUS... yes checking whether symlink handles trailing slash correctly... yes checking for unsetenv... yes checking for unsetenv() return type... int checking whether unsetenv obeys POSIX... no checking for ptrdiff_t... yes checking for a traditional french locale... (cached) none checking for a french Unicode locale... (cached) none checking for a traditional japanese locale... (cached) none checking for a transitional chinese locale... (cached) none checking for stdint.h... (cached) yes checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether closedir returns void... no checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... /opt/csw/bin/gmsgfmt checking for xgettext... no checking for msgmerge... no checking for CFPreferencesCopyAppValue... (cached) no checking for CFLocaleCopyCurrent... (cached) no checking for GNU gettext in libc... no checking for iconv... (cached) yes checking for working iconv... (cached) no checking for GNU gettext in libintl... no checking whether to use NLS... no checking pcre.h usability... no checking pcre.h presence... no checking for pcre.h... no checking pcre/pcre.h usability... no checking pcre/pcre.h presence... no checking for pcre/pcre.h... no configure: WARNING: libpcre development library was not found or not usable. configure: WARNING: GNU grep will be built without pcre support. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating po/Makefile.in config.status: creating doc/Makefile config.status: creating gnulib-tests/Makefile config.status: creating config.h config.status: linking lib/colorize-posix.c to lib/colorize.c config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile Making check in po gmake[1]: Entering directory `/home/dam/tmp/grep-2.14/po' gmake[1]: Leaving directory `/home/dam/tmp/grep-2.14/po' Making check in lib gmake[1]: Entering directory `/home/dam/tmp/grep-2.14/lib' GEN alloca.h GEN configmake.h GEN c++defs.h GEN warn-on-use.h GEN ctype.h GEN arg-nonnull.h GEN dirent.h GEN fcntl.h GEN getopt.h GEN iconv.h GEN inttypes.h GEN langinfo.h GEN locale.h GEN unused-parameter.h GEN stdint.h GEN stdlib.h GEN string.h GEN sys/stat.h GEN sys/types.h GEN time.h GEN unistd.h GEN unistr.h GEN unitypes.h GEN uniwidth.h GEN wchar.h GEN wctype.h gmake check-am gmake[2]: Entering directory `/home/dam/tmp/grep-2.14/lib' CC argmatch.o CC c-ctype.o CC c-strcasecmp.o CC c-strncasecmp.o CC cloexec.o CC close-stream.o CC closeout.o CC cycle-check.o CC opendir-safer.o CC dirname-lgpl.o CC basename-lgpl.o CC stripslash.o CC exclude.o CC exitfail.o CC creat-safer.o CC open-safer.o CC fd-hook.o CC filenamecat-lgpl.o CC hash.o CC i-ring.o CC localcharset.o CC malloca.o CC mbchar.o CC mbscasecmp.o CC mbslen.o CC mbsstr.o CC openat-die.o CC openat-safer.o CC progname.o CC propername.o CC quotearg.o CC save-cwd.o CC striconv.o CC strnlen1.o CC trim.o CC dup-safer.o CC fd-safer.o CC pipe-safer.o CC u8-mbtoucr.o CC u8-uctomb.o CC u8-uctomb-aux.o CC width.o CC version-etc.o CC version-etc-fsf.o CC xmalloc.o CC xalloc-die.o CC xstriconv.o CC xstrtoimax.o CC xstrtol.o CC xstrtoul.o CC xstrtol-error.o CC colorize.o CC chdir-long.o CC dirfd.o CC error.o CC fcntl.o CC fts.o CC getcwd-lgpl.o CC getopt.o CC getopt1.o CC iconv_open.o CC mbrlen.o CC mbrtowc.o CC mbsrtowcs.o CC mbsrtowcs-state.o CC mempcpy.o CC memrchr.o CC obstack.o CC openat-proc.o CC regex.o CC stpcpy.o CC strerror.o CC strnlen.o CC wcrtomb.o AR libgreputils.a GEN charset.alias GEN ref-add.sed GEN ref-del.sed gmake[2]: Leaving directory `/home/dam/tmp/grep-2.14/lib' gmake[1]: Leaving directory `/home/dam/tmp/grep-2.14/lib' Making check in doc gmake[1]: Entering directory `/home/dam/tmp/grep-2.14/doc' GEN grep.1 GEN fgrep.1 GEN egrep.1 gmake[1]: Leaving directory `/home/dam/tmp/grep-2.14/doc' Making check in src gmake[1]: Entering directory `/home/dam/tmp/grep-2.14/src' CC kwset.o CC dfa.o CC searchutils.o CC dfasearch.o CC kwsearch.o CC pcresearch.o CC main.o AR libgrep.a CC grep.o CCLD grep CC egrep.o CCLD egrep CC fgrep.o CCLD fgrep gmake[1]: Leaving directory `/home/dam/tmp/grep-2.14/src' Making check in tests gmake[1]: Entering directory `/home/dam/tmp/grep-2.14/tests' gmake get-mb-cur-max gmake[2]: Entering directory `/home/dam/tmp/grep-2.14/tests' CC get-mb-cur-max.o CCLD get-mb-cur-max gmake[2]: Leaving directory `/home/dam/tmp/grep-2.14/tests' gmake check-TESTS gmake[2]: Entering directory `/home/dam/tmp/grep-2.14/tests' gmake[3]: Entering directory `/home/dam/tmp/grep-2.14/tests' PASS: backref backref-multibyte-slow: skipped test: en_US.UTF-8 locale not found SKIP: backref-multibyte-slow PASS: backref-word big-hole: skipped test: expensive: disabled by default SKIP: big-hole big-match: skipped test: expensive: disabled by default SKIP: big-match PASS: bogus-wctob PASS: bre PASS: case-fold-backref PASS: case-fold-backslash-w PASS: case-fold-char-class PASS: case-fold-char-range PASS: case-fold-char-type char-class-multibyte: skipped test: en_US.UTF-8 locale not found SKIP: char-class-multibyte dfa-coverage: skipped test: en_US.UTF-8 locale not found SKIP: dfa-coverage PASS: dfa-heap-overrun PASS: dfaexec-multibyte empty: skipped test: your system lacks the timeout program SKIP: empty PASS: epipe equiv-classes: skipped test: en_US.UTF-8 locale not found SKIP: equiv-classes + require_en_utf8_locale_ + path_prepend_ . + test 1 '!=' 0 + path_dir_=. + case $path_dir_ in + abs_path_dir_=/home/dam/tmp/grep-2.14/tests/. + case $abs_path_dir_ in + PATH=/home/dam/tmp/grep-2.14/tests/.:/home/dam/tmp/grep-2.14/tests/../src:/home/dam/tmp/grep-2.14/src:/home/dam/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/opt/bop/bin:/opt/csw/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/opt/csw/bin + create_exe_shims_ /home/dam/tmp/grep-2.14/tests/. + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + case $(get-mb-cur-max en_US.UTF-8) in ++ get-mb-cur-max en_US.UTF-8 + skip_ 'en_US.UTF-8 locale not found' + warn_ 'fgrep-infloop: skipped test: en_US.UTF-8 locale not found' + case $IFS in + printf '%s\n' 'fgrep-infloop: skipped test: en_US.UTF-8 locale not found' fgrep-infloop: skipped test: en_US.UTF-8 locale not found + test 9 = 2 + printf '%s\n' 'fgrep-infloop: skipped test: en_US.UTF-8 locale not found' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /home/dam/tmp/grep-2.14/tests + chmod -R u+rwx /home/dam/tmp/grep-2.14/tests/gt-fgrep-infloop.aGRX + rm -rf /home/dam/tmp/grep-2.14/tests/gt-fgrep-infloop.aGRX + exit 77 SKIP: fmbtest ============= ++ initial_cwd_=/home/dam/tmp/grep-2.14/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /home/dam/tmp/grep-2.14/tests gt-pcre.XXXX +++ case $# in +++ destdir_=/home/dam/tmp/grep-2.14/tests +++ template_=gt-pcre.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR +++ d=/home/dam/tmp/grep-2.14/tests/gt-pcre.aid1 +++ case $d in +++ test -d /home/dam/tmp/grep-2.14/tests/gt-pcre.aid1 ++++ ls -dgo /home/dam/tmp/grep-2.14/tests/gt-pcre.aid1 ++++ tr S - +++ perms='drwx------ 2 2 Oct 10 10:16 /home/dam/tmp/grep-2.14/tests/gt-pcre.aid1' +++ case $perms in +++ test 0 = 0 +++ echo /home/dam/tmp/grep-2.14/tests/gt-pcre.aid1 +++ return ++ test_dir_=/home/dam/tmp/grep-2.14/tests/gt-pcre.aid1 ++ cd /home/dam/tmp/grep-2.14/tests/gt-pcre.aid1 ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in + abs_path_dir_=/home/dam/tmp/grep-2.14/tests/. + case $abs_path_dir_ in + PATH=/home/dam/tmp/grep-2.14/tests/.:/home/dam/tmp/grep-2.14/tests/../src:/home/dam/tmp/grep-2.14/src:/home/dam/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/opt/bop/bin:/opt/csw/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/opt/csw/bin + create_exe_shims_ /home/dam/tmp/grep-2.14/tests/. + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + case $(get-mb-cur-max en_US.UTF-8) in ++ get-mb-cur-max en_US.UTF-8 + skip_ 'en_US.UTF-8 locale not found' + warn_ 'word-delim-multibyte: skipped test: en_US.UTF-8 locale not found' + case $IFS in + printf '%s\n' 'word-delim-multibyte: skipped test: en_US.UTF-8 locale not found' word-delim-multibyte: skipped test: en_US.UTF-8 locale not found + test 9 = 2 + printf '%s\n' 'word-delim-multibyte: skipped test: en_US.UTF-8 locale not found' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /home/dam/tmp/grep-2.14/tests + chmod -R u+rwx /home/dam/tmp/grep-2.14/tests/gt-word-delim-multibyte.aOWb + rm -rf /home/dam/tmp/grep-2.14/tests/gt-word-delim-multibyte.aOWb + exit 77 ============================================================================ Testsuite summary for GNU grep 2.14 ============================================================================ # TOTAL: 58 # PASS: 35 # SKIP: 21 # XFAIL: 1 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log Please report to bug-grep@gnu.org ============================================================================ gmake[3]: *** [test-suite.log] Error 1 gmake[3]: Leaving directory `/home/dam/tmp/grep-2.14/tests' gmake[2]: *** [check-TESTS] Error 2 gmake[2]: Leaving directory `/home/dam/tmp/grep-2.14/tests' gmake[1]: *** [check-am] Error 2 gmake[1]: Leaving directory `/home/dam/tmp/grep-2.14/tests' gmake: *** [check-recursive] Error 1 zsh: 22887 exit 2 gmake check If you want you can directly look in my testlog on the buildfarm. dam@unstable10s [unstable10s]:/home/dam/tmp/grep-2.14 > env _=/usr/bin/env LOGINSHELL=1 PS4=+ PS3=select> PS2=continued> PS1=%{%}%n%{%}@%M [%Bunstable10s%b]:%B%d%b > FIGNORE=~:.o:.orig:.ori:.old:.backup FCEDIT=vi SAVEHIST=1000 HISTSIZE=1000 HISTFILE=/home/dam/.zsh_history VISUAL=vi EDITOR=vim LESS=MQi PAGER=less HOSTNAME=unstable10s SSHAGENT=/usr/bin/ssh-agent MLIBHOME=/opt/SUNWmlib MANPATH=/usr/share/man:/opt/csw/man SEDEBUG=0 OLDPWD=/home/dam/tmp PWD=/home/dam/tmp/grep-2.14 SHLVL=1 USER=dam LOGNAME=dam HOME=/home/dam PATH=/home/dam/bin:/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/opt/bop/bin:/opt/csw/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/opt/csw/bin MAIL=/var/mail//dam SHELL=/usr/bin/zsh TZ=Europe/Berlin SSH_CLIENT=192.168.1.2 39301 22 SSH_CONNECTION=192.168.1.2 39301 192.168.1.32 22 SSH_TTY=/dev/pts/8 TERM=xterm DISPLAY=localhost:13.0 SSH_AUTH_SOCK=/tmp/ssh-VEq22635/agent.22635 If you still can't reproduce it on unstable10s I try to finetune my environment. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896