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.
Please attach build.log.
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.
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(-)
Thank you for reporting!
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(+)