Hello,

On 03/03/2016 09:17 PM, Jim Meyering wrote:
gzip snapshot:
   http://meyering.net/gzip/gzip-1.6.42-d6d4.tar.xz

On AIX 7.1, "make check" fails to start perhaps due to shell syntax/makefile 
syntax errors.
BTW, "gmake check" does succeed.
The error is:
===
$ cd tests
$ make check-TESTS V=1
/bin/sh: 0403-057 Syntax error at line 1 : `if' is not matched.
make: 1254-004 The error code from the last command is 2.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
===

On OpenSoalris 5.11, both i86pc and sun4u, test 'zgrep-signal' fails. log 
attached.
(note: no failure on OpenSolaris 5.10).

On Minix 3.3.0, gzip fails to build due to gnulib's fflush module.  log 
attached.
Seems similar to "issue 2" here:
  http://lists.gnu.org/archive/html/bug-gnulib/2014-09/msg00074.html


Otherwise, No failures on:
  CentOS 7 + 6.5,   amd64
  Ubuntu 14.04,   amd64
  Ubuntu 15.04   amd64 + i686
  openSUSE 42.1, 13.1,   amd64
  Fedora 23, 22, 21,   amd64
  Debian 8.1, 7.6,   amd64
  Trisquel 7.0, 6.0.1,   amd64
Fedora-21, ppc64le
  Fedora-20, ppc64
  Ubuntu-14, aarch64

  OpenBSD 5.8, 5.7, 5.6, amd64
  FreeBSD 10.1, 9.3,   amd64
  NetBSD 7.0, 6.1.4,   amd64
  GNU Hurd 0.7,   i686
  Debian-7/kFreeBSD-9,  amd64
  OpenSolaris 5.10 on i86pc and suv4u/sub4v


regards,
 - assaf

  GEN      public-submodule-commit
make  check-recursive
make[1]: Entering directory `/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4'
Making check in lib
make[2]: Entering directory `/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/lib'
make  check-am
make[3]: Entering directory `/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/lib'
make[3]: Leaving directory `/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/lib'
make[2]: Leaving directory `/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/lib'
Making check in doc
make[2]: Entering directory `/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/doc'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/doc'
Making check in .
make[2]: Entering directory `/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4'
make  check-local
make[3]: Entering directory `/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4'
  GEN      gzip.doc.gz
  GEN      check-local
make[3]: Leaving directory `/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4'
make[2]: Leaving directory `/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4'
Making check in tests
make[2]: Entering directory `/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests'
make  check-TESTS
make[3]: Entering directory `/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests'
make[4]: Entering directory `/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests'
PASS: gzip-env
PASS: helin-segv
PASS: help-version
PASS: hufts
PASS: keep
PASS: memcpy-abuse
PASS: mixed
PASS: null-suffix-clobber
PASS: stdin
PASS: trailing-nul
PASS: unpack-invalid
PASS: z-suffix
PASS: zdiff
PASS: zgrep-f
PASS: zgrep-context
FAIL: zgrep-signal
PASS: znew-k
============================================
   gzip 1.6.42-d6d4: tests/test-suite.log
============================================

# TOTAL: 17
# PASS:  16
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: zgrep-signal
==================

++ initial_cwd_=/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests gt-zgrep-signal.XXXX
+++ case $# in
+++ destdir_=/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests
+++ template_=gt-zgrep-signal.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
+++ d=/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests/gt-zgrep-signal.Khvw
+++ case $d in
+++ test -d /home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests/gt-zgrep-signal.Khvw
++++ ls -dgo /home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests/gt-zgrep-signal.Khvw
++++ tr S -
+++ perms='drwx------ 2 2 Mar  4 16:24 /home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests/gt-zgrep-signal.Khvw'
+++ case $perms in
+++ test 0 = 0
+++ echo /home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests/gt-zgrep-signal.Khvw
+++ return
++ test_dir_=/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests/gt-zgrep-signal.Khvw
++ cd /home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests/gt-zgrep-signal.Khvw
++ 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_ ..
+ test 1 '!=' 0
+ path_dir_=..
+ case $path_dir_ in
+ abs_path_dir_=/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests/..
+ case $abs_path_dir_ in
+ PATH=/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests/..:/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4:/usr/gnu/bin:/usr/xpg6/bin:/usr/xpg4/bin/:/opt/csw/bin:usr/sfw/bin:/usr/bin:/bin
+ create_exe_shims_ /home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests/..
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ echo a
+ gzip -c
+ test x = x
+ PERL=perl
+ write_to_dangling_pipe cat f.gz f.gz
+ program=cat
+ shift
+ args=
+ for arg in '"$@"'
+ args=', '\''f.gz'\'''
+ for arg in '"$@"'
+ args=', '\''f.gz'\'', '\''f.gz'\'''
+ perl -e '
     use POSIX qw(dup2);
     $SIG{PIPE} = "DEFAULT";
     pipe my ($read_end, $write_end) or die "pipe: $!\n";
     dup2 fileno $write_end, 1 or die "dup2: $!\n";
     close $read_end or die "close: $!\n";
     exec '\''cat'\'', '\''f.gz'\'', '\''f.gz'\'';
  '
+ signal_status=141
+ test 128 -lt 141
+ fail=0
+ write_to_dangling_pipe zgrep a f.gz f.gz
+ program=zgrep
+ shift
+ args=
+ for arg in '"$@"'
+ args=', '\''a'\'''
+ for arg in '"$@"'
+ args=', '\''a'\'', '\''f.gz'\'''
+ for arg in '"$@"'
+ args=', '\''a'\'', '\''f.gz'\'', '\''f.gz'\'''
+ perl -e '
     use POSIX qw(dup2);
     $SIG{PIPE} = "DEFAULT";
     pipe my ($read_end, $write_end) or die "pipe: $!\n";
     dup2 fileno $write_end, 1 or die "dup2: $!\n";
     close $read_end or die "close: $!\n";
     exec '\''zgrep'\'', '\''a'\'', '\''f.gz'\'', '\''f.gz'\'';
  '
+ test 13 -eq 141
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests
+ chmod -R u+rwx /home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests/gt-zgrep-signal.Khvw
+ rm -rf /home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests/gt-zgrep-signal.Khvw
+ exit 1
FAIL zgrep-signal (exit status: 1)

============================================================================
Testsuite summary for gzip 1.6.42-d6d4
============================================================================
# TOTAL: 17
# PASS:  16
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to bug-gzip@gnu.org
============================================================================
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory `/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests'
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory `/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/agn/pretest.2016-03-04.Pea4kq/gzip-1.6.42-d6d4.qvGAvi/gzip-1.6.42-d6d4'
make: *** [check] Error 2
  GEN      version.c
  GEN      version.h
make  all-recursive
Making all in lib
  GEN      alloca.h
  GEN      configmake.h
  GEN      c++defs.h
  GEN      arg-nonnull.h
  GEN      warn-on-use.h
  GEN      dirent.h
  GEN      errno.h
  GEN      fcntl.h
  GEN      getopt.h
  GEN      math.h
  GEN      unused-parameter.h
  GEN      stddef.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      string.h
  GEN      sys/stat.h
  GEN      sys/time.h
  GEN      sys/types.h
  GEN      time.h
  GEN      unistd.h
  GEN      wchar.h
  GEN      wctype.h
make  all-am
  CC       c-ctype.o
  CC       c-strcasecmp.o
  CC       c-strncasecmp.o
  CC       cloexec.o
  CC       close-stream.o
  CC       closein.o
  CC       closeout.o
  CC       opendir-safer.o
  CC       dirname-lgpl.o
  CC       basename-lgpl.o
  CC       stripslash.o
  CC       exitfail.o
  CC       creat-safer.o
  CC       open-safer.o
  CC       fd-hook.o
  CC       filenamecat-lgpl.o
  CC       freading.o
  CC       gettime.o
  CC       localcharset.o
  CC       glthread/lock.o
  CC       math.o
  CC       openat-die.o
  CC       openat-safer.o
  CC       printf-frexp.o
  CC       printf-frexpl.o
  CC       quotearg.o
  CC       save-cwd.o
  CC       savedir.o
  CC       stat-time.o
  CC       statat.o
  CC       glthread/threadlib.o
  CC       timespec.o
  CC       unistd.o
  CC       dup-safer.o
  CC       fd-safer.o
  CC       pipe-safer.o
  CC       utimens.o
  CC       wctype-h.o
  CC       xmalloc.o
  CC       xalloc-die.o
  CC       xsize.o
  CC       yesno.o
  CC       asnprintf.o
  CC       calloc.o
  CC       chdir-long.o
  CC       dup2.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       fclose.o
  CC       fdatasync.o
  CC       fdopendir.o
  CC       fflush.o
fflush.c:55:7: error: no member named '_ub' in 'struct __sFILE'
  if (HASUB (fp))
      ^~~~~~~~~~
./stdio-impl.h:74:21: note: expanded from macro 'HASUB'
# define HASUB(fp) (fp_ub._base != NULL)
                    ^~~~~
./stdio-impl.h:71:22: note: expanded from macro 'fp_ub'
#  define fp_ub fp_->_ub
                ~~~  ^
1 error generated.
*** Error code 1

Stop.
make[3]: stopped in /tmp/gzip-1.6.42-d6d4.XXXXXX.000259aa/gzip-1.6.42-d6d4/lib
*** Error code 1

Stop.
make[2]: stopped in /tmp/gzip-1.6.42-d6d4.XXXXXX.000259aa/gzip-1.6.42-d6d4/lib
*** Error code 1

Stop.
make[1]: stopped in /tmp/gzip-1.6.42-d6d4.XXXXXX.000259aa/gzip-1.6.42-d6d4
*** Error code 1

Stop.
make: stopped in /tmp/gzip-1.6.42-d6d4.XXXXXX.000259aa/gzip-1.6.42-d6d4

Reply via email to