Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911539 - app-editors/emacs-29.1: Extra patch needed for gzip-el when using app-arch/pigz
Summary: app-editors/emacs-29.1: Extra patch needed for gzip-el when using app-arch/pigz
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-07-31 21:26 UTC by Harald Judt
Modified: 2023-08-07 13:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Judt 2023-07-31 21:26:46 UTC
There is a bug when using emacs and pigz instead of reference gzip. Compilation of some packages fails with an error message "Hashing failed." I found this bug report and a patch that fixes the error for me:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63832
Also see https://lists.gnu.org/archive/html/emacs-bug-tracker/2023-06/msg00136.html


Reproducible: Always

Steps to Reproduce:
Compile emacs with gzip-el use flag enabled and using the gzip alternative implementation app-arch/pigz.



Apparently, using app-arch/gzip, the issue does not occur.
Comment 1 Ulrich Müller gentoo-dev 2023-08-01 05:18:43 UTC
Please attach build.log.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-01 07:27:20 UTC
Just for completeness (as ulm and I discussed it on IRC already), I can reproduce this with app-alternatives/gzip[pigz] + USE=gzip-el and then getting an error when trying to start up e.g. eww, or requiring gnus.
Comment 3 Larry the Git Cow gentoo-dev 2023-08-01 11:27:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea879e1064c10494339aa0a526f836c06d479596

commit ea879e1064c10494339aa0a526f836c06d479596
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2023-08-01 09:13:15 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2023-08-01 11:26:40 +0000

    app-editors/emacs: Support decompressing pigz-compressed files
    
    Closes: https://bugs.gentoo.org/911539
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-editors/emacs/Manifest                                    | 2 +-
 app-editors/emacs/{emacs-29.1.ebuild => emacs-29.1-r1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 4 Ulrich Müller gentoo-dev 2023-08-01 11:27:28 UTC
Thank you for reporting!
Comment 5 Larry the Git Cow gentoo-dev 2023-08-07 13:42:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/emacs-patches.git/commit/?id=20e25bdde36ecd33b0bac19709a949ac111dc450

commit 20e25bdde36ecd33b0bac19709a949ac111dc450
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2023-08-01 09:07:04 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2023-08-01 09:07:04 +0000

    29.1: Support decompressing pigz-compressed files
    
    Bug: https://bugs.gentoo.org/911539
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 emacs/29.1/03_all_zlib-inflate.patch | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)