GNU bug report logs - #59018
[PATCH 0/1] OAuth2 for mbsync

Previous Next

Package: guix-patches;

Reported by: peter <at> polidoro.io

Date: Fri, 4 Nov 2022 17:57:01 UTC

Severity: normal

Tags: patch

Merged with 59019

Full log


View this message in rfc822 format

From: Peter Polidoro <peter <at> polidoro.io>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 59018 <at> debbugs.gnu.org
Subject: [bug#59018] [PATCH 0/1] OAuth2 for mbsync
Date: Fri, 18 Nov 2022 10:50:34 -0500
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:
>
> Could you send an updated patch?  TIA!
>
> Ludo’.

I was able to get the package to build by adding a 
"--with-cyrus-sasl" configure-flag.

I am not sure if I used the correct value for this flag, however.

The package's configure file says:

 --with-cyrus-sasl=PREFIX
                         Installation prefix of Cyrus-SASL 
                         (defaults to /usr)

That seems to imply that should be the install location of the 
cyrus-sasl package and that the cyrus-sasl-xoauth2 package will 
get installed into the location specified by the "--prefix" 
configure-flag.

The build failed, though, since it was trying to install into the 
/usr directory, even though "--prefix" was set to something else. 
So I set "--with-cyrus-sasl" to be the path of the 
cyrus-sasl-xoauth2 package out and that seems to work now. I 
assume the compilation would have failed if "--with-cyrus-sasl" 
needed to point to the cyrus-sasl location for dependency reasons.

Now hopefully adding the correct search path to the cyrus-sasl 
package will get the cyrus-sasl-xoauth2 properly recognized as a 
plugin. I can work on that patch when I have some time.

Thank you for your all of your help and patience as I am still 
learning how to create guix packages.

[0001-gnu-Add-cyrus-sasl-xoauth2.patch (text/x-diff, attachment)]

This bug report was last modified 2 years and 210 days ago.

Previous Next


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