unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29072: guix system: error: qemu-CVE-2017-7493.patch: patch not found
@ 2017-10-30 20:34 myglc2
  2017-10-31  0:31 ` Leo Famulari
  2017-11-06 20:12 ` bug#29072: The usability of Guix configurations myglc2
  0 siblings, 2 replies; 10+ messages in thread
From: myglc2 @ 2017-10-30 20:34 UTC (permalink / raw)
  To: 29072

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

After a clean guix make, guix system build produced this error ...

root@g1 ~/con/15# guix system --cores=4 --max-jobs=4 -K --on-error=debug build sys.scm
guix system: error: qemu-CVE-2017-7493.patch: patch not found

VERSION INFO:

root@g1 ~/con/15# guix --version
guix (GNU Guix) 0.13.0.4202-1f6f4
Copyright (C) 2017 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

root@g1 ~/con/15# stat ~/.config/guix/latest | grep File:
  File: /root/.config/guix/latest -> /home/g1/src/guix/

root@g1 ~/con/15# git -C ~/.config/guix/latest describe
v0.13.0-4202-g1f6f4c40c

root@g1 ~/con/15# git -C ~/.config/guix/latest log -n 1 --oneline
1f6f4c40c (HEAD -> o-master, origin/master, origin/HEAD) gnu: Add r-tgconfig.

root@g1 ~/con/15# git -C /home/g1/src/guix branch -av | grep '*'
* o-master                                1f6f4c40c gnu: Add r-tgconfig.

SYS CONFIG:


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

;;; GuixSD headless server
(use-modules (gnu))
(use-service-modules networking ssh)
(use-package-modules
 admin
 base
 certs
 cups
 disk
 emacs
 freeipmi
 linux
 qemu
 rsync
 screen
 ssh
 version-control
 wget
 xorg 
 )
(operating-system
  (host-name "g1")
  (timezone "America/New_York")
  (locale "en_US.utf8")
  (kernel-arguments '("console=ttyS1,115200"))
  ;; RAID1 root using 1 NVMe SSD + 2 HDs
  (bootloader (grub-configuration (target "/dev/nvme0n1")
				  (terminal-outputs '(console))
				  (terminal-inputs '(serial console))
				  (serial-speed 115200)				  
				  ))
  (initrd (lambda (file-systems . rest) (apply base-initrd file-systems
					       #:extra-modules '("raid1")
					       rest)))
  (mapped-devices (list (mapped-device
			 (source '("/dev/nvme0n1p1" "/dev/sda1" "/dev/sdb1"))
			 (target "/dev/md3")
			 (type raid-device-mapping))))
  (file-systems (cons (file-system
			(title 'device)
			(device "/dev/md3")
			(mount-point "/")
			(type "ext4")
			(dependencies mapped-devices))
		      %base-file-systems))
  (swap-devices '("/dev/nvme0n1p2" ))
  (users (cons* (user-account (name "g1")
			      (group "users")
			      (supplementary-groups '("wheel" "kvm"))
			      (home-directory (string-append "/home/" name)))
		(user-account (name "admin")
			      (group "users")
			      (supplementary-groups '("wheel" "kvm"))
			      (home-directory (string-append "/home/" name)))
		%base-user-accounts))
  (packages (cons*
	     cups
	     emacs-no-x-toolkit
	     emacs-guix
	     emacs-zenburn-theme
	     freeipmi
	     git
	     glibc-utf8-locales
	     gnu-make
	     mdadm
	     magit
	     nss-certs
	     openssh
	     parted
	     qemu
	     rsync
	     screen
	     smartmontools
	     tree
	     wget
	     xauth
	     %base-packages))
  (services (cons* (dhcp-client-service)
		   (ntp-service)
		   (service openssh-service-type (openssh-configuration
						  (x11-forwarding? #t)))
		   (agetty-service (agetty-configuration (tty "ttyS1")
							 (baud-rate "115200")))
		   %base-services)))

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

* bug#29072: guix system: error: qemu-CVE-2017-7493.patch: patch not found
  2017-10-30 20:34 bug#29072: guix system: error: qemu-CVE-2017-7493.patch: patch not found myglc2
@ 2017-10-31  0:31 ` Leo Famulari
  2017-11-01 14:40   ` myglc2
  2017-11-06 20:12 ` bug#29072: The usability of Guix configurations myglc2
  1 sibling, 1 reply; 10+ messages in thread
From: Leo Famulari @ 2017-10-31  0:31 UTC (permalink / raw)
  To: myglc2; +Cc: 29072

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

On Mon, Oct 30, 2017 at 04:34:08PM -0400, myglc2 wrote:
> After a clean guix make, guix system build produced this error ...
> 
> root@g1 ~/con/15# guix system --cores=4 --max-jobs=4 -K --on-error=debug build sys.scm
> guix system: error: qemu-CVE-2017-7493.patch: patch not found

What about `git status`? Is the worktree in a consistent state? This
patch file was removed in August 2017 [0] and nothing should refer to it
anymore.

[0] commit 2de7d137b3c6f528acb540a6ab3460627f484b0a

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#29072: guix system: error: qemu-CVE-2017-7493.patch: patch not found
  2017-10-31  0:31 ` Leo Famulari
@ 2017-11-01 14:40   ` myglc2
  2017-11-01 15:27     ` Leo Famulari
  0 siblings, 1 reply; 10+ messages in thread
From: myglc2 @ 2017-11-01 14:40 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 29072

On 10/30/2017 at 20:31 Leo Famulari writes:

> On Mon, Oct 30, 2017 at 04:34:08PM -0400, myglc2 wrote:
>> After a clean guix make, guix system build produced this error ...
>> 
>> root@g1 ~/con/15# guix system --cores=4 --max-jobs=4 -K --on-error=debug build sys.scm
>> guix system: error: qemu-CVE-2017-7493.patch: patch not found
>
> What about `git status`? Is the worktree in a consistent state? This
> patch file was removed in August 2017 [0] and nothing should refer to it
> anymore.
>
> [0] commit 2de7d137b3c6f528acb540a6ab3460627f484b0a

Thanks Leo.

git status is clean ...

g1@g1 ~/src/guix$ git status
On branch o-master
Your branch is up-to-date with 'origin/master'.

nothing to commit, working tree clean
g1@g1 ~/src/guix$ git remote -vv
origin	git://git.savannah.gnu.org/guix.git (fetch)
origin	git://git.savannah.gnu.org/guix.git (push)
g1@g1 ~/src/guix$ 

emacs 'M-x grep find qemu-CVE-2017-7493.patch' produces ...

***
-*- mode: grep; default-directory: "~/src/guix/" -*-	 
Grep started at Wed Nov  1 10:25:46			 
							 
find . -type f -exec grep --color -nH -e qemu-CVE-2017-74
Binary file ./gnu/packages/qemu.go matches		 
./test-tmp/store/.links/0m1wjb06m31vw9jpimbmqkwxh1fzgyxag
./test-tmp/store/.links/0zk12m0jwp2n2380pq9x56mx71ry1dv42
./test-tmp/store/.links/0vrz62alwffjah2rj33wrwj7ypzbkv0pm
./test-tmp/store/.links/0xlcs15frjqbnhmcp2pv1ly9by84ncafn
./test-tmp/store/.links/00fiw7380k24qcq3k6pqgkz6j0c1l6ibw
./test-tmp/store/.links/066d4qpkxrf8p5vgay3x9bwn3zhzxp3gh
./test-tmp/store/.links/1z89050j89mz33c97b9bhvrb2h8972qyg
./test-tmp/store/.links/0cwv31pb892219rqgnmxzb950kd82b3mz
./test-tmp/store/.links/0bz2735f2x9f624yzmi6i3bryxsgn0qq7
./test-tmp/store/.links/0mvrdlqf3y989djjghinvsvsa80h250xm
./test-tmp/store/h5nhfi9941i4bh02s3sijgzqcxcswxrx-qemu-2.
./test-tmp/store/44p8aj7gqd97126gsw82anvhbbq2h080-qemu-2.
./test-tmp/store/0dkhz940aq4h1s6wg2lflhxswrpw93gs-qemu-2.
./test-tmp/store/xdmnickhpv89q568jhgrlkixnc873dx9-qemu-2.
./test-tmp/store/apspl851a4lv6fn94wcgwmvlmfn3m24l-qemu-2.
./test-tmp/store/zbiwif5nw7074bwbrzv3b93mybrbqjqc-qemu-2.
./test-tmp/store/i8h6n9p0rvl1ra3s1k1pz9q7z1rnqnyc-qemu-2.
./test-tmp/store/saq5a28g1c6gybnfdd3v1lilkil7kvjf-qemu-2.
./test-tmp/store/i9g8mrrzmbyfa4k5ra3alw69jw3bynz0-qemu-2.
./test-tmp/store/0jd1jrsm3387vl7yncr6988zw7a969a3-qemu-2.
Binary file ./test-tmp/db/db.sqlite matches		 
							 
Grep exited abnormally with code 1 at Wed Nov  1 10:25:49
***

In an attempt at self-help, I deleting ./test-tmp/*

But I am still getting this error.

TIA - George

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

* bug#29072: guix system: error: qemu-CVE-2017-7493.patch: patch not found
  2017-11-01 14:40   ` myglc2
@ 2017-11-01 15:27     ` Leo Famulari
  2017-11-02  2:40       ` myglc2
  0 siblings, 1 reply; 10+ messages in thread
From: Leo Famulari @ 2017-11-01 15:27 UTC (permalink / raw)
  To: myglc2; +Cc: 29072

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

On Wed, Nov 01, 2017 at 10:40:28AM -0400, myglc2 wrote:
> Binary file ./gnu/packages/qemu.go matches		 

Try deleting this compiled qemu.go and then try again.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#29072: guix system: error: qemu-CVE-2017-7493.patch: patch not found
  2017-11-01 15:27     ` Leo Famulari
@ 2017-11-02  2:40       ` myglc2
  2017-11-02  2:44         ` Leo Famulari
  0 siblings, 1 reply; 10+ messages in thread
From: myglc2 @ 2017-11-02  2:40 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 29072

On 11/01/2017 at 11:27 Leo Famulari writes:

> On Wed, Nov 01, 2017 at 10:40:28AM -0400, myglc2 wrote:
>> Binary file ./gnu/packages/qemu.go matches		 
>
> Try deleting this compiled qemu.go and then try again.

Thank you Leo.

I deleted ./gnu/packages/qemu.go and re-ran make.

Make failed to regenerate ./gnu/packages/qemu.go

So now I am really confused.

DETAILS:

g1@g1 ~/src/guix$ guix environment -e "(@ (gnu packages package-management) guix)" -M 4 -c 4
g1@g1 ~/src/guix [env]$ make
make  all-recursive
make[1]: Entering directory '/home/g1/src/guix'
Making all in po/guix
make[2]: Entering directory '/home/g1/src/guix/po/guix'
make[2]: Leaving directory '/home/g1/src/guix/po/guix'
Making all in po/packages
make[2]: Entering directory '/home/g1/src/guix/po/packages'
make[2]: Leaving directory '/home/g1/src/guix/po/packages'
make[2]: Entering directory '/home/g1/src/guix'
Compiling Scheme modules...
make[2]: Leaving directory '/home/g1/src/guix'
make[1]: Leaving directory '/home/g1/src/guix'
g1@g1 ~/src/guix [env]$ ls -l ./gnu/packages/qemu.go
ls: cannot access './gnu/packages/qemu.go': No such file or directory
g1@g1 ~/src/guix$ git status
On branch o-master
Your branch is up-to-date with 'origin/master'.

nothing to commit, working tree clean
g1@g1 ~/src/guix$ git branch -vv
* o-master 1f6f4c40c [origin/master] gnu: Add r-tgconfig.

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

* bug#29072: guix system: error: qemu-CVE-2017-7493.patch: patch not found
  2017-11-02  2:40       ` myglc2
@ 2017-11-02  2:44         ` Leo Famulari
  2017-11-04 23:50           ` myglc2
  0 siblings, 1 reply; 10+ messages in thread
From: Leo Famulari @ 2017-11-02  2:44 UTC (permalink / raw)
  To: myglc2; +Cc: 29072

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

On Wed, Nov 01, 2017 at 10:40:47PM -0400, myglc2 wrote:
> On 11/01/2017 at 11:27 Leo Famulari writes:
> 
> > On Wed, Nov 01, 2017 at 10:40:28AM -0400, myglc2 wrote:
> >> Binary file ./gnu/packages/qemu.go matches		 
> >
> > Try deleting this compiled qemu.go and then try again.
> 
> Thank you Leo.
> 
> I deleted ./gnu/packages/qemu.go and re-ran make.
> 
> Make failed to regenerate ./gnu/packages/qemu.go
> 
> So now I am really confused.

The 'gnu/packages/qemu.scm' file was removed from Guix in July 2017,
with commit 59132b800093e486e4d81aed6b837e9ac76aa86c. The QEMU packages
were moved into 'gnu/packages/virtualization.scm'.

I'm not an Autotools expert, but in cases like this I usually try `make
clean && ./configure --localstatedir=/var && make`. Did you try
something like that yet?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#29072: guix system: error: qemu-CVE-2017-7493.patch: patch not found
  2017-11-02  2:44         ` Leo Famulari
@ 2017-11-04 23:50           ` myglc2
  2017-11-05 17:46             ` Efraim Flashner
  0 siblings, 1 reply; 10+ messages in thread
From: myglc2 @ 2017-11-04 23:50 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 29072

On 11/01/2017 at 22:44 Leo Famulari writes:

> On Wed, Nov 01, 2017 at 10:40:47PM -0400, myglc2 wrote:
>> On 11/01/2017 at 11:27 Leo Famulari writes:
>> 
>> > On Wed, Nov 01, 2017 at 10:40:28AM -0400, myglc2 wrote:
>> >> Binary file ./gnu/packages/qemu.go matches		 
>> >
>> > Try deleting this compiled qemu.go and then try again.
>> 
>> Thank you Leo.
>> 
>> I deleted ./gnu/packages/qemu.go and re-ran make.
>> 
>> Make failed to regenerate ./gnu/packages/qemu.go
>> 
>> So now I am really confused.
>
> The 'gnu/packages/qemu.scm' file was removed from Guix in July 2017,
> with commit 59132b800093e486e4d81aed6b837e9ac76aa86c. The QEMU packages
> were moved into 'gnu/packages/virtualization.scm'.
>
> I'm not an Autotools expert, but in cases like this I usually try `make
> clean && ./configure --localstatedir=/var && make`. Did you try
> something like that yet?

Thanks Leo.

I did a new git pull and a clean build as you suggested (please see the
grep of the make.log below for details)

Now when I try 'guix system build sys.scm I get ...

guix system: error: failed to load 'sys.scm':
ice-9/boot-9.scm:2795:6: In procedure resolve-interface:
ice-9/boot-9.scm:2795:6: no code for module (gnu packages qemu)

... please see details further below. Obviously something is calling
'gnu/packages/qemu.scm' but I don't understand what.

TIA - George

make.log
--------
g1@g1 ~/src/guix$ grep g1@g1 make.log 
g1@g1 ~/src/guix$ guix environment -e "(@ (gnu packages package-management) guix)" -M 4 -c 4
g1@g1 ~/src/guix [env]$ git fetch
g1@g1 ~/src/guix [env]$ git pull
g1@g1 ~/src/guix [env]$ git status
g1@g1 ~/src/guix [env]$ rm -fr /home/g1/.cache/guile/ccache/*
g1@g1 ~/src/guix [env]$ make clean-go
g1@g1 ~/src/guix [env]$ ./bootstrap
g1@g1 ~/src/guix [env]$ ./configure --localstatedir=/var
g1@g1 ~/src/guix [env]$ make -j 10 check
g1@g1 ~/src/guix [env]$ ln -f -s -T ~/src/guix/ ~/.config/guix/latest
g1@g1 ~/src/guix [env]$ sudo ln -f -s -T ~/src/guix/ /root/.config/guix/latest
g1@g1 ~/src/guix [env]$ git status
g1@g1 ~/src/guix [env]$ git remote -vv
g1@g1 ~/src/guix [env]$ git branch -av | grep \*
g1@g1 ~/src/guix [env]$ exit
g1@g1 ~/src/guix$ exit
g1@g1 ~/src/guix$


root@g1 ~/con/15# guix system --cores=4 --max-jobs=4 -K --on-error=debug build sys.scm
guix system: error: failed to load 'sys.scm':
ice-9/boot-9.scm:2795:6: In procedure resolve-interface:
ice-9/boot-9.scm:2795:6: no code for module (gnu packages qemu)

entering debugger; type ',bt' for a backtrace
GNU Guile 2.2.2
Copyright (C) 1995-2017 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(#{ g440}#)> ,q
root@g1 ~/con/15# which guix
/run/current-system/profile/bin/guix
root@g1 ~/con/15# stat ~/.config/guix/latest | grep File:
  File: /root/.config/guix/latest -> /home/g1/src/guix/
root@g1 ~/con/15# 
root@g1 ~/con/15# git -C ~/.config/guix/latest status
On branch o-master
Your branch is up-to-date with 'origin/master'.

nothing to commit, working tree clean
root@g1 ~/con/15# git -C ~/.config/guix/latest remote -vv
origin	git://git.savannah.gnu.org/guix.git (fetch)
origin	git://git.savannah.gnu.org/guix.git (push)
root@g1 ~/con/15# git -C ~/.config/guix/latest log -n 1 --oneline
46dea1241 (HEAD -> o-master, origin/master, origin/HEAD) gnu: icedtea: Update to 3.6.0 [security fixes].
root@g1 ~/con/15# exit
exit

Process shell finished

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

* bug#29072: guix system: error: qemu-CVE-2017-7493.patch: patch not found
  2017-11-04 23:50           ` myglc2
@ 2017-11-05 17:46             ` Efraim Flashner
  2017-11-06  1:15               ` myglc2
  0 siblings, 1 reply; 10+ messages in thread
From: Efraim Flashner @ 2017-11-05 17:46 UTC (permalink / raw)
  To: myglc2; +Cc: 29072

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

On Sat, Nov 04, 2017 at 07:50:10PM -0400, myglc2 wrote:
> On 11/01/2017 at 22:44 Leo Famulari writes:
> 
> > On Wed, Nov 01, 2017 at 10:40:47PM -0400, myglc2 wrote:
> >> On 11/01/2017 at 11:27 Leo Famulari writes:
> >> 
> >> > On Wed, Nov 01, 2017 at 10:40:28AM -0400, myglc2 wrote:
> >> >> Binary file ./gnu/packages/qemu.go matches		 
> >> >
> >> > Try deleting this compiled qemu.go and then try again.
> >> 
> >> Thank you Leo.
> >> 
> >> I deleted ./gnu/packages/qemu.go and re-ran make.
> >> 
> >> Make failed to regenerate ./gnu/packages/qemu.go
> >> 
> >> So now I am really confused.
> >
> > The 'gnu/packages/qemu.scm' file was removed from Guix in July 2017,
> > with commit 59132b800093e486e4d81aed6b837e9ac76aa86c. The QEMU packages
> > were moved into 'gnu/packages/virtualization.scm'.
> >
> > I'm not an Autotools expert, but in cases like this I usually try `make
> > clean && ./configure --localstatedir=/var && make`. Did you try
> > something like that yet?
> 
> Thanks Leo.
> 
> I did a new git pull and a clean build as you suggested (please see the
> grep of the make.log below for details)
> 
> Now when I try 'guix system build sys.scm I get ...
> 
> guix system: error: failed to load 'sys.scm':
> ice-9/boot-9.scm:2795:6: In procedure resolve-interface:
> ice-9/boot-9.scm:2795:6: no code for module (gnu packages qemu)
> 
> ... please see details further below. Obviously something is calling
> 'gnu/packages/qemu.scm' but I don't understand what.
> 
> TIA - George
> 
> make.log
> --------
> g1@g1 ~/src/guix$ grep g1@g1 make.log 
> g1@g1 ~/src/guix$ guix environment -e "(@ (gnu packages package-management) guix)" -M 4 -c 4
> g1@g1 ~/src/guix [env]$ git fetch
> g1@g1 ~/src/guix [env]$ git pull
> g1@g1 ~/src/guix [env]$ git status
> g1@g1 ~/src/guix [env]$ rm -fr /home/g1/.cache/guile/ccache/*
> g1@g1 ~/src/guix [env]$ make clean-go

was there any mention at the end of 'make clean-go' about there being
stray *go files left?

> g1@g1 ~/src/guix [env]$ ./bootstrap
> g1@g1 ~/src/guix [env]$ ./configure --localstatedir=/var
> g1@g1 ~/src/guix [env]$ make -j 10 check
> g1@g1 ~/src/guix [env]$ ln -f -s -T ~/src/guix/ ~/.config/guix/latest
> g1@g1 ~/src/guix [env]$ sudo ln -f -s -T ~/src/guix/ /root/.config/guix/latest
> g1@g1 ~/src/guix [env]$ git status
> g1@g1 ~/src/guix [env]$ git remote -vv
> g1@g1 ~/src/guix [env]$ git branch -av | grep \*
> g1@g1 ~/src/guix [env]$ exit
> g1@g1 ~/src/guix$ exit
> g1@g1 ~/src/guix$
> 
> 
> root@g1 ~/con/15# guix system --cores=4 --max-jobs=4 -K --on-error=debug build sys.scm
> guix system: error: failed to load 'sys.scm':
> ice-9/boot-9.scm:2795:6: In procedure resolve-interface:
> ice-9/boot-9.scm:2795:6: no code for module (gnu packages qemu)
> 

Can you post your sys.scm? It sounds like you might have a references to
(gnu packages qemu) listed there.


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#29072: guix system: error: qemu-CVE-2017-7493.patch: patch not found
  2017-11-05 17:46             ` Efraim Flashner
@ 2017-11-06  1:15               ` myglc2
  0 siblings, 0 replies; 10+ messages in thread
From: myglc2 @ 2017-11-06  1:15 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 29072

On 11/05/2017 at 19:46 Efraim Flashner writes:

> On Sat, Nov 04, 2017 at 07:50:10PM -0400, myglc2 wrote:
>> On 11/01/2017 at 22:44 Leo Famulari writes:
>> 
>> > On Wed, Nov 01, 2017 at 10:40:47PM -0400, myglc2 wrote:
>> >> On 11/01/2017 at 11:27 Leo Famulari writes:
>> >> 
[...]
>> > The 'gnu/packages/qemu.scm' file was removed from Guix in July 2017,
>> > with commit 59132b800093e486e4d81aed6b837e9ac76aa86c. The QEMU packages
>> > were moved into 'gnu/packages/virtualization.scm'.
>> >
[...]
>> 
>> root@g1 ~/con/15# guix system --cores=4 --max-jobs=4 -K --on-error=debug build sys.scm
>> guix system: error: failed to load 'sys.scm':
>> ice-9/boot-9.scm:2795:6: In procedure resolve-interface:
>> ice-9/boot-9.scm:2795:6: no code for module (gnu packages qemu)
>> 
>
> Can you post your sys.scm? It sounds like you might have a references to
> (gnu packages qemu) listed there.

Yes Efraim, that was it. Actually, Leo mentioned that qemu had moved
(above) but I failed to realize the implication for the config file.

Many thanks! - George

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

* bug#29072: The usability of Guix configurations
  2017-10-30 20:34 bug#29072: guix system: error: qemu-CVE-2017-7493.patch: patch not found myglc2
  2017-10-31  0:31 ` Leo Famulari
@ 2017-11-06 20:12 ` myglc2
  1 sibling, 0 replies; 10+ messages in thread
From: myglc2 @ 2017-11-06 20:12 UTC (permalink / raw)
  To: Guix-devel; +Cc: 29072

My system recently broke when I did an upgrade. I reported what I
thought was a bug (bug#29072) but it turned out that, because qemu
package code had been moved, my system configuration had become broken
;-(

Confronted with my situation, helpful developers said "The package code
was moved in commit xxx" (Leo) and "maybe you have a mistake in your
config (Efraim)."

Once I understood what had happened I wondered, "Gee, I have been using
guix for 18 months so why didn't I figure this out myself." ;-)

But a less committed user might say, "Wow, Guix breaks at random, error
messages are hard to understand, and support is difficult."  :-(

ISTM this raises issues and questions about Guix configuration
usability:

Guix config errors are reported as raw scheme errors which are not
user-friendly, except, perhaps, to guile users ;-) Could we improve this
situation by adding config troubleshooting guidance to the doc?

Guix config errors consume meaningful amounts of user and support
effort. I say this because a) it took quite a few iterations to figure
out what was wrong in my situation, and b) google search for '"no code
for module" guix' finds 613 hits, which will no doubt grow linearly with
number of Guix users unless something is done. So I wonder, could an
error handler that translates into more user-friendly terms reduce user
frustration, increase the rate of user self help, reduce support load,
and effectively pay for itself?

Are the current Guix config errors usable by the average GNU/Linux
distribution user? If not, don't they need to be improved before we call
it 1.0?
        
Does this mean that package code must not be moved after 1.0?

Finally: Should I close bug#29072? ;-)

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

end of thread, other threads:[~2017-11-06 20:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-30 20:34 bug#29072: guix system: error: qemu-CVE-2017-7493.patch: patch not found myglc2
2017-10-31  0:31 ` Leo Famulari
2017-11-01 14:40   ` myglc2
2017-11-01 15:27     ` Leo Famulari
2017-11-02  2:40       ` myglc2
2017-11-02  2:44         ` Leo Famulari
2017-11-04 23:50           ` myglc2
2017-11-05 17:46             ` Efraim Flashner
2017-11-06  1:15               ` myglc2
2017-11-06 20:12 ` bug#29072: The usability of Guix configurations myglc2

Code repositories for project(s) associated with this public inbox

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

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