Subject: Re: [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.

From: Miguel Ángel Moreno <[email-masked]>
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 <[email-masked]> 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