From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Subject: bug#36215: guix system docker-image fails when store items contain non-ascii characters Date: Fri, 14 Jun 2019 23:05:06 +0200 Message-ID: <20190614230506.1b05b540@alma-ubu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/kgoR+Co2hTPttasaqzoO_+E"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37699) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbtOd-0000MK-HM for bug-guix@gnu.org; Fri, 14 Jun 2019 17:06:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbtOc-0002LD-0x for bug-guix@gnu.org; Fri, 14 Jun 2019 17:06:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52612) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbtOb-0002L3-Tg for bug-guix@gnu.org; Fri, 14 Jun 2019 17:06:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbtOb-0001GD-Nv for bug-guix@gnu.org; Fri, 14 Jun 2019 17:06:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:37571) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbtNp-0008VI-Oq for bug-guix@gnu.org; Fri, 14 Jun 2019 17:05:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbtNo-0001jt-8I for bug-guix@gnu.org; Fri, 14 Jun 2019 17:05:13 -0400 Received: from m4s11.vlinux.de ([83.151.27.109]:45406 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hbtNn-0001h3-SG for bug-guix@gnu.org; Fri, 14 Jun 2019 17:05:12 -0400 Received: from alma-ubu (pD951F287.dip0.t-ipconnect.de [217.81.242.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id C555A3FBFD for ; Fri, 14 Jun 2019 23:05:07 +0200 (CEST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 36215@debbugs.gnu.org --Sig_/kgoR+Co2hTPttasaqzoO_+E Content-Type: multipart/mixed; boundary="MP_/JhEyVrTGdO=pzMjV6lYJke9" --MP_/JhEyVrTGdO=pzMjV6lYJke9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline $ guix system docker-image docker-minimal-system.scm [..] building /gnu/store/a3mlhl86g54w7i7yyx7yyfycn8bzp3nc-guix-docker-image.tar.= gz.drv... -builder for `/gnu/store/a3mlhl86g54w7i7yyx7yyfycn8bzp3nc-guix-docker-image= .tar.gz.drv' failed with exit code 1 build of /gnu/store/a3mlhl86g54w7i7yyx7yyfycn8bzp3nc-guix-docker-image.tar.= gz.drv failed View build log at '/var/log/guix/drvs/a3/mlhl86g54w7i7yyx7yyfycn8bzp3nc-gui= x-docker-image.tar.gz.drv.bz2'. guix system: error: build of `/gnu/store/a3mlhl86g54w7i7yyx7yyfycn8bzp3nc-g= uix-docker-image.tar.gz.drv' failed And the log says: qemu-system-x86_64: warning: hub 0 is not connected to host network ESCcESC[?7lESC[2JESC[0mSeaBIOS (version rel-1.12.0-0-ga698c8995f-prebuilt.q= emu.org) iPXE (http://ipxe.org) 00:03.0 C980 PCI2.10 PnP PMM+0FF91100+0FEF1100 C980 Press Ctrl-B to configure iPXE (PCI 00:03.0)...^M = =20 Booting from ROM... ESCcESC[?7lESC[2J[ 0.000000] Linux version 5.1.8-gnu (nixbld@) (gcc vers= ion 7.4.0 (GCC)) #1 SMP 1 [ 0.000000] Command line: panic=3D1 --load=3D/gnu/store/5w2d4p93hzfri3b0= 2yw76cmdkpbk1szi-linux-vm-loader console=3DttyS0 [ 0.000000] KERNEL supported cpus: [...] [Kregistering 177 items [################################### = ]Backtrace: In ./guix/store/database.scm: 95:20 19 (call-with-database _ _) In ice-9/boot-9.scm: 829:9 18 (catch _ _ # ?) In ./guix/store/database.scm: 114:20 17 (_) In ./guix/progress.scm: 70:36 16 (call-with-progress-reporter _ _) In srfi/srfi-1.scm: 640:9 15 (for-each # ?) In ./guix/store/database.scm: 340:36 14 (_ #< item: "/gnu/store/6w65nzbc3ah30y5kr4z?>) In ./guix/store/deduplication.scm: 60:4 13 (nar-sha256 "/guixsd-system-root/gnu/store/6w65nzbc3ah3?") In ./guix/serialization.scm: 363:9 12 (dump "/guixsd-system-root/gnu/store/6w65nzbc3ah30y5kr4?") In srfi/srfi-1.scm: 640:9 11 (for-each # ?) In ./guix/serialization.scm: 370:23 10 (_ "etc") 363:9 9 (dump "/guixsd-system-root/gnu/store/6w65nzbc3ah30y5kr4?") In srfi/srfi-1.scm: 640:9 8 (for-each # ?) In ./guix/serialization.scm: 370:23 7 (_ "ssl") 363:9 6 (dump "/guixsd-system-root/gnu/store/6w65nzbc3ah30y5kr4?") In srfi/srfi-1.scm: 640:9 5 (for-each # ?) In ./guix/serialization.scm: 370:23 4 (_ "certs") 362:43 3 (dump "/guixsd-system-root/gnu/store/6w65nzbc3ah30y5kr4?") In srfi/srfi-1.scm: 697:23 2 (filter-map # . #) In ./guix/serialization.scm: 304:56 1 (_ "NetLock_Arany_=3DClass_Gold=3D_F??tan??s??tv??ny:2.6.73?") In unknown file: 0 (lstat "/guixsd-system-root/gnu/store/6w65nzbc3ah30y5kr?") ERROR: In procedure lstat: In procedure lstat: No such file or directory: "/guixsd-system-root/gnu/sto= re/6w65nzbc3ah30y5kr4zx9rcgknpjr1f5-nss-certs-3.43/etc/ssl/certs/NetLock_Ar= any_=3DClass_Gold=3D_F??tan??s??tv??ny:2.6.73.65.44.228.0.16.pem" ^MESC[Kregistering 177 items [ 152.952990] Kernel panic - not syncing: Attempted to kill init! exitcode= =3D0x00000100 [ I don't know what exactly is done here, but on my real machine, that path exists (with the right encoding): $ ls /gnu/store/6w65nzbc3ah30y5kr4zx9rcgknpjr1f5-nss-certs-3.43/etc/ssl/cer= ts/NetLock_Arany_* '/gnu/store/6w65nzbc3ah30y5kr4zx9rcgknpjr1f5-nss-certs-3.43/etc/ssl/certs/N= etLock_Arany_=3DClass_Gold=3D_F=C5=91tan=C3=BAs=C3=ADtv=C3=A1ny:2.6.73.65.4= 4.228.0.16.pem' When I remove the "nss-certs" package from my system-definition, it works. Also, creating the qemu-image works: $ guix system vm-image docker-minimal-nginx.scm=20 [..] /gnu/store/w3w5w8i3iq7zqhbk78rkc17r97v2yi62-qemu-image $ guix describe Generation 62 Jun 11 2019 19:29:17 (current) guix-hoebjo 385a225 repository URL: file:///home/bjoern/guix/guix-hoebjo branch: master commit: 385a2254007c66bfea30eeef7534800605107131 guix 944cb87 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 944cb87a33e222cacae6647f37325b94e6a47568 System file attached. Bj=C3=B6rn --MP_/JhEyVrTGdO=pzMjV6lYJke9 Content-Type: text/x-scheme Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=docker-minimal-system.scm (use-modules (gnu) (gnu system nss)) (use-package-modules certs ssh) (use-service-modules networking) (operating-system (swap-devices '("/dev/sdb1")) (host-name "mini-nginx") (timezone "Europe/Paris") (locale "en_US.utf8") (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)) (users (cons (user-account (name "alice") (comment "Alice") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/alice")) %base-user-accounts)) (packages (cons* nss-certs %base-packages)) (services %base-services)) --MP_/JhEyVrTGdO=pzMjV6lYJke9-- --Sig_/kgoR+Co2hTPttasaqzoO_+E Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXQQMAgAKCRC/KGy2WT5f /QK5AKCd3PV/DEFCLi1Qj2ZHGoC2UaRa9gCffDm//4icRP6RCp0DYmxVIyGUKxM= =OVMe -----END PGP SIGNATURE----- --Sig_/kgoR+Co2hTPttasaqzoO_+E--