GNU bug report logs -
#41350
[PATCH 0/3] Use native qemu to build vm-image.
Previous Next
Reported by: Jan Nieuwenhuizen <janneke <at> gnu.org>
Date: Sun, 17 May 2020 10:02:01 UTC
Severity: normal
Tags: patch
Done: Mathieu Othacehe <othacehe <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #119 received at 41350 <at> debbugs.gnu.org (full text, mbox):
Hey Ludo,
> Could you boil the problem down to a “guix build --target” command?
No, but I just found a small reproducer:
--8<---------------cut here---------------start------------->8---
(use-modules (gnu)
(gnu packages gtk)
(guix)
(guix store))
(run-with-store (open-connection)
(mlet* %store-monad ((target (set-current-target "aarch64-linux-gnu"))
(drv (lower-object
(computed-file "test"
#~(begin
(mkdir #$output)
#+guile-rsvg))))
(out -> (derivation->output-path drv)))
(mbegin %store-monad
(built-derivations (list drv))
(return out))))
--8<---------------cut here---------------end--------------->8---
This should fail with:
--8<---------------cut here---------------start------------->8---
In guix/packages.scm:
1072:16 5 (package-derivation _ #<package guile-rsvg <at> 2.18.1-0.05…> …)
1393:16 4 (thunk)
1280:6 3 (bag-grafts #<store-connection 256.99 7f484d450780> #<<…>)
1260:45 2 (fold-bag-dependencies #<procedure 7f484b8bd5e0 at gui…> …)
1072:16 1 (package->bag _ _ _ #:graft? _)
1183:21 0 (thunk)
guix/packages.scm:1183:21: In procedure thunk:
ERROR:
1. &package-cross-build-system-error: #<package gobject-introspection <at> 1.62.0 gnu/packages/glib.scm:406 7f48407ec460>
--8<---------------cut here---------------end--------------->8---
Thanks,
Mathieu
This bug report was last modified 2 years and 313 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.