GNU bug report logs - #63209
[PATCH] gnu: git-crypt: Fix build issues on openssl 3

Previous Next

Package: guix-patches;

Reported by: Sergey Trofimov <sarg <at> sarg.org.ru>

Date: Mon, 1 May 2023 16:20:01 UTC

Severity: normal

Tags: patch

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

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 63209 in the body.
You can then email your comments to 63209 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 guix-patches <at> gnu.org:
bug#63209; Package guix-patches. (Mon, 01 May 2023 16:20:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sergey Trofimov <sarg <at> sarg.org.ru>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 01 May 2023 16:20:01 GMT) Full text and rfc822 format available.

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

From: Sergey Trofimov <sarg <at> sarg.org.ru>
To: guix-patches <at> gnu.org
Cc: Sergey Trofimov <sarg <at> sarg.org.ru>
Subject: [PATCH] gnu: git-crypt: Fix build issues on openssl 3
Date: Mon,  1 May 2023 18:18:42 +0200
* gnu/packages/version-control.scm (git-crypt):
Add compilation flag to work around openssl 3 compatibility.
See https://github.com/AGWA/git-crypt/issues/232
---
 gnu/packages/version-control.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index c2ec490383..ba213bafa6 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -936,6 +936,7 @@ (define-public git-crypt
              #t))
          (replace 'build
            (lambda _
+             (setenv "CXXFLAGS" "-DOPENSSL_API_COMPAT=0x30000000L")
              (invoke "make" "ENABLE_MAN=yes")))
          (replace 'install
            (lambda* (#:key outputs #:allow-other-keys)
-- 
2.39.2





Information forwarded to guix-patches <at> gnu.org:
bug#63209; Package guix-patches. (Mon, 01 May 2023 21:36:01 GMT) Full text and rfc822 format available.

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

From: Giovanni Biscuolo <g <at> xelera.eu>
To: 63209 <at> debbugs.gnu.org
Cc: Sergey Trofimov <sarg <at> sarg.org.ru>
Subject: Re: [bug#63209] [PATCH] gnu: git-crypt: Fix build issues on openssl 3
Date: Mon, 01 May 2023 23:35:14 +0200
[Message part 1 (text/plain, inline)]
Hello,

thank you for your patch: I applied it and it works.

This is also related to bug#63202

Sergey Trofimov <sarg <at> sarg.org.ru> writes:

> * gnu/packages/version-control.scm (git-crypt):
> Add compilation flag to work around openssl 3 compatibility.
> See https://github.com/AGWA/git-crypt/issues/232
> ---
>  gnu/packages/version-control.scm | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
> index c2ec490383..ba213bafa6 100644
> --- a/gnu/packages/version-control.scm
> +++ b/gnu/packages/version-control.scm
> @@ -936,6 +936,7 @@ (define-public git-crypt
>               #t))
>           (replace 'build
>             (lambda _
> +             (setenv "CXXFLAGS" "-DOPENSSL_API_COMPAT=0x30000000L")
>               (invoke "make" "ENABLE_MAN=yes")))
>           (replace 'install
>             (lambda* (#:key outputs #:allow-other-keys)
> -- 
> 2.39.2

Thanks, Gio'

-- 
Giovanni Biscuolo

Xelera IT Infrastructures
[signature.asc (application/pgp-signature, inline)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 05 May 2023 22:01:02 GMT) Full text and rfc822 format available.

Notification sent to Sergey Trofimov <sarg <at> sarg.org.ru>:
bug acknowledged by developer. (Fri, 05 May 2023 22:01:02 GMT) Full text and rfc822 format available.

Message #13 received at 63209-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Sergey Trofimov <sarg <at> sarg.org.ru>
Cc: 63209-done <at> debbugs.gnu.org
Subject: Re: bug#63209: [PATCH] gnu: git-crypt: Fix build issues on openssl 3
Date: Sat, 06 May 2023 00:00:43 +0200
Hi,

Sergey Trofimov <sarg <at> sarg.org.ru> skribis:

> * gnu/packages/version-control.scm (git-crypt):
> Add compilation flag to work around openssl 3 compatibility.
> See https://github.com/AGWA/git-crypt/issues/232

Applied the patch, with these two lines as a comment in the code.

Thanks,
Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 03 Jun 2023 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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