GNU bug report logs - #63077
[PATCH] gnu: gnutls: skip examples on mingw.

Previous Next

Package: guix;

Reported by: Vivien Kraus <vivien <at> planete-kraus.eu>

Date: Tue, 25 Apr 2023 21:43:01 UTC

Severity: normal

Tags: patch

Full log


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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Vivien Kraus <vivien <at> planete-kraus.eu>
Cc: 63077 <at> debbugs.gnu.org
Subject: Re: bug#63077: [PATCH] gnu: gnutls: skip examples on mingw.
Date: Fri, 05 Jan 2024 13:06:55 -0500
Hi Vivien,

Vivien Kraus <vivien <at> planete-kraus.eu> writes:

> * gnu/packages/tls.scm (gnutls): Skip the doc/examples subdir on mingw,
> because the gnulib modules are not correct.
> ---
>  gnu/packages/tls.scm | 9 +++++++++
>  1 file changed, 9 insertions(+)
>
> diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
> index 6d7cff41b0..9e16b04702 100644
> --- a/gnu/packages/tls.scm
> +++ b/gnu/packages/tls.scm
> @@ -253,6 +253,15 @@ (define-public gnutls
>                     (substitute* "tests/fastopen.sh"
>                       (("^unset RETCODE")
>                        "exit 77\n"))))   ;skip
> +               #$@(if (target-mingw?)
> +                      #~((add-after 'unpack 'skip-doc-examples
> +                           ;; The examples in doc do not link to correct
> +                           ;; gnulib modules.
> +                           (lambda _
> +                             (substitute* "doc/Makefile.in"
> +                               (("SUBDIRS = examples")
> +                                "SUBDIRS =")))))
> +                      #~())

Did you report it upstream?  Perhaps they'd know how to properly fix it.

-- 
Thanks,
Maxim




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

Previous Next


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