GNU bug report logs - #62199
[PATCH] gnu: Add emacs-fdroid.

Previous Next

Package: guix-patches;

Reported by: conses <contact <at> conses.eu>

Date: Wed, 15 Mar 2023 12:15: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 62199 in the body.
You can then email your comments to 62199 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#62199; Package guix-patches. (Wed, 15 Mar 2023 12:15:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to conses <contact <at> conses.eu>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 15 Mar 2023 12:15:01 GMT) Full text and rfc822 format available.

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

From: conses <contact <at> conses.eu>
To: guix-patches <at> gnu.org
Cc: contact <at> conses.eu
Subject: [PATCH] gnu: Add emacs-fdroid.
Date: Wed, 15 Mar 2023 13:14:12 +0100
* gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
---
 gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3c067fe16c..ce5aa10a05 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6070,6 +6070,27 @@ (define-public emacs-fd
 result.")
     (license license:gpl3+)))
 
+(define-public emacs-fdroid
+  (package
+    (name "emacs-fdroid")
+    (version "0.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~conses/fdroid.el")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1pmf9j9qcn71hjqdxqgdqf970irp75588nwnn234mapwqvx5v744"))))
+    (build-system emacs-build-system)
+    (home-page "https://git.sr.ht/~conses/fdroid.el")
+    (synopsis "Manage F-Droid packages from Emacs")
+    (description "This package is an Emacs interface to F-Droid.  Its purpose
+is to aid in the management of F-Droid packages for an Android device or an
+emulator inside the comfort of Emacs.")
+    (license license:gpl3+)))
+
 (define-public emacs-ripgrep
   (package
     (name "emacs-ripgrep")
-- 
2.39.1



-- 
Best regards,
conses




Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Mon, 20 Mar 2023 22:58:01 GMT) Full text and rfc822 format available.

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

From: Sergey Trofimov <sarg <at> sarg.org.ru>
To: contact <at> conses.eu
Cc: 62199 <at> debbugs.gnu.org
Subject: [bug#62199] [PATCH] gnu: Add emacs-fdroid.
Date: Mon, 20 Mar 2023 23:54:33 +0100
Hi conses,
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url 
> "https://git.sr.ht/~conses/fdroid.el";)
> +                    (commit version)))

you have extra `;` in url. The same typo in `(home-page ...)`.
Also, as the package depends on fdroidcl being present, maybe it 
should be added to `propagated-inputs`?




Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Tue, 21 Mar 2023 07:48:01 GMT) Full text and rfc822 format available.

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

From: conses <contact <at> conses.eu>
To: Sergey Trofimov <sarg <at> sarg.org.ru>
Cc: contact <at> conses.eu, 62199 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add emacs-fdroid.
Date: Tue, 21 Mar 2023 08:47:12 +0100
* gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
---
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b1f72ee009..5ac1cefc13 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -157,6 +157,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages android)
   #:use-module (gnu packages aspell)
   #:use-module (gnu packages audio)
   #:use-module (gnu packages bash)
@@ -6137,6 +6138,28 @@ (define-public emacs-fd
 result.")
     (license license:gpl3+)))
 
+(define-public emacs-fdroid
+  (package
+    (name "emacs-fdroid")
+    (version "0.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~conses/fdroid.el")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1pmf9j9qcn71hjqdxqgdqf970irp75588nwnn234mapwqvx5v744"))))
+    (build-system emacs-build-system)
+    (inputs (list fdroidcl))
+    (home-page "https://git.sr.ht/~conses/fdroid.el")
+    (synopsis "Manage F-Droid packages from Emacs")
+    (description "This package is an Emacs interface to F-Droid.  Its purpose
+is to aid in the management of F-Droid packages for an Android device or an
+emulator inside the comfort of Emacs.")
+    (license license:gpl3+)))
+
 (define-public emacs-ripgrep
   (package
     (name "emacs-ripgrep")
-- 
2.39.1



-- 
Best regards,
conses




Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Tue, 21 Mar 2023 07:52:01 GMT) Full text and rfc822 format available.

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

From: conses <contact <at> conses.eu>
To: Sergey Trofimov <sarg <at> sarg.org.ru>
Cc: contact <at> conses.eu, 62199 <at> debbugs.gnu.org
Subject: Re: [bug#62199] [PATCH] gnu: Add emacs-fdroid.
Date: Tue, 21 Mar 2023 08:50:54 +0100
Sergey Trofimov <sarg <at> sarg.org.ru> writes:

> Hi conses,

Hi Sergey,

>> +              (method git-fetch)
>> +              (uri (git-reference
>> +                    (url "https://git.sr.ht/~conses/fdroid.el";)
>> +                    (commit version)))
>
> you have extra `;` in url. The same typo in `(home-page ...)`.
> Also, as the package depends on fdroidcl being present, maybe it
> should be added to `propagated-inputs`?
>

I personally can't see that typo on my end.  I also double-checked in
mumi <https://issues.guix.gnu.org/62199> and everything seems to be
alright syntax-wise.  Nevertheless, I've added fdroidcl as an input.

Thank you for having a look!

-- 
Best regards,
conses




Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Tue, 21 Mar 2023 08:25:01 GMT) Full text and rfc822 format available.

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

From: Sergey Trofimov <sarg <at> sarg.org.ru>
To: conses <contact <at> conses.eu>
Cc: 62199 <at> debbugs.gnu.org
Subject: Re: [bug#62199] [PATCH] gnu: Add emacs-fdroid.
Date: Tue, 21 Mar 2023 09:21:30 +0100
Hi conses,

conses <contact <at> conses.eu> writes:
> [...]
>
> I personally can't see that typo on my end.  I also 
> double-checked in
> mumi <https://issues.guix.gnu.org/62199> and everything seems to 
> be
> alright syntax-wise.

Yeah, some glitch happened on my end. I don't see it anymore in 
`debbugs` interface.

> Nevertheless, I've added fdroidcl as an input.

Shouldn't it be a `propagated-input`? It's not a build dependency, 
but rather a runtime one.




Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Tue, 21 Mar 2023 08:57:01 GMT) Full text and rfc822 format available.

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

From: Sergey Trofimov <sarg <at> sarg.org.ru>
To: conses <contact <at> conses.eu>
Cc: 62199 <at> debbugs.gnu.org
Subject: Re: [bug#62199] [PATCH] gnu: Add emacs-fdroid.
Date: Tue, 21 Mar 2023 09:55:07 +0100
Hi again,

>> I personally can't see that typo on my end.  I also 
>> double-checked in
>> mumi <https://issues.guix.gnu.org/62199> and everything seems 
>> to be
>> alright syntax-wise.
>
> Yeah, some glitch happened on my end. I don't see it anymore in 
> `debbugs`
> interface.

Actually, this `;` is visible here: 
https://lists.gnu.org/archive/html/guix-patches/2023-03/msg01008.html
Clearly a bug in this interface.




Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Tue, 21 Mar 2023 09:03:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Sergey Trofimov <sarg <at> sarg.org.ru>
Cc: conses <contact <at> conses.eu>, 62199 <at> debbugs.gnu.org
Subject: Re: [bug#62199] [PATCH] gnu: Add emacs-fdroid.
Date: Tue, 21 Mar 2023 10:02:14 +0100
Hello,

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


> conses <contact <at> conses.eu> writes:

>> Nevertheless, I've added fdroidcl as an input.
>
> Shouldn't it be a `propagated-input`? It's not a build dependency, but
> rather a runtime one.

No, `inputs' is fine, but a phase should point `fdroid-program' variable
to the correct executable, thus avoiding propagation.

Regards,
-- 
Nicolas Goaziou




Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Tue, 21 Mar 2023 09:26:02 GMT) Full text and rfc822 format available.

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

From: conses <contact <at> conses.eu>
To: 62199 <at> debbugs.gnu.org
Cc: contact <at> conses.eu, Sergey Trofimov <sarg <at> sarg.org.ru>,
 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Subject: [PATCH v3] gnu: Add emacs-fdroid.
Date: Tue, 21 Mar 2023 10:24:54 +0100
* gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
---
 gnu/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b1f72ee009..1cc8074fca 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -157,6 +157,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages android)
   #:use-module (gnu packages aspell)
   #:use-module (gnu packages audio)
   #:use-module (gnu packages bash)
@@ -6137,6 +6138,37 @@ (define-public emacs-fd
 result.")
     (license license:gpl3+)))
 
+(define-public emacs-fdroid
+  (package
+    (name "emacs-fdroid")
+    (version "0.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~conses/fdroid.el")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1pmf9j9qcn71hjqdxqgdqf970irp75588nwnn234mapwqvx5v744"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'patch-file-name
+                     (lambda _
+                       (emacs-substitute-variables "fdroid.el"
+                         ("fdroid-program"
+                          (string-append #$(this-package-input "fdroidcl")
+                                         "/bin/fdroidcl"))))))))
+    (inputs (list fdroidcl))
+    (home-page "https://git.sr.ht/~conses/fdroid.el")
+    (synopsis "Manage F-Droid packages from Emacs")
+    (description "This package is an Emacs interface to F-Droid.  Its purpose
+is to aid in the management of F-Droid packages for an Android device or an
+emulator inside the comfort of Emacs.")
+    (license license:gpl3+)))
+
 (define-public emacs-ripgrep
   (package
     (name "emacs-ripgrep")
-- 
2.39.1



-- 
Best regards,
conses




Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Tue, 21 Mar 2023 09:31:01 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: conses <contact <at> conses.eu>
Cc: 62199 <at> debbugs.gnu.org, Sergey Trofimov <sarg <at> sarg.org.ru>
Subject: Re: [bug#62199] [PATCH v3] gnu: Add emacs-fdroid.
Date: Tue, 21 Mar 2023 10:30:47 +0100
conses <contact <at> conses.eu> writes:

> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.

> +      #:phases #~(modify-phases %standard-phases
> +                   (add-after 'unpack 'patch-file-name
> +                     (lambda _
> +                       (emacs-substitute-variables "fdroid.el"
> +                         ("fdroid-program"
> +                          (string-append #$(this-package-input "fdroidcl")
> +                                         "/bin/fdroidcl"))))))))

Thanks.

I suggest to use `search-input-file' instead of of `this-package-input'
as it can find errors in the executable name at build time (e.g., if it
ever changes). It is also shorter.

Could you provide another update?

Otherwise, LGTM.

Regards,




Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Tue, 21 Mar 2023 10:42:02 GMT) Full text and rfc822 format available.

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

From: conses <contact <at> conses.eu>
To: 62199 <at> debbugs.gnu.org
Cc: contact <at> conses.eu, Sergey Trofimov <sarg <at> sarg.org.ru>,
 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Subject: [PATCH v4] gnu: Add emacs-fdroid.
Date: Tue, 21 Mar 2023 11:41:13 +0100
* gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
---
 gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b1f72ee009..7b625a67b3 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -157,6 +157,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages android)
   #:use-module (gnu packages aspell)
   #:use-module (gnu packages audio)
   #:use-module (gnu packages bash)
@@ -6137,6 +6138,36 @@ (define-public emacs-fd
 result.")
     (license license:gpl3+)))
 
+(define-public emacs-fdroid
+  (package
+    (name "emacs-fdroid")
+    (version "0.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~conses/fdroid.el")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1pmf9j9qcn71hjqdxqgdqf970irp75588nwnn234mapwqvx5v744"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'patch-file-name
+                     (lambda* (#:key inputs #:allow-other-keys)
+                       (emacs-substitute-variables "fdroid.el"
+                         ("fdroid-program"
+                          (search-input-file inputs "/bin/fdroidcl"))))))))
+    (inputs (list fdroidcl))
+    (home-page "https://git.sr.ht/~conses/fdroid.el")
+    (synopsis "Manage F-Droid packages from Emacs")
+    (description "This package is an Emacs interface to F-Droid.  Its purpose
+is to aid in the management of F-Droid packages for an Android device or an
+emulator inside the comfort of Emacs.")
+    (license license:gpl3+)))
+
 (define-public emacs-ripgrep
   (package
     (name "emacs-ripgrep")
-- 
2.39.1



-- 
Best regards,
conses




Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Fri, 24 Mar 2023 09:21:01 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: conses <contact <at> conses.eu>
Cc: 62199 <at> debbugs.gnu.org, Sergey Trofimov <sarg <at> sarg.org.ru>
Subject: Re: [bug#62199] [PATCH v4] gnu: Add emacs-fdroid.
Date: Fri, 24 Mar 2023 10:19:52 +0100
Hello,

conses <contact <at> conses.eu> writes:

> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.

[...]

> +  #:use-module (gnu packages android)

I cannot build this package. In particular, the line above seems to
generate a backtrace. It may not be related to your patch, though.

Can you reproduce this?

Regards,
-- 
Nicolas Goaziou




Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Thu, 08 Jun 2023 19:11:01 GMT) Full text and rfc822 format available.

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

From: Miguel Ángel Moreno <me <at> mianmoreno.com>
To: 62199 <at> debbugs.gnu.org
Cc: me <at> mianmoreno.com
Subject: [PATCH v5] gnu: Add emacs-fdroid.
Date: Thu, 08 Jun 2023 21:10:21 +0200
* gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
---
 gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index cad9819a5e..4dff0f85d9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages android)
   #:use-module (gnu packages aspell)
   #:use-module (gnu packages audio)
   #:use-module (gnu packages bash)
@@ -6288,6 +6289,36 @@ (define-public emacs-fd
 result.")
     (license license:gpl3+)))
 
+(define-public emacs-fdroid
+  (package
+    (name "emacs-fdroid")
+    (version "0.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.mianmoreno.com/fdroid.el")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1pmf9j9qcn71hjqdxqgdqf970irp75588nwnn234mapwqvx5v744"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'patch-file-name
+                     (lambda* (#:key inputs #:allow-other-keys)
+                       (emacs-substitute-variables "fdroid.el"
+                         ("fdroid-program"
+                          (search-input-file inputs "/bin/fdroidcl"))))))))
+    (inputs (list fdroidcl))
+    (home-page "https://git.mianmoreno.com/fdroid.el")
+    (synopsis "Manage F-Droid packages from Emacs")
+    (description "This package is an Emacs interface to F-Droid.  Its purpose
+is to aid in the management of F-Droid packages for an Android device or an
+emulator inside the comfort of Emacs.")
+    (license license:gpl3+)))
+
 (define-public emacs-ripgrep
   (package
     (name "emacs-ripgrep")
-- 
2.40.1

-- 
Best regards,
Miguel Ángel Moreno




Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Thu, 08 Jun 2023 19:13:01 GMT) Full text and rfc822 format available.

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

From: Miguel Ángel Moreno <contact <at> conses.eu>
To: 62199 <at> debbugs.gnu.org
Subject: Re: [bug#62199] [PATCH v4] gnu: Add emacs-fdroid.
Date: Thu, 08 Jun 2023 21:12:16 +0200
On 2023-03-24 10:19, Nicolas Goaziou wrote:

> Hello,
>
> conses <contact <at> conses.eu> writes:
>
>> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
>
> [...]
>
>> +  #:use-module (gnu packages android)
>
> I cannot build this package. In particular, the line above seems to
> generate a backtrace. It may not be related to your patch, though.
>
> Can you reproduce this?
>

I used to have this problem not so long ago too, but it seems to have
been fixed, as the package builds successfully now.

-- 
Best regards,
Miguel Ángel Moreno




Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Sat, 10 Jun 2023 19:44:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Miguel Ángel Moreno <me <at> mianmoreno.com>
Cc: 62199 <at> debbugs.gnu.org
Subject: Re: [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
Date: Sat, 10 Jun 2023 21:43:35 +0200
Hello,

Miguel Ángel Moreno <me <at> mianmoreno.com> writes:

> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
> ---
>  gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
>  1 file changed, 31 insertions(+)
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index cad9819a5e..4dff0f85d9 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz)
>    #:use-module (guix build-system trivial)
>    #:use-module (gnu packages)
>    #:use-module (gnu packages admin)
> +  #:use-module (gnu packages android)

I still get an error with this line. Maybe someone else can test it too.

Regards,
-- 
Nicolas Goaziou




Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Tue, 13 Jun 2023 10:52:01 GMT) Full text and rfc822 format available.

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

From: Andrew Tropin <andrew <at> trop.in>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>, Miguel Ángel
 Moreno <me <at> mianmoreno.com>
Cc: 62199 <at> debbugs.gnu.org
Subject: Re: [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
Date: Tue, 13 Jun 2023 14:50:34 +0400
[Message part 1 (text/plain, inline)]
On 2023-06-10 21:43, Nicolas Goaziou wrote:

> Hello,
>
> Miguel Ángel Moreno <me <at> mianmoreno.com> writes:
>
>> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
>> ---
>>  gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
>>  1 file changed, 31 insertions(+)
>>
>> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
>> index cad9819a5e..4dff0f85d9 100644
>> --- a/gnu/packages/emacs-xyz.scm
>> +++ b/gnu/packages/emacs-xyz.scm
>> @@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz)
>>    #:use-module (guix build-system trivial)
>>    #:use-module (gnu packages)
>>    #:use-module (gnu packages admin)
>> +  #:use-module (gnu packages android)
>
> I still get an error with this line. Maybe someone else can test it too.

Can confirm, get this error too.

-- 
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Wed, 21 Jun 2023 10:00:02 GMT) Full text and rfc822 format available.

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

From: Miguel Ángel Moreno <me <at> mianmoreno.com>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 62199 <at> debbugs.gnu.org, Ludovic Courtès <ludo <at> gnu.org>,
 Andrew Tropin <andrew <at> trop.in>
Subject: Re: [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
Date: Wed, 21 Jun 2023 11:59:39 +0200
On 2023-06-10 21:43, Nicolas Goaziou wrote:

> Hello,
>
> Miguel Ángel Moreno <me <at> mianmoreno.com> writes:
>
>> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
>> ---
>>  gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
>>  1 file changed, 31 insertions(+)
>>
>> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
>> index cad9819a5e..4dff0f85d9 100644
>> --- a/gnu/packages/emacs-xyz.scm
>> +++ b/gnu/packages/emacs-xyz.scm
>> @@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz)
>>    #:use-module (guix build-system trivial)
>>    #:use-module (gnu packages)
>>    #:use-module (gnu packages admin)
>> +  #:use-module (gnu packages android)
>
> I still get an error with this line. Maybe someone else can test it too.
>
> Regards,

Hi Nicolas,

I'm Cc'ing Ludovic, who might be able to test this.  At any rate, do you
think we can proceed without the fdroidcl input in case the package
build keeps failing?

-- 
Best regards,
Miguel Ángel Moreno




Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Mon, 21 Aug 2023 07:16:04 GMT) Full text and rfc822 format available.

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

From: Miguel Ángel Moreno <mail <at> migalmoreno.com>
To: 62199 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>,
 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>, Andrew Tropin <andrew <at> trop.in>
Subject: Re: [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
Date: Sun, 20 Aug 2023 19:40:03 +0200
On 2023-06-21 11:59, Miguel Ángel Moreno wrote:

> On 2023-06-10 21:43, Nicolas Goaziou wrote:
>
>> Hello,
>>
>> Miguel Ángel Moreno <me <at> mianmoreno.com> writes:
>>
>>> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
>>> ---
>>>  gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
>>>  1 file changed, 31 insertions(+)
>>>
>>> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
>>> index cad9819a5e..4dff0f85d9 100644
>>> --- a/gnu/packages/emacs-xyz.scm
>>> +++ b/gnu/packages/emacs-xyz.scm
>>> @@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz)
>>>    #:use-module (guix build-system trivial)
>>>    #:use-module (gnu packages)
>>>    #:use-module (gnu packages admin)
>>> +  #:use-module (gnu packages android)
>>
>> I still get an error with this line. Maybe someone else can test it too.
>>
>> Regards,
>
> Hi Nicolas,
>
> I'm Cc'ing Ludovic, who might be able to test this.  At any rate, do you
> think we can proceed without the fdroidcl input in case the package
> build keeps failing?

Hi,

Friendly ping on this issue.  The package still builds successfully for
me at the latest Guix checkout.  Could you test it again, please?

-- 
Best regards,
Miguel Ángel Moreno




Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Thu, 24 Aug 2023 13:59:02 GMT) Full text and rfc822 format available.

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

From: Andrew Tropin <andrew <at> trop.in>
To: Miguel Ángel Moreno <mail <at> migalmoreno.com>,
 62199 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>,
 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Subject: Re: [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
Date: Thu, 24 Aug 2023 17:58:42 +0400
[Message part 1 (text/plain, inline)]
On 2023-08-20 19:40, Miguel Ángel Moreno wrote:

> On 2023-06-21 11:59, Miguel Ángel Moreno wrote:
>
>> On 2023-06-10 21:43, Nicolas Goaziou wrote:
>>
>>> Hello,
>>>
>>> Miguel Ángel Moreno <me <at> mianmoreno.com> writes:
>>>
>>>> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
>>>> ---
>>>>  gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
>>>>  1 file changed, 31 insertions(+)
>>>>
>>>> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
>>>> index cad9819a5e..4dff0f85d9 100644
>>>> --- a/gnu/packages/emacs-xyz.scm
>>>> +++ b/gnu/packages/emacs-xyz.scm
>>>> @@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz)
>>>>    #:use-module (guix build-system trivial)
>>>>    #:use-module (gnu packages)
>>>>    #:use-module (gnu packages admin)
>>>> +  #:use-module (gnu packages android)
>>>
>>> I still get an error with this line. Maybe someone else can test it too.
>>>
>>> Regards,
>>
>> Hi Nicolas,
>>
>> I'm Cc'ing Ludovic, who might be able to test this.  At any rate, do you
>> think we can proceed without the fdroidcl input in case the package
>> build keeps failing?
>
> Hi,
>
> Friendly ping on this issue.  The package still builds successfully for
> me at the latest Guix checkout.  Could you test it again, please?

Still fails with:

--8<---------------cut here---------------start------------->8---
./pre-inst-env guix build emacs-fdroid
;;; note: source file /home/bob/work/gnu/guix/guix/download.scm
;;;       newer than compiled /home/bob/work/gnu/guix/guix/download.go
;;; note: source file /home/bob/work/gnu/guix/guix/download.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/guix/download.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/linux.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/linux.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/linux.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/linux.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/tex.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/tex.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/tex.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/tex.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/qt.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/qt.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/qt.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/qt.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/qt.scm
;;;       newer than compiled /home/bob/.cache/guile/ccache/3.0-LE-8-4.6/home/bob/work/gnu/guix/gnu/packages/qt.scm.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/geo.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/geo.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/geo.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/geo.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/video.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/video.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/video.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/video.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/video.scm
;;;       newer than compiled /home/bob/.cache/guile/ccache/3.0-LE-8-4.6/home/bob/work/gnu/guix/gnu/packages/video.scm.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/disk.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/disk.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/disk.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/disk.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/emacs-xyz.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/emacs-xyz.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/emacs-xyz.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/emacs-xyz.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/emacs-xyz.scm
;;;       newer than compiled /home/bob/.cache/guile/ccache/3.0-LE-8-4.6/home/bob/work/gnu/guix/gnu/packages/emacs-xyz.scm.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/python-crypto.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/python-crypto.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/python-crypto.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/python-crypto.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/games.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/games.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/games.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/games.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/image-viewers.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/image-viewers.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/image-viewers.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/image-viewers.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/ibus.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/ibus.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/ibus.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/ibus.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/package-management.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/package-management.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/package-management.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/package-management.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/terminals.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/terminals.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/terminals.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/terminals.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/scheme.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/scheme.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/scheme.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/scheme.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/lisp-xyz.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/lisp-xyz.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/lisp-xyz.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/lisp-xyz.go
error: googletest: unbound variable
hint: Did you forget a `use-modules' form?

error: bzip2: unbound variable
hint: Did you forget a `use-modules' form?

error: cross-gcc: unbound variable
hint: Did you forget `(use-modules (gnu packages cross-base))'?

error: dfu-util: unbound variable
hint: Did you forget a `use-modules' form?

error: gnutls: unbound variable
hint: Did you forget a `use-modules' form?

error: tcc: unbound variable
hint: Did you forget a `use-modules' form?

error: opus: unbound variable
hint: Did you forget a `use-modules' form?

error: gnu-make: unbound variable
hint: Did you forget a `use-modules' form?

;;; note: source file /home/bob/work/gnu/guix/gnu/packages/fcitx5.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/fcitx5.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/fcitx5.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/fcitx5.go
error: cross-binutils: unbound variable
hint: Did you forget `(use-modules (gnu packages cross-base))'?

;;; note: source file /home/bob/work/gnu/guix/gnu/packages/irc.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/irc.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/irc.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/irc.go
error: ffmpeg: unbound variable
hint: Did you forget a `use-modules' form?

Throw to key `unbound-variable' with args `("resolve-interface" "no binding `~A' in module ~A" (shared-mime-info (gnu packages gnome)) #f)'.
Backtrace:
In guix/store.scm:
   659:37 19 (thunk)
   1298:8 18 (call-with-build-handler #<procedure 7feeff0fb8d0 at g…> …)
In guix/scripts/build.scm:
    584:2 17 (_)
In srfi/srfi-1.scm:
   673:15 16 (append-map _ _ . _)
   586:17 15 (map1 ((argument . "emacs-fdroid") (build-mode . 0) # …))
In guix/scripts/build.scm:
   604:31 14 (_ _)
In gnu/packages.scm:
    485:2 13 (%find-package "emacs-fdroid" "emacs-fdroid" #f)
    365:6 12 (find-best-packages-by-name _ _)
   295:56 11 (_ "emacs-fdroid" _)
In unknown file:
          10 (force #<promise #<procedure 7fef05e4e2e0 at gnu/packag…>)
In gnu/packages.scm:
   242:33  9 (fold-packages #<procedure 7feefe5845f0 at gnu/package…> …)
In guix/discovery.scm:
   158:11  8 (all-modules _ #:warn _)
In srfi/srfi-1.scm:
   460:18  7 (fold #<procedure 7feeff0b7c60 at guix/discovery.scm:1…> …)
In guix/discovery.scm:
   148:19  6 (_ _ ())
    115:5  5 (scheme-modules _ _ #:warn _)
In srfi/srfi-1.scm:
   691:23  4 (filter-map #<procedure 7feeff0b7b00 at guix/discove…> . #)
In guix/discovery.scm:
   123:24  3 (_ . _)
In guix/ui.scm:
    357:2  2 (report-unbound-variable-error _ #:frame _)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Throw to key `match-error' with args `("match" "no matching pattern" (unbound-variable "resolve-interface" "no binding `~A' in module ~A" (shared-mime-info (gnu packages gnome)) #f))'.

Compilation exited abnormally with code 1 at Thu Aug 24 17:55:13
--8<---------------cut here---------------end--------------->8---

-- 
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Sat, 26 Aug 2023 16:46:02 GMT) Full text and rfc822 format available.

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

From: Miguel Ángel Moreno <mail <at> migalmoreno.com>
To: 62199 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>,
 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>, Andrew Tropin <andrew <at> trop.in>
Subject: Re: [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
Date: Sat, 26 Aug 2023 18:10:40 +0200
On 2023-08-24 17:58, Andrew Tropin wrote:

> On 2023-08-20 19:40, Miguel Ángel Moreno wrote:
>
>> On 2023-06-21 11:59, Miguel Ángel Moreno wrote:
>>
>>> On 2023-06-10 21:43, Nicolas Goaziou wrote:
>>>
>>>> Hello,
>>>>
>>>> Miguel Ángel Moreno <me <at> mianmoreno.com> writes:
>>>>
>>>>> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
>>>>> ---
>>>>>  gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
>>>>>  1 file changed, 31 insertions(+)
>>>>>
>>>>> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
>>>>> index cad9819a5e..4dff0f85d9 100644
>>>>> --- a/gnu/packages/emacs-xyz.scm
>>>>> +++ b/gnu/packages/emacs-xyz.scm
>>>>> @@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz)
>>>>>    #:use-module (guix build-system trivial)
>>>>>    #:use-module (gnu packages)
>>>>>    #:use-module (gnu packages admin)
>>>>> +  #:use-module (gnu packages android)
>>>>
>>>> I still get an error with this line. Maybe someone else can test it too.
>>>>
>>>> Regards,
>>>
>>> Hi Nicolas,
>>>
>>> I'm Cc'ing Ludovic, who might be able to test this.  At any rate, do you
>>> think we can proceed without the fdroidcl input in case the package
>>> build keeps failing?
>>
>> Hi,
>>
>> Friendly ping on this issue.  The package still builds successfully for
>> me at the latest Guix checkout.  Could you test it again, please?
>
> Still fails with:
>

Thanks for the heads up.  It seems like the googletest package is the
culprit of this issue.  As I alluded to earlier, can we proceed without
the fdroidcl input in that case?  Given as it's been almost 6 months
since this issue was raised.

> ./pre-inst-env guix build emacs-fdroid
> ;;; note: source file /home/bob/work/gnu/guix/guix/download.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/guix/download.go
> ;;; note: source file /home/bob/work/gnu/guix/guix/download.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/guix/download.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/linux.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/linux.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/linux.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/linux.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/tex.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/tex.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/tex.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/tex.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/qt.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/qt.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/qt.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/qt.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/qt.scm
> ;;;       newer than compiled /home/bob/.cache/guile/ccache/3.0-LE-8-4.6/home/bob/work/gnu/guix/gnu/packages/qt.scm.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/geo.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/geo.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/geo.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/geo.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/video.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/video.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/video.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/video.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/video.scm
> ;;;       newer than compiled /home/bob/.cache/guile/ccache/3.0-LE-8-4.6/home/bob/work/gnu/guix/gnu/packages/video.scm.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/disk.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/disk.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/disk.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/disk.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/emacs-xyz.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/emacs-xyz.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/emacs-xyz.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/emacs-xyz.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/emacs-xyz.scm
> ;;;       newer than compiled /home/bob/.cache/guile/ccache/3.0-LE-8-4.6/home/bob/work/gnu/guix/gnu/packages/emacs-xyz.scm.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/python-crypto.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/python-crypto.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/python-crypto.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/python-crypto.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/games.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/games.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/games.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/games.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/image-viewers.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/image-viewers.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/image-viewers.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/image-viewers.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/ibus.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/ibus.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/ibus.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/ibus.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/package-management.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/package-management.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/package-management.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/package-management.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/terminals.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/terminals.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/terminals.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/terminals.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/scheme.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/scheme.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/scheme.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/scheme.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/lisp-xyz.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/lisp-xyz.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/lisp-xyz.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/lisp-xyz.go
> error: googletest: unbound variable
> hint: Did you forget a `use-modules' form?
>
> error: bzip2: unbound variable
> hint: Did you forget a `use-modules' form?
>
> error: cross-gcc: unbound variable
> hint: Did you forget `(use-modules (gnu packages cross-base))'?
>
> error: dfu-util: unbound variable
> hint: Did you forget a `use-modules' form?
>
> error: gnutls: unbound variable
> hint: Did you forget a `use-modules' form?
>
> error: tcc: unbound variable
> hint: Did you forget a `use-modules' form?
>
> error: opus: unbound variable
> hint: Did you forget a `use-modules' form?
>
> error: gnu-make: unbound variable
> hint: Did you forget a `use-modules' form?
>
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/fcitx5.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/fcitx5.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/fcitx5.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/fcitx5.go
> error: cross-binutils: unbound variable
> hint: Did you forget `(use-modules (gnu packages cross-base))'?
>
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/irc.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/irc.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/irc.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/irc.go
> error: ffmpeg: unbound variable
> hint: Did you forget a `use-modules' form?
>
> Throw to key `unbound-variable' with args `("resolve-interface" "no binding `~A' in module ~A" (shared-mime-info (gnu packages gnome)) #f)'.
> Backtrace:
> In guix/store.scm:
>    659:37 19 (thunk)
>    1298:8 18 (call-with-build-handler #<procedure 7feeff0fb8d0 at g…> …)
> In guix/scripts/build.scm:
>     584:2 17 (_)
> In srfi/srfi-1.scm:
>    673:15 16 (append-map _ _ . _)
>    586:17 15 (map1 ((argument . "emacs-fdroid") (build-mode . 0) # …))
> In guix/scripts/build.scm:
>    604:31 14 (_ _)
> In gnu/packages.scm:
>     485:2 13 (%find-package "emacs-fdroid" "emacs-fdroid" #f)
>     365:6 12 (find-best-packages-by-name _ _)
>    295:56 11 (_ "emacs-fdroid" _)
> In unknown file:
>           10 (force #<promise #<procedure 7fef05e4e2e0 at gnu/packag…>)
> In gnu/packages.scm:
>    242:33  9 (fold-packages #<procedure 7feefe5845f0 at gnu/package…> …)
> In guix/discovery.scm:
>    158:11  8 (all-modules _ #:warn _)
> In srfi/srfi-1.scm:
>    460:18  7 (fold #<procedure 7feeff0b7c60 at guix/discovery.scm:1…> …)
> In guix/discovery.scm:
>    148:19  6 (_ _ ())
>     115:5  5 (scheme-modules _ _ #:warn _)
> In srfi/srfi-1.scm:
>    691:23  4 (filter-map #<procedure 7feeff0b7b00 at guix/discove…> . #)
> In guix/discovery.scm:
>    123:24  3 (_ . _)
> In guix/ui.scm:
>     357:2  2 (report-unbound-variable-error _ #:frame _)
> In ice-9/boot-9.scm:
>   1685:16  1 (raise-exception _ #:continuable? _)
>   1685:16  0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> Throw to key `match-error' with args `("match" "no matching pattern" (unbound-variable "resolve-interface" "no binding `~A' in module ~A" (shared-mime-info (gnu packages gnome)) #f))'.
>
> Compilation exited abnormally with code 1 at Thu Aug 24 17:55:13
<#secure method=pgpmime mode=sign>

-- 
Best regards,
Miguel Ángel Moreno




Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Mon, 28 Aug 2023 03:46:02 GMT) Full text and rfc822 format available.

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

From: Andrew Tropin <andrew <at> trop.in>
To: Miguel Ángel Moreno <mail <at> migalmoreno.com>,
 62199 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>,
 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Subject: Re: [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
Date: Mon, 28 Aug 2023 07:44:55 +0400
[Message part 1 (text/plain, inline)]
On 2023-08-26 18:10, Miguel Ángel Moreno wrote:

> On 2023-08-24 17:58, Andrew Tropin wrote:
>
>> On 2023-08-20 19:40, Miguel Ángel Moreno wrote:
>>
>>> On 2023-06-21 11:59, Miguel Ángel Moreno wrote:
>>>
>>>> On 2023-06-10 21:43, Nicolas Goaziou wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> Miguel Ángel Moreno <me <at> mianmoreno.com> writes:
>>>>>
>>>>>> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
>>>>>> ---
>>>>>>  gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
>>>>>>  1 file changed, 31 insertions(+)
>>>>>>
>>>>>> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
>>>>>> index cad9819a5e..4dff0f85d9 100644
>>>>>> --- a/gnu/packages/emacs-xyz.scm
>>>>>> +++ b/gnu/packages/emacs-xyz.scm
>>>>>> @@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz)
>>>>>>    #:use-module (guix build-system trivial)
>>>>>>    #:use-module (gnu packages)
>>>>>>    #:use-module (gnu packages admin)
>>>>>> +  #:use-module (gnu packages android)
>>>>>
>>>>> I still get an error with this line. Maybe someone else can test it too.
>>>>>
>>>>> Regards,
>>>>
>>>> Hi Nicolas,
>>>>
>>>> I'm Cc'ing Ludovic, who might be able to test this.  At any rate, do you
>>>> think we can proceed without the fdroidcl input in case the package
>>>> build keeps failing?
>>>
>>> Hi,
>>>
>>> Friendly ping on this issue.  The package still builds successfully for
>>> me at the latest Guix checkout.  Could you test it again, please?
>>
>> Still fails with:
>>
>
> Thanks for the heads up.  It seems like the googletest package is the
> culprit of this issue.  As I alluded to earlier, can we proceed without
> the fdroidcl input in that case?  Given as it's been almost 6 months
> since this issue was raised.

Seems as a reasonable option for me.

-- 
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Mon, 28 Aug 2023 03:47:02 GMT) Full text and rfc822 format available.

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

From: Andrew Tropin <andrew <at> trop.in>
To: Miguel Ángel Moreno <mail <at> migalmoreno.com>,
 62199 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Subject: Re: [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
Date: Mon, 28 Aug 2023 07:46:23 +0400
[Message part 1 (text/plain, inline)]
On 2023-08-28 07:44, Andrew Tropin wrote:

> On 2023-08-26 18:10, Miguel Ángel Moreno wrote:
>
>> On 2023-08-24 17:58, Andrew Tropin wrote:
>>
>>> On 2023-08-20 19:40, Miguel Ángel Moreno wrote:
>>>
>>>> On 2023-06-21 11:59, Miguel Ángel Moreno wrote:
>>>>
>>>>> On 2023-06-10 21:43, Nicolas Goaziou wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> Miguel Ángel Moreno <me <at> mianmoreno.com> writes:
>>>>>>
>>>>>>> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
>>>>>>> ---
>>>>>>>  gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
>>>>>>>  1 file changed, 31 insertions(+)
>>>>>>>
>>>>>>> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
>>>>>>> index cad9819a5e..4dff0f85d9 100644
>>>>>>> --- a/gnu/packages/emacs-xyz.scm
>>>>>>> +++ b/gnu/packages/emacs-xyz.scm
>>>>>>> @@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz)
>>>>>>>    #:use-module (guix build-system trivial)
>>>>>>>    #:use-module (gnu packages)
>>>>>>>    #:use-module (gnu packages admin)
>>>>>>> +  #:use-module (gnu packages android)
>>>>>>
>>>>>> I still get an error with this line. Maybe someone else can test it too.
>>>>>>
>>>>>> Regards,
>>>>>
>>>>> Hi Nicolas,
>>>>>
>>>>> I'm Cc'ing Ludovic, who might be able to test this.  At any rate, do you
>>>>> think we can proceed without the fdroidcl input in case the package
>>>>> build keeps failing?
>>>>
>>>> Hi,
>>>>
>>>> Friendly ping on this issue.  The package still builds successfully for
>>>> me at the latest Guix checkout.  Could you test it again, please?
>>>
>>> Still fails with:
>>>
>>
>> Thanks for the heads up.  It seems like the googletest package is the
>> culprit of this issue.  As I alluded to earlier, can we proceed without
>> the fdroidcl input in that case?  Given as it's been almost 6 months
>> since this issue was raised.
>
> Seems as a reasonable option for me.

Added Liliana to Cc.

-- 
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Mon, 28 Aug 2023 19:43:01 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Andrew Tropin <andrew <at> trop.in>, Miguel Ángel Moreno
 <mail <at> migalmoreno.com>, 62199 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>,
 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Subject: Re: [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
Date: Mon, 28 Aug 2023 21:42:20 +0200
Am Montag, dem 28.08.2023 um 07:46 +0400 schrieb Andrew Tropin:
> On 2023-08-28 07:44, Andrew Tropin wrote:
> 
> > On 2023-08-26 18:10, Miguel Ángel Moreno wrote:
> > > Thanks for the heads up.  It seems like the googletest package is
> > > the culprit of this issue.  As I alluded to earlier, can we
> > > proceed without the fdroidcl input in that case?  Given as it's
> > > been almost 6 months since this issue was raised.
> > 
> > Seems as a reasonable option for me.
> 
> Added Liliana to Cc.
I mean, if emacs-xyz doesn't work, you could try moving the package to
(gnu packages android).  More importantly, the home-page and origin URL
appear to be dead from my end, so they need updating :(

As for the package itself, I'd prefer if it was working out of the box,
but I'm willing to commit v1 if we're sure that we've exhausted all
other reasonable options.

Cheers




Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Mon, 12 Feb 2024 05:34:04 GMT) Full text and rfc822 format available.

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

From: Miguel Ángel Moreno <mail <at> migalmoreno.com>
To: 62199 <at> debbugs.gnu.org
Cc: mail <at> migalmoreno.com
Subject: [PATCH v6] gnu: Add emacs-fdroid.
Date: Sun, 11 Feb 2024 21:38:21 +0100
* gnu/packages/android.scm (emacs-fdroid): New variable.

Change-Id: I68358b5490406aa6ee24391bee6e69bebc574d96
---
 gnu/packages/android.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index 32c295f9e4..a03df8f24e 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -36,6 +36,7 @@ (define-module (gnu packages android)
   #:use-module (guix git-download)
   #:use-module (guix build-system android-ndk)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system emacs)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
   #:use-module (guix build-system python)
@@ -1224,6 +1225,36 @@ (define-public fdroidcl
     (home-page "https://github.com/mvdan/fdroidcl")
     (license license:bsd-3)))
 
+(define-public emacs-fdroid
+  (package
+    (name "emacs-fdroid")
+    (version "0.1.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/migalmoreno/fdroid.el")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1gv4kfir12bbi17cm5hpx197m8dbw1xwqp0z6qb3vc0fdnyis35j"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'patch-file-name
+                     (lambda* (#:key inputs #:allow-other-keys)
+                       (emacs-substitute-variables "fdroid.el"
+                         ("fdroid-program"
+                          (search-input-file inputs "/bin/fdroidcl"))))))))
+    (inputs (list fdroidcl))
+    (home-page "https://github.com/migalmoreno/fdroid.el")
+    (synopsis "Manage F-Droid packages from Emacs")
+    (description "This package is an Emacs interface to F-Droid.  Its purpose
+is to aid in the management of F-Droid packages for an Android device or an
+emulator inside the comfort of Emacs.")
+    (license license:gpl3+)))
+
 (define-public enjarify
   (package
     (name "enjarify")

base-commit: 6f78803b01d416ab421ba860751b764b9e4f33db
-- 
2.41.0



-- 
Best regards,
Miguel Ángel Moreno

Information forwarded to guix-patches <at> gnu.org:
bug#62199; Package guix-patches. (Mon, 12 Feb 2024 05:34:05 GMT) Full text and rfc822 format available.

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

From: Miguel Ángel Moreno <mail <at> migalmoreno.com>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: mail <at> migalmoreno.com, 62199 <at> debbugs.gnu.org,
 Ludovic Courtès <ludo <at> gnu.org>,
 Andrew Tropin <andrew <at> trop.in>
Subject: Re: [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
Date: Sun, 11 Feb 2024 21:41:45 +0100
On 2023-08-28 21:42, Liliana Marie Prikler wrote:

> Am Montag, dem 28.08.2023 um 07:46 +0400 schrieb Andrew Tropin:
>> On 2023-08-28 07:44, Andrew Tropin wrote:
>> 
>> > On 2023-08-26 18:10, Miguel Ángel Moreno wrote:
>> > > Thanks for the heads up.  It seems like the googletest package is
>> > > the culprit of this issue.  As I alluded to earlier, can we
>> > > proceed without the fdroidcl input in that case?  Given as it's
>> > > been almost 6 months since this issue was raised.
>> > 
>> > Seems as a reasonable option for me.
>> 
>> Added Liliana to Cc.
> I mean, if emacs-xyz doesn't work, you could try moving the package to
> (gnu packages android).  More importantly, the home-page and origin URL
> appear to be dead from my end, so they need updating :(
>
> As for the package itself, I'd prefer if it was working out of the box,
> but I'm willing to commit v1 if we're sure that we've exhausted all
> other reasonable options.
>
> Cheers

Hi,

Since the package still didn't build with v5, I sent a v6 with your
proposed solution, included it in (gnu packages android) and amended the
source and home-page.  It now builds fine for me, even with the froidcl
input.

-- 
Best regards,
Miguel Ángel Moreno

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Sun, 18 Feb 2024 14:58:02 GMT) Full text and rfc822 format available.

Notification sent to conses <contact <at> conses.eu>:
bug acknowledged by developer. (Sun, 18 Feb 2024 14:58:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Miguel Ángel Moreno <mail <at> migalmoreno.com>
Cc: 62199-done <at> debbugs.gnu.org
Subject: Re: [bug#62199] [PATCH v6] gnu: Add emacs-fdroid.
Date: Sun, 18 Feb 2024 15:57:21 +0100
Hi,

Miguel Ángel Moreno <mail <at> migalmoreno.com> skribis:

> * gnu/packages/android.scm (emacs-fdroid): New variable.
>
> Change-Id: I68358b5490406aa6ee24391bee6e69bebc574d96

Applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 18 Mar 2024 11:24:18 GMT) Full text and rfc822 format available.

This bug report was last modified 36 days ago.

Previous Next


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