[PATCH] gnu: Add emacs-fdroid.

  • Done
  • quality assurance status badge
Details
8 participants
  • Andrew Tropin
  • conses
  • Liliana Marie Prikler
  • Ludovic Courtès
  • Miguel Ángel Moreno
  • Nicolas Goaziou
  • Miguel Ángel Moreno
  • Sergey Trofimov
Owner
unassigned
Submitted by
conses
Severity
normal
C
C
conses wrote on 15 Mar 2023 13:14
(address . guix-patches@gnu.org)(address . contact@conses.eu)
86bkkuxld7.fsf@conses.eu
* gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
---
gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (40 lines)
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
S
S
Sergey Trofimov wrote on 20 Mar 2023 23:54
(address . contact@conses.eu)(address . 62199@debbugs.gnu.org)
87zg87xc74.fsf@sarg.org.ru
Hi conses,
Toggle quote (6 lines)
> + (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`?
C
C
conses wrote on 21 Mar 2023 08:47
[PATCH v2] gnu: Add emacs-fdroid.
(name . Sergey Trofimov)(address . sarg@sarg.org.ru)
865yau35rz.fsf@conses.eu
* gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
---
gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (49 lines)
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
C
C
conses wrote on 21 Mar 2023 08:50
Re: [bug#62199] [PATCH] gnu: Add emacs-fdroid.
(name . Sergey Trofimov)(address . sarg@sarg.org.ru)
86y1nq1r1d.fsf@conses.eu
Sergey Trofimov <sarg@sarg.org.ru> writes:

Toggle quote (2 lines)
> Hi conses,

Hi Sergey,

Toggle quote (10 lines)
>> + (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
S
S
Sergey Trofimov wrote on 21 Mar 2023 09:21
(name . conses)(address . contact@conses.eu)(address . 62199@debbugs.gnu.org)
87sfdyy0ih.fsf@sarg.org.ru
Hi conses,

conses <contact@conses.eu> writes:
Toggle quote (8 lines)
> [...]
>
> 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.

Toggle quote (2 lines)
> 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.
S
S
Sergey Trofimov wrote on 21 Mar 2023 09:55
(name . conses)(address . contact@conses.eu)(address . 62199@debbugs.gnu.org)
87o7omxz25.fsf@sarg.org.ru
Hi again,

Toggle quote (10 lines)
>> 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:
Clearly a bug in this interface.
N
N
Nicolas Goaziou wrote on 21 Mar 2023 10:02
(name . Sergey Trofimov)(address . sarg@sarg.org.ru)
87fs9y32ax.fsf@nicolasgoaziou.fr
Hello,

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


Toggle quote (7 lines)
> conses <contact@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
C
C
conses wrote on 21 Mar 2023 10:24
[PATCH v3] gnu: Add emacs-fdroid.
(address . 62199@debbugs.gnu.org)
86ttye1mop.fsf@conses.eu
* gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
---
gnu/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (58 lines)
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
N
N
Nicolas Goaziou wrote on 21 Mar 2023 10:30
(name . conses)(address . contact@conses.eu)
877cva30zc.fsf@nicolasgoaziou.fr
conses <contact@conses.eu> writes:

Toggle quote (10 lines)
> * 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,
C
C
conses wrote on 21 Mar 2023 11:41
[PATCH v4] gnu: Add emacs-fdroid.
(address . 62199@debbugs.gnu.org)
86pm921j5i.fsf@conses.eu
* gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
---
gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (57 lines)
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
N
N
Nicolas Goaziou wrote on 24 Mar 2023 10:19
(name . conses)(address . contact@conses.eu)
87zg82y093.fsf@nicolasgoaziou.fr
Hello,

conses <contact@conses.eu> writes:

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

[...]

Toggle quote (2 lines)
> + #: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
M
M
Miguel Ángel Moreno wrote on 8 Jun 2023 21:10
[PATCH v5] gnu: Add emacs-fdroid.
(address . 62199@debbugs.gnu.org)(address . me@mianmoreno.com)
865y7xbwiq.fsf@mianmoreno.com
* gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
---
gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (55 lines)
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
M
M
Miguel Ángel Moreno wrote on 8 Jun 2023 21:12
Re: [bug#62199] [PATCH v4] gnu: Add emacs-fdroid.
(address . 62199@debbugs.gnu.org)
861qilbwfj.fsf@conses.eu
On 2023-03-24 10:19, Nicolas Goaziou wrote:

Toggle quote (16 lines)
> Hello,
>
> conses <contact@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
N
N
Nicolas Goaziou wrote on 10 Jun 2023 21:43
Re: [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
(name . Miguel Ángel Moreno)(address . me@mianmoreno.com)(address . 62199@debbugs.gnu.org)
87mt17ays8.fsf@nicolasgoaziou.fr
Hello,

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

Toggle quote (15 lines)
> * 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
A
A
Andrew Tropin wrote on 13 Jun 2023 12:50
(address . 62199@debbugs.gnu.org)
87ttvb1vr9.fsf@trop.in
On 2023-06-10 21:43, Nicolas Goaziou wrote:

Toggle quote (21 lines)
> Hello,
>
> Miguel Ángel Moreno <me@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
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmSISfoACgkQIgjSCVjB
3rCq/Q/8CZOxPZX2DJ4L3sizY2HFgl0iK3TT26RKLWqVkYFMV9FYwMPiEf4LAzm2
zebnICYvLguPr+BqKnMSDK/87DJTiUdkG83Yav9gUF3D6P/LO2ib48e12r78+qCH
PCk0i2nbKMFDoUgUtpcpoU5g4FHfMumsjVu525zZ2b9Sg7H3H/8Q5pnXL8x5Cepn
CE8X/wA9Gx47MzIDor/+FgScNY9k0asldIsWlqtekUQZq460XI6zcVD9Yu7bwXAE
a3Q2KNLkS9F2OW+dA3FTNiH0T0d6vgB33//jPO/y/cWhxLl3pBoUk4SAUjigU+MN
nWvRigXbfj9sDfrhStkNwiiuzcZjwgK4sIlIVuQpQpTH8Q9DUwPZGDDkh7V/XZoI
IRjzosqUVkIu2TGiRwSqXyhHM25aeGYLRaHuGKZSmNHC1PfggrnV5I5RoNojK+R+
mDe0vxFdhYALYfMDjKpwFB659EVCLxUmgsLMglXQynLiicRvlgEwo0gV3yYiJUHz
FBdQfUxE691UE/tZNXejjgTUd31gfCeBFF0ktBbzuiPQioLQjZeRI2loFY/UTdeN
Dl3jC/4rfRYLrQ7+sP6Fqt0ZRoMfIRCv6ISBFtgF/h478Sfw5oZxy9LmUeZ55mnB
dP8WeaGk8PzByeQIw9+6KoKPwNOHWBRq/FbOFKI2yyHiUWEjiaE=
=ymeL
-----END PGP SIGNATURE-----

M
M
Miguel Ángel Moreno wrote on 21 Jun 2023 11:59
(name . Nicolas Goaziou)(address . mail@nicolasgoaziou.fr)
86r0q52l10.fsf@mianmoreno.com
On 2023-06-10 21:43, Nicolas Goaziou wrote:

Toggle quote (23 lines)
> Hello,
>
> Miguel Ángel Moreno <me@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
M
M
Miguel Ángel Moreno wrote on 20 Aug 2023 19:40
(address . 62199@debbugs.gnu.org)
86y1i5bojw.fsf@migalmoreno.com
On 2023-06-21 11:59, Miguel Ángel Moreno wrote:

Toggle quote (31 lines)
> On 2023-06-10 21:43, Nicolas Goaziou wrote:
>
>> Hello,
>>
>> Miguel Ángel Moreno <me@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
A
A
Andrew Tropin wrote on 24 Aug 2023 15:58
87r0nssfsd.fsf@trop.in
On 2023-08-20 19:40, Miguel Ángel Moreno wrote:

Toggle quote (38 lines)
> On 2023-06-21 11:59, Miguel Ángel Moreno wrote:
>
>> On 2023-06-10 21:43, Nicolas Goaziou wrote:
>>
>>> Hello,
>>>
>>> Miguel Ángel Moreno <me@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:

Toggle snippet (152 lines)
./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

--
Best regards,
Andrew Tropin
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmTnYhIACgkQIgjSCVjB
3rCSAhAAh0T6jTo9PqDJJ7vyvNtpvaiOtK16D5xikCK6JKQIBLqQE2ow/ViLjHne
QX3RyYUjNSay0aMohWgzpvpcDBtOXc+OyDVnt1XyjgHwegB67OlH1iDp1NKZI/sP
CIge6ZxKdhqn0S5DeqvoUT6HnmVBscnL9iG07TOvY6TpBHs9qNoBiY6QzAelbEFq
PI1I7ED+iK7wUSRkDQQmydJpU5aCfQ6WmqwTQFuV9vbmP97PAoxCrkDK/05rgVux
sH3bh1q9RyGaln0U01nXQtT66n5ZiCSgcyMxIRqZVJ3k2Fg/Jws13UXcGsAdCc18
nIyeNgVggrCbLV2DZWeq9T54mTlYAueQGIzGmJLzGeMd7XLq+YvQPOrQj9wTKelH
uwuKvpeECZrjwJh4eBWEbz6ECNfutKI9MmZ+JtvW5ADiKhrzZ7WushjOyTR7ZSs5
V+rReoxuStk8SiNnZpY+UW7kRBaISXVOR3f01aUcA7X6qT8b35KLukpx+2qyjSOQ
+utUy9aVVBMVKRqrHRIpNPANDRux595UY/S9rhUrguPzbu4glNwTNB3K39vCOR9i
5szyc+DFjAhYrMdo+DiHICU5nmjovVI2PyptyRjI6kv1q4U+TfjVUkMrc6VUQQAt
PiZgaEpCrmVNAvm8HK1V3H4R9vmFFhDjgMDgBO3519+jDJHrUWM=
=9Ypq
-----END PGP SIGNATURE-----

M
M
Miguel Ángel Moreno wrote on 26 Aug 2023 18:10
(address . 62199@debbugs.gnu.org)
86ttsl943j.fsf@migalmoreno.com
On 2023-08-24 17:58, Andrew Tropin wrote:

Toggle quote (43 lines)
> 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@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.

Toggle quote (150 lines)
> ./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
A
A
Andrew Tropin wrote on 28 Aug 2023 05:44
87fs43rft4.fsf@trop.in
On 2023-08-26 18:10, Miguel Ángel Moreno wrote:

Toggle quote (50 lines)
> 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@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
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmTsGDcACgkQIgjSCVjB
3rBO7Q/6AxEIOPOT83LL4fv9xerW7bV4v9vh5uxbCtFjQZj9PBgggfYLg8SJu9lI
w7/xOl84zBwfSfC3N5dqVy+llmtygJcxpVFVREcrVRDgscN3QZeBv9gd+JnaV5id
awE7TC91IY9b0gpgdLNBfeRL5JTpx+Z+tHjpiFdGI/FhjWoJmb39zAMMrVOlJHLJ
Iqpn92xFEvQ1BTyPO237VCNeRtAKsOk3T85iTlOJ1MQdRm/Wlz2Vq7xqeSQYaeXH
CWCjmweLWSHPXdsVlWti8p8y/SXd44TxQhyWp6gaTieB/YOkuTtgD9qtK258nybq
8/tDiAGZr2JqHFrLG2TA5MxRmfV4nYaTF2JHR8+0vDr/FeiADDeyIKEQcjnfUPVn
lhL9v9SbJhoCnFpN09XWELmNBeMbDtLsgTHq/raY5E7XTvTqqu0H42OLL1Yc5soq
+6GC5BzWQVTgQ7iTzDyDmCh74Gm9pE/mjxO0c19ZP8eOMReuLyYgyO8vBG19ifVL
+y5y+lT5Iu5c4fE4MUFFYOOb3z6NMBvunqNbGFBQTL4HYyxnc270PSBlndyuKsPW
9T1kREYXFB7IS3ByvFXnsWMPomDq6neiGh4DpcM7sWTCH/7+qua6ikxJiKCjh7ve
NAPQ+qg29kSH6lkCu4ul9qqeboXikTR+JkiwP32Ve0PXGWJfd6A=
=FHzw
-----END PGP SIGNATURE-----

A
A
Andrew Tropin wrote on 28 Aug 2023 05:46
87cyz7rfqo.fsf@trop.in
On 2023-08-28 07:44, Andrew Tropin wrote:

Toggle quote (54 lines)
> 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@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
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmTsGI8ACgkQIgjSCVjB
3rC+ug/8DaExWTjupCL3daXYKSJCCLLO/vPBatSPVvRK6LrnDJX/z+RQ4qnzdq5r
pFlyx5msg8xU7eGi2ybnKbBmR5/pBfEC0eBghpHCV2gtlI/R4urFKq4jt7w18ciF
XbSxOymP+A7UPsm7thBFHWkZ2kvsthgi98uF0j5ImkCmLQHwnzQx9OHDy8pDgbvP
C/FqDNTRC0BfM7M8yUY5Dz6+ZlijlSnV/kmHj2ZSLZOP6fgUMkKaoTijza1fLh76
bysHb7TsyU8IT5daZDRUOKSmHnV5U2Main540IJe7TRuvPf7GCWjehxCCSyBGQgL
1ePvLuLwbvReKUd183EqYTh6RrbS3E8RXE8PIl2mzVEBfTuHZD+1JMWfp0PLn4T4
lbkNIrgrZWIUlmaTqbDasHDACP4akMuDVA976nOHnrdXQMTe14qdEhwGuWXLvTrw
51KNGrOpU27pZJsi5l2wjK0loIeIR0StpCrCU97ZwHmNioxf9s2xLJTF+Rxt4BeR
F83cu8tJYC9HXp8Kxeei/um39gNEE8J+NMblj4O/3ab6TxNCvB3OP44uQlv0HGAs
CJYn3/8STSeRJsxy5DelrY0I9UVD1ryFu98pmQMlBs6FBoRTmNOZD+Sku2NPnj5r
iguQJWM8EiZp3vtlcpiZbZUv9Xop1iQ7/5Pii79oYc8Bhjv3GrU=
=pBXZ
-----END PGP SIGNATURE-----

L
L
Liliana Marie Prikler wrote on 28 Aug 2023 21:42
f2250dc30aa1a6cdff6279e10b49906208df0cef.camel@gmail.com
Am Montag, dem 28.08.2023 um 07:46 +0400 schrieb Andrew Tropin:
Toggle quote (11 lines)
> 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
M
M
Miguel Ángel Moreno wrote on 11 Feb 21:38 +0100
[PATCH v6] gnu: Add emacs-fdroid.
(address . 62199@debbugs.gnu.org)(address . mail@migalmoreno.com)
380be5e1db0609350e16901c0f83a2ad95179235.1707683865.git.mail@migalmoreno.com
* gnu/packages/android.scm (emacs-fdroid): New variable.
Change-Id: I68358b5490406aa6ee24391bee6e69bebc574d96
---
gnu/packages/android.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Toggle diff (59 lines)
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
M
M
Miguel Ángel Moreno wrote on 11 Feb 21:41 +0100
Re: [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
(name . Liliana Marie Prikler)(address . liliana.prikler@gmail.com)
864jeeivhy.fsf@migalmoreno.com
On 2023-08-28 21:42, Liliana Marie Prikler wrote:
Toggle quote (21 lines)
> 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
L
L
Ludovic Courtès wrote on 18 Feb 15:57 +0100
Re: [bug#62199] [PATCH v6] gnu: Add emacs-fdroid.
(name . Miguel Ángel Moreno)(address . mail@migalmoreno.com)(address . 62199-done@debbugs.gnu.org)
87cystn7la.fsf@gnu.org
Hi,

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

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

Applied, thanks!

Ludo’.
Closed
?