Subject: Re: bug#35242: Backtrace on building with load path

From: [email-masked]
Date: Fri, 12 Apr 2019 21:21:51 +0200

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,
> 
> [email-masked] wrote:
>> Backtrace:
> 
> Could you ‘export COLUMNS’ so we can see the backtrace in its 
> untruncated glory?
> 
> Kind regards,
> 
> T G-R