Subject: Re: bug#63077: [PATCH] gnu: gnutls: skip examples on mingw.

From: Simon Tournier <[email-masked]>
Date: Fri, 08 Mar 2024 18:22:20 +0100

Hi,

On ven., 05 janv. 2024 at 13:06, Maxim Cournoyer <[email-masked]> wrote:
> Vivien Kraus <[email-masked]> 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.

Digging all bugs, what about this?

It could be nice if it is fixed upstream.  On the other, we could also
apply a fix waiting such fix.

WDYT?

Cheers,
simon