Backtrace on building with load path

  • Done
  • quality assurance status badge
Details
3 participants
  • brettg
  • Ludovic Courtès
  • Tobias Geerinckx-Rice
Owner
unassigned
Submitted by
brettg
Severity
normal
B
B
brettg wrote on 12 Apr 2019 07:13
(name . Bug guix)(address . Bug-guix@gnu.org)
221a35665a058f842d4c954efa4d8508@posteo.net
Hi all. I am trying to build custom packages, and today a regression may
have been introduced either on guix-master or in my own channel. I am
trying to find out where the issue lies.

brettg@guixsd ~/Repos/guix-system [env]$ guix build fstar -L .
Backtrace:
In guix/store.scm:
613:10 19 (call-with-store #<procedure 14f3f40 at
guix/scripts/build.scm:889:8…>)
In guix/scripts/build.scm:
895:26 18 (_ #<store-connection 256.99 103fdc0>)
In ice-9/boot-9.scm:
829:9 17 (catch unbound-variable #<procedure 14fac00 at
guix/ui.scm:499:4 ()> …)
In guix/ui.scm:
500:6 16 (_)
In guix/scripts/build.scm:
863:22 15 (_)
In srfi/srfi-1.scm:
679:15 14 (append-map _ _ . _)
592:17 13 (map1 ((argument . "fstar") (system . "x86_64-linux") (# .
0) (. #) …))
In guix/scripts/build.scm:
791:30 12 (_ _)
In gnu/packages.scm:
477:2 11 (%find-package "fstar" "fstar" #f)
383:6 10 (find-best-packages-by-name _ _)
313:55 9 (_ "fstar" _)
In unknown file:
8 (force #<promise #<procedure 7fa491ff4638 at
gnu/packages.scm:303:18…>)
In gnu/packages.scm:
260:33 7 (fold-packages #<procedure 7fa491ff5cf0 at
gnu/packages.scm:304:35 …> …)
In srfi/srfi-1.scm:
466:18 6 (fold #<procedure 14fc100 at guix/discovery.scm:133:8 (spec
result)> …)
In guix/discovery.scm:
136:31 5 (_ "." ())
116:14 4 (scheme-modules _ _ #:warn _)
In srfi/srfi-1.scm:
501:18 3 (fold-right #<procedure 14fc0c0 at guix/discovery.scm:56:14
(entr…> . #)
In guix/discovery.scm:
66:32 2 (_ _ ("./channels.scm" "./non-gnu/packages/coq-extend.scm"
"./non…" …))
In srfi/srfi-1.scm:
501:18 1 (fold-right #<procedure 16566c0 at guix/discovery.scm:56:14
(entr…> . #)
In unknown file:
0 (append #<unspecified> ())


brettg@guixsd ~/Repos/guix-system [env]$ guix describe
Generation 38 Apr 11 2019 22:56:24 (current)
guix-system 796b205
branch: master
commit: 796b205ddc019fd366b0025800aa3a0e91b0fa2e
guix 89647ff
branch: master
commit: 89647ff1d4abc4674973392cb7e08d14898e3ac9


Thanks!
T
T
Tobias Geerinckx-Rice wrote on 12 Apr 2019 14:40
87ef67jt1m.fsf@nckx
Brett,

brettg@posteo.net wrote:
Toggle quote (2 lines)
> Backtrace:

Could you ‘export COLUMNS’ so we can see the backtrace in its
untruncated glory?

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXLCHQQAKCRANsP+IT1Vt
eViDAP0Tk2FG2mIRzEUV8nUo+NdCrF8TNErZVC8uXUMj4kd2UgEA9MiLH8MzdTkK
6by7nxhh+ghHdfAEW9yOycZsD44tiw0=
=kGXl
-----END PGP SIGNATURE-----

B
B
brettg wrote on 12 Apr 2019 21:21
(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)(address . 35242@debbugs.gnu.org)
958d1c9dc97c5c92e081c78f7104b9d1@posteo.net
Hi T G-R,

Unless I am doing this incorrectly, it doesn't change the output.

brettg@guixsd ~/Repos/guix-system [env]$ export COLUMNS
brettg@guixsd ~/Repos/guix-system [env]$ guix build fstar -L .
Backtrace:
In guix/store.scm:
613:10 19 (call-with-store #<procedure 1c05320 at
guix/scripts/build.scm:889:8…>)
In guix/scripts/build.scm:
895:26 18 (_ #<store-connection 256.99 1c6deb0>)
In ice-9/boot-9.scm:
829:9 17 (catch unbound-variable #<procedure 1c09f80 at
guix/ui.scm:499:4 ()> …)
In guix/ui.scm:
500:6 16 (_)
In guix/scripts/build.scm:
863:22 15 (_)
In srfi/srfi-1.scm:
679:15 14 (append-map _ _ . _)
592:17 13 (map1 ((argument . "fstar") (system . "x86_64-linux") (# .
0) (. #) …))
In guix/scripts/build.scm:
791:30 12 (_ _)
In gnu/packages.scm:
477:2 11 (%find-package "fstar" "fstar" #f)
383:6 10 (find-best-packages-by-name _ _)
313:55 9 (_ "fstar" _)
In unknown file:
8 (force #<promise #<procedure 7ff6bbc49638 at
gnu/packages.scm:303:18…>)
In gnu/packages.scm:
260:33 7 (fold-packages #<procedure 7ff6bbc4acf0 at
gnu/packages.scm:304:35 …> …)
In srfi/srfi-1.scm:
466:18 6 (fold #<procedure 1c0c5a0 at guix/discovery.scm:133:8 (spec
result)> …)
In guix/discovery.scm:
136:31 5 (_ "." ())
116:14 4 (scheme-modules _ _ #:warn _)
In srfi/srfi-1.scm:
501:18 3 (fold-right #<procedure 1c0c560 at guix/discovery.scm:56:14
(entr…> . #)
In guix/discovery.scm:
66:32 2 (_ _ ("./channels.scm" "./non-gnu/packages/coq-extend.scm"
"./non…" …))
In srfi/srfi-1.scm:
501:18 1 (fold-right #<procedure 1ec9a40 at guix/discovery.scm:56:14
(entr…> . #)
In unknown file:
0 (append #<unspecified> ())

ERROR: In procedure append:
In procedure append: Wrong type argument in position 1 (expecting empty
list): #<unspecified>
brettg@guixsd ~/Repos/guix-system [env]$

On 12.04.2019 14:40, Tobias Geerinckx-Rice wrote:
Toggle quote (11 lines)
> Brett,
>
> brettg@posteo.net wrote:
>> Backtrace:
>
> Could you ‘export COLUMNS’ so we can see the backtrace in its
> untruncated glory?
>
> Kind regards,
>
> T G-R
L
L
Ludovic Courtès wrote on 12 Apr 2019 21:52
(address . brettg@posteo.net)(address . 35242@debbugs.gnu.org)
87ftqnngqr.fsf@gnu.org
brettg@posteo.net skribis:

Toggle quote (2 lines)
> brettg@guixsd ~/Repos/guix-system [env]$ guix build fstar -L .

[...]

Toggle quote (16 lines)
> In gnu/packages.scm:
> 260:33 7 (fold-packages #<procedure 7fa491ff5cf0 at gnu/packages.scm:304:35 …> …)
> In srfi/srfi-1.scm:
> 466:18 6 (fold #<procedure 14fc100 at guix/discovery.scm:133:8 (spec result)> …)
> In guix/discovery.scm:
> 136:31 5 (_ "." ())
> 116:14 4 (scheme-modules _ _ #:warn _)
> In srfi/srfi-1.scm:
> 501:18 3 (fold-right #<procedure 14fc0c0 at guix/discovery.scm:56:14 (entr…> . #)
> In guix/discovery.scm:
> 66:32 2 (_ _ ("./channels.scm" "./non-gnu/packages/coq-extend.scm" "./non…" …))
> In srfi/srfi-1.scm:
> 501:18 1 (fold-right #<procedure 16566c0 at guix/discovery.scm:56:14 (entr…> . #)
> In unknown file:
> 0 (append #<unspecified> ())

It looks like the error happens while traversing the “.” directory with
your own files. Could you try inspecting it, or perhaps removing some
of the files until you find the culprit?

Thanks,
Ludo’.
B
B
brettg@posteo.net wrote on 13 Apr 2019 01:51
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 35242@debbugs.gnu.org)
lln96r5kphr1mcoa4lvpqg2b.1555113068610@email.lge.com
Hi ludo! Thanks. You were correct. Thank you.------ Original message------From: Ludovic CourtèsDate: Fri, Apr 12, 2019 2:52 PMTo: brettg@posteo.net;Cc: 35242@debbugs.gnu.org;Subject:Re: bug#35242: Backtrace on building with load pathbrettg@posteo.net skribis:

Toggle quote (2 lines)
> brettg@guixsd ~/Repos/guix-system [env]$ guix build fstar -L .

[...]

Toggle quote (16 lines)
> In gnu/packages.scm:
> 260:33 7 (fold-packages # …)
> In srfi/srfi-1.scm:
> 466:18 6 (fold # …)
> In guix/discovery.scm:
> 136:31 5 (_ "." ())
> 116:14 4 (scheme-modules _ _ #:warn _)
> In srfi/srfi-1.scm:
> 501:18 3 (fold-right # . #)
> In guix/discovery.scm:
> 66:32 2 (_ _ ("./channels.scm" "./non-gnu/packages/coq-extend.scm" "./non…" …))
> In srfi/srfi-1.scm:
> 501:18 1 (fold-right # . #)
> In unknown file:
> 0 (append # ())

It looks like the error happens while traversing the “.” directory with
your own files. Could you try inspecting it, or perhaps removing some
of the files until you find the culprit?

Thanks,
Ludo’.
Attachment: file
L
L
Ludovic Courtès wrote on 14 Apr 2019 17:01
control message for bug #35242
(address . control@debbugs.gnu.org)
877ebwljfo.fsf@gnu.org
tags 35242 notabug
close 35242
?