bug#31279: report problem: guile with ~/.guile file does not run from shell

2018-04-26 Thread Wensheng Xie
Dear guix:

Using guixSD, installed guile and try to run it from shell. I got the
following error:

-- start --
~ $ cat .guile
(use-modules (ice-9 readline))

;; Enable completion at the REPL.
(activate-readline)

(use-modules (oop goops))~ $
~ $ guile
Backtrace:
  12 (apply-smob/1 #)
In ice-9/boot-9.scm:
705:2 11 (call-with-prompt ("prompt") # #)
In ice-9/eval.scm:
619:8 10 (_ #(#(#)))
In unknown file:
   9 (primitive-load "/home/wxie/.guile")
In ice-9/eval.scm:
   721:20  8 (primitive-eval (use-modules (ice-9 readline)))
In ice-9/psyntax.scm:
  1235:36  7 (expand-top-sequence ((use-modules (ice-9 readline))) _ _ #f e
(eval) (hygiene guile-user))
  1182:24  6 (parse _ (("placeholder" placeholder)) ((top) #(ribcage () ()
())) _ e (eval) (hygiene guile-user))
   285:10  5 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval)
(hygiene guile-user))
In ice-9/boot-9.scm:
  3365:20  4 (process-use-modules _)
   222:17  3 (map1 (((ice-9 readline
  3366:31  2 (_ ((ice-9 readline)))
   2791:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ #:renamer
_ #:version _)
In unknown file:
   0 (scm-error misc-error #f "~A ~S" ("no code for module" (ice-9
readline)) #f)

ERROR: In procedure scm-error:
no code for module (ice-9 readline)
~ $ guile -q
GNU Guile 2.2.3
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@(guile-user)> (version)
$1 = "2.2.3"
--- end 

Is this an error or my wrong configuration?

best regards,
wxie


-- 
I'm an FSF member -- Help us support software freedom!
https://my.fsf.org/join


bug#31268: 'guix system vm-image' hangs

2018-04-26 Thread Ludovic Courtès
Hello,

George myglc2 Clemmer  skribis:

> Thank you Eric! Actually I meant to send it to bug-guix@gnu.org
> before. Here is something that fails here.
>
> guix system vm-image --image-size=10G sysi19.scm

As of 37b9be5878d1694967a41d313de97f7a957df120 I see that ‘guix system
vm’ or “make check-system TESTS=basic” hang.  Specifically, the VM that
creates the image hangs like this:

--8<---cut here---start->8---
Welcome, this is GNU's early boot Guile.
Use '--repl' for an initrd REPL.

loading kernel modules...
[0.618457] usbcore: registered new interface driver usb-storage
[0.620812] usbcore: registered new interface driver uas
[0.626976] hidraw: raw HID events driver (C) Jiri Kosina
[0.628093] usbcore: registered new interface driver usbhid
[0.628804] usbhid: USB HID core driver
[0.635125] isci: Intel(R) C600 SAS Controller Driver - version 1.2.0
[0.654740] PCI Interrupt Link [LNKC] enabled at IRQ 11
[0.673721] PCI Interrupt Link [LNKD] enabled at IRQ 10
[0.693204] PCI Interrupt Link [LNKA] enabled at IRQ 10
[0.714857] PCI Interrupt Link [LNKB] enabled at IRQ 11
[0.759651] virtio_blk virtio5: [vda] 143360 512-byte logical blocks (73.4 
MB/70.0 MiB)
[0.765620] FS-Cache: Loaded
[0.767868] 9pnet: Installing 9P2000 support
[0.768899] 9p: Installing v9fs 9p2000 file system support
[0.769556] FS-Cache: Netfs '9p' registered for caching
configuring QEMU networking...
[0.780494] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
loading '/gnu/store/d116816xkzfaa7y1d2srvbxy5ip5cm12-linux-vm-loader'...
[0.802603] random: fast init done
environment variable `PATH' set to 
`/gnu/store/1n3cvnxrz1m6jqc09d9m1grbfbs91kmv-qemu-minimal-2.12.0/bin:/gnu/store/h8670f6j1rawhhaz8wvdy5gv79lny0am-parted-3.2/sbin:/gnu/store/nm305rpb2mvridkyj4l3636nc9ql4lf9-e2fsprogs-1.43.6/bin:/gnu/store/nm305rpb2mvridkyj4l3636nc9ql4lf9-e2fsprogs-1.43.6/sbin:/gnu/store/0sq2nflm42x0znkv44add0gk82khkcb6-dosfstools-4.1/sbin:/gnu/store/0hl513mnpkhszm2hjai2w9cxmpxs0vgq-sed-4.4/bin:/gnu/store/1h44pkgdd7n6s3i2vjh54awsvfmc219j-grep-3.1/bin:/gnu/store/kgzvfby2ggi1xawsh5vjh4s93qk2dp9k-coreutils-8.28/bin:/gnu/store/k7r2m2wgj8x8jjhccwjsiimp0dlzxb7i-findutils-4.6.0/bin:/gnu/store/ahxc89r6npzf2bbl8yg5vdjicskzzjf3-gawk-4.1.4/bin'
creating partition table with 2 partitions (20.0 MiB, 40.0 MiB)...
[1.344130] tsc: Refined TSC clocksource calibration: 2808.014 MHz
[1.345186] clocksource: tsc: mask: 0x max_cycles: 
0x2879d389cc4, max_idle_ns: 440795324601 ns
[1.792320] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
--8<---cut here---end--->8---

Reverting ba39d3280759fb20a4ff0092a5afac721a5fa769 (“gnu: linux-libre:
Update to 4.16.4.”) solves the problem for me.

Normally what we see is something like this:

--8<---cut here---start->8---
loading '/gnu/store/4i02v1lvw9nwzcfs5l1il9grhkw17iqm-linux-vm-loader'...
environment variable `PATH' set to 
`/gnu/store/1n3cvnxrz1m6jqc09d9m1grbfbs91kmv-qemu-minimal-2.12.0/bin:/gnu/store/h8670f6j1rawhhaz8wvdy5gv79lny0am-parted-3.2/sbin:/gnu/store/nm305rpb2mvridkyj4l3636nc9ql4lf9-e2fsprogs-1.43.6/bin:/gnu/store/nm305rpb2mvridkyj4l3636nc9ql4lf9-e2fsprogs-1.43.6/sbin:/gnu/store/0sq2nflm42x0znkv44add0gk82khkcb6-dosfstools-4.1/sbin:/gnu/store/0hl513mnpkhszm2hjai2w9cxmpxs0vgq-sed-4.4/bin:/gnu/store/1h44pkgdd7n6s3i2vjh54awsvfmc219j-grep-3.1/bin:/gnu/store/kgzvfby2ggi1xawsh5vjh4s93qk2dp9k-coreutils-8.28/bin:/gnu/store/k7r2m2wgj8x8jjhccwjsiimp0dlzxb7i-findutils-4.6.0/bin:/gnu/store/ahxc89r6npzf2bbl8yg5vdjicskzzjf3-gawk-4.1.4/bin'
creating partition table with 2 partitions (20.0 MiB, 40.0 MiB)...
Warning: The resulting partition is not properly aligned for best performance.
creating ext4 partition...
mke2fs 1.43.6 (29-Aug-2017)
ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab 
file while determining whether /dev/vda1 is mounted.
Creating filesystem with 20480 1k blocks and 5136 inodes
Filesystem UUID: bb8da7fb-04b2-437e-887a-f468da978a40
Superblock backups stored on blocks: 
8193

Allocating group tables: done
Writing inode tables: done
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: done

[0.979292] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: 
(null)
…
--8<---cut here---end--->8---

So it seems that the VM image hangs when trying to run Parted.

Mark, are you aware of anything particular that could explain this?
Perhaps a regression/incompatible change in 9P or virtio?

Ludo’.





bug#31216: commit 217b8c2e0 produces 'Can't locate Date/Parse.pm in @INC Error' perl error

2018-04-26 Thread George myglc2 Clemmer

On 04/26/2018 at 10:54 Marius Bakke writes:

> I believe this should be fixed with
> 28cae3389146ee575e29c6dfd77987883503568e.  Again sorry for the breakage,
> and thank you for reporting these issues :-)

Hi Marius, Yes that fixed it. No need to be sorry. Many thanks! - George





bug#31216: commit 217b8c2e0 produces 'Can't locate Date/Parse.pm in @INC Error' perl error

2018-04-26 Thread Marius Bakke
myg...@gmail.com writes:

> On 04/24/2018 at 21:36 Mark H Weaver writes:
>
>> I'm closing this bug now, but feel free to reopen it if you find that
>> there are still problems.
>>
>>Mark
>
> Hello Mark,
>
> Still see the problem. Using "b24b19e3f gnu: retroarch: Update to
> 1.7.2." to build "guix (GNU Guix) 0.14.0.4418-b24b1" ...
>
> g1@g1 ~/src/guix$ guix environment --ad-hoc perl perl-timedate make
> substitute: updating list of substitutes from 
> 'https://mirror.hydra.gnu.org'... 100.0%
> The following derivations will be built:
>/gnu/store/ayrxnbdb7b6fksg2bmf0f1zx6cynxzhh-profile.drv
>/gnu/store/xhzz6r8y2kqr6d58dlm2ijylb8z3q2s5-info-dir.drv
>/gnu/store/bxq1by3s2x0r742mz0h03wbr228gms0y-ca-certificate-bundle.drv
>/gnu/store/36l3lw3dlp239ds0giv9w1zn92j80g3n-fonts-dir.drv
>/gnu/store/5k76cb350q3ym35pn1jd9rd8gx37hqn0-manual-database.drv
> Creating manual page database...
> 794 entries processed in 0.8 s
> g1@g1 ~/src/guix [env]$ perl ~/.mail-mirror/mb2md-3.20.pl
> Can't locate Date/Parse.pm in @INC (you may need to install the Date::Parse 
> module) (@INC contains: 
> /gnu/store/7dckxj5l8kxcacm56k0yn3r62hrsj4if-profile/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-multi
>  
> /gnu/store/7dckxj5l8kxcacm56k0yn3r62hrsj4if-profile/lib/perl5/site_perl/5.26.2
>  /gnu/store/7dckxj5l8kxcacm56k0yn3r62hrsj4if-profile/lib/perl5/site_perl 
> /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-multi
>  
> /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/site_perl/5.26.2
>  
> /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/5.26.2/x86_64-linux-thread-multi
>  /gnu/store/ynk3rg3i791i6k7rz2imbyj9wyfjrnrc-perl-5.26.2/lib/perl5/5.26.2) at 
> /home/g1/.mail-mirror/mb2md-3.20.pl line 385.
> BEGIN failed--compilation aborted at /home/g1/.mail-mirror/mb2md-3.20.pl
> line 385.
>
> The offencing script is attached.

Hi George,

I believe this should be fixed with
28cae3389146ee575e29c6dfd77987883503568e.  Again sorry for the breakage,
and thank you for reporting these issues :-)


signature.asc
Description: PGP signature