GNU bug report logs -
#31329
(guix self) can silently miscompile modules
Previous Next
Reported by: ludo <at> gnu.org (Ludovic Courtès)
Date: Tue, 1 May 2018 10:10:02 UTC
Severity: serious
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31329 in the body.
You can then email your comments to 31329 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#31329
; Package
guix
.
(Tue, 01 May 2018 10:10:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Tue, 01 May 2018 10:10:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
Sometimes (guix self), used by ‘guix pull’, can silently miscompile
modules as shown in
<https://berlin.guixsd.org/log/g5mp6aqwf8xqx3znwf13zrv3szd8a3b5-guix-packages>:
--8<---------------cut here---------------start------------->8---
compiling... 37.3% of 407 filesIn thread:
unexpected syntax
In thread:
no code for module (guix licenses)
.compiling... 37.6% of 407 filesIn thread:
no code for module (guix licenses)
.compiling... 37.8% of 407 filesIn thread:
no code for module (guix licenses)
.compiling... 38.1% of 407 filesIn thread:
no code for module (guix licenses)
.compiling... 38.3% of 407 filesIn thread:
no code for module (guix licenses)
.compiling... 38.6% of 407 filesIn thread:
no code for module (guix licenses)
.compiling... 38.8% of 407 filesIn thread:
no code for module (guix build-system haskell)
.compiling... 100.0% of 407 files
@ build-succeeded /gnu/store/m5z6zk6898iiahslp6h5ji2jqgimqd14-guix-packages.drv -
--8<---------------cut here---------------end--------------->8---
The result in this case is a semi-broken set of .go files, which can
additionally be distributed as substitutes by berlin.
For instance, I get this:
--8<---------------cut here---------------start------------->8---
$ guix build gimp -n
Backtrace:
17 (apply-smob/1 #<catch-closure 1a63c60>)
In ice-9/boot-9.scm:
705:2 16 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
619:8 15 (_ #(#(#<directory (guile-user) 1b11140>)))
In guix/ui.scm:
1502:12 14 (run-guix-command _ . _)
In ice-9/boot-9.scm:
829:9 13 (catch _ _ #<procedure 7f7488abe430 at guix/ui.scm:553…> …)
829:9 12 (catch _ _ #<procedure 7f7488abe448 at guix/ui.scm:661…> …)
In guix/scripts/build.scm:
736:24 11 (_)
665:4 10 (options->derivations _ _)
In srfi/srfi-1.scm:
679:15 9 (append-map _ _ . _)
592:17 8 (map1 (#<package gimp <at> 2.10.0 gnu/packages/gimp.scm:117…>))
In guix/scripts/build.scm:
670:30 7 (_ _)
In guix/packages.scm:
839:14 6 (cache! #<weak-table 0/113> #<package gimp <at> 2.10.0 gnu/…> …)
In unknown file:
5 (_ #<procedure thunk ()> #<procedure list _> #<undefined>)
In guix/packages.scm:
1158:22 4 (thunk)
839:14 3 (cache! #<weak-table 0/223> #<package gimp <at> 2.10.0 gnu/…> …)
In unknown file:
2 (_ #<procedure thunk ()> #<procedure list _> #<undefined>)
In guix/packages.scm:
942:46 1 (thunk)
In gnu/packages/gimp.scm:
152:5 0 (inputs)
gnu/packages/gimp.scm:152:5: In procedure inputs:
poppler-data: unbound variable
--8<---------------cut here---------------end--------------->8---
… and this is only because pdf.go is missing from ~/.config/guix/latest
and it ends up picking up an old and unrelated pdf.go.
Compilation should abort on the first exception.
Ludo’.
Severity set to 'serious' from 'normal'
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Tue, 01 May 2018 13:40:01 GMT)
Full text and
rfc822 format available.
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Tue, 01 May 2018 14:03:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
bug acknowledged by developer.
(Tue, 01 May 2018 14:03:02 GMT)
Full text and
rfc822 format available.
Message #12 received at 31329-done <at> debbugs.gnu.org (full text, mbox):
ludo <at> gnu.org (Ludovic Courtès) skribis:
> Compilation should abort on the first exception.
Done in 27e810c3e8707216c8b1b44e3d012cb0547b13d3.
Ludo'.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 30 May 2018 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 326 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.