unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35242: Backtrace on building with load path
@ 2019-04-12  5:13 brettg
  2019-04-12 12:40 ` Tobias Geerinckx-Rice
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: brettg @ 2019-04-12  5:13 UTC (permalink / raw)
  To: Bug guix

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
     repository URL: https://git.sr.ht/~brettgilio/guix-system
     branch: master
     commit: 796b205ddc019fd366b0025800aa3a0e91b0fa2e
   guix 89647ff
     repository URL: https://git.savannah.gnu.org/git/guix.git
     branch: master
     commit: 89647ff1d4abc4674973392cb7e08d14898e3ac9


Thanks!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#35242: Backtrace on building with load path
  2019-04-12  5:13 bug#35242: Backtrace on building with load path brettg
@ 2019-04-12 12:40 ` Tobias Geerinckx-Rice
  2019-04-12 19:21   ` brettg
  2019-04-12 19:52 ` Ludovic Courtès
  2019-04-12 23:51 ` brettg
  2 siblings, 1 reply; 5+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-04-12 12:40 UTC (permalink / raw)
  To: brettg, 35242

[-- Attachment #1: Type: text/plain, Size: 166 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#35242: Backtrace on building with load path
  2019-04-12 12:40 ` Tobias Geerinckx-Rice
@ 2019-04-12 19:21   ` brettg
  0 siblings, 0 replies; 5+ messages in thread
From: brettg @ 2019-04-12 19:21 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 35242

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:
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#35242: Backtrace on building with load path
  2019-04-12  5:13 bug#35242: Backtrace on building with load path brettg
  2019-04-12 12:40 ` Tobias Geerinckx-Rice
@ 2019-04-12 19:52 ` Ludovic Courtès
  2019-04-12 23:51 ` brettg
  2 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2019-04-12 19:52 UTC (permalink / raw)
  To: brettg; +Cc: 35242

brettg@posteo.net skribis:

> brettg@guixsd ~/Repos/guix-system [env]$ guix build fstar -L .

[...]

> 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’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#35242: Backtrace on building with load path
  2019-04-12  5:13 bug#35242: Backtrace on building with load path brettg
  2019-04-12 12:40 ` Tobias Geerinckx-Rice
  2019-04-12 19:52 ` Ludovic Courtès
@ 2019-04-12 23:51 ` brettg
  2 siblings, 0 replies; 5+ messages in thread
From: brettg @ 2019-04-12 23:51 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 35242

[-- Attachment #1: Type: text/plain, Size: 1024 bytes --]

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:

> brettg@guixsd ~/Repos/guix-system [env]$ guix build fstar -L .

[...]

> 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 #2: Type: text/html, Size: 2270 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-12 23:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-12  5:13 bug#35242: Backtrace on building with load path brettg
2019-04-12 12:40 ` Tobias Geerinckx-Rice
2019-04-12 19:21   ` brettg
2019-04-12 19:52 ` Ludovic Courtès
2019-04-12 23:51 ` brettg

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).