GNU bug report logs - #29033
new snapshot available: gzip-1.8.32-4606

Previous Next

Package: gzip;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Fri, 27 Oct 2017 22:01:02 UTC

Severity: normal

Tags: notabug

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29033 in the body.
You can then email your comments to 29033 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Fri, 27 Oct 2017 22:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jim Meyering <jim <at> meyering.net>:
New bug report received and forwarded. Copy sent to bug-gzip <at> gnu.org. (Fri, 27 Oct 2017 22:01:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: bug-gzip <at> gnu.org
Cc: coordinator <at> translationproject.org, platform-testers <at> gnu.org
Subject: new snapshot available: gzip-1.8.32-4606
Date: Fri, 27 Oct 2017 15:00:17 -0700
I'm ready to make a new release, so here's a pre-release snapshot.
Please build and test wherever you can.

Thank you!

gzip snapshot:
  https://meyering.net/gzip/gzip-ss.tar.xz      740 KB
  https://meyering.net/gzip/gzip-ss.tar.xz.sig
  https://meyering.net/gzip/gzip-1.8.32-4606.tar.xz

Here's the NEWS-to-be:

** Bug fixes

  When decompressing data in 'pack' format, gzip no longer mishandles
  leading zeros in the end-of-block code.  [bug introduced in gzip-1.6]

  When converting timestamps to gzip file format (32-bit unsigned) or
  to time_t format (system-dependent), gzip now ignores out-of-range
  values instead of shoehorning them into the destination format,
  sometimes with undefined behavior.  This affects timestamps before
  1970 and after 2106, and timestamps after 2038 on platforms with
  32-bit signed time_t.  [bug present since the beginning]

  Support for VMS and Amiga has been removed.  It was not working anyway,
  and it reportedly caused file name glitches on MS-Windowsish platforms.

================================================
Changes in gzip since 1.8.18-00e6:

Jim Meyering (5):
      tests: avoid failure when running with no tty
      maint: also distribute a zip-compressed tarball
      maint: avoid "make syntax-check" failure due to old-NEWS modification
      maint: fix "make syntax-check": remove useless HAVE_UTIME_H definitions
      gnulib: update to latest; also update tests/init.sh from gnulib

Paul Eggert (9):
      gzip: port zdiff, zless to Busybox
      build: update gnulib submodule to latest
      maint: update .gitignore for recent Gnulib
      maint: port to GCC 7.2
      maint: copy bootstrap from Gnulib
      maint: prefer HTTPS to HTTP, FTP in URLs
      misc: update --version copyright
      gzexe: improve usage diagnostic
      gzip: fix bug in unpack EOB check


Changes in gnulib since 1.8.18-00e6:

* gnulib a3fd683...1f5f7fd (570):
  > havelib: Fix value of LD for 32-bit compilation on NetBSD/sparc64.
  > glob: fix another heap buffer overflow
  > quotearg: pacify compiler re unsigned
  > glob: fix heap buffer overflow
  > glob: pacify fuzzer for mempcpy
  > autoupdate
  > doc: Fix syntax error (regression from 2017-10-03).
  > doc: Update for Solaris 11.3.
  > all: Write "Solaris 11.0" instead of "Solaris 11 2011-11".
  > doc: Improve doc about ioctl.
  > wcwidth: Don't use obsolete syntax of 'test'.
  > getopt-posix: Fix build failure when using ac_cv_header_getopt_h=no.
  > vma-iter: Fix typo in last commit.
  > vma-iter: Fix typo in last commit.
  > vma-iter: Improve support for FreeBSD.
  > vma-iter: Fix truncated result on NetBSD (regression from 2017-10-07).
  > tests: fix 'invalid path dir' error
  > vma-iter: Fix truncated result on Linux (regression from 2017-09-26).
  > vma-iter: Improve support for GNU/Hurd.
  > test-framework-sh: Don't require bash on Windows and OS/2.
  > wcwidth: check a macro version of wcwidth () as well
  > getopt-posix: Clarify copyright header.
  > Fix warning "`gl_HOST_CPU_C_ABI' was expanded before it was required".
  > doc: warn about misuse of strncpy and wcsncpy.
  > fsuage: fix typo in previous change
  > fsusage: remove SVR2 support
  > Simplify autoupdate of licenses
  > autoupdate
  > vma-iter: Add support for GNU/Hurd.
  > vma-iter: Make it work on 32-bit Solaris with module 'largefile'.
  > havelib: Make it work for CC="gcc -m32" (regression from 2017-02-19).
  > uniname/uniname: Don't assume C99 compiler (regression from 2015-02-16).
  > string: code style
  > uniname/uniname-tests: Tighten code.
  > vma-iter: Improvements for Linux and BSD platforms.
  > vma-iter: Provide the protection flags on FreeBSD.
  > glob: remove bogus extern decl
  > uniname/uniname-tests: integer overflow fix
  > duplocale-tests: fix unlikely crash
  > maint: fix overflow checking in nap.h
  > sys_types: update URL
  > parse-datetime: fix dependency
  > parse-datetime, posixtm: avoid uninit access
  > vma-iter: Improvements for BSD platforms.
  > autoupdate
  > strfmon_l: New module.
  > monetary: New module.
  > duplocale tests: Fix test crash on Linux/x86.
  > autoupdate
  > mktime: port to OpenVMS
  > autoupdate
  > autoupdate
  > * build-aux/bootstrap: fix HTTPS typo in comment
  > m4/manywarnings.m4: fix comment typo: s/reqirs/requires/
  > manywarnings: port to GCC on 64-bit MS-Windows
  > autoupdate
  > autoupdate
  > all: Replace many more http URLs by https URLs. Update stale URLs.
  > autoupdate
  > all: prefer https: URLs
  > doc: Prefer https URLs where possible.
  > maintainer-makefile: FTP -> HTTPS
  > libc-config: Fix __GNUC_PREREQ macro.
  > gnulib-tool.py: follow gnulib-tool changes, part 14
  > gnulib-tool.py: follow gnulib-tool changes, part 13
  > gnulib-tool.py: Keep substitution order like in gnulib-tool.
  > gnulib-tool.py: Define and use two new global functions.
  > gnulib-tool.py: Remove unused function nlcount.
  > gnulib-tool.py: Fix subend function.
  > gnulib-tool.py: follow gnulib-tool changes, part 12
  > gnulib-tool.py: follow gnulib-tool changes, part 11
  > gnulib-tool.py: follow gnulib-tool changes, part 10
  > gnulib-tool.py: follow gnulib-tool changes, part 9
  > gnulib-tool.py: follow gnulib-tool changes, part 8
  > gnulib-tool.py: follow gnulib-tool changes, part 7
  > gnulib-tool.py: follow gnulib-tool changes, part 6
  > gnulib-tool.py: follow gnulib-tool changes, part 5
  > gnulib-tool.py: follow gnulib-tool changes, part 4
  > gnulib-tool.py: follow gnulib-tool changes, part 3
  > gnulib-tool.py: follow gnulib-tool changes, part 2
  > gnulib-tool.py: follow gnulib-tool changes, part 1
  > gnulib-tool.py: Fix typo in rsync invocation.
  > gnulib-tool.py: Fix typo in wget invocation.
  > gnulib-tool.py: Bump copyright years up to 2017.
  > gnulib-tool.py: Accept option --dir instead of --destdir.
  > gnulib-tool: Simplify commit from 2015-08-20.
  > * lib/fts.c: Fix XFS comments.
  > [pygnulib] autopep8 (fixing indentation, style, etc.)
  > gnulib-tool.py: fix exception handling
  > gnulib-tool.py: fix errors on building wget2; use UTF-8 in subprocess
  > [pygnulib] .gitignore
  > [pygnulib] initial merge (including some small bug fixes)
  > stddef: Avoid conflict with system-defined max_align_t.
  > libc-config: port to MSVC
  > glob: Use enum for __glob_pattern_type result
  > glob: fix for use in glibc
  > glob: fix bugs with long login names
  > dirent: Update doc.
  > glob: fix getpwnam_r errno typo
  > glob: fix typo in recent change
  > glob: don't save and restore errno unnecessarily
  > glob: don't assume getpwnam_r
  > scratch_buffer: don’t use private glibc API
  > glob: use scratch_buffer instead of extend_alloca
  > scratch_buffer: new module
  > libc-config: new module
  > glob: match dangling symlinks
  > glob, backupfile: inode 0 is a valid inode number
  > glob: simplify symlink detection
  > fts-tests: tag as a longrunning-test so not included by default
  > renameat2: fix compilation on alpine linux
  > glob: try to port recent changes to MS-Windows
  > warnings: fix compilation with old autoconf
  > * doc/gnulib-intro.texi: Add comment regarding IRIX.
  > autoupdate
  > glob: Fix compilation error on NetBSD 7.0 and OpenBSD 6.0.
  > glob: fix typo that broke platforms lacking d_ino
  > flexmember: fix typo in previous patch
  > glob: merge from glibc with Zanella glob changes
  > glob: port to clang's Undefined Sanitizer
  > ) -> } -> })
  > vc-list-files: port to Solaris 10
  > ) -> }
  > autoupdate
  > git-version-gen: port to Solaris 10
  > host-cpu-c-abi: Improve detection of MIPS ABI.
  > hypot tests: Fix test failure on FreeBSD 11.0/x86.
  > float: Fix LDBL_MIN value on FreeBSD/x86.
  > random: Fix test compilation failure on Cygwin 1.5.25.
  > stdnoreturn: Fix test compilation failure on Cygwin.
  > cloexec: spelling fixes in comments
  > thread: Fix conflict with pthread_sigmask module.
  > rename: port better to NetBSD
  > iconv_open, uni*: Add support for VPATH builds with OpenBSD 'make'.
  > nonblocking-socket tests: Fix failure on OpenBSD 6.0.
  > rename, renameat: Update doc regarding NetBSD.
  > renameat2: port better to macOS
  > futimens: don’t assume struct timespec layout
  > rename: document+test NetBSD rename
  > renameat: Ensure declaration in <stdio.h> on NetBSD.
  > duplocale: Work around NetBSD 7.0 bug.
  > duplocale tests: Verify use with *_l functions.
  > extensions: Enable NetBSD specific extensions.
  > open, openat: Update doc about O_CLOEXEC.
  > open: support O_CLOEXEC
  > * lib/reallocarray.c: Fix layout.
  > reallocarray: minor fixes
  > reallocarray: New module
  > dirent-safer: fix cloexec race
  > fts: fix cloexec races
  > fts tests: Fix link error.
  > fts: port recent changes to CentOS 6
  > autoupdate
  > tempname: do not depend on secure_getenv
  > extensions: add _OPENBSD_SOURCE
  > manywarnings: Add support for C++.
  > manywarnings: Add support for C++.
  > git-version-gen: another fix for tags with "-"
  > warnings, manywarnings: Add support for multiple languages, not just C.
  > git-version-gen: port better to older Git
  > git-version-gen: Fix for tags containing '-'
  > valgrind-tests: use ls, and cache
  > manywarnings: port to 64-bit GCC builds of Emacs
  > Relax the license of some modules with no runtime code.
  > renameat2: port to RHEL 7 + NFS
  > renameat2: port to non-renameat platforms
  > manywarnings: port to 32-bit GCC bug
  > backupfile: new function to validate backup suffix
  > canonicalize: fix EOVERFLOW commentary
  > Don't interpret EOVERFLOW to mean nonexistence
  > backup-rename: new module
  > renameat2: port better to older Solaris
  > fts-tests: port to gcc -Wwrite-strings
  > relocatable-lib{,-lgpl}: improve documentation
  > relocatable-lib{,-lgpl}: add Valgrind suppressions
  > relocatable: Make the license on the sources the GPL.
  > host-cpu-c-abi: Detect ILP32 ABI on IA-64 HP-UX.
  > faccessat: document AT_SYMLINK_NOFOLLOW issue
  > renameat2: port to Solaris 10
  > renameat2: new module
  > vc-list-files: Adjust the script to support git worktrees
  > maint: bring MODULES.html.sh up to date
  > fprintftime: fix build-break caused by recent renaming
  > regex: work with GCC7's -Werror=implicit-fallthrough=
  > fts: simplify fts_build
  > fts: three levels of leaf optimization
  > fts: cache dirent_inode_sort_may_be_useful too
  > fts: introduce MIN_DIR_NLINK
  > fts: nlink_t signedness fixups
  > fts-tests: new module
  > Rename module 'strftime' to 'nstrftime'.
  > Rename module 'strftime' to 'nstrftime'.
  > malloca: Silence a warning from clang's memory sanitizer.
  > autoupdate
  > host-cpu-c-abi: Fix detection of MIPS ABI.
  > explicit_bzero: new module
  > threadlib: Support static linking.
  > unicase/locale-language: Fix link dependencies.
  > sys_socket: Add support for OpenVMS.
  > sys_resource: Add support for OpenVMS.
  > math: Add support for OpenVMS.
  > getdtablesize: Add minimal support for OpenVMS.
  > Revisit cross-compilation guesses.
  > Improve cross-compilation guesses for native Windows.
  > Improve cross-compilation guesses for native Windows.
  > Improve cross-compilation guesses for native Windows.
  > More systematic m4 quoting and indentation.
  > round, roundf: Avoid compiler warning in configure test.
  > getlogin tests: Avoid #ifdefs when sharing code between modules.
  > getlogin: don’t assume one name per uid
  > glob: Fix more memory leaks.
  > Make sure $host and $host_os are defined when used.
  > *printf: Fix cross-compilation guess for Solaris.
  > vasnprintf: port to macOS 10.13
  > vasnprintf: port to macOS 10.13
  > imaxdiv tests: Fix logic.
  > uninorm/filter: Fix use-after-free bug.
  > glob: Fix more memory leaks.
  > parse-datetime: fix uninit var bug
  > doc: Update for MSVC 14.
  > sched: Fix build failure on native Windows (regression from 2017-06-19).
  > autoupdate
  > stdioext: Port to OpenVMS.
  > glob: Declare variables at the very start of their scope.
  > logbl: Work around a glibc bug on PowerPC64LE.
  > stat, fstat: Compile stat-w32.c only on platforms that need it.
  > stat: Improve last change.
  > stat: port to xlc 12.01
  > xalloc-oversized: port to icc
  > classpath: Avoid including config.h twice, as it produces warnings.
  > sched: Fix compilation failure on OpenVMS.
  > diffseq: port to GCC 7 with --enable-gcc-warnings
  > gettext-h: Update theoretical condition for use of variable size arrays.
  > Relicense some modules under LGPLv2+.
  > localename: Fix test failure on DragonFly BSD.
  > float: Fix 'float' and 'isinf' failures on DragonFly BSD.
  > float: Fix 'float' and 'isinf' failures on DragonFly BSD.
  > gnulib-tool: Clean up after autotools.
  > getopt-posix: port to glibc 2.25.90
  > strtod-obsolete: Fix license.
  > maint: update to work with GCC7's -Werror=implicit-fallthrough=
  > host-cpu-c-abi: Support for aarch64 ILP32 ABI.
  > * doc/build-automation.texi: Mention DEPENDENCIES.
  > doc: remove robots, add prereqs
  > gnulib-tool: Fix bug in func_symlink_if_changed, from 2006-11-13.
  > gnulib-tool: Fix bug in func_ln_s, from 2016-01-15.
  > canonicalize-lgpl: Avoid conflict with gnulib 'getcwd' module on VMS.
  > autoupdate
  > same-inode: port better to VMS 8.2 and later
  > error: fix POSIX violation for va_end
  > autoupdate
  > c-strtod: Make it usable in C++ mode.
  > quotearg: fix compilation failure due to FALLTHROUGH misuse
  > intprops: port to recent icc
  > iconv.m4 sync broken
  > iconv: Update copyright year.
  > Fix ChangeLog formatting.
  > Remove repeated words in comments.
  > fallthrough: reinstate a FALLTHROUGH instance in quotearg
  > gnulib-tool: Add options to create hard links.
  > argp: Simplify bit manipulation.
  > Avoid wrong configure results with gcc -fsanitize=address.
  > gnulib-tool: Don't create hard links between gnulib and its testdirs.
  > argp, tsearch tests: Fix file list.
  > getopt-posix tests: Remove redundant include.
  > dfa: two small simplifications
  > fallthrough: update for GCC 7/8
  > argp: fix shift bug
  > argp: fix pointer-subtraction bug
  > printf-posix tests: Avoid test failure with "gcc --coverage".
  > closeout: don’t close stderr when sanitizing
  > get-rusage-data tests: Avoid failure on Linux/glibc.
  > localename: Include necessary header files on Cygwin.
  > gettext: Update macros from gettext git.
  > copy-file tests: Fix link error (regression from 2017-05-01).
  > unicase/special-casing: Fix incompatibility with gperf-3.0.4.
  > README: Don't ask people to read a TeXinfo file.
  > parse-datetime: Fix memleak
  > javacomp: Fix handle leak.
  > relocate: Make it easier to reclaim allocated memory.
  > relocate: Simplify EMX specific code.
  > sigpipe tests: Fix file list.
  > manywarnings: update for GCC 7
  > gnulib-tool: Fix generated code when libtests contains module 'alloca'.
  > sys_select: Avoid "was expanded before it was required" warning.
  > autoupdate
  > gnulib-tool: improve GNU Make debugging
  > stat-time tests: Improve comment.
  > same-inode: Adapt for windows-stat-inodes.
  > windows-stat-inodes: New module.
  > stat-time tests: Workaround for native Windows.
  > stat-time: Adapt for windows-stat-timespec.
  > maint.mk: update regex to reflect 2013 addition of "assume" to verify.h
  > Use symbolic values for _WIN32_WINNT.
  > year2038: New module.
  > largefile: Simplify.
  > largefile: Improve and document.
  > truncate-tests: New module.
  > truncate: New module.
  > windows-stat-timespec: New module.
  > windows-stat-override: New module.
  > fstat: Fix module dependency conditions.
  > stat, fstat: Complete removal of old native Windows code.
  > stat: Complete removal of REPLACE_FUNC_STAT_DIR code.
  > autoupdate
  > getopt-posix: port to mingw
  > gettimeofday: Increase precision on mingw.
  > poll: Fix confusion between SOCKETs and FDs on native Windows.
  > autoupdate
  > doc: Clarify doc about socket functions on native Windows.
  > poll: Fix link error on native Windows.
  > time: Fix missing initialization of HAVE_TIMEZONE_T.
  > Implement a way to opt out from MSVC support, part 2.
  > Implement a way to opt out from MSVC support.
  > wait-process: Adjust native Windows support.
  > doc: New chapter "Native Windows Support".
  > doc: Move section "Library version handling".
  > doc: Move section "Running self-tests under valgrind".
  > doc: New chapter "Build Infrastructure Modules".
  > Prepare for reordering sections in the manual.
  > Fix instructions how to update manual on www.gnu.org.
  > tzset: Expand comment about TZ problem on native Windows.
  > intprops: don’t depend on ‘verify’
  > utimens: On native Windows, support 100ns resolution also if fd < 0.
  > utimens: Improve error code on native Windows.
  > utime: Handle more Windows error codes.
  > crypto/rijndael: Fix "strict-aliasing rules" warnings, alignment issues.
  > wctype-h-c++-tests: Update.
  > wchar-c++-tests: Update.
  > utime-h-c++-tests: New module.
  > unistd-c++-tests: Update.
  > time-c++-tests: Update.
  > sys_resource-c++-tests: New module.
  > strings-c++-tests: New module.
  > string-c++-tests: Update.
  > stdlib-c++-tests: Update.
  > stdio-c++-tests: Update.
  > signal-h-c++-tests: Update.
  > math-c++-tests: Update.
  > locale-c++-tests: Update.
  > inttypes-c++-tests: New module.
  > dirent-c++-tests: Update.
  > argp: Fix mistake in 2017-04-23 commit.
  > argp: Fix typo.
  > utimens: port to Emacs + MS-Windows
  > tzset: update doc for TZ problems on MS-Windows
  > copy-file: Fix build error on mingw.
  > Fix recent ChangeLog entry.
  > tzset: Work around TZ problem on native Windows.
  > mktime: Fix dependencies.
  > New module 'localtime-buffer', split off from module 'gettimeofday'.
  > copy-file: Preserve sub-second time stamps.
  > wctype: Fix problems if <wchar.h> gets included after <wctype.h>.
  > wchar: Fix compilation error with the original mingw.org mingw.
  > utimecmp: Add support for native Windows.
  > utimens: Add support for native Windows.
  > wcsftime: New module.
  > strftime-fixes: New module.
  > mktime: Work around TZ problem on native Windows.
  > localtime: New module.
  > ctime: New module.
  > gettimeofday: Provide higher resolution on native Windows.
  > Document the problem with the Cygwin environment variable TZ.
  > utime-tests: New module.
  > utime: New module.
  > utime-h: Modernize handling of 'struct utimbuf'.
  > Make use of module 'utime-h'.
  > utime-h: New module.
  > Fix a few typos.
  > error: Fix mistake in 2017-04-23 commit.
  > stat: Fix time_t values and other problems on native Windows platforms.
  > fstat: Fix time_t values on native Windows platforms.
  > getopt: port to Solaris 10 with circa-1997 glibc getopt.h
  > strerror_r-posix: Fixes for MSVC 14.
  > noreturn: New module.
  > wctype-h: Fix compilation error with the original mingw.org mingw.
  > nap.h: Fix compilation on non windows platforms
  > time_rz: fix heap buffer overflow vulnerability
  > xalloc: add missing integer overflow check
  > parse-datetime: make it standalone
  > nap.h: Port to native Windows.
  > nap.h: Fix logic.
  > Fix conflict between strerror_r-posix module and AC_FUNC_STRERROR_R.
  > strerror_r-posix: Revert commits from 2016-10-16,2016-11-04,2016-11-14.
  > Target a C99 subset, not a C89 subset
  > doc: New section "Modules that modify the way other modules work".
  > stat-time: Update comments.
  > glob: Fix more memory leaks.
  > poll: improve fast check for out-of-range NFD
  > ftoastr: cite a newer paper
  > poll: Enable argument check also in the Windows implementation.
  > getlogin_r: Work around bug in Mac OS X 10.12.
  > parse-datetime: fix %z and prefer signed int
  > *printf: Work around rounding bug on Mac OS X.
  > vasnprintf tests: Avoid warnings.
  > sys_file tests: Avoid warning.
  > sethostname: Update doc.
  > quotearg tests: Avoid warnings.
  > poll: Enable argument check.
  > get-rusage-data: Avoid warnings on Mac OS X.
  > xbinary-io: Fix build error.
  > parse-datetime: overflow and debug cleanups
  > gettext-h: Avoid -Wundef warning.
  > error: Avoid "function declaration isn't a prototype" warning.
  > vasnprintf: Fix for MSVC 14.
  > mbrtowc tests: Fix test failures on MSVC 14.
  > mbsinit: Fix for MSVC 14.
  > Fix test-mbrtowc5.sh failure on native Windows.
  > Avoid accidental use of native Windows APIs on Cygwin.
  > Remove red warnings from the generated MODULES.html.
  > verify tests: Fix spurious failure with parallel make.
  > vma-iter: Fix compilation error on Solaris 7.
  > vma-iter: Fix conflict with module 'largefile' on 32-bit Solaris 9.
  > getopt-gnu: Add comments.
  > regex: port better to Solaris 10
  > autoupdate
  > intprops: improve comments
  > intprops: fix comment typo
  > intprops: try to avoid tickling similar bugs
  > intprops: port to Oracle Studio 12.3 x86
  > getopt: prefer - to _ in new file names
  > getopt: port recent getopt changes to macOS
  > getopt-gnu: omit some duplicate code
  > getopt-posix: use angle-bracket include
  > getopt: annotate files with relationship to glibc
  > getopt: split up getopt.in.h and eliminate __need_getopt
  > getopt: better handling of ambiguous options
  > getopt: refactor long-option handling
  > getopt: tidy up _getopt_initialize a bit
  > getopt: merge from glibc: repetition reduction
  > getopt: clean up error reporting
  > getopt: fix fencepost error in ambiguous-W-option handling
  > getopt: clean up getopt.c and getopt1.c file headers
  > getopt: harmonize comments with glibc
  > getopt: remove USE_NONOPTION_FLAGS
  > getopt: tabify, in preparation for merge with glibc
  > relocatable-lib-lgpl: Fix link error (regression from 2011-06-16).
  > autoupdate
  > glob: Fix invalid free() call.
  > glob: Fix memory leaks.
  > md5, sha1, sha256, sha512: Add comments regarding correctness.
  > autoupdate
  > users.txt: add grub link
  > getopt: merge from glibc
  > dfa: make [0-9] faster in non-C locales
  > autoupdate
  > lock: Fix compilation error with HP-UX IA64 cc.
  > stdalign: tweak version# and test for HP-UX IA64
  > vma-iter: Add support for Solaris.
  > vma-iter: Prefer HP-UX specific API on HP-UX.
  > stdalign: restore previous behavior for HP-UX IA64
  > stat-time, timespec: Support use of the header files in C++ mode.
  > stdalign: Make it work with HP-UX cc.
  > flexmember: try to detect HP-UX 11.31 cc bug
  > stdint: Fix test compilation failure with HP-UX 11 cc.
  > gnulib-tool: Don't produce a tests directory with only snippet .h files.
  > vma-iter: Add support for HP-UX.
  > limits-h: Make it work with HP-UX cc.
  > Fix test failures on DragonFlyBSD.
  > freadahead: Silence warning on DragonFlyBSD.
  > vma-iter: Add comment about AIX.
  > snippets: move unadjusted snippet sources to lib
  > gnulib-tool: don't automatically distribute files from top/
  > users.txt: Update link to libvirt's repo
  > gnulib-tool: fix typo in comment output
  > snippets: work around GNU Make 3.82 VPATH
  > gnulib-tool: minor --gnu-make fixups
  > gnulib-tool: new option --gnu-make
  > gnulib-common.m4: avoid aclocal.m4 bloat
  > vma-iter: Let callers know about error.
  > parse-datetime: remove extraneous generated source file
  > autoupdate
  > autoupdate
  > autoupdate
  > Fix value of LD for 64-bit compilers on AIX.
  > autoupdate
  > dtotimespec: simplify
  > test-calloc-gnu: Reenable test also for GCC 7.
  > test-calloc-gnu: port to GCC7
  > tests: Avoid compiler warning about uses of null_ptr.
  > doc: Mention Mac OS X deficiencies regarding semaphores.
  > lock tests: Fix test failure on Mac OS X (regression from 2017-01-05).
  > perror tests: Tweak for z/OS.
  > nproc: Refactor large function.
  > nproc: adjust handling of OpenMP environment variables
  > nproc: support nested OMP_NUM_THREADS, and OMP_THREAD_LIMIT
  > maintainer-makefile: Fix AC_PROG_SED with autoconf cache.
  > ftoastr: port to -Wdouble-promotion
  > lock tests: Fix build failure on GNU/Hurd (regression from 2017-01-05).
  > lock tests: Fix build failure on z/OS.
  > havelib: Prefer the search path of /usr/bin/gcc over the one of $CC.
  > havelib: Support overriding the result of AC_LIB_PREPARE_MULTILIB.
  > gnulib-tool: Avoid conflict of havelib-tests with --single-configure.
  > users.txt: Update links, use HTTPS where possible
  > xbinary-io: Fix inlining.
  > xbinary-io: rename from xsetmode
  > tests: Adjust to recent SET_BINARY change
  > xsetmode: new module
  > headers: fix begin-end typos
  > selinux-h: port to PGI 16.10
  > argp: port to PGI 16.10
  > unicase: Update function protoype to match definition
  > times test: Avoid gcc warnings on Linux/x32.
  > glob: port better to emscripten
  > host-cpu-c-abi: Support for 64-bit AIX, 32-bit armhf on arm64, hppa64.
  > search: Don't assume that tsearch() exists if 'VISIT' is defined.
  > doc: Don't mention obsolete AC_LIBTOOL_WIN32_DLL macro.
  > stddef-tests: port to SIZE_MAX <= INT_MAX
  > autoupdate
  > lock tests: Fix link error.
  > lock: Fix link error (regression from 2017-01-05).
  > Port to PGI 16.10 x86-64
  > parse-datetime: handle timezones reentrantly
  > time_rz: fix comment typo
  > localename: port to cygwin 2.6
  > users.txt: Update wget URL (tiny change)
  > users.txt: Add wget2 (tiny change)
  > dfa: fix memory leak in parse
  > parse-datetime: fix dependence on AC_PROG_SED
  > intprops: update doc URLs
  > host-cpu-c-abi: Add support for armhf, arm64, x32, s390x.
  > update from texinfo
  > localeinfo: case_folded_counterparts and WEOF
  > dfa: port to gcc -fsanitize=undefined
  > strftime: %z is -00 if unknown
  > dfa: port to older GCC
  > Update DEPENDENCIES.
  > maint.mk: enforce spelling of "timestamp" (i.e., no space)
  > dfa: minor simplification with emptyset
  > dfa: shrink constraints from 4 bits to 3
  > dfa: omit unnecessary ptrdiff_t check
  > dfa: omit unnecessary allocation
  > dfa: omit unused local
  > maint: time stamp -> timestamp
  > maint: remove stray .texi files
  > getprogname: fix port to IRIX
  > dfa: melt down dfastate into build_state
  > dfa: simplify transition table allocation
  > dfa: fix reallocation bug when matching newlines
  > Avoid -Wundef warning about undefined WINDOWS_SOCKETS.
  > Avoid -Wundef warning about undefined __USE_FILE_OFFSET64.
  > stdioext: Port to Minix 3.2 and newer.
  > getprogname: port to IRIX
  > localename-tests: port to NetBSD 7
  > glob, intprops, xalloc: work around Clang bug
  > dfa: fix 'return' typo
  > lock tests: Prefer semaphore over mutex.
  > parse-datetime: fix generated paths for coverage files
  > maint.mk: support parallel execution of coverage
  > lock: Provide guarantee to avoid writer starvation for rwlocks.
  > thread: Fix pth port.
  > parse-datetime: fix debug message on lone year number
  > parse-datetime: fix local timezone debug messages
  > parse-datetime: add debug warning about DST changes
  > parse-datetime: add debug warning about date arithmetic
  > parse-datetime: fix debug message of relative part after timezone
  > parse-datetime: fix incorrect debug message on lone number
  > exec
  > build-aux/mdate-sh
  > doc: fix typo in previous change
  > Revert copyright-year change to synced files
  > doc: modernize for C11 etc.
  > dfa: prefer functions to FETCH_WC macro
  > dfa: narrow more local var scopes
  > dfa: remove duplicate assignment
  > dfa: simplify constraint-dependency checking
  > dfa: prefer functions and constants to macros
  > dfa: narrow more local var scopes
  > dfa: narrow the scope of many local variables
  > gettext from dev




Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Sat, 28 Oct 2017 00:36:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: Jim Meyering <jim <at> meyering.net>
Cc: bug-gzip <at> gnu.org
Subject: Re: [platform-testers] new snapshot available: gzip-1.8.32-4606
Date: Sat, 28 Oct 2017 02:35:39 +0200
Hi Jim,

Test in 32-bit mode on Linux/x86_64:

============================================
   gzip 1.8.32-4606: tests/test-suite.log
============================================

# TOTAL: 20
# PASS:  19
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: timestamp
===============

++ initial_cwd_=/media/develdata/devel/build/gzip-1.8.32-4606/build-32/tests
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /media/develdata/devel/build/gzip-1.8.32-4606/build-32/tests gt-timestamp.XXXX
+++ case $# in
+++ destdir_=/media/develdata/devel/build/gzip-1.8.32-4606/build-32/tests
+++ template_=gt-timestamp.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/media/develdata/devel/build/gzip-1.8.32-4606/build-32/tests/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/media/develdata/devel/build/gzip-1.8.32-4606/build-32/tests/gt-timestamp.OozI
+++ case $d in
+++ :
+++ test -d /media/develdata/devel/build/gzip-1.8.32-4606/build-32/tests/gt-timestamp.OozI
++++ ls -dgo /media/develdata/devel/build/gzip-1.8.32-4606/build-32/tests/gt-timestamp.OozI
+++ perms='drwx------ 2 4096 Oct 28 02:10 /media/develdata/devel/build/gzip-1.8.32-4606/build-32/tests/gt-timestamp.OozI'
+++ case $perms in
+++ :
+++ echo /media/develdata/devel/build/gzip-1.8.32-4606/build-32/tests/gt-timestamp.OozI
+++ return
++ test_dir_=/media/develdata/devel/build/gzip-1.8.32-4606/build-32/tests/gt-timestamp.OozI
++ cd /media/develdata/devel/build/gzip-1.8.32-4606/build-32/tests/gt-timestamp.OozI
++ 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_=/media/develdata/devel/build/gzip-1.8.32-4606/build-32/tests/..
+ case $abs_path_dir_ in
+ PATH=/media/develdata/devel/build/gzip-1.8.32-4606/build-32/tests/..:/media/develdata/devel/build/gzip-1.8.32-4606/build-32:/home/bruno/bin:/home/bruno/local/bin:/darch/x86_64-linux-gnu/gnu/bin:/arch/local/x86_64-linux-gnu/bin:/arch/local/x86_64-linux/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ create_exe_shims_ /media/develdata/devel/build/gzip-1.8.32-4606/build-32/tests/..
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ TZ=UTC0
+ export TZ
+ for time in 190101010000 196912312359.59 197001010000 210602070628.16
+ touch -t 190101010000 in
+ returns_ 2 gzip in
+ fail=1
+ rm -f in.gz in
+ for time in 190101010000 196912312359.59 197001010000 210602070628.16
+ touch -t 196912312359.59 in
+ returns_ 2 gzip in
gzip: in: warning: file timestamp out of range for gzip format
+ rm -f in.gz in
+ for time in 190101010000 196912312359.59 197001010000 210602070628.16
+ touch -t 197001010000 in
+ returns_ 2 gzip in
gzip: in: warning: file timestamp out of range for gzip format
+ rm -f in.gz in
+ for time in 190101010000 196912312359.59 197001010000 210602070628.16
+ touch -t 210602070628.16 in
+ returns_ 2 gzip in
gzip: in: warning: file timestamp out of range for gzip format
+ rm -f in.gz in
+ for time in 197001010000.01 203801190314.07 203801190314.08 210602070628.15
+ touch -t 197001010000.01 in
+ gzip in
+ rm -f in.gz in
+ for time in 197001010000.01 203801190314.07 203801190314.08 210602070628.15
+ touch -t 203801190314.07 in
+ gzip in
+ rm -f in.gz in
+ for time in 197001010000.01 203801190314.07 203801190314.08 210602070628.15
+ touch -t 203801190314.08 in
+ gzip in
gzip: in: warning: file timestamp out of range for gzip format
+ fail=1
+ rm -f in.gz in
+ for time in 197001010000.01 203801190314.07 203801190314.08 210602070628.15
+ touch -t 210602070628.15 in
+ gzip in
gzip: in: warning: file timestamp out of range for gzip format
+ fail=1
+ rm -f in.gz in
+ touch -t 210602070628.15 in
+ :
+ gzip --no-name
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test '' = yes
+ cd /media/develdata/devel/build/gzip-1.8.32-4606/build-32/tests
+ chmod -R u+rwx /media/develdata/devel/build/gzip-1.8.32-4606/build-32/tests/gt-timestamp.OozI
+ rm -rf /media/develdata/devel/build/gzip-1.8.32-4606/build-32/tests/gt-timestamp.OozI
+ exit 1
FAIL timestamp (exit status: 1)

============================================================================
Testsuite summary for gzip 1.8.32-4606
============================================================================
# TOTAL: 20
# PASS:  19
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to bug-gzip <at> gnu.org
============================================================================
Makefile:1643: recipe for target 'test-suite.log' failed


And indeed gzip exits with code 0, not 2, for some of the values:

$ export TZ=UTC0
$ rm -f in in.gz; touch -t 190101010000 in; ../../gzip in; echo $?
0
$ rm -f in in.gz; touch -t 190101010000 in; ls -l --full-time in
-rw-rw-r-- 1 bruno bruno 0 1901-01-01 00:00:00.000000000 +0000 in

I'm using touch 8.25. The file system is ext4.


Bruno





Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Sat, 28 Oct 2017 01:10:02 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: Jim Meyering <jim <at> meyering.net>
Cc: bug-gzip <at> gnu.org
Subject: Re: [platform-testers] new snapshot available: gzip-1.8.32-4606
Date: Sat, 28 Oct 2017 03:09:27 +0200
[Message part 1 (text/plain, inline)]
On OpenBSD 6.0/x86 (32-bit) there is 1 test failure.

Logs attached.
[log1 (text/plain, attachment)]
[log2 (text/plain, attachment)]
[log3 (text/plain, attachment)]
[test-suite.log (text/x-log, attachment)]

Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Sat, 28 Oct 2017 01:12:01 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: Jim Meyering <jim <at> meyering.net>
Cc: bug-gzip <at> gnu.org
Subject: Re: [platform-testers] new snapshot available: gzip-1.8.32-4606
Date: Sat, 28 Oct 2017 02:58:50 +0200
Test result on Mac OS X 10.5.8, compiling in 32-bit mode:

============================================
   gzip 1.8.32-4606: tests/test-suite.log
============================================

# TOTAL: 20
# PASS:  19
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: timestamp
===============

++ initial_cwd_=/Users/bruno/data/build/gzip-1.8.32-4606/build-32/tests
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /Users/bruno/data/build/gzip-1.8.32-4606/build-32/tests gt-timestamp.XXXX
+++ case $# in
+++ destdir_=/Users/bruno/data/build/gzip-1.8.32-4606/build-32/tests
+++ template_=gt-timestamp.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/Users/bruno/data/build/gzip-1.8.32-4606/build-32/tests/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/Users/bruno/data/build/gzip-1.8.32-4606/build-32/tests/gt-timestamp.bFAR
+++ case $d in
+++ :
+++ test -d /Users/bruno/data/build/gzip-1.8.32-4606/build-32/tests/gt-timestamp.bFAR
++++ ls -dgo /Users/bruno/data/build/gzip-1.8.32-4606/build-32/tests/gt-timestamp.bFAR
+++ perms='drwx------ 2 68 Oct 28 02:47 /Users/bruno/data/build/gzip-1.8.32-4606/build-32/tests/gt-timestamp.bFAR'
+++ case $perms in
+++ :
+++ echo /Users/bruno/data/build/gzip-1.8.32-4606/build-32/tests/gt-timestamp.bFAR
+++ return
++ test_dir_=/Users/bruno/data/build/gzip-1.8.32-4606/build-32/tests/gt-timestamp.bFAR
++ cd /Users/bruno/data/build/gzip-1.8.32-4606/build-32/tests/gt-timestamp.bFAR
++ 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_=/Users/bruno/data/build/gzip-1.8.32-4606/build-32/tests/..
+ case $abs_path_dir_ in
+ PATH=/Users/bruno/data/build/gzip-1.8.32-4606/build-32/tests/..:/Users/bruno/data/build/gzip-1.8.32-4606/build-32:.:/Users/bruno/data/local-macos/bin:/opt/local/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/X11R6/bin
+ create_exe_shims_ /Users/bruno/data/build/gzip-1.8.32-4606/build-32/tests/..
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ TZ=UTC0
+ export TZ
+ for time in 190101010000 196912312359.59 197001010000 210602070628.16
+ touch -t 190101010000 in
touch: invalid date format '190101010000'
+ rm -f in.gz in
+ for time in 190101010000 196912312359.59 197001010000 210602070628.16
+ touch -t 196912312359.59 in
+ returns_ 2 gzip in
gzip: in: warning: file timestamp out of range for gzip format
+ rm -f in.gz in
+ for time in 190101010000 196912312359.59 197001010000 210602070628.16
+ touch -t 197001010000 in
+ returns_ 2 gzip in
gzip: in: warning: file timestamp out of range for gzip format
+ rm -f in.gz in
+ for time in 190101010000 196912312359.59 197001010000 210602070628.16
+ touch -t 210602070628.16 in
touch: invalid date format '210602070628.16'
+ rm -f in.gz in
+ for time in 197001010000.01 203801190314.07 203801190314.08 210602070628.15
+ touch -t 197001010000.01 in
+ gzip in
+ rm -f in.gz in
+ for time in 197001010000.01 203801190314.07 203801190314.08 210602070628.15
+ touch -t 203801190314.07 in
+ gzip in
+ rm -f in.gz in
+ for time in 197001010000.01 203801190314.07 203801190314.08 210602070628.15
+ touch -t 203801190314.08 in
touch: invalid date format '203801190314.08'
+ rm -f in.gz in
+ for time in 197001010000.01 203801190314.07 203801190314.08 210602070628.15
+ touch -t 210602070628.15 in
touch: invalid date format '210602070628.15'
+ rm -f in.gz in
+ touch -t 210602070628.15 in
touch: invalid date format '210602070628.15'
+ printf '\037\213\10\0\377\377\377\377\0\377\3\0\0\0\0\0\0\0\0\0'
+ returns_ 2 gzip -Nlv
method  crc     date  time           compressed        uncompressed  ratio uncompressed_name
defla 00000000 Oct 28 00:47                  20                   0   0.0% stdout
+ fail=1
+ :
+ gzip --no-name
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test '' = yes
+ cd /Users/bruno/data/build/gzip-1.8.32-4606/build-32/tests
+ chmod -R u+rwx /Users/bruno/data/build/gzip-1.8.32-4606/build-32/tests/gt-timestamp.bFAR
+ rm -rf /Users/bruno/data/build/gzip-1.8.32-4606/build-32/tests/gt-timestamp.bFAR
+ exit 1
FAIL timestamp (exit status: 1)

============================================================================
Testsuite summary for gzip 1.8.32-4606
============================================================================
# TOTAL: 20
# PASS:  19
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to bug-gzip <at> gnu.org
============================================================================
make[4]: *** [test-suite.log] Error 1


The 'touch' program that rejects distant timestamps is:

$ touch --version
touch (GNU coreutils) 8.24.161-1204d
...

I think the problem is this comment:
# On platforms that fail to support timestamps within gzip's range,
# test that gzip warns when converting them from gzip format.

Gzip's behaviour depends on libc, and what the 'touch' program is doing
is a different thing. It's incorrect to assume that libc's behaviour and
touch's behaviour are consistent.


Bruno





Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Sat, 28 Oct 2017 01:12:02 GMT) Full text and rfc822 format available.

Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: Jim Meyering <jim <at> meyering.net>
Cc: bug-gzip <at> gnu.org
Subject: Re: [platform-testers] new snapshot available: gzip-1.8.32-4606
Date: Sat, 28 Oct 2017 03:04:53 +0200
[Message part 1 (text/plain, inline)]
On FreeBSD 11/x86 (32-bit) there are 3 test failures.
Logs attached.

[log1 (text/plain, attachment)]
[log2 (text/plain, attachment)]
[log3 (text/plain, attachment)]
[test-suite.log (text/x-log, attachment)]

Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Sat, 28 Oct 2017 01:15:02 GMT) Full text and rfc822 format available.

Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: Jim Meyering <jim <at> meyering.net>
Cc: bug-gzip <at> gnu.org
Subject: Re: [platform-testers] new snapshot available: gzip-1.8.32-4606
Date: Sat, 28 Oct 2017 03:14:14 +0200
[Message part 1 (text/plain, inline)]
On GNU/Hurd (with touch 8.26 and glibc 2.24) the 'timestamp' test fails.
Logs attached.
[log1 (text/plain, attachment)]
[log2 (text/plain, attachment)]
[log3 (text/plain, attachment)]
[test-suite.log (text/x-log, attachment)]

Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Sat, 28 Oct 2017 02:14:01 GMT) Full text and rfc822 format available.

Message #23 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: Jim Meyering <jim <at> meyering.net>
Cc: bug-gzip <at> gnu.org
Subject: Re: [platform-testers] new snapshot available: gzip-1.8.32-4606
Date: Sat, 28 Oct 2017 04:13:30 +0200
[Message part 1 (text/plain, inline)]
The 'timestamp' test is also failing on Solaris 10/x86_64 in 32-bit mode.
Logs attached.
[log1 (text/plain, attachment)]
[log2 (text/plain, attachment)]
[log3 (text/plain, attachment)]
[test-suite.log (text/x-log, attachment)]

Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Sat, 28 Oct 2017 02:29:02 GMT) Full text and rfc822 format available.

Message #26 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: Jim Meyering <jim <at> meyering.net>
Cc: bug-gzip <at> gnu.org
Subject: Re: [platform-testers] new snapshot available: gzip-1.8.32-4606
Date: Sat, 28 Oct 2017 04:27:48 +0200
[Message part 1 (text/plain, inline)]
On AIX 7.1, with xlc, in 64-bit mode, 1 test fails: unpack-valid.
Logs attached.
[log1 (text/plain, attachment)]
[log2 (text/plain, attachment)]
[log3 (text/plain, attachment)]
[test-suite.log (text/x-log, attachment)]

Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Sat, 28 Oct 2017 14:32:01 GMT) Full text and rfc822 format available.

Message #29 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Bruno Haible <bruno <at> clisp.org>
Cc: bug-gzip <at> gnu.org
Subject: Re: [platform-testers] new snapshot available: gzip-1.8.32-4606
Date: Sat, 28 Oct 2017 07:31:16 -0700
On Fri, Oct 27, 2017 at 7:27 PM, Bruno Haible <bruno <at> clisp.org> wrote:
> On AIX 7.1, with xlc, in 64-bit mode, 1 test fails: unpack-valid.
> Logs attached.

Wow. Thank you for all of that testing.




Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Sat, 28 Oct 2017 15:31:02 GMT) Full text and rfc822 format available.

Message #32 received at 29033 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jim Meyering <jim <at> meyering.net>
Cc: 29033 <at> debbugs.gnu.org
Subject: Re: bug#29033: new snapshot available: gzip-1.8.32-4606
Date: Sat, 28 Oct 2017 08:30:38 -0700
Perhaps we should also fix Bug#29006, assuming it's indeed a bug? I'm a 
bit short on time right now and do not have time to check; maybe tomorrow.

https://bugs.gnu.org/29006





Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Sun, 29 Oct 2017 19:10:02 GMT) Full text and rfc822 format available.

Message #35 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Bruno Haible <bruno <at> clisp.org>
Cc: bug-gzip <at> gnu.org
Subject: Re: [platform-testers] new snapshot available: gzip-1.8.32-4606
Date: Sun, 29 Oct 2017 12:09:16 -0700
[Message part 1 (text/plain, inline)]
On Fri, Oct 27, 2017 at 7:27 PM, Bruno Haible <bruno <at> clisp.org> wrote:
> On AIX 7.1, with xlc, in 64-bit mode, 1 test fails: unpack-valid.
> Logs attached.

Thanks a lot. This appears to have afflicted a few other types of systems, too.

This test used `printf '\x1f\x1e...' >test.z` to create a test input,
but some versions of printf fail to handle hexadecimal escapes in the
format string. Here's the fix I've pushed:
[printf-unpack-valid.diff (text/plain, attachment)]

Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Sun, 05 Nov 2017 00:36:01 GMT) Full text and rfc822 format available.

Message #38 received at 29033 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bruno Haible <bruno <at> clisp.org>, Jim Meyering <jim <at> meyering.net>
Cc: 29033 <at> debbugs.gnu.org
Subject: Re: bug#29033: [platform-testers] new snapshot available:
 gzip-1.8.32-4606
Date: Sat, 4 Nov 2017 17:35:50 -0700
Bruno Haible wrote:
> $ export TZ=UTC0
> $ rm -f in in.gz; touch -t 190101010000 in; ../../gzip in; echo $?
> 0
> $ rm -f in in.gz; touch -t 190101010000 in; ls -l --full-time in
> -rw-rw-r-- 1 bruno bruno 0 1901-01-01 00:00:00.000000000 +0000 in

This is due to a bug in the Linux kernel, when it emulates 32-bit Linux atop a 
64-bit kernel. See:

https://bugzilla.redhat.com/show_bug.cgi?id=1419736

I see that Assaf reported the same bug against gzip here:

https://bugs.gnu.org/25636#8

I don't see an easy way of working around the bug in gzip proper. It will become 
a bigger deal when the year 2038 rolls around....

I suppose we could skip the test when running in 32-bit mode atop Linux x86-64, 
though that sort of misses the point of doing the test.




Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Sun, 05 Nov 2017 02:21:01 GMT) Full text and rfc822 format available.

Message #41 received at 29033 <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 29033 <at> debbugs.gnu.org, Jim Meyering <jim <at> meyering.net>
Subject: Re: bug#29033: [platform-testers] new snapshot available:
 gzip-1.8.32-4606
Date: Sun, 05 Nov 2017 03:20:27 +0100
Hi Paul,

> This is due to a bug in the Linux kernel, when it emulates 32-bit Linux atop a 
> 64-bit kernel. See:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1419736

I see, you nailed it down already.

> I see that Assaf reported the same bug against gzip here:
> 
> https://bugs.gnu.org/25636#8
> 
> I don't see an easy way of working around the bug in gzip proper. It will become 
> a bigger deal when the year 2038 rolls around....
> 
> I suppose we could skip the test when running in 32-bit mode atop Linux x86-64, 
> though that sort of misses the point of doing the test.

The concept of "expected failure" fits here, I think. If the test suite would flag
this as an XFAIL rather than a FAIL, people would not report it.

AFAIU from the doc [1], the way to turn a FAIL into an XFAIL is to add something
like this in the Makefile.am:

  XFAIL_TESTS =
  if $host is x86_64-*-linux* and $HOST_CPU_C_ABI is i386
  XFAIL_TESTS += timestamp
  fi

Bruno

[1] https://www.gnu.org/software/automake/manual/html_node/Scripts_002dbased-Testsuites.html





Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Mon, 06 Nov 2017 04:41:02 GMT) Full text and rfc822 format available.

Message #44 received at 29033 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Bruno Haible <bruno <at> clisp.org>
Cc: 29033 <at> debbugs.gnu.org, Paul Eggert <eggert <at> cs.ucla.edu>
Subject: Re: bug#29033: [platform-testers] new snapshot available:
 gzip-1.8.32-4606
Date: Sun, 5 Nov 2017 20:40:31 -0800
On Sat, Nov 4, 2017 at 7:20 PM, Bruno Haible <bruno <at> clisp.org> wrote:
> Hi Paul,
>
>> This is due to a bug in the Linux kernel, when it emulates 32-bit Linux atop a
>> 64-bit kernel. See:
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1419736
>
> I see, you nailed it down already.
>
>> I see that Assaf reported the same bug against gzip here:
>>
>> https://bugs.gnu.org/25636#8
>>
>> I don't see an easy way of working around the bug in gzip proper. It will become
>> a bigger deal when the year 2038 rolls around....
>>
>> I suppose we could skip the test when running in 32-bit mode atop Linux x86-64,
>> though that sort of misses the point of doing the test.
>
> The concept of "expected failure" fits here, I think. If the test suite would flag
> this as an XFAIL rather than a FAIL, people would not report it.
>
> AFAIU from the doc [1], the way to turn a FAIL into an XFAIL is to add something
> like this in the Makefile.am:
>
>   XFAIL_TESTS =
>   if $host is x86_64-*-linux* and $HOST_CPU_C_ABI is i386
>   XFAIL_TESTS += timestamp
>   fi
>
> Bruno
>
> [1] https://www.gnu.org/software/automake/manual/html_node/Scripts_002dbased-Testsuites.html

Thanks to both of you.
FYI, the timestamp test also fails on e.g., the Solaris 5.11 i386 platform.




Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Tue, 07 Nov 2017 07:30:02 GMT) Full text and rfc822 format available.

Message #47 received at 29033 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bruno Haible <bruno <at> clisp.org>, Jim Meyering <jim <at> meyering.net>
Cc: 29033 <at> debbugs.gnu.org, Gnulib bugs <bug-gnulib <at> gnu.org>
Subject: Re: bug#29033: [platform-testers] new snapshot available:
 gzip-1.8.32-4606
Date: Mon, 6 Nov 2017 23:29:01 -0800
[Message part 1 (text/plain, inline)]
Bruno Haible wrote:

> + touch -t 210602070628.15 in
> touch: invalid date format '210602070628.15'
> + printf '\037\213\10\0\377\377\377\377\0\377\3\0\0\0\0\0\0\0\0\0'
> + returns_ 2 gzip -Nlv
> method  crc     date  time           compressed        uncompressed  ratio uncompressed_name
> defla 00000000 Oct 28 00:47                  20                   0   0.0% stdout
> + fail=1

Instead of suppressing the test, how about if we tell builders not to build with 
-m32 on platforms supporting 64-bit time_t? That way, they won't run into a 
problem where gzip mishandles file timestamps due to OS screwups or 
errno==EOVERFLOW problems that cannot happen with 64-bit time_t. In the 
not-too-distant future we're going to have to insist on 64-bit time_t anyway, 
and in the meantime we can strongly suggest 64-bit time_t by installing the 
first attached patch to gzip (which I've done), by installing the attached 
proposed patch to Gnulib (which I have not done yet, pending your comments), and 
by syncing gzip to gnulib.

> I think the problem is this comment:
> # On platforms that fail to support timestamps within gzip's range,
> # test that gzip warns when converting them from gzip format.
> 
> Gzip's behaviour depends on libc, and what the 'touch' program is doing
> is a different thing. It's incorrect to assume that libc's behaviour and
> touch's behaviour are consistent.

The testcase doesn't assume that. It merely assumes that standard utilities 
support a superset of the timestamps that libc supports. This should be a 
reasonable assumption for the -m32 case that you describe (and which I'm trying 
to discourage with the abovementioned patches).

The assumption would not be reasonable for platforms where standard utilities 
are worse than libc, but this should be uncommon. If it is a problem, perhaps we 
can get by, by simply telling users to ignore the tests in that case.

CC'ing to bug-gnulib since the 2nd patch is for Gnulib.
[0001-misc-diagnose-year-2038-configuration-problems.patch (text/x-patch, attachment)]
[0001-year2038-be-more-insistent-about-64-bit-time_t.patch (text/x-patch, attachment)]

Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Tue, 07 Nov 2017 07:46:02 GMT) Full text and rfc822 format available.

Message #50 received at 29033 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bruno Haible <bruno <at> clisp.org>, Jim Meyering <jim <at> meyering.net>
Cc: 29033 <at> debbugs.gnu.org
Subject: Re: bug#29033: [platform-testers] new snapshot available:
 gzip-1.8.32-4606
Date: Mon, 6 Nov 2017 23:45:23 -0800
Bruno Haible wrote:
> On FreeBSD 11/x86 (32-bit) there are 3 test failures.

Two of the three we've already discussed. In the third one, apparently this sort 
of /bin/sh script:

#!/bin/sh
exec printf '%s\n' "a long string"

improperly exits with status 0 when standard output is /dev/full. It might be 
helpful to see what system calls the shell is executing, possibly in preparation 
for sending a bug report to the FreeBSD maintainers. However, this is low 
priority, as we're talking only about incorrect exit status when zmore's 
diagnostics are discarded.




Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Tue, 07 Nov 2017 08:06:02 GMT) Full text and rfc822 format available.

Message #53 received at 29033 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bruno Haible <bruno <at> clisp.org>, Jim Meyering <jim <at> meyering.net>
Cc: 29033 <at> debbugs.gnu.org
Subject: Re: bug#29033: [platform-testers] new snapshot available:
 gzip-1.8.32-4606
Date: Tue, 7 Nov 2017 00:05:48 -0800
Bruno Haible wrote:
> On OpenBSD 6.0/x86 (32-bit) there is 1 test failure.
> ...
> touch: out of range or illegal time specification: [[CC]YY]MMDDhhmm[.SS]
> gzip: in: warning: file timestamp out of range for gzip format
> gzip: in: warning: file timestamp out of range for gzip format
> gzip: in: warning: file timestamp out of range for gzip format
> gzip: in: warning: file timestamp out of range for gzip format
> FAIL timestamp (exit status: 1)

I'm having a bit of trouble figuring out what happened. Perhaps put "set -x" 
into the script, so that we can get a trace?




Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Tue, 07 Nov 2017 15:47:02 GMT) Full text and rfc822 format available.

Message #56 received at 29033 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bruno Haible <bruno <at> clisp.org>, Jim Meyering <jim <at> meyering.net>
Cc: 29033 <at> debbugs.gnu.org
Subject: Re: bug#29033: [platform-testers] new snapshot available:
 gzip-1.8.32-4606
Date: Tue, 7 Nov 2017 07:46:32 -0800
On 11/07/2017 12:05 AM, Paul Eggert wrote:
> Bruno Haible wrote:
>> On OpenBSD 6.0/x86 (32-bit) there is 1 test failure.
> > ...
>> touch: out of range or illegal time specification: [[CC]YY]MMDDhhmm[.SS]
>> gzip: in: warning: file timestamp out of range for gzip format
>> gzip: in: warning: file timestamp out of range for gzip format
>> gzip: in: warning: file timestamp out of range for gzip format
>> gzip: in: warning: file timestamp out of range for gzip format
>> FAIL timestamp (exit status: 1)
>
> I'm having a bit of trouble figuring out what happened. Perhaps put 
> "set -x" into the script, so that we can get a trace?

On second thought, never mind, this is probably the printf issue that 
Jim already fixed:

http://git.savannah.gnu.org/cgit/gzip.git/commit/?id=89fce1562e54a4198bf15ba1daf241fb9460474a





Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Wed, 08 Nov 2017 05:05:02 GMT) Full text and rfc822 format available.

Message #59 received at 29033 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bruno Haible <bruno <at> clisp.org>, Jim Meyering <jim <at> meyering.net>
Cc: 29033 <at> debbugs.gnu.org
Subject: Re: bug#29033: [platform-testers] new snapshot available:
 gzip-1.8.32-4606
Date: Tue, 7 Nov 2017 21:04:01 -0800
[Message part 1 (text/plain, inline)]
Bruno Haible wrote:
> On GNU/Hurd (with touch 8.26 and glibc 2.24) the 'timestamp' test fails.

Thanks for reporting that. I installed the attached, which I hope fixes it.
[0001-gzip-diagnose-out-of-range-MTIME.patch (text/x-patch, attachment)]

Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Sat, 11 Nov 2017 07:27:01 GMT) Full text and rfc822 format available.

Message #62 received at 29033 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bruno Haible <bruno <at> clisp.org>, Jim Meyering <jim <at> meyering.net>
Cc: 29033 <at> debbugs.gnu.org, Gnulib bugs <bug-gnulib <at> gnu.org>
Subject: Re: bug#29033: [platform-testers] new snapshot available:
 gzip-1.8.32-4606
Date: Fri, 10 Nov 2017 23:26:01 -0800
Paul Eggert wrote:
> Instead of suppressing the test, how about if we tell builders not to build with 
> -m32 on platforms supporting 64-bit time_t?
No further comment, and it seems like a good idea regardless of the test failure 
since the year 2038 will arrive sooner than we'd like, so I installed the patch 
into Gnulib and synced it into gzip.




Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Sat, 11 Nov 2017 23:52:01 GMT) Full text and rfc822 format available.

Message #65 received at 29033 <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 29033 <at> debbugs.gnu.org, Jim Meyering <jim <at> meyering.net>
Subject: Re: bug#29033: [platform-testers] new snapshot available:
 gzip-1.8.32-4606: unpack-valid on FreeBSD
Date: Sun, 12 Nov 2017 00:51:37 +0100
> > On FreeBSD 11/x86 (32-bit) there are 3 test failures.
> 
> Two of the three we've already discussed. In the third one, apparently this sort 
> of /bin/sh script:
> 
> #!/bin/sh
> exec printf '%s\n' "a long string"
> 
> improperly exits with status 0 when standard output is /dev/full.

In the newest gzip git, the 'unpack-valid' test now succeeds on
FreeBSD 11/x86 (32-bit), as well as on all other platforms that I have tested.
Probably due to Jim's 2 fixes.

Bruno





Information forwarded to bug-gzip <at> gnu.org:
bug#29033; Package gzip. (Sat, 11 Nov 2017 23:55:02 GMT) Full text and rfc822 format available.

Message #68 received at 29033 <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 29033 <at> debbugs.gnu.org, Jim Meyering <jim <at> meyering.net>
Subject: Re: bug#29033: [platform-testers] new snapshot available:
 gzip-1.8.32-4606
Date: Sun, 12 Nov 2017 00:54:22 +0100
Paul Eggert wrote:
> > On GNU/Hurd (with touch 8.26 and glibc 2.24) the 'timestamp' test fails.
> 
> Thanks for reporting that. I installed the attached, which I hope fixes it.

As reported in https://lists.gnu.org/archive/html/bug-gzip/2017-11/msg00014.html
this change indeed fixes the failure on Hurd/i386.

Bruno





Added tag(s) notabug. Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Fri, 01 Apr 2022 06:48:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 29033 <at> debbugs.gnu.org and Jim Meyering <jim <at> meyering.net> Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Fri, 01 Apr 2022 06:48:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 Apr 2022 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 356 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.