GNU bug report logs - #76896
[PATCH core-packages-team] gnu: minizip: Remove phase 'remove-crypt-h.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Sun, 9 Mar 2025 17:38:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#76896: closed ([PATCH core-packages-team] gnu: minizip:
 Remove phase 'remove-crypt-h.)
Date: Sat, 22 Mar 2025 22:00:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 22 Mar 2025 22:59:08 +0100
with message-id <877c4g682b.fsf <at> gnu.org>
and subject line Re: bug#76896: [PATCH core-packages-team] gnu: minizip: Remove phase 'remove-crypt-h.
has caused the debbugs.gnu.org bug report #76896,
regarding [PATCH core-packages-team] gnu: minizip: Remove phase 'remove-crypt-h.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
76896: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76896
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Nicolas Graves <ngraves <at> ngraves.fr>
To: guix-patches <at> gnu.org
Subject: [PATCH core-packages-team] gnu: minizip: Remove phase 'remove-crypt-h.
Date: Sun, 9 Mar 2025 18:26:50 +0100
During the update of glibc from 2.35 to 2.39, the crypt.h header has
been removed from glibc's include path.  Packages depending on this
header from minizip have no access to it anymore.  Remove this phase.

(I stumbled on that trying to package libkml, I don't know if I'll end
up sending the package (might not be needed and old), but I guess this
applies anyway).

* gnu/packages/compression.scm (minizip)[arguments]{phases}:
Delete 'remove-crypt-h phase.
---
 gnu/packages/compression.scm | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index df876f7373..8b4ff65cda 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -183,16 +183,7 @@ (define-public minizip
      `(#:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'enter-source
-           (lambda _ (chdir "contrib/minizip") #t))
-         (add-after 'install 'remove-crypt-h
-           (lambda* (#:key outputs #:allow-other-keys)
-             ;; Remove <minizip/crypt.h> because it interferes with libc's
-             ;; <crypt.h> given that 'minizip.pc' says "-I…/include/minizip".
-             ;; Fedora does the same:
-             ;; <https://src.fedoraproject.org/rpms/zlib/c/4d2785ec3116947872f6f32dc4104e6d36d8a7a4?branch=master>.
-             (let ((out (assoc-ref outputs "out")))
-               (delete-file (string-append out "/include/minizip/crypt.h"))
-               #t))))))
+           (lambda _ (chdir "contrib/minizip"))))))
     (native-inputs
      (list autoconf automake libtool))
     (propagated-inputs (list zlib))
-- 
2.48.1



-- 
Best regards,
Nicolas Graves


[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Nicolas Graves <ngraves <at> ngraves.fr>
Cc: 76896-done <at> debbugs.gnu.org
Subject: Re: bug#76896: [PATCH core-packages-team] gnu: minizip: Remove
 phase 'remove-crypt-h.
Date: Sat, 22 Mar 2025 22:59:08 +0100
Nicolas Graves <ngraves <at> ngraves.fr> skribis:

> During the update of glibc from 2.35 to 2.39, the crypt.h header has
> been removed from glibc's include path.  Packages depending on this
> header from minizip have no access to it anymore.  Remove this phase.
>
> (I stumbled on that trying to package libkml, I don't know if I'll end
> up sending the package (might not be needed and old), but I guess this
> applies anyway).
>
> * gnu/packages/compression.scm (minizip)[arguments]{phases}:
> Delete 'remove-crypt-h phase.

Applied, thanks.


This bug report was last modified 63 days ago.

Previous Next


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