From unknown Wed Sep 10 14:13:15 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#28265 <28265@debbugs.gnu.org> To: bug#28265 <28265@debbugs.gnu.org> Subject: Status: guix system build fails Reply-To: bug#28265 <28265@debbugs.gnu.org> Date: Wed, 10 Sep 2025 21:13:15 +0000 retitle 28265 guix system build fails reassign 28265 guix submitter 28265 Efraim Flashner severity 28265 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 28 14:52:50 2017 Received: (at submit) by debbugs.gnu.org; 28 Aug 2017 18:52:50 +0000 Received: from localhost ([127.0.0.1]:59669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmP9W-0007U2-8O for submit@debbugs.gnu.org; Mon, 28 Aug 2017 14:52:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56043) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmP9T-0007Tp-Sz for submit@debbugs.gnu.org; Mon, 28 Aug 2017 14:52:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmP9N-0004bn-PY for submit@debbugs.gnu.org; Mon, 28 Aug 2017 14:52:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37008) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dmP9N-0004bV-Kh for submit@debbugs.gnu.org; Mon, 28 Aug 2017 14:52:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46979) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmP9M-0006Qx-AJ for bug-guix@gnu.org; Mon, 28 Aug 2017 14:52:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmP9H-0004Ow-Am for bug-guix@gnu.org; Mon, 28 Aug 2017 14:52:40 -0400 Received: from flashner.co.il ([178.62.234.194]:56998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmP9G-0004NP-W1 for bug-guix@gnu.org; Mon, 28 Aug 2017 14:52:35 -0400 Received: from localhost (46-117-130-79.bb.netvision.net.il [46.117.130.79]) by flashner.co.il (Postfix) with ESMTPSA id CED55401ED for ; Mon, 28 Aug 2017 18:52:33 +0000 (UTC) Date: Mon, 28 Aug 2017 21:52:32 +0300 From: Efraim Flashner To: bug-guix@gnu.org Subject: guix system build fails Message-ID: <20170828185232.GH1618@macbook42.flashner.co.il> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zqjkMoGlbUJ91oFe" Content-Disposition: inline User-Agent: Mutt/1.8.3 (2017-05-23) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --zqjkMoGlbUJ91oFe Content-Type: multipart/mixed; boundary="ISKrrfpKsPiF35CV" Content-Disposition: inline --ISKrrfpKsPiF35CV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable efraim@macbook42:~/workspace/guix$ time nice ./pre-inst-env guix system bui= ld ~/lightweight-desktop.scm Backtrace: 11 (primitive-load "/home/efraim/workspace/guix/scripts/gu=E2=80= =A6") In guix/ui.scm: 1331:12 10 (run-guix-command _ . _) In ice-9/boot-9.scm: 837:9 9 (catch _ _ # =E2=80=A6) 837:9 8 (catch _ _ # =E2=80=A6) In guix/scripts/system.scm: 1022:8 7 (_) 905:6 6 (process-action _ _ _) In guix/store.scm: 1441:24 5 (run-with-store _ _ #:guile-for-build _ #:system _) In guix/scripts/system.scm: 637:2 4 (_ _) In gnu/system.scm: 884:4 3 (_ _) In gnu/bootloader/grub.scm: 343:29 2 (grub-configuration-file #< =E2=80= =A6> =E2=80=A6) 207:30 1 (eye-candy #< bootloader: #<=E2=80= =A6> =E2=80=A6) 149:22 0 (grub-background-image #< bo=E2=80= =A6> =E2=80=A6) gnu/bootloader/grub.scm:149:22: In procedure grub-background-image: gnu/bootloader/grub.scm:149:22: In procedure struct_vtable: Wrong type argu= ment in position 1 (expecting struct): 5 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --ISKrrfpKsPiF35CV Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="lightweight-desktop.scm" ;; This is an operating system configuration template ;; for a "desktop" setup without full-blown desktop ;; environments. (use-modules (gnu) (gnu system nss)) (use-service-modules desktop) (use-package-modules bootloaders certs openbox suckless wm) (operating-system (host-name "macbook11") (timezone "Asia/Jerusalem") (locale "en_US.utf8") ;; Use the UEFI variant of GRUB with the EFI System ;; Partition mounted on /boot/efi. (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi"))) ;; Assume the target root file system is labelled "my-root". (file-systems (cons* (file-system (device "my-root") (title 'label) (mount-point "/") (type "ext4")) (file-system ;; Specify partition here since FAT ;; labels are currently unsupported. (device "/dev/sda1") (mount-point "/boot/efi") (type "vfat")) %base-file-systems)) (swap-devices '("/dev/sda2")) (users (cons (user-account (name "efraim") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/efraim")) %base-user-accounts)) ;; Add a bunch of window managers; we can choose one at ;; the log-in screen with F1. (packages (cons* openbox i3-wm i3status dmenu ;window managers nss-certs ;for HTTPS access %base-packages)) ;; Use the "desktop" services, which include the X11 ;; log-in service, networking with Wicd, and more. (services %desktop-services) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss)) --ISKrrfpKsPiF35CV-- --zqjkMoGlbUJ91oFe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlmkZnAACgkQQarn3Mo9 g1HqphAAlcvjGooxgMh0IhamQwWEr/b3uqFxgOOusAH2D1DAAH5pr3mzpkB4ofSZ +cw9kWfdv/KF7wcgn36d272jvLqHD9+XHbScXN7iuHF+Idylpf+JtDt2xTFlMJdf DSvwV4yfTlsaKE5BJ4uHYC2b8Xgx81OuBsp/ovT5r/s4rUpaZeUVE5QGvPlfOJpI /9TAymIGlGcFkC8WP+0IZPNSSuftg2IjPTUigCH/hAL2Ff2OflgVIPf33ux2YBSn ZlqaoItAepNVYbHvbJ6ExlaN6UfMsxepn8EBICWam/f7BpPNUc/5M/CuQ6SNeKP9 87u5YEivXoq1pYq2FLyfG6WfpRmlJ4Xye+l/el80/7weTrbyKB66PqwT2ybI3qEL 6w2Zqn7oVsjsuvpo6nz2VJhm04aPrCebREmXqvQPdXHeTP694T34R7H9XzBhwNe5 ml7iRoDLQchmqg1EPzk9iSVopxMN8+2yn1fNDKsMM8+pctQ6StlKV+wnpahLr+Is 1S51WTiPTtqYDECI57zHoBJPOvX7b6RBLc31fxa2B7PrvIeypoU55xPYrA5LQSNb S9HEtDcS2LX86CXTJYwC9wSSdINo6CvEssiOwdYYNrGgpjgDUG7KhlaqoDhCOZPx q59TXNiNI8vpL4J9RsvkgDIE37i8Eu4GKufkQulOFutEsrzF9C8= =TQuD -----END PGP SIGNATURE----- --zqjkMoGlbUJ91oFe-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 28 16:15:46 2017 Received: (at 28265) by debbugs.gnu.org; 28 Aug 2017 20:15:46 +0000 Received: from localhost ([127.0.0.1]:59722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmQRl-00011X-Uw for submit@debbugs.gnu.org; Mon, 28 Aug 2017 16:15:46 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:39359 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmQRi-00011B-2c for 28265@debbugs.gnu.org; Mon, 28 Aug 2017 16:15:42 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id D49FE13D25E; Mon, 28 Aug 2017 21:15:38 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 7921A13D259; Mon, 28 Aug 2017 21:15:38 +0100 (BST) Date: Mon, 28 Aug 2017 21:15:35 +0100 From: Christopher Baines To: Efraim Flashner Subject: Re: bug#28265: guix system build fails Message-ID: <20170828211535.3c6b2053@cbaines.net> In-Reply-To: <20170828185232.GH1618@macbook42.flashner.co.il> References: <20170828185232.GH1618@macbook42.flashner.co.il> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/pFfbt5E7GOd.Ucm9GY311fB"; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28265 Cc: 28265@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --Sig_/pFfbt5E7GOd.Ucm9GY311fB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 28 Aug 2017 21:52:32 +0300 Efraim Flashner wrote: > efraim@macbook42:~/workspace/guix$ time nice ./pre-inst-env guix > system build ~/lightweight-desktop.scm Backtrace: > 11 (primitive-load > "/home/efraim/workspace/guix/scripts/gu=E2=80=A6") In guix/ui.scm: > 1331:12 10 (run-guix-command _ . _) > In ice-9/boot-9.scm: > 837:9 9 (catch _ _ # > =E2=80=A6) 837:9 8 (catch _ _ # > =E2=80=A6) In guix/scripts/system.scm: > 1022:8 7 (_) > 905:6 6 (process-action _ _ _) > In guix/store.scm: > 1441:24 5 (run-with-store _ _ #:guile-for-build _ #:system _) > In guix/scripts/system.scm: > 637:2 4 (_ _) > In gnu/system.scm: > 884:4 3 (_ _) > In gnu/bootloader/grub.scm: > 343:29 2 (grub-configuration-file #< =E2=80= =A6> > =E2=80=A6) 207:30 1 (eye-candy #< bootloader: = #<=E2=80=A6> > =E2=80=A6) 149:22 0 (grub-background-image #< = bo=E2=80=A6> > =E2=80=A6) >=20 > gnu/bootloader/grub.scm:149:22: In procedure grub-background-image: > gnu/bootloader/grub.scm:149:22: In procedure struct_vtable: Wrong > type argument in position 1 (expecting struct): 5 >=20 I tried this, and got the same error, but then I deleted all the .go files, re-ran make, and then tried again, and then it worked. =E2=86=92 ./pre-inst-env guix system build gnu/system/examples/lightweight-= desktop.tmpl=20 /gnu/store/hqjri2wz5sz32fabv7cr85zirnbsmvjs-system I'm not quite sure what this means.... my understanding of Guile is a bit vague. --Sig_/pFfbt5E7GOd.Ucm9GY311fB Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlmkeedfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XfVLxAAqwjD1BKChWcue56KPcWgnNzBy8g0V1h7uxfBkZLd4lF2gnkl+jFM3fbZ U5SIcdczB8I+N0OKfQzd3/I/4+A87i8cHMLPm4wbrm6nmXjnow5AAmB6mwFJuFrd KiNS+4cxTRZDnkl/j7iOLFPecf3RPdxOzvhZ/ZDIYjMPKIltSZHigw/wv8E5Avip LGDlgqJbDM8a/zP6jI9aIRLnyLWpUhyZMcxSSRKwKUVWwkB+d2t6AFNwN7729eC5 o8IEoB1BThxCIxgTyFd7oCQeia75PCDL9qEZZSH0Gng1RgyioQ9+BzWlLu5pg6x6 y41jPBFR1ccnwVvZXwIav3yXajIbFXftNnkANZGe0jQ4dqYDhq0C5h6r7BKoGimB nDEoQn+QT17gd/Pj+wTnkPYdBKJPpxdcT6IvZ6vQm//rr+YNirTFLQ31oesnBvY3 JJpkq3PXwAa0BEiS2eZOe9/TIbY59SlDukugIM0i4gU6BQ3C+oYOyvP3BWK0by5L q/KPb5jwn9sNVjcrJZLvKzJt9WNYLW120eXPZr9jteJk9r007CwZ/b7blvtHSTSW A11yT+wNiHHMO92CSk/7nWunkGpHghl4Hvua9TAP64tRFAW1+Ee8bcxg6SxVCgLZ 95/boZT6f7hBmGgWYAfvzckjwde+IHzCJQxd8dbeuOhDCPbxLkI= =n2Qt -----END PGP SIGNATURE----- --Sig_/pFfbt5E7GOd.Ucm9GY311fB-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 28 23:49:40 2017 Received: (at 28265-done) by debbugs.gnu.org; 29 Aug 2017 03:49:40 +0000 Received: from localhost ([127.0.0.1]:59895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmXX1-0006oF-PY for submit@debbugs.gnu.org; Mon, 28 Aug 2017 23:49:39 -0400 Received: from flashner.co.il ([178.62.234.194]:32863) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmXWz-0006o1-Vi for 28265-done@debbugs.gnu.org; Mon, 28 Aug 2017 23:49:38 -0400 Received: from localhost (46-117-130-79.bb.netvision.net.il [46.117.130.79]) by flashner.co.il (Postfix) with ESMTPSA id B504B401F8; Tue, 29 Aug 2017 03:49:31 +0000 (UTC) Date: Tue, 29 Aug 2017 06:49:28 +0300 From: Efraim Flashner To: Christopher Baines Subject: Re: bug#28265: guix system build fails Message-ID: <20170829034927.GI1618@macbook42.flashner.co.il> References: <20170828185232.GH1618@macbook42.flashner.co.il> <20170828211535.3c6b2053@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NgG1H2o5aFKkgPy/" Content-Disposition: inline In-Reply-To: <20170828211535.3c6b2053@cbaines.net> User-Agent: Mutt/1.8.3 (2017-05-23) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28265-done Cc: 28265-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --NgG1H2o5aFKkgPy/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 28, 2017 at 09:15:35PM +0100, Christopher Baines wrote: > On Mon, 28 Aug 2017 21:52:32 +0300 > Efraim Flashner wrote: >=20 > > efraim@macbook42:~/workspace/guix$ time nice ./pre-inst-env guix > > system build ~/lightweight-desktop.scm Backtrace: > > 11 (primitive-load > > "/home/efraim/workspace/guix/scripts/gu=E2=80=A6") In guix/ui.scm: > > 1331:12 10 (run-guix-command _ . _) > > In ice-9/boot-9.scm: > > 837:9 9 (catch _ _ # > > =E2=80=A6) 837:9 8 (catch _ _ # > > =E2=80=A6) In guix/scripts/system.scm: > > 1022:8 7 (_) > > 905:6 6 (process-action _ _ _) > > In guix/store.scm: > > 1441:24 5 (run-with-store _ _ #:guile-for-build _ #:system _) > > In guix/scripts/system.scm: > > 637:2 4 (_ _) > > In gnu/system.scm: > > 884:4 3 (_ _) > > In gnu/bootloader/grub.scm: > > 343:29 2 (grub-configuration-file #< =E2= =80=A6> > > =E2=80=A6) 207:30 1 (eye-candy #< bootloader= : #<=E2=80=A6> > > =E2=80=A6) 149:22 0 (grub-background-image #< bo=E2=80=A6> > > =E2=80=A6) > >=20 > > gnu/bootloader/grub.scm:149:22: In procedure grub-background-image: > > gnu/bootloader/grub.scm:149:22: In procedure struct_vtable: Wrong > > type argument in position 1 (expecting struct): 5 > >=20 >=20 > I tried this, and got the same error, but then I deleted all the .go > files, re-ran make, and then tried again, and then it worked. >=20 Ooops, so I should've run `make clean' first. > =E2=86=92 ./pre-inst-env guix system build gnu/system/examples/lightweigh= t-desktop.tmpl=20 > /gnu/store/hqjri2wz5sz32fabv7cr85zirnbsmvjs-system >=20 > I'm not quite sure what this means.... my understanding of Guile is a > bit vague. its returning the system that you just asked it to build. I'm closing the bug, should've run `make clean' first. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --NgG1H2o5aFKkgPy/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlmk5DwACgkQQarn3Mo9 g1EGAxAAve7to4YbY/xQrZrLg2tlDogUlCVHfGWfKJQ2+l3V9e8E2jsjtOfcJ6Kq 1fjpkjvjBnpjerEUBgwXslvffYJWDIx4nG7c9ub3QSZ5qvyiUb5VAQl7m2nCMZ2X 4upIU83CKQ9nbwfxCiE6PyO99CfDUnpLAkTJbWbSwdFim3SbmJ2mR1V4RY1uoh2l sY434WvkIgobzKsuGywAymWhiVu7Za+LxOjEkg2eLGJKPcR7XYOWerUhR6g6vSCc Vxh2HG/TYp0oAI2Q70rZS6izT2WRMIKBkI3IIA/nMGiqmQGWhkVogLPYuYf09q64 tRu5KAWBssx6OSEH2nRyUG274vtYLDjt0vfyVfy1lbKKJIv6MuUR2/uTwlH0IYW9 9A4Jy7nRoYW0XOgD62XuGdRe1wlrfnCaPCaPydwLC3+wqUXjmX2x90J4eawwN9Dl k7PRN2EPOR33YhR5hIjL+QUGd2U3ZMDFRK7xfK+r1NU3yL0nOWtE1EwuLny1c+Rx j63rZDrf1fIA3x3Y7ApGeKKNGTjQexAbi+AA2zZbqderKexFyVvBf9YiEwX6Itlj QuRkzH7HPVvmkSS5Qhnpq0ah0sFzMErFsa3cgcg2iNBigPmc5SWl6lKTo31jrF/g AQXBk+9AWU8v3mWAQd6BQ3JzsRQbRgvvMG5Yn6XLCZvI18OPR5s= =hG63 -----END PGP SIGNATURE----- --NgG1H2o5aFKkgPy/-- From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 30 05:07:35 2017 Received: (at 28265) by debbugs.gnu.org; 30 Aug 2017 09:07:35 +0000 Received: from localhost ([127.0.0.1]:33298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmyyF-0006wE-74 for submit@debbugs.gnu.org; Wed, 30 Aug 2017 05:07:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmyyD-0006vw-UW for 28265@debbugs.gnu.org; Wed, 30 Aug 2017 05:07:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmyy3-0003QS-W3 for 28265@debbugs.gnu.org; Wed, 30 Aug 2017 05:07:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmyy3-0003QO-SW; Wed, 30 Aug 2017 05:07:23 -0400 Received: from [193.50.110.251] (port=48214 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dmyy3-0004Gi-EZ; Wed, 30 Aug 2017 05:07:23 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Christopher Baines Subject: Re: bug#28265: guix system build fails References: <20170828185232.GH1618@macbook42.flashner.co.il> <20170828211535.3c6b2053@cbaines.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 Fructidor an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Wed, 30 Aug 2017 11:07:21 +0200 In-Reply-To: <20170828211535.3c6b2053@cbaines.net> (Christopher Baines's message of "Mon, 28 Aug 2017 21:15:35 +0100") Message-ID: <8760d577au.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28265 Cc: 28265@debbugs.gnu.org, Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello! Christopher Baines skribis: > On Mon, 28 Aug 2017 21:52:32 +0300 > Efraim Flashner wrote: > >> efraim@macbook42:~/workspace/guix$ time nice ./pre-inst-env guix >> system build ~/lightweight-desktop.scm Backtrace: >> 11 (primitive-load >> "/home/efraim/workspace/guix/scripts/gu=E2=80=A6") In guix/ui.scm: >> 1331:12 10 (run-guix-command _ . _) >> In ice-9/boot-9.scm: >> 837:9 9 (catch _ _ # >> =E2=80=A6) 837:9 8 (catch _ _ # >> =E2=80=A6) In guix/scripts/system.scm: >> 1022:8 7 (_) >> 905:6 6 (process-action _ _ _) >> In guix/store.scm: >> 1441:24 5 (run-with-store _ _ #:guile-for-build _ #:system _) >> In guix/scripts/system.scm: >> 637:2 4 (_ _) >> In gnu/system.scm: >> 884:4 3 (_ _) >> In gnu/bootloader/grub.scm: >> 343:29 2 (grub-configuration-file #< =E2= =80=A6> >> =E2=80=A6) 207:30 1 (eye-candy #< bootloader:= #<=E2=80=A6> >> =E2=80=A6) 149:22 0 (grub-background-image #<= bo=E2=80=A6> >> =E2=80=A6) >>=20 >> gnu/bootloader/grub.scm:149:22: In procedure grub-background-image: >> gnu/bootloader/grub.scm:149:22: In procedure struct_vtable: Wrong >> type argument in position 1 (expecting struct): 5 >>=20 > > I tried this, and got the same error, but then I deleted all the .go > files, re-ran make, and then tried again, and then it worked. Yeah, this kind of error is typical of an ABI mismatch. The reason is that in Guile, record field accessors of SRFI-9 record types are inlined: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> ,use(srfi srfi-9) scheme@(guile-user)> (define-record-type (make-foo x) foo? (x foo-x)) scheme@(guile-user)> ,expand (foo-x bar) $2 =3D (let ((s bar)) (if ((@@ (srfi srfi-9) eq?) ((@@ (srfi srfi-9) struct-vtable) s) ) ((@@ (srfi srfi-9) struct-ref) s 0) (let ((s* s)) ((@@ (srfi srfi-9) throw) 'wrong-type-arg 'foo-x "Wrong type argument: ~S" ((@@ (srfi srfi-9) list) s*) ((@@ (srfi srfi-9) list) s*))))) --8<---------------cut here---------------end--------------->8--- The (struct-ref s 0) above becomes incorrect if, say, we add a field right before =E2=80=98x=E2=80=99, because =E2=80=98x=E2=80=99 would now be = at offset 1. The safe solution here is to =E2=80=9Cmake clean-go && make=E2=80=9D. Ludo=E2=80=99. From unknown Wed Sep 10 14:13:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 27 Sep 2017 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator