all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
To: 36215@debbugs.gnu.org
Subject: bug#36215: guix system docker-image fails when store items contain non-ascii characters
Date: Fri, 14 Jun 2019 23:05:06 +0200	[thread overview]
Message-ID: <20190614230506.1b05b540@alma-ubu> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 4367 bytes --]

$ 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-guix-docker-image.tar.gz.drv.bz2'.
guix system: error: build of `/gnu/store/a3mlhl86g54w7i7yyx7yyfycn8bzp3nc-guix-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.qemu.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                                                                               


Booting from ROM...
ESCcESC[?7lESC[2J[    0.000000] Linux version 5.1.8-gnu (nixbld@) (gcc version 7.4.0 (GCC)) #1 SMP 1
[    0.000000] Command line: panic=1 --load=/gnu/store/5w2d4p93hzfri3b02yw76cmdkpbk1szi-linux-vm-loader console=ttyS0
[    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 _ _ #<procedure 12aa0a0 at ./guix/store/databas?> ?)
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 #<procedure f54a50 at ./guix/store/database.?> ?)
In ./guix/store/database.scm:
   340:36 14 (_ #<<store-info> 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 #<procedure 126c660 at ./guix/serialization.?> ?)
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 #<procedure 126c630 at ./guix/serialization.?> ?)
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 #<procedure 126c600 at ./guix/serialization.?> ?)
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 #<procedure 10724c0 at ./guix/serializat?> . #)
In ./guix/serialization.scm:
   304:56  1 (_ "NetLock_Arany_=Class_Gold=_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/store/6w65nzbc3ah30y5kr4zx9rcgknpjr1f5-nss-certs-3.43/etc/ssl/certs/NetLock_Arany_=Class_Gold=_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=0x00000100
[

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/certs/NetLock_Arany_*
'/gnu/store/6w65nzbc3ah30y5kr4zx9rcgknpjr1f5-nss-certs-3.43/etc/ssl/certs/NetLock_Arany_=Class_Gold=_Főtanúsítvány:2.6.73.65.44.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 
[..]
/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örn



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: docker-minimal-system.scm --]
[-- Type: text/x-scheme, Size: 859 bytes --]

(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))

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

             reply	other threads:[~2019-06-14 21:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-14 21:05 Björn Höfling [this message]
2019-06-16 21:34 ` bug#36215: guix system docker-image fails when store items contain non-ascii characters Björn Höfling
2019-06-17 10:36   ` Ludovic Courtès
2019-06-18  8:43     ` Björn Höfling

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190614230506.1b05b540@alma-ubu \
    --to=bjoern.hoefling@bjoernhoefling.de \
    --cc=36215@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.