unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* why does this system build but won't reconfigure?
@ 2018-11-05  3:15 George Clemmer
  2018-11-05  3:25 ` George Clemmer
  0 siblings, 1 reply; 6+ messages in thread
From: George Clemmer @ 2018-11-05  3:15 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 1756 bytes --]

Hi,

I built a new system w/ 'guix system' using Guix from Git
v0.15.0-3115-g7571ec357 (please see below & sys.scm).

But 'system reconfigure' fails when > 6 sites didn't have
linux-libre-4.17.6 source (guix-reconfigure-linux-libre-4.17.6.log) This
puzzles me ...

Given that the system is built, why do we need to build linux now?

Why can't I grep-find linux-libre-4.17.6 in the Guix working tree?

TIA - George

Details:

guix system --cores=7 --max-jobs=10 -K --on-error=debug build sys.scm
  #+END_SRC

#+RESULTS:
: /gnu/store/4dyijbdi8yi7dw2lj2q7y9cggsbg2f7r-system
The following derivations will be built:
   /gnu/store/kp2l788aj8d698j4jfsy2xwd0dqn90p5-system.drv
   /gnu/store/nx7jsxxii6c4kkwknvqxxgi1qkznbm4h-shepherd-guix-daemon.scm.drv
   /gnu/store/xjqqana8lhqnlp7s3q6wjkcprcp72sc9-shepherd.conf.drv
   /gnu/store/7gb5nwbgq037m4zpx5w8z0xw2m63s7ks-boot.drv
substitute: guix substitute: warning: while fetching 'https://mirror.hydra.gnu.org/nix-cache-info': 504 ("Gateway Time-out")
substitute: guix substitute: warning: ignoring substitute server at '"https://mirror.hydra.gnu.org"'
building /gnu/store/nx7jsxxii6c4kkwknvqxxgi1qkznbm4h-shepherd-guix-daemon.scm.drv...
successfully built /gnu/store/nx7jsxxii6c4kkwknvqxxgi1qkznbm4h-shepherd-guix-daemon.scm.drv
building /gnu/store/xjqqana8lhqnlp7s3q6wjkcprcp72sc9-shepherd.conf.drv...
successfully built /gnu/store/xjqqana8lhqnlp7s3q6wjkcprcp72sc9-shepherd.conf.drv
building /gnu/store/7gb5nwbgq037m4zpx5w8z0xw2m63s7ks-boot.drv...
successfully built /gnu/store/7gb5nwbgq037m4zpx5w8z0xw2m63s7ks-boot.drv
building /gnu/store/kp2l788aj8d698j4jfsy2xwd0dqn90p5-system.drv...
successfully built /gnu/store/kp2l788aj8d698j4jfsy2xwd0dqn90p5-system.drv
/gnu/store/3sql57akwqv5rk8mvy0rndvl67ribay6-system


[-- Attachment #2: guix-reconfigure-linux-libre-4.17.6.log --]
[-- Type: application/octet-stream, Size: 5723 bytes --]

glc@g1 /etc/gen [gom]$ sudo guix system --skip-checks --fallback --cores=7 --max-jobs=10 reconfigure sys.scm
Password: 
guix system: warning: Consider running 'guix pull' followed by
'guix system reconfigure' to get up-to-date packages and security updates.

guix system: warning: /root/.config/guix/current not found: 'guix pull' was never run
guix system: warning: Consider running 'guix pull' before 'reconfigure'.
guix system: warning: Failing to do that may downgrade your system!
substitute: updating substitutes from 'http://g1.local:8080'... 100.0%
substitute: guix substitute: warning: while fetching 'https://mirror.hydra.gnu.org/nix-cache-info': 504 ("Gateway Time-out")
substitute: guix substitute: warning: ignoring substitute server at '"https://mirror.hydra.gnu.org"'
substitute: updating substitutes from 'https://berlin.guixsd.org'... 100.0%
substitute: updating substitutes from 'http://g1.local:8080'... 100.0%
substitute: guix substitute: warning: while fetching 'https://mirror.hydra.gnu.org/nix-cache-info': 504 ("Gateway Time-out")
substitute: guix substitute: warning: ignoring substitute server at '"https://mirror.hydra.gnu.org"'
substitute: updating substitutes from 'https://berlin.guixsd.org'... 100.0%
substitute: guix substitute: warning: while fetching 'https://mirror.hydra.gnu.org/nix-cache-info': 504 ("Gateway Time-out")
substitute: guix substitute: warning: ignoring substitute server at '"https://mirror.hydra.gnu.org"'
substitute: guix substitute: warning: while fetching 'https://mirror.hydra.gnu.org/nix-cache-info': 504 ("Gateway Time-out")
substitute: guix substitute: warning: ignoring substitute server at '"https://mirror.hydra.gnu.org"'
substitute: guix substitute: warning: while fetching 'https://mirror.hydra.gnu.org/nix-cache-info': 504 ("Gateway Time-out")
substitute: guix substitute: warning: ignoring substitute server at '"https://mirror.hydra.gnu.org"'

Starting download of /gnu/store/850whj2flslg775mzw3n7i0h6hx054jq-linux-libre-4.17.6-gnu.tar.xz
From https://linux-libre.fsfla.org/pub/linux-libre/releases/4.17.6-gnu/linux-libre-4.17.6-gnu.tar.xz...
download failed "https://linux-libre.fsfla.org/pub/linux-libre/releases/4.17.6-gnu/linux-libre-4.17.6-gnu.tar.xz" 404 "Not Found"

Starting download of /gnu/store/850whj2flslg775mzw3n7i0h6hx054jq-linux-libre-4.17.6-gnu.tar.xz
From ftp://alpha.gnu.org/gnu/guix/mirror/linux-libre-4.17.6-gnu.tar.xz...
Throw to key `ftp-error' with args `(#<input-output: socket 14> "RETR linux-libre-4.17.6-gnu.tar.xz" 550 "Failed to open file.\r")'.

Starting download of /gnu/store/850whj2flslg775mzw3n7i0h6hx054jq-linux-libre-4.17.6-gnu.tar.xz
From https://ftpmirror.gnu.org/gnu/linux-libre/4.17.6-gnu/linux-libre-4.17.6-gnu.tar.xz...
following redirection to `https://mirror.us-midwest-1.nexcess.net/gnu/linux-libre/4.17.6-gnu/linux-libre-4.17.6-gnu.tar.xz'...
download failed "https://mirror.us-midwest-1.nexcess.net/gnu/linux-libre/4.17.6-gnu/linux-libre-4.17.6-gnu.tar.xz" 404 "Not Found"

Starting download of /gnu/store/850whj2flslg775mzw3n7i0h6hx054jq-linux-libre-4.17.6-gnu.tar.xz
From ftp://ftp.cs.tu-berlin.de/pub/gnu/linux-libre/4.17.6-gnu/linux-libre-4.17.6-gnu.tar.xz...
In procedure connect*: Connection timed out

Starting download of /gnu/store/850whj2flslg775mzw3n7i0h6hx054jq-linux-libre-4.17.6-gnu.tar.xz
From ftp://ftp.funet.fi/pub/mirrors/ftp.gnu.org/gnu/linux-libre/4.17.6-gnu/linux-libre-4.17.6-gnu.tar.xz...
Throw to key `ftp-error' with args `(#<input-output: socket 18> "CWD 4.17.6-gnu" 550 "Can't change directory to 4.17.6-gnu: No such file or directory\r")'.

Starting download of /gnu/store/850whj2flslg775mzw3n7i0h6hx054jq-linux-libre-4.17.6-gnu.tar.xz
From http://ftp.gnu.org/pub/gnu/linux-libre/4.17.6-gnu/linux-libre-4.17.6-gnu.tar.xz...
download failed "http://ftp.gnu.org/pub/gnu/linux-libre/4.17.6-gnu/linux-libre-4.17.6-gnu.tar.xz" 404 "Not Found"

Starting download of /gnu/store/850whj2flslg775mzw3n7i0h6hx054jq-linux-libre-4.17.6-gnu.tar.xz
From http://mirror.hydra.gnu.org/file/linux-libre-4.17.6-gnu.tar.xz/sha256/0d48r5jpj71ikdalz5z756snwq54cpnwnba8bbhg8r2ri3770wcm...
download failed "http://mirror.hydra.gnu.org/file/linux-libre-4.17.6-gnu.tar.xz/sha256/0d48r5jpj71ikdalz5z756snwq54cpnwnba8bbhg8r2ri3770wcm" 504 "Gateway Time-out"

Starting download of /gnu/store/850whj2flslg775mzw3n7i0h6hx054jq-linux-libre-4.17.6-gnu.tar.xz
From http://tarballs.nixos.org/sha256/0d48r5jpj71ikdalz5z756snwq54cpnwnba8bbhg8r2ri3770wcm...
download failed "http://tarballs.nixos.org/sha256/0d48r5jpj71ikdalz5z756snwq54cpnwnba8bbhg8r2ri3770wcm" 404 "Not Found"
failed to download "/gnu/store/850whj2flslg775mzw3n7i0h6hx054jq-linux-libre-4.17.6-gnu.tar.xz" from ("https://linux-libre.fsfla.org/pub/linux-libre/releases/4.17.6-gnu/linux-libre-4.17.6-gnu.tar.xz" "ftp://alpha.gnu.org/gnu/guix/mirror/linux-libre-4.17.6-gnu.tar.xz" "mirror://gnu/linux-libre/4.17.6-gnu/linux-libre-4.17.6-gnu.tar.xz")
builder for `/gnu/store/mjkx7v7pcirzyb6g51jsxzhxhfcamhbx-linux-libre-4.17.6-gnu.tar.xz.drv' failed to produce output path `/gnu/store/850whj2flslg775mzw3n7i0h6hx054jq-linux-libre-4.17.6-gnu.tar.xz'
cannot build derivation `/gnu/store/x75dlrkbrf56c1h4hmfl6ird9lpd04dr-linux-libre-4.17.6-gnu.tar.xz.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/bz9w44jx90srvfi7y6x26mqc4pnbkx9x-linux-libre-4.17.6.drv': 1 dependencies couldn't be built
guix system: error: build failed: build of `/gnu/store/bz9w44jx90srvfi7y6x26mqc4pnbkx9x-linux-libre-4.17.6.drv' failed
glc@g1 /etc/gen [gom]$ date
Sun Nov  4 21:37:09 EST 2018
glc@g1 /etc/gen [gom]$ gfg status
guix:
WORKTREE: /home/glc/gom/.gpm/gfg/guix/guix
DESCRIBE: v0.15.0-3115-g7571ec357
ONELINE:  7571ec357 gnu: MPD: Update to 0.20.23.

[-- Attachment #3: sys.scm --]
[-- Type: application/octet-stream, Size: 3347 bytes --]

;; -*-Scheme-*-
;; g1: GuixSD headless server w/ NVMe M.2 SSD root drive
(define sys-packages
  '(
    "cups"
    "emacs-no-x"
    "emacs-guix"
    "emacs-paredit"
    "freeipmi"
    "git"
    "glibc-utf8-locales"
    "magit"
    "mdadm"
    "mosh"
    "nss-certs"
    "openssh"
    "qemu"
    "screen"
    "smartmontools"
    ))
(use-modules (gnu))
(use-modules (gnu packages))
(use-modules (gnu system nss)) ; name service switch
(use-service-modules
 admin                ; rottlog
 avahi
 networking           ; static, ntp
 ssh                  ; openssh-service-type
 mcron
 )
(define updatedb-job
  ;; Run 'updatedb' at 3AM every day.
  #~(job '(next-hour '(3))
	 (lambda ()
	   (execl (string-append #$findutils "/bin/updatedb")
		  "updatedb"
		  "--prunepaths=/tmp /var/tmp /gnu/store"))))
(define garbage-collector-job
  ;; Collect garbage 45 minutes after midnight every day.
  #~(job "45 0 * * *"            ;Vixie cron syntax
	 "guix gc -F 1G"))
(define backup-job
  ;; backup ssd 5 minutes after midnight every day.
  #~(job "5 0 * * *"            ;Vixie cron syntax
	 "/root/bin/bussd"))
(define %my-services
  (modify-services %base-services
    (agetty-service-type config =>
			 (agetty-configuration
			  (tty "ttyS1")
			  (baud-rate "115200")
			  (term "xterm-256color")))
    (guix-service-type config =>
		       (guix-configuration
			(inherit config)
			(substitute-urls
			 (list "https://mirror.hydra.gnu.org"
			       "https://hydra.gnu.org"
			       "https://berlin.guixsd.org"))))))
(operating-system
  (host-name "g1")
  (timezone "America/New_York")
  (locale "en_US.utf8")
  (kernel-arguments '("console=ttyS1,115200"))
  ;; NVMe M.2 SSD root drive
  (bootloader (grub-configuration (target "/dev/nvme0n1")
				  (terminal-outputs '(console))
				  (terminal-inputs '(serial console))
				  (serial-speed 115200)
				  ))
  (file-systems (cons (file-system
			(device (file-system-label "g1NVMe"))
			(mount-point "/")
			(type "ext4"))
		      %base-file-systems))
  (swap-devices '("/dev/nvme0n1p2" ))
  (users (cons* (user-account (name "glc")
			      (group "users")
			      (supplementary-groups '("wheel" "kvm"))
			      (home-directory (string-append "/home/" name)))
		(user-account (name "glc2")
			      (group "users")
			      (supplementary-groups '("wheel" "kvm"))
			      (home-directory (string-append "/home/" name)))
		%base-user-accounts))
  (packages (append (map specification->package
			 sys-packages)
		    %base-packages))
  (services (cons* (static-networking-service
		    "enp3s0" "192.168.1.7"
		    #:gateway "192.168.1.1"
		    #:name-servers '("192.168.1.1" "8.8.8.8"))
		   (service openssh-service-type
			    (openssh-configuration
			     (x11-forwarding? #t)
			     (permit-root-login #t)
			     (authorized-keys
			      `(
				("glc" ,(local-file "glc.pub"))
				("glc2" ,(local-file "glc.pub"))
				("root" ,(local-file "glc.pub"))))))
		   (service rottlog-service-type)
		   (mcron-service (list garbage-collector-job
					updatedb-job
					backup-job))
		   (avahi-service)
		   (ntp-service)
		   (service guix-publish-service-type
			    (guix-publish-configuration
			     (host "0.0.0.0")
			     (port 8080)))
		   (extra-special-file "/etc/gen/sys.scm"
				       (local-file "sys.scm"))
		   %my-services))
  (name-service-switch %mdns-host-lookup-nss))

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-11-05 15:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-05  3:15 why does this system build but won't reconfigure? George Clemmer
2018-11-05  3:25 ` George Clemmer
2018-11-05  8:38   ` swedebugia
2018-11-05 15:13     ` George Clemmer
2018-11-05  9:45   ` Clément Lassieur
2018-11-05 14:11     ` George Clemmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).