From mboxrd@z Thu Jan 1 00:00:00 1970 From: Edouard KLEIN Subject: Re: Using 'guix system disk-image' on a non-GuixSD OS Date: Thu, 25 Oct 2018 17:17:54 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000708c4c05790f1ae8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFhOK-000721-Mn for help-guix@gnu.org; Thu, 25 Oct 2018 11:17:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFhOH-0001Ed-H8 for help-guix@gnu.org; Thu, 25 Oct 2018 11:17:44 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:40711) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFhOG-0001CR-Rv for help-guix@gnu.org; Thu, 25 Oct 2018 11:17:41 -0400 Received: by mail-wm1-x32d.google.com with SMTP id b203-v6so1914811wme.5 for ; Thu, 25 Oct 2018 08:17:40 -0700 (PDT) In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Cc: help-guix --000000000000708c4c05790f1ae8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi G=C3=A1bor, Indeed, the command now finishes without errors. I slightly changed the config.scm in the meantime. For reference here is the one where it worked. I see no changes that could have had an impact but don't trust me on this. Thanks for the help, Edouard. ------config.scm ;; This is an operating system configuration template ;; for a "bare bones" setup, with no X11 display server. (use-modules (gnu)) (use-service-modules networking ssh) (use-package-modules screen ssh) (operating-system (host-name "GuixSD_Base") (timezone "UTC") (locale "en_US.utf8") ;; Boot in "legacy" BIOS mode, assuming /dev/sdX is the ;; target hard disk, and "my-root" is the label of the target ;; root file system. (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sda"))) (file-systems (cons (file-system (device (file-system-label "my-root")) (mount-point "/") (type "ext4")) %base-file-systems)) ;; This is where user accounts are specified. The "root" ;; account is implicit, and is initially created with the ;; empty password. (users (cons (user-account (name "edouard") (comment "boudoir") (group "users") ;; Adding the account to the "wheel" group ;; makes it a sudoer. Adding it to "audio" ;; and "video" allows the user to play sound ;; and access the webcam. (supplementary-groups '("wheel" "audio" "video")) (home-directory "/home/edouard")) %base-user-accounts)) ;; Globally-installed packages. (packages (append (map specification->package '("tmux" "openssh")) %base-packages)) ;; Add services to the baseline: a DHCP client and ;; an SSH server. (services (cons* ;; (dhcp-client-service) (static-networking-service "ens3" "192.168.50.58" #:netmask "255.255.0.0" #:gateway "192.168.50.1" #:name-servers '("8.8.8.8" "8.8.4.4")) (service openssh-service-type (openssh-configuration (authorized-keys `(("edouard" ,(local-file "edouard.pub")) ("root" ,(local-file "edouard.pub")))) (permit-root-login 'without-password) (port-number 22))) %base-services))) On Thu, 25 Oct 2018 at 16:13 G=C3=A1bor Boskovits wro= te: > Hello Edouard, > > Edouard KLEIN ezt =C3=ADrta (id=C5=91pont: 2018.= okt. > 25., Cs, 15:34): > > > > Hi all, > > > > I do not know whether the "guix system disk-image" command is supposed > to work on a non GuixSD system. > > > > If it is, then I'm running into an error while trying to create a disk > from a system declaration on my Arch Linux OS. > > > > I run: > > $ guix system disk-image --fallback config.scm > > > > with config.scm copied at the end of this email. > > > > I get the error message at the end of this emai. > > > > I do not really know where to start looking. It appears that the error > is in the qemu package, which is necessary for grub. I tried removing the > bootloader part of the system declaration, as I can boot from the ext4 > partition directly, but it seems necessary to have one such part in the O= S > declaration. > > > > Any help would be appreciated. In the meantime I'm running the command > in a GuixSD VM, but it's taking forever and it's way more cumbersome than > being able to run it on any system. > > > > Thanks in advance, > > > > Edouard. > > > > > > > > ---------------config.scm > > > > ;; This is an operating system configuration template > > ;; for a "bare bones" setup, with no X11 display server. > > > > (use-modules (gnu)) > > (use-service-modules networking ssh) > > (use-package-modules screen ssh) > > > > (operating-system > > (host-name "GuixSD_Base") > > (timezone "UTC") > > (locale "en_US.utf8") > > > > ;; Boot in "legacy" BIOS mode, assuming /dev/sdX is the > > ;; target hard disk, and "my-root" is the label of the target > > ;; root file system. > > (bootloader (bootloader-configuration > > (bootloader grub-bootloader) > > (target "/dev/sda"))) > > (file-systems (cons (file-system > > (device (file-system-label "my-root")) > > (mount-point "/") > > (type "ext4")) > > %base-file-systems)) > > > > ;; This is where user accounts are specified. The "root" > > ;; account is implicit, and is initially created with the > > ;; empty password. > > (users (cons (user-account > > (name "edouard") > > (comment "boudoir") > > (group "users") > > > > ;; Adding the account to the "wheel" group > > ;; makes it a sudoer. Adding it to "audio" > > ;; and "video" allows the user to play sound > > ;; and access the webcam. > > (supplementary-groups '("wheel" > > "audio" "video")) > > (home-directory "/home/edouard")) > > %base-user-accounts)) > > > > ;; Globally-installed packages. > > (packages (append (map specification->package > > '("tmux" "openssh")) > > %base-packages)) > > > > ;; Add services to the baseline: a DHCP client and > > ;; an SSH server. > > (services (cons* (dhcp-client-service) > > (service openssh-service-type > > (openssh-configuration > > (authorized-keys > > '(("edouard" ,(local-file "edouard.pub")) > > ("root" ,(local-file "edouard.pub")))) > > (permit-root-login 'without-password) > > (port-number 22))) > > %base-services))) > > ------------error message > > c++ > -I/gnu/store/pslvw8b4r0m5vmbz2ml7whcv2wbdpa57-pixman-0.34.0/include/pixma= n-1 > -I/tmp/guix-build-qemu-minimal-2.10.2.drv-0/qemu-2.10.2/dtc/libfdt -pthre= ad > -I/gnu/s[14/1947] > > cagl47zbb6krfpmwm31m70s9pk00-glib-2.56.0/include/glib-2.0 > -I/gnu/store/x9lfcagl47zbb6krfpmwm31m70s9pk00-glib-2.56.0/lib/glib-2.0/in= clude > -DNCURSES_WIDECHAR -D_GNU_SOURCE -D_D > > EFAULT_SOURCE -fPIE -DPIE -m64 -mcx16 -D_GNU_SOURCE > -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -Wstrict-prototypes > -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-p > > rototypes -fno-strict-aliasing -fno-common -fwrapv -Wendif-labels > -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security > -Wformat-y2k -Winit-self -Wignore > > d-qualifiers -Wold-style-declaration -Wold-style-definition > -Wtype-limits -fstack-protector-strong > -I/gnu/store/8679cp88yg5jrq2q1944xf14ibyp1kp7-libpng-1.6.34/include/libp= n > > g16 -I/tmp/guix-build-qemu-minimal-2.10.2.drv-0/qemu-2.10.2/tests -O2 > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -Wl,--warn-common -Wl,-z,relro > -Wl,-z,now -pie -m64 -Wl,--warn-co > > mmon -Wl,-z,relro -Wl,-z,now -pie -m64 -lrt -o tests/test-replication > tests/test-replication.o block.o blockjob.o qemu-io-cmds.o replication.o > block/raw-format.o block/qcow.o > > block/vdi.o block/vmdk.o block/cloop.o block/bochs.o block/vpc.o > block/vvfat.o block/dmg.o block/qcow2.o block/qcow2-refcount.o > block/qcow2-cluster.o block/qcow2-snapshot.o > > block/qcow2-cache.o block/qcow2-bitmap.o block/qed.o > block/qed-l2-cache.o block/qed-table.o block/qed-cluster.o > block/qed-check.o block/vhdx.o block/vhdx-endian.o block/vhdx- > > log.o block/quorum.o block/parallels.o block/blkdebug.o > block/blkverify.o block/blkreplay.o block/block-backend.o block/snapshot.= o > block/qapi.o block/file-posix.o block/linux > > -aio.o block/null.o block/mirror.o block/commit.o block/io.o > block/throttle-groups.o block/nbd.o block/nbd-client.o block/sheepdog.o > block/accounting.o block/dirty-bitmap.o b > > lock/write-threshold.o block/backup.o block/replication.o block/crypto.= o > nbd/server.o nbd/client.o nbd/common.o block/dmg-bz2.o io/channel.o > io/channel-buffer.o io/channel-co > > mmand.o io/channel-file.o io/channel-socket.o io/channel-tls.o > io/channel-watch.o io/channel-websock.o io/channel-util.o io/dns-resolver= .o > io/task.o crypto/init.o crypto/hash > > .o crypto/hash-glib.o crypto/hmac.o crypto/hmac-glib.o crypto/aes.o > crypto/desrfb.o crypto/cipher.o crypto/tlscreds.o crypto/tlscredsanon.o > crypto/tlscredsx509.o crypto/tlsse > > ssion.o crypto/secret.o crypto/random-platform.o crypto/pbkdf.o > crypto/ivgen.o crypto/ivgen-essiv.o crypto/ivgen-plain.o > crypto/ivgen-plain64.o crypto/afsplit.o crypto/xts.o > > crypto/block.o crypto/block-qcow.o crypto/block-luks.o qom/object.o > qom/container.o qom/qom-qobject.o qom/object_interfaces.o tests/iothread.= o > libqemuutil.a libqemustub.a - > > lz -laio -lbz2 -lm > -L/gnu/store/x9lfcagl47zbb6krfpmwm31m70s9pk00-glib-2.56.0/lib -lgthread-2= .0 > -pthread -lglib-2.0 -lz -lz -lutil > > MALLOC_PERTURB_=3D${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} gtes= ter > -k --verbose -m=3Dquick tests/test-replication > > TEST: tests/test-replication... (pid=3D14861) > > /replication/primary/read: = OK > > /replication/primary/write: = OK > > /replication/primary/start: = OK > > /replication/primary/stop: = OK > > /replication/primary/do_checkpoint: = OK > > /replication/primary/get_error_all: = OK > > /replication/secondary/read: = OK > > /replication/secondary/write: = OK > > /replication/secondary/start: = ** > > ERROR:tests/test-replication.c:117:test_blk_write: assertion failed: > (async_ret =3D=3D 0) > > FAIL > > GTester: last random seed: R02Sb499c9e89b18bb967dd59acad1b2aaa8 > > (pid=3D14865) > > /replication/secondary/stop: = OK > > /replication/secondary/do_checkpoint: = OK > > /replication/secondary/get_error_all: = OK > > FAIL: tests/test-replication > > make: *** > [/tmp/guix-build-qemu-minimal-2.10.2.drv-0/qemu-2.10.2/tests/Makefile.inc= lude:849: > check-tests/test-replication] Error 1 > > > > Test suite failed, dumping logs. > > Backtrace: > > 4 (primitive-load "/gnu/store/5v4cdxg9m4x6hax86g1q7jw5bch=E2= =80=A6") > > In ice-9/eval.scm: > > 191:35 3 (_ _) > > In srfi/srfi-1.scm: > > 640:9 2 (for-each # =E2=80=A6) > > In > /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/gnu-= build-system.scm: > > 799:31 1 (_ _) > > 369:6 0 (check #:target _ #:make-flags _ #:tests? _ # _ # _ # _) > > > > > /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/gnu-= build-system.scm:369:6: > In procedure check: > > Throw to key `srfi-34' with args `(# "make" arguments: ("check") exit-status: 2 term-signal: #f stop-signal: #= f] > 986a40>)'. > > builder for > `/gnu/store/5q7ixx1qjf7msamr052jc5jyfilhpsai-qemu-minimal-2.10.2.drv' > failed with exit code 1 > > cannot build derivation > `/gnu/store/5i56cl8c6608azkn67qy54nf2kqxfhkl-grub-2.02.drv': 1 dependenci= es > couldn't be built > > guix system: error: build failed: build of > `/gnu/store/5i56cl8c6608azkn67qy54nf2kqxfhkl-grub-2.02.drv' failed > > > > > > It seems that qemu-minimal failed it's test suite. > > Could you try to run the command again, and report back, so that we > can see if the problem persists? > (We often see indeterministic test failures unfortunately.) > > Best regards, > g_bor > --000000000000708c4c05790f1ae8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi=C2=A0G=C3=A1bor,

Indeed, the command= now finishes without errors. I slightly changed the config.scm in the mean= time. For reference here is the one where it worked. I see no changes that = could have had an impact but don't trust me on this.=C2=A0
Thanks for the help,

Edouard.



------config.scm
=
;; This is an operating system configuration template
;; for a "bare bones" setup, with no X11 display server.=

(use-modules (gnu))
(use-service-module= s networking ssh)
(use-package-modules screen ssh)

=
(operating-system
=C2=A0 (host-name "GuixSD_Base&= quot;)
=C2=A0 (timezone "UTC")
=C2=A0 (locale= "en_US.utf8")

=C2=A0 ;; Boot in "l= egacy" BIOS mode, assuming /dev/sdX is the
=C2=A0 ;; target = hard disk, and "my-root" is the label of the target
=C2= =A0 ;; root file system.
=C2=A0 (bootloader (bootloader-configura= tion
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (boo= tloader grub-bootloader)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 (target "/dev/sda")))
=C2=A0 (file-sy= stems (cons (file-system
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (device (file-system-label &q= uot;my-root"))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (mount-point "/")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 (type "ext4"))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 %base-file-systems))
=

=C2=A0 ;; This is where user accounts are specified.=C2= =A0 The "root"
=C2=A0 ;; account is implicit, and is in= itially created with the
=C2=A0 ;; empty password.
=C2= =A0 (users (cons (user-account
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 (name "edouard")
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (comment "boudoir")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (group "= ;users")

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 ;; Adding the account to the "wheel" group
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; makes i= t a sudoer.=C2=A0 Adding it to "audio"
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; and "video" allows t= he user to play sound
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 ;; and access the webcam.
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (supplementary-groups '("wheel&quo= t;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 "audio" "video"))
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (home-directory "/home/edouard"= ;))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0%base-= user-accounts))

=C2=A0 ;; Globally-installed packa= ges.
=C2=A0 (packages (append (map specification->package
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0'("tmux" "openssh"))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 %bas= e-packages))

=C2=A0 ;; Add services to the baselin= e: a DHCP client and
=C2=A0 ;; an SSH server.
=C2=A0 (s= ervices (cons*
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;;= (dhcp-client-service)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0(static-networking-service
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 "ens3"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 "192.168.50.58"
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 #:netmask "255.255.0.0"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 #:gateway "192.168.5= 0.1"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 #:name= -servers '("8.8.8.8" "8.8.4.4"))
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(service openssh-service-type
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 (openssh-configuration
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(authorized-keys
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 `(("edouard" ,(local-file "edouard.pub"))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 ("root" ,(local-file "edouard.pub&q= uot;))))
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(permit-root-login 'wit= hout-password)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(port-number 22)))
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0%base-services)))

On Thu, 25 Oct 2018 = at 16:13 G=C3=A1bor Boskovits <boskovits@gmail.com> wrote:
Hello Edouard,

Edouard KLEIN <edouardklein@gmail.com> ezt =C3=ADrta (id=C5=91pont: 2018. okt. 25., Cs, 15:34):
>
> Hi all,
>
> I do not know whether the "guix system disk-image" command i= s supposed to work on a non GuixSD system.
>
> If it is, then I'm running into an error while trying to create a = disk from a system declaration on my Arch Linux OS.
>
> I run:
> $ guix system disk-image --fallback config.scm
>
> with config.scm copied at the end of this email.
>
> I get the error message at the end of this emai.
>
> I do not really know where to start looking. It appears that the error= is in the qemu package, which is necessary for grub. I tried removing the = bootloader part of the system declaration, as I can boot from the ext4 part= ition directly, but it seems necessary to have one such part in the OS decl= aration.
>
> Any help would be appreciated. In the meantime I'm running the com= mand in a GuixSD VM, but it's taking forever and it's way more cumb= ersome than being able to run it on any system.
>
> Thanks in advance,
>
> Edouard.
>
>
>
> ---------------config.scm
>
> ;; This is an operating system configuration template
> ;; for a "bare bones" setup, with no X11 display server.
>
> (use-modules (gnu))
> (use-service-modules networking ssh)
> (use-package-modules screen ssh)
>
> (operating-system
>=C2=A0 =C2=A0(host-name "GuixSD_Base")
>=C2=A0 =C2=A0(timezone "UTC")
>=C2=A0 =C2=A0(locale "en_US.utf8")
>
>=C2=A0 =C2=A0;; Boot in "legacy" BIOS mode, assuming /dev/sdX= is the
>=C2=A0 =C2=A0;; target hard disk, and "my-root" is the label = of the target
>=C2=A0 =C2=A0;; root file system.
>=C2=A0 =C2=A0(bootloader (bootloader-configuration
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(bootload= er grub-bootloader)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(target &= quot;/dev/sda")))
>=C2=A0 =C2=A0(file-systems (cons (file-system
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0(device (file-system-label "my-root"))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0(mount-point "/")
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0(type "ext4"))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0%base-file-systems))
>
>=C2=A0 =C2=A0;; This is where user accounts are specified.=C2=A0 The &q= uot;root"
>=C2=A0 =C2=A0;; account is implicit, and is initially created with the<= br> >=C2=A0 =C2=A0;; empty password.
>=C2=A0 =C2=A0(users (cons (user-account
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(name &qu= ot;edouard")
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(comment = "boudoir")
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(group &q= uot;users")
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;; Adding= the account to the "wheel" group
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;; makes = it a sudoer.=C2=A0 Adding it to "audio"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;; and &q= uot;video" allows the user to play sound
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;; and ac= cess the webcam.
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(suppleme= ntary-groups '("wheel"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0"audio" "video"))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(home-dir= ectory "/home/edouard"))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 %base-user-acco= unts))
>
>=C2=A0 =C2=A0;; Globally-installed packages.
>=C2=A0 =C2=A0(packages (append (map specification->package
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 '("tmux" "openssh"))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0%base-packages))
>
>=C2=A0 =C2=A0;; Add services to the baseline: a DHCP client and
>=C2=A0 =C2=A0;; an SSH server.
>=C2=A0 =C2=A0(services (cons* (dhcp-client-service)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (= service openssh-service-type
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(openssh-configuration
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (authorized-keys
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0'(("edouard" ,(local= -file "edouard.pub"))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("root" ,(local-f= ile "edouard.pub"))))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 (permit-root-login 'without-password)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (port-number 22)))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 %= base-services)))
> ------------error message
> c++ -I/gnu/store/pslvw8b4r0m5vmbz2ml7whcv2wbdpa57-pixman-0.34.0/includ= e/pixman-1 -I/tmp/guix-build-qemu-minimal-2.10.2.drv-0/qemu-2.10.2/dtc/libf= dt -pthread -I/gnu/s[14/1947]
> cagl47zbb6krfpmwm31m70s9pk00-glib-2.56.0/include/glib-2.0 -I/gnu/store= /x9lfcagl47zbb6krfpmwm31m70s9pk00-glib-2.56.0/lib/glib-2.0/include -DNCURSE= S_WIDECHAR -D_GNU_SOURCE -D_D
> EFAULT_SOURCE -fPIE -DPIE -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BIT= S=3D64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wun= def -Wwrite-strings -Wmissing-p
> rototypes -fno-strict-aliasing -fno-common -fwrapv=C2=A0 -Wendif-label= s -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security= -Wformat-y2k -Winit-self -Wignore
> d-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-lim= its -fstack-protector-strong=C2=A0 =C2=A0-I/gnu/store/8679cp88yg5jrq2q1944x= f14ibyp1kp7-libpng-1.6.34/include/libpn
> g16 -I/tmp/guix-build-qemu-minimal-2.10.2.drv-0/qemu-2.10.2/tests -O2 = -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2=C2=A0 -Wl,--warn-common -Wl,-z,relr= o -Wl,-z,now -pie -m64 -Wl,--warn-co
> mmon -Wl,-z,relro -Wl,-z,now -pie -m64 -lrt -o tests/test-replication = tests/test-replication.o block.o blockjob.o qemu-io-cmds.o replication.o bl= ock/raw-format.o block/qcow.o
>=C2=A0 block/vdi.o block/vmdk.o block/cloop.o block/bochs.o block/vpc.o= block/vvfat.o block/dmg.o block/qcow2.o block/qcow2-refcount.o block/qcow2= -cluster.o block/qcow2-snapshot.o
> block/qcow2-cache.o block/qcow2-bitmap.o block/qed.o block/qed-l2-cach= e.o block/qed-table.o block/qed-cluster.o block/qed-check.o block/vhdx.o bl= ock/vhdx-endian.o block/vhdx-
> log.o block/quorum.o block/parallels.o block/blkdebug.o block/blkverif= y.o block/blkreplay.o block/block-backend.o block/snapshot.o block/qapi.o b= lock/file-posix.o block/linux
> -aio.o block/null.o block/mirror.o block/commit.o block/io.o block/thr= ottle-groups.o block/nbd.o block/nbd-client.o block/sheepdog.o block/accoun= ting.o block/dirty-bitmap.o b
> lock/write-threshold.o block/backup.o block/replication.o block/crypto= .o nbd/server.o nbd/client.o nbd/common.o block/dmg-bz2.o io/channel.o io/c= hannel-buffer.o io/channel-co
> mmand.o io/channel-file.o io/channel-socket.o io/channel-tls.o io/chan= nel-watch.o io/channel-websock.o io/channel-util.o io/dns-resolver.o io/tas= k.o crypto/init.o crypto/hash
> .o crypto/hash-glib.o crypto/hmac.o crypto/hmac-glib.o crypto/aes.o cr= ypto/desrfb.o crypto/cipher.o crypto/tlscreds.o crypto/tlscredsanon.o crypt= o/tlscredsx509.o crypto/tlsse
> ssion.o crypto/secret.o crypto/random-platform.o crypto/pbkdf.o crypto= /ivgen.o crypto/ivgen-essiv.o crypto/ivgen-plain.o crypto/ivgen-plain64.o c= rypto/afsplit.o crypto/xts.o
> crypto/block.o crypto/block-qcow.o crypto/block-luks.o qom/object.o qo= m/container.o qom/qom-qobject.o qom/object_interfaces.o tests/iothread.o=C2= =A0 libqemuutil.a libqemustub.a=C2=A0 -
> lz -laio -lbz2 -lm -L/gnu/store/x9lfcagl47zbb6krfpmwm31m70s9pk00-glib-= 2.56.0/lib -lgthread-2.0 -pthread -lglib-2.0=C2=A0 -lz -lz=C2=A0 -lutil
> MALLOC_PERTURB_=3D${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))} gte= ster -k --verbose -m=3Dquick tests/test-replication
> TEST: tests/test-replication... (pid=3D14861)
>=C2=A0 =C2=A0/replication/primary/read:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0OK
>=C2=A0 =C2=A0/replication/primary/write:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 OK
>=C2=A0 =C2=A0/replication/primary/start:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 OK
>=C2=A0 =C2=A0/replication/primary/stop:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0OK
>=C2=A0 =C2=A0/replication/primary/do_checkpoint:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 OK
>=C2=A0 =C2=A0/replication/primary/get_error_all:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 OK
>=C2=A0 =C2=A0/replication/secondary/read:=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0OK
>=C2=A0 =C2=A0/replication/secondary/write:=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 OK
>=C2=A0 =C2=A0/replication/secondary/start:=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 **
> ERROR:tests/test-replication.c:117:test_blk_write: assertion failed: (= async_ret =3D=3D 0)
> FAIL
> GTester: last random seed: R02Sb499c9e89b18bb967dd59acad1b2aaa8
> (pid=3D14865)
>=C2=A0 =C2=A0/replication/secondary/stop:=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0OK
>=C2=A0 =C2=A0/replication/secondary/do_checkpoint:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 OK
>=C2=A0 =C2=A0/replication/secondary/get_error_all:=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 OK
> FAIL: tests/test-replication
> make: *** [/tmp/guix-build-qemu-minimal-2.10.2.drv-0/qemu-2.10.2/tests= /Makefile.include:849: check-tests/test-replication] Error 1
>
> Test suite failed, dumping logs.
> Backtrace:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 4 (primitive-load "/gnu/= store/5v4cdxg9m4x6hax86g1q7jw5bch=E2=80=A6")
> In ice-9/eval.scm:
>=C2=A0 =C2=A0 191:35=C2=A0 3 (_ _)
> In srfi/srfi-1.scm:
>=C2=A0 =C2=A0 =C2=A0640:9=C2=A0 2 (for-each #<procedure a06400 at /g= nu/store/f95ghy8mx00=E2=80=A6> =E2=80=A6)
> In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/buil= d/gnu-build-system.scm:
>=C2=A0 =C2=A0 799:31=C2=A0 1 (_ _)
>=C2=A0 =C2=A0 =C2=A0369:6=C2=A0 0 (check #:target _ #:make-flags _ #:te= sts? _ # _ # _ # _)
>
> /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/g= nu-build-system.scm:369:6: In procedure check:
> Throw to key `srfi-34' with args `(#<condition &invoke-erro= r [program: "make" arguments: ("check") exit-status: 2 = term-signal: #f stop-signal: #f] 986a40>)'.
> builder for `/gnu/store/5q7ixx1qjf7msamr052jc5jyfilhpsai-qemu-minimal-= 2.10.2.drv' failed with exit code 1
> cannot build derivation `/gnu/store/5i56cl8c6608azkn67qy54nf2kqxfhkl-g= rub-2.02.drv': 1 dependencies couldn't be built
> guix system: error: build failed: build of `/gnu/store/5i56cl8c6608azk= n67qy54nf2kqxfhkl-grub-2.02.drv' failed
>
>

It seems that qemu-minimal failed it's test suite.

Could you try to run the command again, and report back, so that we
can see if the problem persists?
(We often see indeterministic test failures unfortunately.)

Best regards,
g_bor
--000000000000708c4c05790f1ae8--