* bug#36640: guix pull compile-files failure doesn't identify failed file
@ 2019-07-13 18:13 Robert Vollmert
2019-07-17 19:53 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Robert Vollmert @ 2019-07-13 18:13 UTC (permalink / raw)
To: 36640
Specifically, building guix-packages.drv locally, I got the output below.
As far as I can tell, the problematic file’s name is not contained in the
output at all. The file is certainly available where we call compile-file
— no idea whether it would be better to print the filename while handling
the exception in. guix/build/compile.scm, or whether guile should print
a better error here.
[ snip progress output ]
29.1% of 203 files^M[ 60/406] loading... 29.6% of 203 files^M[ 61/406] loading... 30.0% of 203 files^M[ 62/406] loading... 30.5% of 203 files^M[ 63/406] loading... 31.0% of 203 files^M[ 64/406] loading... 31.5% of 203 files^M[ 65/406] loading... 32.0% of 203 files^M[ 66/406] loading... 32.5% of 203 files^M[ 67/406] loading... 33.0% of 203 files^M[ 68/406] loading... 33.5% of 203 files^M[ 69/406] loading... 34.0% of 203 files^M[ 70/406] loading... 34.5% of 203 files^M[ 71/406] loading... 35.0% of 203 files^M[ 72/406] loading... 35.5% of 203 files^M[ 73/406] loading... 36.0% of 203 files^M[ 74/406] loading... 36.5% of 203 filesBacktrace:
In ice-9/psyntax.scm:
1235:36 19 (expand-top-sequence _ _ _ #f _ _ _)
1182:24 18 (parse _ (("placeholder" placeholder)) ((top) #(ribcage () () ())) _ e (eval) (hygiene #{ g670}#))
285:10 17 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) (hygiene #{ g670}#))
In ice-9/eval.scm:
293:34 16 (_ #<module (#{ g670}#) 553e6e0>)
In ice-9/boot-9.scm:
2874:4 15 (define-module* _ #:filename _ #:pure _ #:version _ #:imports _ #:exports _ #:replacements _ #:re-exports _ #:autoloads _ #:duplicates _ #:transformer _)
2071:24 14 (call-with-deferred-observers _)
2887:24 13 (_)
222:17 12 (map1 (((gnu)) ((guix)) ((guix git-download)) ((guix build-system haskell)) ((guix build-system elm)) ((guix licenses)) ((guix licenses) #:prefix license:) ((guix packages)) ((# ?)) ?))
2800:17 11 (resolve-interface (gnu) #:select _ #:hide _ #:prefix _ #:renamer _ #:version _)
In ice-9/threads.scm:
390:8 10 (_ _)
In ice-9/boot-9.scm:
2726:13 9 (_)
In ice-9/threads.scm:
390:8 8 (_ _)
In ice-9/boot-9.scm:
2994:20 7 (_)
2312:4 6 (save-module-excursion _)
3014:26 5 (_)
In unknown file:
4 (primitive-load-path "gnu" #<procedure 59f5360 at ice-9/boot-9.scm:3001:37 ()>)
In ice-9/boot-9.scm:
260:13 3 (for-each #<procedure 37d7c40 at ice-9/eval.scm:333:13 (a)> ((gnu system) (gnu system mapped-devices) (gnu system file-systems) (gnu bootloader) (gnu bootloader grub) (gnu system #) ?))
In ice-9/eval.scm:
159:9 2 (_ #(#(#<directory (gnu) 85c780> #<interface (gnu) 553e320>) (gnu system)))
In ice-9/boot-9.scm:
2803:6 1 (resolve-interface _ #:select _ #:hide _ #:prefix _ #:renamer _ #:version _)
In unknown file:
0 (scm-error misc-error #f "~A ~S" ("no code for module" (gnu system)) #f)
ERROR: In procedure scm-error:
no code for module (gnu system)
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#36640: guix pull compile-files failure doesn't identify failed file
2019-07-13 18:13 bug#36640: guix pull compile-files failure doesn't identify failed file Robert Vollmert
@ 2019-07-17 19:53 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-07-17 19:53 UTC (permalink / raw)
To: Robert Vollmert; +Cc: 36640-done
Hi,
Robert Vollmert <rob@vllmrt.net> skribis:
> Specifically, building guix-packages.drv locally, I got the output below.
> As far as I can tell, the problematic file’s name is not contained in the
> output at all. The file is certainly available where we call compile-file
> — no idea whether it would be better to print the filename while handling
> the exception in. guix/build/compile.scm, or whether guile should print
> a better error here.
I believe commit 38302bd9392cc9518b04e2726cf6a38ee75922cc fixes it by
displaying the name of the faulty source file.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-17 19:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-13 18:13 bug#36640: guix pull compile-files failure doesn't identify failed file Robert Vollmert
2019-07-17 19:53 ` Ludovic Courtès
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).