guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#41350] [PATCH v2 3/3] system: vm: Build vm-image using native qemu,


From: Mathieu Othacehe
Subject: [bug#41350] [PATCH v2 3/3] system: vm: Build vm-image using native qemu, for the Hurd.
Date: Thu, 28 May 2020 09:00:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

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@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@1.62.0 
gnu/packages/glib.scm:406 7f48407ec460>
--8<---------------cut here---------------end--------------->8---

Thanks,

Mathieu





reply via email to

[Prev in Thread] Current Thread [Next in Thread]