bug#79087: gzip 1.9.7 - z17 Compatibility

2025-07-24 Thread Paul Eggert
On 2025-07-24 01:13, MATHEW THOMAS via GNU gzip discussion and bug reports. wrote: We are currently running gzip 1.9.7 on z/OS 3.1. We plan to migrate to the z17 hardware and would like to know if there are any required actions to take for this product, such as upgrading or applying any fixes

bug#79087: gzip 1.9.7 - z17 Compatibility

2025-07-24 Thread GNU gzip discussion and bug reports.
Hello, We are currently running gzip 1.9.7 on z/OS 3.1. We plan to migrate to the z17 hardware and would like to know if there are any required actions to take for this product, such as upgrading or applying any fixes to tolerate the z17s. Your assistance is greatly appreciated. Thank y

bug#78799: Zip created by pigz is deemed to be corrupted

2025-06-18 Thread Adler, Mark
Nick, I think what you mean is when you try the zip and then try to decompress it with gzip you get that. You can’t get that from zip. As it happens, earlier today I sent Paul patches for gzip to handle Zip64. Yes, Info-ZIP’s zip really likes to insert Zip64 fields when it doesn’t need to. The

bug#78799: Zip created by pigz is deemed to be corrupted

2025-06-18 Thread oset
Speaking of zip able to create streamed archive, I may be doing something wrong with zip syntax but when I do try this:   ``$ cat fin | zip -FI - - > fout''.    I get `Zip64 entry -- not supported, use unzip'.   Which doesn't happen when `/dev/stdin' is used, although this i

bug#78799: Zip created by pigz is deemed to be corrupted

2025-06-17 Thread Paul Eggert
-*- outline -*- ** Bug fixes gzip -d no longer rejects PKZIP signatures, local header, and data - descriptors. These can appear in well-formed albeit unusual pigz output. + descriptors. These can appear in well-formed streamed zip files. [bug present since the beginning] A use of uninitial

bug#78799: Zip created by pigz is deemed to be corrupted

2025-06-16 Thread Adler, Mark
me for a > while. > > For the record I'm attaching the patches involved, and I'm closing the bug > report. > > oset: if you would like your name and email address in the THANKS file, > please let me know your name or nom de plume.

bug#78799: Zip created by pigz is deemed to be corrupted

2025-06-16 Thread Paul Eggert
while. For the record I'm attaching the patches involved, and I'm closing the bug report. oset: if you would like your name and email address in the THANKS file, please let me know your name or nom de plume.From c651ce70ae78af23343b5140c9700aa8de42808a Mon Sep 17 00:00:00 2001

bug#78799: Zip created by pigz is deemed to be corrupted

2025-06-15 Thread Adler, Mark
Paul, I see the problem. I’ll fix it. Mark > On Jun 15, 2025, at 10:03 AM, Paul Eggert wrote: > > On 2025-06-15 09:46, Adler, Mark wrote: >> It was not clear, but this is a gzip report, not a pigz report. > > Ah, thanks for letting me know. I reopened the gzip bug repor

bug#78799: Zip created by pigz is deemed to be corrupted

2025-06-15 Thread Paul Eggert
On 2025-06-15 09:46, Adler, Mark wrote: It was not clear, but this is a gzip report, not a pigz report. Ah, thanks for letting me know. I reopened the gzip bug report. Maybe someday somebody can get around to looking into the issue on the gzip side.

bug#78799: Zip created by pigz is deemed to be corrupted

2025-06-15 Thread Adler, Mark
Paul, > On Jun 15, 2025, at 9:37 AM, Paul Eggert wrote: > > On 2025-06-15 08:25, Adler, Mark wrote: >> The problem is with the “other un/zippers” which per the linked report on >> sourceforge is actually just 7-Zip. > > Thanks for diagnosing; closing the gzip bu

bug#78799: Zip created by pigz is deemed to be corrupted

2025-06-15 Thread Adler, Mark
y is doing the deeming. All I had to go on was the link to the 7-Zip issue. So I asked if this was intended as a report of a pigz bug. Problem is, potentially, in gzip, which does not recognise fringe, rarely used, format. Now I see that you meant to say that it is deemed to be corrupted by gzip.

bug#78799: Zip created by pigz is deemed to be corrupted

2025-06-15 Thread Paul Eggert
On 2025-06-15 08:25, Adler, Mark wrote: The problem is with the “other un/zippers” which per the linked report on sourceforge is actually just 7-Zip. Thanks for diagnosing; closing the gzip bug report.

bug#78799: Zip created by pigz is deemed to be corrupted

2025-06-15 Thread Adler, Mark
So this is an alleged pigz bug being reported? Then why is it being reported on this gzip bug list? It should be reported instead at https://github.com/madler/pigz/issues . Though don’t bother, because this is not a bug in pigz. The problem is with the “other un/zippers” which per the linked

bug#78799: Zip created by pigz is deemed to be corrupted

2025-06-15 Thread oset
Zip created by pigz[1] is deemed to be corrupted even though it is considered valid by unzip et alli [2]. I do not claim pigz's zip is correct but other un/zippers think so. Apparently it is mentioned in paragraph 4.3.9.3 of ZIP File Format Specification [3][4]. 4.3.9.3 Although not original

bug#78618: Gzip 1.14 build failure on s390x (undeclared errno in dfltcc.c)

2025-05-30 Thread Paul Eggert
Thanks for reporting that. I installed the attached slightly-different patch (different because it includes errno.h in same order as other files).From c76affb4551630ff661ac1c1ee99353a17eb16e1 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 30 May 2025 12:31:04 -0700 Subject: [PATCH] gzip: f

bug#78639: Uninitialised read in check_zipfile() (gzip 1.14)

2025-05-30 Thread Paul Eggert
Thanks, I installed the attached additional patch.From b1de0e782a291c46e26777005893eeca142e0490 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 30 May 2025 12:23:42 -0700 Subject: [PATCH] gzip: fix another uninitialized read MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-

bug#78639: Uninitialised read in check_zipfile() (gzip 1.14)

2025-05-30 Thread Zephyr official
Paul Eggert wrote: > Thanks for the bug report and proposed fix. I installed the attached, > which should fix the gzip bug in a different way. > > I think the bug is innocuous in practice, but it's good to fix it anyway > as these things tend to mushroom.

bug#78639: Uninitialised read in check_zipfile() (gzip 1.14)

2025-05-29 Thread Paul Eggert
Thanks for the bug report and proposed fix. I installed the attached, which should fix the gzip bug in a different way. I think the bug is innocuous in practice, but it's good to fix it anyway as these things tend to mushroom.From c5e789971dfbc999cde5d1ce526a4422310617b8 Mon Sep 17 00:

bug#78639: Uninitialised read in check_zipfile() (gzip 1.14)

2025-05-29 Thread Zephyr official
Hi gzip maintainers, An out-of-bounds / uninitialised read occurs in unzip.c:check_zipfile() when the PKZIP local header is shorter than 30 bytes (CWE-457, CWE-125). Reproduction (on 1.14, Linux x86-64, gcc 13.3): printf '%s' \ 504B0304 1400 \ 010

bug#78618: Gzip 1.14 build failure on s390x (undeclared errno in dfltcc.c)

2025-05-28 Thread GNU gzip discussion and bug reports.
Hello, while rebasing the gzip in fedora I've encountered the build failure from the $SUBJ. A bit more info: - happens only when configured with the --enable-dfltcc - introduced by the [1] (the "errno" variable doesn't seem to be used outside of the scope of the patch) - build completes when the

bug#77807: Compilation of gzip 1.13 fails on PPC Tiger, Mac OS X 10.4.11

2025-05-19 Thread Paul Eggert
On 2025-04-15 03:14, Peter Dyballa wrote: Yes, compiles fine, except for some warnings: The warnings are false alarms; you can ignore them. Glad to hear that gzip compiles now. Closing the bug report. + perl -e ' use POSIX qw(dup2); $SIG{PIPE} = "DEFAULT"

bug#77807: Compilation of gzip 1.13 fails on PPC Tiger, Mac OS X 10.4.11

2025-05-19 Thread Paul Eggert
On 2025-04-16 02:54, Peter Dyballa wrote: Testing misses two files to exclude – new bug report? I suppose so, yes - for Tar.

bug#78084: "od: invalid option -- 'A'" issue when run gzip-1.14 tests

2025-04-27 Thread Paul Eggert
Thanks for reporting that glitch with busybox. I installed the attached to work around it.From e77940b44f8804ca7b59606af2f9318d5bc954e2 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 27 Apr 2025 13:28:20 -0700 Subject: [PATCH] tests: port to Busybox od Problem reported by Xinjian Ma (Bug

bug#78084: "od: invalid option -- 'A'" issue when run gzip-1.14 tests

2025-04-27 Thread Xinjian Ma (Fujitsu)
Hello everyone We met a issue when run gzip-1.14 tests in yocto project | od: invalid option -- 'A' | BusyBox v1.37.0 () multi-call binary. It's caused by line 46 in tests/reference. yocto use od from busybox which only has limited option of od. For such cases, the usual approach taken by addin

bug#77807: Compilation of gzip 1.13 fails on PPC Tiger, Mac OS X 10.4.11

2025-04-16 Thread GNU gzip discussion and bug reports.
> Am 15.Apr..2025 um 09:39 schrieb Paul Eggert : > > Please try gzip 1.14 instead, as it has fixes in at least some of the areas > that gave you trouble. Same problem with gnutar 1.35 (and same solution, + missing "-lintl"). Testing misses two files to ex

bug#77824: LTO build fails with grep 3.12

2025-04-15 Thread Christian Hesse
Ups, sent this to the wrong mailing list... Sorry! Please ignore and close. -- main(a){char*c=/*Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/*Best regards my address:*/=0;b=c[a++];) putchar(b-1/(/*Chriscc -ox -xc - && ./x*/b/42*2-

bug#77824: LTO build fails with grep 3.12

2025-04-15 Thread Christian Hesse
Hello everybody, I am building grep 3.12 in a clean build environment for Arch Linux. That fails when building with link time optimization is enabled: CCLD grep In function 'dfaoptimize', inlined from 'dfaanalyze' at ../lib/dfa.c:2873:3: ../lib/dfa.c:2606:12: error: writing 1 byte into

bug#77807: Compilation of gzip 1.13 fails on PPC Tiger, Mac OS X 10.4.11

2025-04-15 Thread GNU gzip discussion and bug reports.
on this host' + sed 1q + Exit 99 + set +e + exit 99 + exit 99 + remove_tmp_ + __st=99 + cleanup_ + : + test '' = yes + cd /opt/local/var/macports/build/nue.de.rsync.macports.org_macports_release_tarballs_ports_archivers_gzip/gzip/work/gzip-1.14/tests + chmod -R u+rwx /opt/local/var/m

bug#77815: [PATCH 1/1] initialize env_argc & env_argv

2025-04-15 Thread Christian Hesse
Dear gzip maintainers, just found out this is related to link time optimization. If I disable LTO it builds as-is (git master and 1.14), as soon as I enable LTO my patches is required for a successful build. Thanks! -- Best regards, Chris pgpYU47i1wJJ1.pgp Description: OpenPGP digital signature

bug#77807: Compilation of gzip 1.13 fails on PPC Tiger, Mac OS X 10.4.11

2025-04-15 Thread Paul Eggert
Please try gzip 1.14 instead, as it has fixes in at least some of the areas that gave you trouble.

bug#77815: [PATCH 1/1] initialize env_argc & env_argv

2025-04-14 Thread Christian Hesse
... as the compiler complains: gzip.c: In function 'main': gzip.c:465:24: error: 'env_argc' may be used uninitialized [-Werror=maybe-uninitialized] 465 | optc = getopt_long (env_argc, env_argv, shortopts, longopts, |^ gzip.c:413:9: note: 'env_argc'

bug#77807: Compilation of gzip 1.13 fails on PPC Tiger, Mac OS X 10.4.11

2025-04-14 Thread GNU gzip discussion and bug reports.
# endif 116 return 0; 117 # elif defined __QNX__ /* QNX */ 118 fp->_Rback = fp->_Back + sizeof (fp->_Back); 119 fp->_Rsave = NULL; 120 if (fp->_Mode & 0x2000 /* _MWRITE */) 121 /* fp->_Buf <= fp->_Next <= fp->_Wend

bug#77724: [PATCH] maint: include errno.h

2025-04-11 Thread GNU gzip discussion and bug reports.
On 2025-04-11 09:14, Paul Eggert wrote: Why is this needed? What happens if you omit "#include ". Sure no problem. Without this patch, on (our) s390x build (only): [  443s] gcc -DHAVE_CONFIG_H -I. -I./lib  -I./lib    -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -

bug#77640: [platform-testers] new snapshot available: gzip-1.13.56-e549

2025-04-11 Thread Paul Eggert
On 2025-04-10 15:13, Nelson H. F. Beebe wrote: I made this change against the original test file: % diff dfly-openat-bug.c dfly-openat-bug-3.c 8c8 < int dirfd = open ("d/", O_SEARCH | O_DIRECTORY); --- > int dirfd = open ("d/&quo

bug#77724: [PATCH] maint: include errno.h

2025-04-11 Thread Paul Eggert
On 2025-04-10 22:27, Andreas Stieger via GNU gzip discussion and bug reports. wrote: Found building for s390x on openSUSE --- dfltcc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dfltcc.c b/dfltcc.c index 9f86581..7333757 100644 --- a/dfltcc.c +++ b/dfltcc.c @@ -18,6 +18,7 @@ #include

bug#77724: [PATCH] maint: include errno.h

2025-04-11 Thread GNU gzip discussion and bug reports.
Found building for s390x on openSUSE --- dfltcc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dfltcc.c b/dfltcc.c index 9f86581..7333757 100644 --- a/dfltcc.c +++ b/dfltcc.c @@ -18,6 +18,7 @@ #include #include +#include #ifdef HAVE_SYS_SDT_H # include -- 2.49.0

bug#77563: [platform-testers] new snapshot available: gzip-1.13.56-e549

2025-04-10 Thread Nelson H. F. Beebe
I have now got successful builds and validations of gzip-1.13.56-e549 on 56 systems in our test farm at Utah. I have test failures on 17 systems, but in only 3 specific tests: pipe-output:FreeBSD 13.5, 14.2, 15.0; GhostBSD 24.01; NetBSD 10.0; OpenBSD 7.3, 7.4, 7.5, 7.6, 7.7 (p

bug#77563: [platform-testers] new snapshot available: gzip-1.13.56-e549

2025-04-10 Thread Jim Meyering
On Mon, Apr 7, 2025 at 4:39 PM Nelson H. F. Beebe wrote: > I have now got successful builds and validations of gzip-1.13.56-e549 > on 56 systems in our test farm at Utah. > > I have test failures on 17 systems, but in only 3 specific tests: > > pipe-output:FreeBSD 13.5, 14.2, 15.0; GhostBSD 24

bug#77640: [platform-testers] new snapshot available: gzip-1.13.56-e549

2025-04-10 Thread Paul Eggert
Y> says it has neither O_SEARCH nor O_PATH. In that case please use O_RDONLY instead of O_SEARCH. I made that change and ran the test: % gcc dfly-openat-bug-2.c && ./a.out d/f: File exists % ls -Rl d d: total 0 The "File exists" re

bug#77640: [platform-testers] new snapshot available: gzip-1.13.56-e549

2025-04-10 Thread Paul Eggert
GXCPU,0x7fdfcd80,0x0)= 0 (0x0) sigaction(SIGXFSZ,0x7fdfcd80,0x0)= 0 (0x0) sigprocmask(0x1,0x42a0e0,0x7fdfcdc0) = 0 (0x0) openat(0x4,0x49f822,0xa01,0x180) ERR#17 'File exists' Thanks for the info. This seems to be a

bug#77640: [platform-testers] new snapshot available: gzip-1.13.56-e549

2025-04-10 Thread Paul Eggert
ack-valid PASS: upper-suffix [hangs at this point] If I run the script in the tests directory, I get % ./write-error ./write-error: cannot create d/e: Permission denied [again at this point] Thanks for the further checking on DragonFlyBSD. My guess about the syscall bug was incorrect, unfortuna

bug#77685: gzip-1.14 released [stable]

2025-04-09 Thread Jim Meyering
ib 2025-01-31 553ab924d2b68d930fae5d3c6396502a57852d23 NEWS * Noteworthy changes in release 1.14 (2025-04-09) [stable] ** Bug fixes 'gzip -d' no longer omits the last partial output buffer when the input ends unexpectedly on an IBM Z platform. [bug introduced in gzip-1.11] 

bug#77640: [platform-testers] new snapshot available: gzip-1.13.56-e549

2025-04-08 Thread Paul Eggert
n our test farm. Since I'm guessing about the bug, it'd likely be more efficient to see what system calls the failing gzip is executing, before writing a small C program. Please run this: mkdir d echo >d/f chmod a-w d LC_ALL=C truss -o gzip.truss ./gzip d/f and then l

bug#77641: [platform-testers] new snapshot available: gzip-1.13.56-e549

2025-04-08 Thread Paul Eggert
On 2025-04-08 11:25, Nelson H. F. Beebe wrote: Here is the output on NetBSD 10.0 for the test script for zdiff behavior: Thanks. I'm quoting it below. Apparently the equivalent of the following crashed: echo b >b gzip b gzip_status=$(gzip -cdfq -- b.gz) whereas the same thing succeeded if o

bug#75924: maint: fix s390 buffer flushes

2025-04-08 Thread Paul Eggert
fear that it will result in very very cumbersome error handling code. OK, thanks for the analysis. Closing the bug report.

bug#77640: [platform-testers] new snapshot available: gzip-1.13.56-e549

2025-04-08 Thread Paul Eggert
On 2025-04-08 06:07, Nelson H. F. Beebe wrote: + mkdir d + echo + chmod a-w d + test -w d + id -u + test 887 '=' 0 + returns_ 1 gzip d/f + fail=1 To help debug this problem on DragonFlyBSD 6.4.0, please run the following commands in the gzip source directory and tell us what the ./gzip does:

bug#77641: [platform-testers] new snapshot available: gzip-1.13.56-e549

2025-04-08 Thread Paul Eggert
On 2025-04-08 06:12, Nelson H. F. Beebe wrote: + returns_ 1 zdiff a.gz b.gz >out 2>err + fail=1 To help debug that, could you please run the following commands in the gzip source directory and tell us the output? echo a>a echo b>b ./gzip a b /bin/bash -x ./zdiff a.gz b.gz I am assuming "zdi

bug#77641: [platform-testers] new snapshot available: gzip-1.13.56-e549

2025-04-08 Thread Nelson H. F. Beebe
Yesterday, I reported that the zdiff test for gzip-1.13.56-e549 failed on NetBSD 10.0. Here is the tests/zdiff.log file: + initial_cwd_=/local/build/cc/gzip-1.13.56-e549/tests + testdir_prefix_ + printf gt + pfx_=gt + mktempd_ /local/build/cc/gzip-1.13.56-e549/tests gt-zdiff. + destdir_=/loca

bug#77640: [platform-testers] new snapshot available: gzip-1.13.56-e549

2025-04-08 Thread Nelson H. F. Beebe
Yesterday, I reported this failure for gzip-1.13.56-e549 on DragonFlyBSD 6.4.0: write-error. Here is the tests/write-error.log file: + initial_cwd_=/local/build/cc/gzip-1.13.56-e549/tests + testdir_prefix_ + printf gt + pfx_=gt + mktempd_ /local/build/cc/gzip-1.13.56-e549/tests gt-write-error.XXX

bug#77563: [platform-testers] new snapshot available: gzip-1.13.56-e549

2025-04-07 Thread GNU gzip discussion and bug reports.
Jim Meyering wrote: > I haven't seen any report of those yet, so details would be helpful. Regarding the 'pipe-output' failures, you find the details already reported in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70861 . Bruno

bug#77563: new snapshot available: gzip-1.13.56-e549

2025-04-07 Thread Milan Kupcevic
Debian 13 trixie buildd: https://buildd.debian.org/status/package.php?p=gzip&suite=experimental looks good except on hurd where 'more' is not available at all: /build/reproducible-path/gzip-1.13.56~e549/tests/../zmore: line 53: more: command not found FAIL: zmore FAIL help-version (exit status

bug#77563: new snapshot available: gzip-1.13.56-e549

2025-04-06 Thread Adler, Mark
On Apr 6, 2025, at 10:43 PM, Nicolas Boos via GNU gzip discussion and bug reports. wrote: > Will a binary built with an i686 toolchain and a CPU supporting pclmul will > work from a system without this instruction? Yes. There is an instruction to check for that instruction. It also chec

bug#77563: new snapshot available: gzip-1.13.56-e549

2025-04-06 Thread GNU gzip discussion and bug reports.
Le Sat, 05 Apr 2025 14:07:01 -0700 Jim Meyering écrivait : > ** Performance improvements > > gzip now decompresses significantly faster by computing CRCs via a > slice by 8 algorithm, and faster yet on x86-64 platforms that > support pclmul instructions. Will a binary built with an i686

bug#77563: gzip-1.13.56-e549 on GNU/Hurd

2025-04-06 Thread Jim Meyering
On Sun, Apr 6, 2025 at 1:14 PM Bruno Haible wrote: > Jim Meyering wrote: > > I'll soon push the attached: > > > +if MORE > > +ZMORE_PROG = zless > > Shouldn't that be > > +if MORE > +ZMORE_PROG = zmore Yes, indeed. Thanks. Adjusted.

bug#77563: gzip-1.13.56-e549 on GNU/Hurd

2025-04-06 Thread GNU gzip discussion and bug reports.
Jim Meyering wrote: > I'll soon push the attached: > +if MORE > +ZMORE_PROG = zless Shouldn't that be +if MORE +ZMORE_PROG = zmore ?

bug#77563: gzip-1.13.56-e549 on GNU/Hurd

2025-04-06 Thread Jim Meyering
On Sun, Apr 6, 2025 at 1:27 AM Bruno Haible via GNU gzip discussion and bug reports. wrote: > Testing on GNU Hurd x86_64 from 2025: > There is 1 test failure: > FAIL: help-version > > Details: > > /home/bruno/gzip-1.13.56-e549/build/tests/../zmore: line 53: more: command

bug#77563: gzip-1.13.56-e549 testing

2025-04-06 Thread GNU gzip discussion and bug reports.
All tests pass (except possibly year-2038) on: * Linux - Ubuntu 24.04 (64-bit, 32-bit) - CentOS 6, 7, 8-Stream, AlmaLinux 9 - Slackware 15 (32-bit) - s390x: openSUSE 15.5 - hppa: Debian 12 - m68k: Debian 12 * Haiku * Android (Termux) Bruno

bug#77563: gzip-1.13.56-e549 on OpenBSD, Solaris 11, AIX

2025-04-06 Thread GNU gzip discussion and bug reports.
On - OpenBSD 7.6, - Solaris 11 OpenIndiana, - AIX 7.1 32-bit there is 1 test failure: FAIL: pipe-output Find attached the respective log files. = gzip 1.13.56-e549: tests/test-suite.log = # TOTAL: 30

bug#77563: gzip-1.13.56-e549 on Cygwin

2025-04-06 Thread GNU gzip discussion and bug reports.
On Cygwin 3.4.6 I see one ERROR in the tests: ERROR: zgrep-abuse Find attached the tests/test-suite.log. = gzip 1.13.56-e549: tests/test-suite.log = # TOTAL: 30 # PASS: 28 # SKIP: 1 # XFAIL: 0 # FAIL: 0

bug#77563: gzip-1.13.56-e549 on GNU/Hurd

2025-04-06 Thread GNU gzip discussion and bug reports.
Testing on GNU Hurd x86_64 from 2025: There is 1 test failure: FAIL: help-version Details: /home/bruno/gzip-1.13.56-e549/build/tests/../zmore: line 53: more: command not found + echo FAIL: zmore FAIL: zmore + fail=1 Find attached the complete tests/test-suite.log. On this machine, 'more' is no

bug#77563: new snapshot available: gzip-1.13.56-e549

2025-04-05 Thread Jim Meyering
I want to release gzip-1.14 by Tuesday or Wednesday, so here's a snapshot of the latest. It's been more than 1.5 years since gzip-1.13, but with a surprising performance improvement as well as some bug fixes. Any tests (success/failure) you can tell us about would be most welcome. T

bug#76197: [PROPOSED] gzip: drop support for the GZIP env var

2025-03-03 Thread Lasse Collin
l of a useful feature (when used responsibly). I guess those cons don't matter to you, but maintainers tend to consider such things especially when it's a widely-used package. For example, here is a Debian bug from 2020 about the GZIP deprecation warning appearing in dgit: https://bugs-

bug#76644: 1.13 fails to build on s390x: alignas gone

2025-03-01 Thread Paul Eggert
Thanks for the bug report. This appears to be the same as the following issue reported by Sarah-Julia Kriesch, and you can see a fix there: https://bugs.gnu.org/66709 For now, I'll merge the two bug reports.

bug#76644: 1.13 fails to build on s390x: alignas gone

2025-02-28 Thread Andreas Hasenack
_param af; ./dfltcc.c: char alignas (8) aligned; ./dfltcc.c-}; -- ./dfltcc.c- struct dfltcc_param_v0 param; ./dfltcc.c: char alignas (8) aligned; ./dfltcc.c-}; 1. https://bugs.launchpad.net/ubuntu/+source/gzip/+bug/2100598/comments/2

bug#76197: [PROPOSED] gzip: drop support for the GZIP env var

2025-02-23 Thread Antonio Diaz Diaz
Lasse Collin wrote: Hypothetically, someone somewhere might rely on GZIP=-n when compressing regular files. Have you considered that removing GZIP, as Paul did originally, would maximize reliability, minimize maintenance work, prevent long discussions about what options GZIP should or should

bug#76197: [PROPOSED] gzip: drop support for the GZIP env var

2025-02-23 Thread Lasse Collin
On 2025-02-19 Paul Eggert wrote: > So I installed the attached patch instead into Savannah master gzip. > It means gzip will pay attention to -1..-9, --rsyncable, and > --synchronous This sounds reasonable. It unambiguously prevents glitches in scripts. For example, GZIP=-v may seem innocent but i

bug#75924: maint: fix s390 buffer flushes

2025-02-20 Thread GNU gzip discussion and bug reports.
Hi, On Mon, 2025-02-17 at 10:38 +, Eduard Stefes wrote: > > ... > This makes hufts pass and does not affect any other test case. I will > do more exhaustive tests just to be sure that nothing else is > affected. > ... So, I did some tests. I setup afl++ with a static seed and went through so

bug#76197: [PROPOSED] gzip: drop support for the GZIP env var

2025-02-19 Thread Paul Eggert
ons(-) diff --git a/NEWS b/NEWS index e348355..9341ef8 100644 --- a/NEWS +++ b/NEWS @@ -14,6 +14,15 @@ GNU gzip NEWS-*- outline -*- 'gzip -S' now rejects suffixes containing '/'. [bug present since the beginning] +** Changes in behavior +

bug#75924: gzip: add special eof handling for s390x

2025-02-18 Thread Andreas Hasenack
Hi, This is on top of the previous patch I presume? It doesn't have the __builtin_unreachable() line the previous patch added, but I might have missed an update. On Mon, Feb 17, 2025 at 7:44 AM Eduard Stefes wrote: > > due to hardware limitations we cannot rely on the OESC error code > before th

bug#75924: gzip: add special eof handling for s390x

2025-02-17 Thread GNU gzip discussion and bug reports.
due to hardware limitations we cannot rely on the OESC error code before the hardware parsed the initial huffman tree. For this case we have to add a branch to the EOF handling. we return an errorcode 2 (invalid data) if we where still in the initial phase (bytes_out == 0). Otherwise we continue wi

bug#75924: maint: fix s390 buffer flushes

2025-02-17 Thread Paul Eggert
On 2025-02-17 02:38, Eduard Stefes wrote: I came up with an ugly hack: Thanks, it sounds much nicer than the hack I was thinking of, which was to redo the entire run in software

bug#75924: maint: fix s390 buffer flushes

2025-02-17 Thread GNU gzip discussion and bug reports.
JMFz > 4qEFFyhpCJvbRLyu9&s=VxHLexQ8YkPuK0dODBtBIOdJSZNN3UOOaFzlPLnFd7s&e= >, > superseding the > incorrect patch I installed a couple of days ago. However, I'm > worried > about the patch to test/hufts that you also suggested, as it would > mean > gzip's dia

bug#76197: [PROPOSED] gzip: drop support for the GZIP env var

2025-02-12 Thread Lasse Collin
d and then removed completely. Trouble-free uses of GREP_OPTIONS were fairly limited (perhaps --color=auto might have been such), so removing it seemed reasonable. Specifically, it was unacceptable that many scripts would need to unset GREP_OPTIONS. In gzip, bug#20104 [2] refers to troubles caus

bug#72588: Fwd: Re: performance bug regarding CRC32 algorithm implementation

2025-02-10 Thread Paul Eggert
[Resending because my earlier email had the wrong bug number.] Due to work by Sam Russell and others it looks like gzip now has faster CRC32 code on Savannah master, so closing this old bug report. See: https://bugs.gnu.org/74927 https://bugs.gnu.org/74192--- Begin Message --- Due to work by

bug#67022: Gzip decompression can be 60% faster using zlib's CRC32

2025-02-10 Thread Paul Eggert
issue though. Shouldn't be a license issue. It's just a lack of time issue. Due to work by Sam Russell and others it looks like gzip now has faster CRC32 code on Savannah master, so closing this old bug report. See: https://bugs.gnu.org/74927 https://bugs.gnu.org/74192

bug#72989: Avoid using postal address in license.

2025-02-10 Thread Paul Eggert
On 2024-09-02 12:13, Collin Funk wrote: Following Simon's patch in Gnulib, replacing the old FSF postal address with a link [1]. Thanks, I see Jim installed something similar into gzip soon after you sent this email, so I'm closing the bug report.

bug#72772: DEPRECATED

2025-02-10 Thread Paul Eggert
On 2024-08-23 you wrote: root@INF-DESKTOP:/tmp# GZIP=-1 tar cfz saved.config.tar.gz saved.config gzip: warning: GZIP environment variable is deprecated; use an alias or script Yes, that's the intended and documented behavior. The GZIP environment variable can make it hard to write portable sc

bug#76197: [PROPOSED] gzip: drop support for the GZIP env var

2025-02-10 Thread Paul Eggert
variable, which was marked as obsolescent in + gzip 1.7 (2016) due to its hazards, has been removed. You can use + an alias or script instead. + ** Bug fixes 'gzip -d' no longer omits the last partial output buffer when the diff --git a/doc/gzip.texi b/doc/gzip.texi index cc05b60..1bfc

bug#74927: [PATCH] build: update gnulib, include crc-x86_64 module

2025-02-10 Thread Paul Eggert
Thanks, I installed the attached somewhat-fancier patches which should do the same thing; please see what you think. Boldly closing bug#74927.From 6b65e654a74998705da3aed81d1bbb57f50847eb Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 10 Feb 2025 22:31:36 -0800 Subject: [PATCH 1/2] gzip

bug#74192: [PATCH] build: update gnulib to latest, to enable faster crc

2025-02-10 Thread Paul Eggert
Marking this bug report as done because Jim updated gzip to the latest Gnulib on December 13, after this patch was submitted.

bug#75924: maint: fix s390 buffer flushes

2025-02-06 Thread Paul Eggert
intain that behavior as it is valuable information to give to the user. I installed the patch to dfltcc.c that you suggested in <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75924#5>, superseding the incorrect patch I installed a couple of days ago. However, I'm worried about the patch to te

bug#75924: maint: fix s390 buffer flushes

2025-02-05 Thread GNU gzip discussion and bug reports.
On Wed, 2025-01-29 at 19:50 +, Eduard Stefes via GNU gzip discussion and bug reports. wrote: > Hi, > > On Wed, 2025-01-29 at 10:58 -0800, Paul Eggert wrote: > > Thanks for the bug report. I installed the attached, a bit simpler > > than > > the patch you suggeste

bug#76024: maint: fix mistake in module renaming

2025-02-02 Thread Collin Funk
Jim Meyering writes: > However, the goal of that change was to move away from deprecated modules, > so from realloc-gnu to realloc-posix. This is what I'll push shortly: Ah, right. I forgot about the change from realloc-gnu to realloc-posix. Thanks! Collin

bug#76024: maint: fix mistake in module renaming

2025-02-02 Thread Jim Meyering
On Sun, Feb 2, 2025 at 7:54 PM Collin Funk wrote: > Hi Jim, > > I noticed a small mistake in this commit: > > maint: reflect gnulib module renamings > > * bootstrap.conf: Some gnulib modules are now deprecated in favor of > new names with a "-h" suffix. Induce this change with the fol

bug#76024: maint: fix mistake in module renaming

2025-02-02 Thread Collin Funk
Hi Jim, I noticed a small mistake in this commit: maint: reflect gnulib module renamings * bootstrap.conf: Some gnulib modules are now deprecated in favor of new names with a "-h" suffix. Induce this change with the following: re='inttypes|realloc-gnu|sys_stat' perl

bug#75924: maint: fix s390 buffer flushes

2025-01-29 Thread Andreas Hasenack
=== # TOTAL: 26 # PASS: 25 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 1. https://launchpadlibrarian.net/773464868/buildlog_ubuntu-plucky-s390x.gzip_1.12-1.1ubuntu3~ppa1_BUILDING.txt.gz On Wed, Jan 29, 2025 at 3:59 PM Paul Egg

bug#75924: maint: fix s390 buffer flushes

2025-01-29 Thread GNU gzip discussion and bug reports.
Hi, On Wed, 2025-01-29 at 10:58 -0800, Paul Eggert wrote: > Thanks for the bug report. I installed the attached, a bit simpler > than > the patch you suggested; can you please give it a try? changing the call fill_inbuff(1) to fill_inbuff(0) will not work. dfltcc works on the ou

bug#75924: maint: fix s390 buffer flushes

2025-01-29 Thread Paul Eggert
Thanks for the bug report. I installed the attached, a bit simpler than the patch you suggested; can you please give it a try? Also, is there a related bug near dfltcc.c line 375? That is, when (inptr == insize && fill_inbuf (1) == EOF && param->cf), won't insize th

bug#75924: maint: fix s390 buffer flushes

2025-01-29 Thread GNU gzip discussion and bug reports.
Problem reported by Nick Rosbrook in: https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/2083700 align the behavior of dfltcc_inflate to do the same as gzip_inflate when it hits a premature EOF --- dfltcc.c| 6 +- tests/hufts | 6 -- 2 files changed, 9 insertions(+), 3 deletions

bug#75911: maint: fix s390 buffer flushes

2025-01-29 Thread GNU gzip discussion and bug reports.
Rosbrook in: > > https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/2083700 > > > > align the behavior of dfltcc_inflate to do the same as gzip_inflate > > when it hits a premature EOF > > Looking at the style of other gzip commits: > I would capitalize "Ali

bug#74651: maint: fix s390 buffer flushes

2025-01-28 Thread GNU gzip discussion and bug reports.
/+archive/ubuntu/rsyslog-apparmor/+build/29355576 On Mon, 2024-12-02 at 10:35 +0100, Eduard Stefes wrote: > Problem reported by Nick Rosbrook in: > https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/2083700 > > align the behavior of dfltcc_inflate to do the same as gzip_inflate &g

bug#75911: maint: fix s390 buffer flushes

2025-01-28 Thread Ilya Leoshkevich
On Tue, 2025-01-28 at 15:37 +0100, Eduard Stefes wrote: LGTM, but I have several stylistic comments. > Problem reported by Nick Rosbrook in: > https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/2083700 > > align the behavior of dfltcc_inflate to do the same as gzip_inflate >

bug#75911: maint: fix s390 buffer flushes

2025-01-28 Thread GNU gzip discussion and bug reports.
Problem reported by Nick Rosbrook in: https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/2083700 align the behavior of dfltcc_inflate to do the same as gzip_inflate when it hits a premature EOF --- dfltcc.c| 7 ++- tests/hufts | 6 -- 2 files changed, 10 insertions(+), 3

bug#75405: gzip --synchronous doesn't work with musl

2025-01-10 Thread Paul Eggert
Thanks, I installed that test. Marking this gzip bug as done.

bug#75405: gzip --synchronous doesn't work with musl

2025-01-08 Thread Lasse Collin
On 2025-01-08 Lasse Collin wrote: > On 2025-01-08 Paul Eggert wrote: > > On 2025-01-07 10:22, Lasse Collin wrote: > > > It could be useful to add a test for gzip --synchronous. > > > > Feel free > > Attached. It's based on z-suffix. Syncing is the same in compression and decompression

bug#75405: gzip --synchronous doesn't work with musl

2025-01-08 Thread Lasse Collin
On 2025-01-08 Paul Eggert wrote: > On 2025-01-07 10:22, Lasse Collin wrote: > > > However, one thing that isn't an issue in musl is fchmod which is > > currently documented in Gnulib's doc/posix-headers/fcntl.texi. > > fchmod and a few others were fixed in 2013 by using > > /proc/self/fd.[1] >

bug#75405: gzip --synchronous doesn't work with musl

2025-01-08 Thread Paul Eggert
1] https://git.musl-libc.org/cgit/musl/commit/?id=9ca1f62b0c0d3e50480eb654ac941ff943ce0558 Would the following Gnulib patch work around the musl bug? It does, thanks! OK, I installed it. Should it check for __linux__ too to be sure that the workaround won't accidentally apply on some othe

bug#75405: gzip --synchronous doesn't work with musl

2025-01-07 Thread Lasse Collin
s.opengroup.org/onlinepubs/9799919799/functions/open.html>. I had looked at it a few times recently but somehow managed to convince myself that "search only" means something else than it actually does. Thanks for steering me back to the right path! > > In musl, O_SEARCH maps to

bug#75405: gzip --synchronous doesn't work with musl

2025-01-06 Thread Paul Eggert
On 2025-01-06 05:29, Lasse Collin wrote: In musl, O_SEARCH maps to Linux-specific O_PATH That is a bug in musl. musl should not define O_SEARCH to O_PATH on Linux, because O_PATH is not a valid implementation of O_SEARCH. Or if musl wants to do some sort of approximate-but-invalid

bug#75405: gzip --synchronous doesn't work with musl

2025-01-06 Thread Lasse Collin
On Linux/musl: $ echo foo > foo $ gzip --synchronous foo gzip: foo.gz: Bad file descriptor From gzip.c: dfd = open (dfname, O_SEARCH | O_DIRECTORY); ... if ((synchronous && ((0 <= dfd && fdatasync (dfd) != 0 && errno != EINVAL) || (fsync

  1   2   3   4   5   6   7   8   9   10   >