From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QOQVOTW81mOC2AAAbAwnHQ (envelope-from ) for ; Sun, 29 Jan 2023 19:34:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2GseOTW81mOQLwAA9RJhRA (envelope-from ) for ; Sun, 29 Jan 2023 19:34:29 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 713EB2EF9A for ; Sun, 29 Jan 2023 19:34:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMCVG-0003tV-O6; Sun, 29 Jan 2023 13:34:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMCV8-0003sZ-Dy for guix-patches@gnu.org; Sun, 29 Jan 2023 13:34:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pMCV7-0007Il-W3 for guix-patches@gnu.org; Sun, 29 Jan 2023 13:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pMCV7-0006rz-Rw for guix-patches@gnu.org; Sun, 29 Jan 2023 13:34:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59619] [PATCH] grub-configfile - guix shell ... ./pre-inst-env References: In-Reply-To: Resent-From: Stefan Karrmann Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Jan 2023 18:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59619 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59619@debbugs.gnu.org Received: via spool by 59619-submit@debbugs.gnu.org id=B59619.167501721526369 (code B ref 59619); Sun, 29 Jan 2023 18:34:01 +0000 Received: (at 59619) by debbugs.gnu.org; 29 Jan 2023 18:33:35 +0000 Received: from localhost ([127.0.0.1]:45376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMCUg-0006rF-FI for submit@debbugs.gnu.org; Sun, 29 Jan 2023 13:33:34 -0500 Received: from mout.web.de ([212.227.17.11]:48081) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMCUe-0006qz-Ol for 59619@debbugs.gnu.org; Sun, 29 Jan 2023 13:33:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1675017206; bh=+qXcis36pumd8VViJd02O3I1AO60Da+Rs+WGzPTyvDw=; h=X-UI-Sender-Class:Date:From:To:Subject; b=DuOesmFfP5MosDETBC3zrrKlIFeGx6almr7oZe5+T1vYDXd+s2Qvp/dBOAdPS9ofV bpKwhN6QQT93a0E8tJeP6oA45xvjeMerER0kSjZ/Z7wo4XIo8g5CBbKfrHPS+x22cI eOioxPO3nH/R/TfFJS+++fISvVst38vfAc/iGDSuyxuXon4qOAXeOKs5Tgnb/YGyu3 uNDCq7iWDm4pa4MAk2kSyG8d7U7An3MG84ePV9D75tqy77Aijfg7EJpbRMaM05MLZp XN41x2k8yI7NI7etVowPBs5rFMKXj4boZRLmsT0TNk7sMZkETFnaIf3Leb+5TNooOy ImXEzw+I8onxQ== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from localhost ([94.218.75.101]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MVJNd-1pC3qz1hNn-00SOd0 for <59619@debbugs.gnu.org>; Sun, 29 Jan 2023 19:33:26 +0100 Date: Sun, 29 Jan 2023 19:33:23 +0100 From: Stefan Karrmann Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:A8Af6U1IU5lvlOVjgC/FNNb62AenXnSWKIcsd51b6Q6DzqnoSf0 4H7maSR43X2GK64HjNSSo878JRHKXA27UwJukybbaonjZ5QER6MuFCc/xY2CZ6rPvQ9kkao pW2NWnerWuMA1KNC8n33TvNxHb1NPDK37GQS1MQkBHfPvfJ1kKF8iuU3IrKf8z8HWAigdAu LBdO35WH0QQ/QKLmcXHSQ== UI-OutboundReport: notjunk:1;M01:P0:Uvle34q1VhI=;305JKeldwzaff1tM7QPiFzQZq3t We11tI8RHvbhXwZYtIdD+5EBbRZywCuzisTzR82l3InChDskPt7Y5Mbmtna4HI5Sl5x3SFt1u lcNXdGAODWbAiHpQS0V0DswYLhQJLiazIEQEvK7YfM2yXJK8IslNhmGszvAGSelXxbGnvlp7Y rOsDF8VbBo7Xi8/eRPxQvFx7VcilVoCmy1+BVnqSIY1Bmffz5FSAjdtFPHrf28zTagOQFOXzp bf1B63Q0oF4RcNJqjXF5vdHvA5pkqN1H9cO5TW6P4n7tH+ETujFz3/MGQUbJsmm3RV3e9Uet9 ZZBU9TPf7jJyw8Lr5Zz2H7wVMDXwNq/fWbHTLuKftFGmxu56ixTQlTaozo5q8TdO7jUHOQvkT npFYogKiUywCP9OiFvRE1+1f5HXrG11SqqsyMX6H1qAT+1VmHcRIdTc18b5T5Sd/D/ED1/UA6 /xo+1iE+B4kLtSkpb1NhWkwnrCf2VbemE1zBy2C9ZhPik58wBPX4cFdxl99hrF/5EBhqBufCh hdzRmojal2CQq7sUmiOyUgwQLoVkUoxtU5U5Vp6eoHUyTovqhLThJYZCiOWNbnm1L860afvWw iZ7dtsIfp2sIo9QrCHaZLTo1Guwq0rhtz4mtHou6wXbGjDWQSslUZWF2Xmcgi8pLt0l8j5mv8 dvGHj/7HNF3kMw8fAQ0kiVAKvszSr8RgZfIUvQBY6k6kjit6EqLQzUSqlfKo7CEkXwJumEsY3 FkTairVOEmiiDtF0qC2uJikItNcxKv5ev0yRnolnSgFfTh6XjT5KKcZcMRMtN1Iebgj31awnT Lwomb9OsKqt7J/nPFHzSIkj+KntETwCgZEFKQ3ARyAMWsTmyy4CZHpcgTlZO/pGikxnxaF6Tc bmufO08yQQZUUUCCy3/dJ3O5VLU2ZWc3yXaGMGC++pRQUkkL5KlQ5Sa6zV78pGSISc8Dl41mR WYaU5A== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675017269; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=OUm4Otc5jRpRbNPb3YFaYZkJAlTt3O0hOQ4Ww7WEUvs=; b=FTod/9u0WWc0tZH4bheRDkY4mtjJQiFr2FNZB7uy4ZEjzwfybnxVOvdHc/ehoKxU0tyn2e yrfYZ7+68ku91TtX+DUPZ/5qwxtlhqmCKuyYQ6Bv1fqIdqwsla19RTDwpsBiYLP7fWp8ku 6pRo3VIGyfamkN4H6e0VQ6JCrUlQMew2gAnRky+3UfncwS9UC/hn2jTMklwvIGHhm2rObu QF62TNntqmeqLsDkVx/s54xG1LFe779UQE4qE6fl2UysSsmylVLSf7bU0B5KYXcyL8BMg2 Z/k9LJ2Ijuo5tpELWA63+WOGQcoqudGieaZjwEe7zq95FzNYN1qDw83GF1Xs6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=web.de header.s=s29768273 header.b=DuOesmFf; dmarc=pass (policy=none) header.from=web.de; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675017269; a=rsa-sha256; cv=none; b=TFHdt4uddDQUeNm5lgPdGeogXl59JUZEWIkbEvzQZFR8p5lXP97yu36zRSqs/X1ElrBrf1 AY5kAm2//suENb3SpHoBBynnZA+hCP7eNl3NIJ2j50RvcUFB0vFad7ZJRiHe+mkwldV+7G nH7YO3kUu37TeYM5eeZ33XinbWKqKyt3+zYqh2QO9ELiIfPwlyga1jL7XRs3JSS0FG30tc nM1h+12+eMIl75wVNMwd4wCeWPzeffTTs1SYVh/ezE3G8KLWuKKr2asoFvG0gbPh1s9oPy BOQeelVYjhemurfoHABmdLt9tVKhlemtsgSPk/vup8DhON8qKxZ3fpcgRhGCOg== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=web.de header.s=s29768273 header.b=DuOesmFf; dmarc=pass (policy=none) header.from=web.de; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -9.71 X-Spam-Score: -9.71 X-Migadu-Queue-Id: 713EB2EF9A X-TUID: 5gstT2eytrnD Dear all, I managed to run guix directly in my guix git-clone. A peek shows that the new menu-entry works initially. Later, it runs into an record-abi-mismatch-error. I suspect, that this happens on the side of the guix-daemon. Is this really the problem? How can we handle it? $ ./pre-inst-env ~/guix-clone/scripts/guix system vm /home/sk/guix/system-= initial.scm --share=3D/ --full-boot --root=3D/home/sk/guix/vm ;;; (#< label: "Grub config" device: #< type: dce bv: #v= u8(92 187 154 112 163 200 67 132 160 133 158 104 150 5 131 67)> device-mou= nt-point: #f linux: #f linux-arguments: () initrd: #f multiboot-kernel: #f= multiboot-arguments: () multiboot-modules: () config-file: "/boot/grub/gr= ub.cfg" chain-loader: #f>) Backtrace: In guix/store.scm: 1300:8 19 (call-with-build-handler # ?) 2170:25 18 (run-with-store # ?) In guix/scripts/system.scm: 850:2 17 (_ _) In guix/gexp.scm: 1180:2 16 (_ _) 1046:2 15 (_ _) 892:4 14 (_ _) In guix/store.scm: 2055:12 13 (_ #) 1382:11 12 (map/accumulate-builds # ?) 1300:8 11 (call-with-build-handler # ?) 2170:25 10 (run-with-store # ?) In guix/gexp.scm: 897:13 9 (_ _) In guix/store.scm: 1998:13 8 (_ #) In guix/gexp.scm: 299:51 7 (_) In unknown file: 6 (with-fluids* (#) (#f) #) In guix/gexp.scm: 733:29 5 (_) In gnu/system/image.scm: 938:21 4 (_) In gnu/system.scm: 1448:26 3 (operating-system-bootcfg #< kernel:?> ?) 521:4 2 (boot-parameters->menu-entry _) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: Throw to key `record-abi-mismatch-error' with args `(abi-check "~a: record= ABI mismatch; recompilation needed" (#>) ())'. =2D--- system-config.scm ;; this is based on znavko's Dual Boot config ;; with the second OS in GRUB on the separate hdd /dev/sda9 ( grub: (hd1,g= pt8) ) (use-modules (gnu) (gnu system nss) (gnu system locale) ;;for locale-definition (gnu services desktop) (gnu services networking) ;;for remove ntp (gnu services avahi) ;;for remove avahi - an dns? (gnu services xorg) (gnu services admin) ;;for unattended-upgrades (gnu packages admin) ;;for wpa_supplicant (gnu packages suckless) (gnu packages networking) ;; iwd (srfi srfi-1) ;;for remove function ) (use-modules (system vm inspect) (ice-9 pretty-print)) ;; debugging$ (use-modules (gnu packages linux)) ;; free/libre linux (use-service-modules desktop networking base xorg) (use-package-modules certs wm suckless) (define (peek . stuff) (newline) (display ";;; ") (write stuff) (newline) (car (last-pair stuff))) (define pk peek) (define guix-ext-root (file-system (device (file-system-label "guix-ext")) (mount-point "/") (type "btrfs") ; (options "subvol=3Dguix-root/work,noatime") (needed-for-boot? #t))) (define guix-ext-boot (file-system (device (file-system-label "guix-ext-boot")) (mount-point "/boot") (options "subvol=3Dboot/work") (type "btrfs") (needed-for-boot? #f))) ; only by grub upto initrd (define guix-ext-efi (file-system (device (file-system-label "GUIX-EXT-EF")) (mount-point "/boot/efi") #;(mount-point "/sys/firmware/efi/efivars") (type "vfat"))) (operating-system (host-name "johann") (timezone "Europe/Berlin") (locale "de_DE.utf8") (keyboard-layout (keyboard-layout "de")) (initrd-modules (cons* "btrfs" %base-initrd-modules)) (kernel linux-libre) ; gnu libre (firmware (cons* %base-firmware)) (kernel-arguments (cons* "rootdelay=3D3" ; now default subvol: "rootflags=3Dsubvol=3D/guix-ext/= work" (remove (lambda (option) (string=3D? option "quiet")) = %default-kernel-arguments))) (bootloader (bootloader-configuration (bootloader (bootloader (inherit grub-bootloader) (installer #~(const #t)))) ; (bootloader grub-bootloader) (targets (list "/dev/sdb")) (keyboard-layout keyboard-layout) (menu-entries (list (pk (menu-entry (label "Grub config") (device (uuid "5cbb9a70-a3c8-4384-a085-9e689= 6058343")) (config-file "/boot/grub/grub.cfg"))) (menu-entry (label "Debian") (linux "(hd1,gpt8)/boot/vmlinuz") ; gen= erates nonsens: search --file --set /guix-root/work(hd1,gpt8)/boot/vmlinuz (linux-arguments '("root=3D/dev/sda9"))= ; dito dito (initrd "(hd1,gpt8)/boot/initrd.img")))= ))) (file-systems (cons* guix-ext-root guix-ext-boot guix-ext-efi %base-file-systems)) (swap-devices (list (swap-space (target (uuid "d48bfe0f-9715-4267-81c9-b1503144fab6"))= ))) (users (cons* (user-account (name "sk") (uid 1000) (group "sk") (supplementary-groups '("users" "wheel" "netdev" "audio" "= video")) (home-directory "/home/sk")) %base-user-accounts)) (groups (cons* (user-group (name "sk") (id 1000)) %base-groups)) ;; This is where we specify system-wide packages. (packages (cons* nss-certs ;for HTTPS access i3-wm i3status dmenu dwm iwd ; needs dbus... slock st %base-packages)) (locale-definitions (list (locale-definition (name "de_DE.utf8") (source = "de_DE")) (locale-definition (name "en_US.utf8") (source = "en_US")))) (services (cons* (set-xorg-configuration (xorg-configuration ;for Xorg (keyboard-layout keyboard-layout))) (screen-locker-service slock) (modify-services ;; removing unnecessary services (remove (lambda (service) (member (service-kind service) (list ntp-service-type avahi-service-type bluetooth-service gdm-service-type))) %desktop-services) ;end of remove lambda services ) ;;end of modify-services )) ;;end of services ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss) ;;blacklist ugly sound speaker, blacklist #;(kernel-arguments '("modprobe.blacklist=3Dpcspkr,snd_pcsp,bluetooth")) ) ;;end of operating-system =2D--- =2D- Stefan Karrmann Sichere Kommunikation? GPG: 0x8C3260C01550B612E4C5730D22E42112094CE53F An sich ist nichts weder gut noch b=F6se. Erst das Denken mach es dazu. -- William Shakespeare (Hamlet)