GNU bug report logs - #50624
Importing (gnu packages lxqt) in gnu/packages/kde-frameworks.scm causes unbound variable error.

Previous Next

Package: guix;

Reported by: Brendan Tildesley <mail <at> brendan.scot>

Date: Thu, 16 Sep 2021 15:19:02 UTC

Severity: normal

To reply to this bug, email your comments to 50624 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#50624; Package guix. (Thu, 16 Sep 2021 15:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brendan Tildesley <mail <at> brendan.scot>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 16 Sep 2021 15:19:02 GMT) Full text and rfc822 format available.

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

From: Brendan Tildesley <mail <at> brendan.scot>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: Importing (gnu packages lxqt) in gnu/packages/kde-frameworks.scm
 causes unbound variable error.
Date: Thu, 16 Sep 2021 17:18:18 +0200 (CEST)
I want to use libdbusmenu-qt in kde-frameworks.scm, but just adding #:use-modules (gnu packages lxqt)
and running some guix package command results in this. What should I do? Thanks.



$ ./pre-inst-env guix show knotifications
;;; note: source file /home/b/code/guix-cryfs/gnu/packages/kde-frameworks.scm
;;;       newer than compiled /home/b/code/guix-cryfs/gnu/packages/kde-frameworks.go
;;; note: source file /home/b/code/guix-cryfs/gnu/packages/kde-frameworks.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/kde-frameworks.go
error: curl: unbound variable
hint: Did you forget a `use-modules' form?

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: binutils: unbound variable
hint: Did you forget a `use-modules' form?

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

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

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

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

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

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

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

error: coreutils: 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" (python (gnu packages python)) #f)'.
Backtrace:
In ice-9/boot-9.scm:
  1752:10 19 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
          18 (apply-smob/0 #<thunk 7f7db883df60>)
In ice-9/boot-9.scm:
    724:2 17 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
    619:8 16 (_ #(#(#<directory (guile-user) 7f7db8837c80>)))
In guix/ui.scm:
   2185:7 15 (run-guix . _)
  2148:10 14 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 13 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/package.scm:
    906:9 12 (_)
In srfi/srfi-1.scm:
    634:9 11 (for-each #<procedure 7f7db56b19e8 at guix/scripts/pac…> …)
In guix/scripts/package.scm:
   911:29 10 (_ _)
In gnu/packages.scm:
   292:55  9 (_ "knotifications" _)
In unknown file:
           8 (force #<promise #<procedure 7f7db7161020 at gnu/packag…>)
In gnu/packages.scm:
   239:33  7 (fold-packages #<procedure 7f7db52c6f40 at gnu/package…> …)
In guix/discovery.scm:
   153:11  6 (all-modules _ #:warn _)
In srfi/srfi-1.scm:
   460:18  5 (fold #<procedure 7f7db6c2b000 at guix/discovery.scm:1…> …)
In guix/discovery.scm:
   143:19  4 (_ _ ())
In srfi/srfi-1.scm:
   691:23  3 (filter-map #<procedure 7f7db6c2db20 at guix/discove…> . #)
In guix/discovery.scm:
   118:22  2 (_ . _)
In guix/ui.scm:
    324:2  1 (report-unbound-variable-error _ #:frame _)
In ice-9/boot-9.scm:
  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" (python (gnu packages python)) #f))'.




Information forwarded to bug-guix <at> gnu.org:
bug#50624; Package guix. (Tue, 31 May 2022 23:11:01 GMT) Full text and rfc822 format available.

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 50624 <at> debbugs.gnu.org
Date: Wed, 1 Jun 2022 00:09:44 +0100
Hi,

I've got the same when I try to build new package from latest
checkout, it's built from channel
https://git.sr.ht/~hellseher/ffab/tree/main/item/ffab/packages/lisp-xyz.scm#L50

[env: /gnu/store/46kmhq1wkbzsdxv09k774hlak3xvvc5q-profile]
> ./pre-inst-env guix build sbcl-glop
;;; note: source file /mnt/library/code/guix/gnu/packages/lisp-xyz.scm
;;;       newer than compiled /mnt/library/code/guix/gnu/packages/lisp-xyz.go
;;; note: source file /mnt/library/code/guix/gnu/packages/lisp-xyz.scm
;;;       newer than compiled
/run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/lisp-xyz.go
;;; note: source file /mnt/library/code/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: libxrandr: unbound variable
hint: Did you forget a `use-modules' form?

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: binutils: unbound variable
hint: Did you forget a `use-modules' form?

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

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

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

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

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

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

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

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

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

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

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

error: openmpi: 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" (python (gnu packages python)) #f)'.
Backtrace:
In guix/store.scm:
   659:37 19 (thunk)
   1298:8 18 (call-with-build-handler #<procedure 7f13d4611870 at g…> …)
In guix/scripts/build.scm:
    567:2 17 (_)
In srfi/srfi-1.scm:
   673:15 16 (append-map _ _ . _)
   586:17 15 (map1 ((argument . "sbcl-glop") (build-mode . 0) (. #) …))
In guix/scripts/build.scm:
   587:31 14 (_ _)
In gnu/packages.scm:
    480:2 13 (%find-package "sbcl-glop" "sbcl-glop" #f)
    365:6 12 (find-best-packages-by-name _ _)
   295:56 11 (_ "sbcl-glop" _)
In unknown file:
          10 (force #<promise #<procedure 7f13d46374a0 at gnu/packag…>)
In gnu/packages.scm:
   242:33  9 (fold-packages #<procedure 7f13d3cdb4e0 at gnu/package…> …)
In guix/discovery.scm:
   159:11  8 (all-modules _ #:warn _)
In srfi/srfi-1.scm:
   460:18  7 (fold #<procedure 7f13d7139b80 at guix/discovery.scm:1…> …)
In guix/discovery.scm:
   149:19  6 (_ _ ())
    116:5  5 (scheme-modules _ _ #:warn _)
In srfi/srfi-1.scm:
   691:23  4 (filter-map #<procedure 7f13d7139a20 at guix/discove…> . #)
In guix/discovery.scm:
   124:24  3 (_ . _)
In guix/ui.scm:
    319: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"
(python (gnu packages python)) #f))'.
[env: /gnu/store/46kmhq1wkbzsdxv09k774hlak3xvvc5q-profile]
> ./pre-inst-env guix describe
Git checkout:
  repository: /mnt/library/code/guix
  branch: local/lisp-xyz/glop
  commit: c4e03f82047a6a2a07cb34c94d2280183a901e8e

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.




This bug report was last modified 1 year and 338 days ago.

Previous Next


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