bug#31367: ERROR: In procedure scm-error: no code for module (guix build utils)

2018-05-04 Thread George myglc2 Clemmer
This just appears in the last day or so. Running guix (GNU Guix)
0.14.0.4837-d6ed4 I see ...

cd guix && guix environment guix -- make
The following derivations will be built:
   /gnu/store/mcfys0glgv1hnq5mrcs9xnmn4bpzr3ys-profile.drv
   /gnu/store/qikmbskc6598vld2lhb2pn30h1rwxgc8-xdg-mime-database.drv
   /gnu/store/izxixb30i4r79gahirb4nj5ay0z8nzv1-info-dir.drv
   /gnu/store/bdg4x3925r9l3458li48hp1i26shd7yw-manual-database.drv
Backtrace:
  10 (primitive-load "/gnu/store/611mdvnasj59v5j46g8mhq7aw0g?")
In ice-9/eval.scm:
   721:20  9 (primitive-eval (begin (use-modules (guix build #) ?) ?))
In ice-9/psyntax.scm:
  1235:36  8 (expand-top-sequence ((begin (use-modules (# # ?) ?) ?)) ?)
  1182:24  7 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
  1182:24  6 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
   285:10  5 (parse _ (("placeholder" placeholder)) (()) _ c (eval) ?)
In ice-9/boot-9.scm:
  3365:20  4 (process-use-modules _)
   222:17  3 (map1 (((guix build utils)) ((srfi srfi-1)) ((srfi ?)) ?))
  3366:31  2 (_ ((guix build utils)))
   2791:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ ?)
In unknown file:
   0 (scm-error misc-error #f "~A ~S" ("no code for modu?" ?) ?)

ERROR: In procedure scm-error:
no code for module (guix build utils)
Creating manual page database...
builder for `/gnu/store/izxixb30i4r79gahirb4nj5ay0z8nzv1-info-dir.drv' failed 
with exit code 1
cannot build derivation 
`/gnu/store/mcfys0glgv1hnq5mrcs9xnmn4bpzr3ys-profile.drv': 1 dependencies 
couldn't be built
guix environment: error: build failed: build of 
`/gnu/store/mcfys0glgv1hnq5mrcs9xnmn4bpzr3ys-profile.drv' failed
make: *** [Makefile:9: guix/] Error 1

FWIW, guix (GNU Guix) 0.14.0-11.ab85cf7 doesn't generate the error.

HTH - George





bug#31303: Acknowledgement (substitute: guix substitute: error: TLS error in procedure 'handshake')

2018-04-28 Thread George myglc2 Clemmer





bug#31303: substitute: guix substitute: error: TLS error in procedure 'handshake'

2018-04-28 Thread George myglc2 Clemmer
On 04/28/2018 at 15:16 George myglc2 Clemmer writes:

> I am attempting to supply substitutes from a GuixSD install (g1) to a
> 'guix system vm-image' (sysi17.local). I did this on g1 ...

Oops, here are configs (sys.scm was used for g1)...



sys.scm
Description: Binary data


sysi17.scm
Description: Binary data


bug#31303: substitute: guix substitute: error: TLS error in procedure 'handshake'

2018-04-28 Thread George myglc2 Clemmer
I am attempting to supply substitutes from a GuixSD install (g1) to a
'guix system vm-image' (sysi17.local). I did this on g1 ...

g1@g1 ~$ sudo guix publish
guix publish: warning: server running as root; consider using the '--user' 
option!
publishing /gnu/store on 0.0.0.0, port 8080

... and I get this error on sysi17 ...

g1@sysi17 ~ [env]$ guix environment --substitute-urls=https://g1.local:8080
substitute: guix substitute: error: TLS error in procedure 'handshake': An 
unexpected TLS packet was received.
guix environment: error: corrupt input while restoring archive from #

... which looks like this on g1 ...

In ice-9/boot-9.scm:
841:4  4 (with-throw-handler _ _ _)
In web/server/http.scm:
   127:28  3 (_)
In web/request.scm:
   205:31  2 (read-request # _)
In web/http.scm:
   1141:6  1 (read-request-line _)
In ice-9/boot-9.scm:
   752:25  0 (dispatch-exception _ _ _)
Bad request: Bad Request-Line:

"\x16\x03\x01\x00ò\x01\x00\x00î\x03\x03Zäº\x17<À\x9aËù»ò\x8c\x12n8y:\x16¸q\x0fá\x87Gtéc´8¿±<\x00\x00rÀ,À\x87Ì©À\xadÀ"

The keys are setup this way ...

g1@g1 ~$ cat /etc/guix/signing-key.pub
(public-key
 (ecc
  (curve Ed25519)
  (q #C38DCF2B0EBE663B9450BEFB0E77DFAF6643E8E971318F7002721076ED9C9788#)
  )
 )

g1@sysi17 ~ [env]$ sudo cat /etc/guix/acl
Password:
(acl
 (entry
  (public-key
   (ecc
(curve Ed25519)
(q #C38DCF2B0EBE663B9450BEFB0E77DFAF6643E8E971318F7002721076ED9C9788#)
)
   )
  (tag
   (guix import)
   )
  )
  [...]
 )

sysi17 has no trouble reaching hydra ...

g1@sysi17 ~ [env]$ guix environment
--substitute-urls=https://mirror.hydra.gnu.org --dry-run hello
substitute: updating list of substitutes from
'https://mirror.hydra.gnu.org'... 100.0%
[...]

or pinging g1...
g1@sysi17 ~ [env]$ ping g1.local
PING g1.local (192.168.1.7): 56 data bytes
64 bytes from 192.168.1.7: icmp_seq=0 ttl=64
[...]

Both systems were configured using ...

guix (GNU Guix) 0.14.0.4439-eb88e

... which was built from ...

5b862761f2a60af79b4c16851454a5e792ef4f56 gnu: guix: Update to ab85cf7.

... with 4.16.4 reverted ...

ba39d3280759fb20a4ff0092a5afac721a5fa769 "gnu: linux-libre: Update to 4.16.4."

TIA - George





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#31268: 'guix system vm-image' hangs

2018-04-25 Thread George myglc2 Clemmer
On 04/26/2018 at 03:37 Eric Bavier writes:

> Hi George,
>
> I've seen the same lately with 'guix system vm':
>
> On Wed, 25 Apr 2018 21:39:30 -0400
> George myglc2 Clemmer <myg...@gmail.com> wrote:
>
>> 'guix system vm-image' hangs on guix (GNU Guix) 0.14.0.4439-eb88e built
>> from source today. Please see log except below. It worked on guix (GNU
>> Guix) 0.14.0.4196-2c92a. built <2018-04-18 Wed>
>>
>> TIA - George
>>
> [...]
>> 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:/gnu/store/cwwvdxd9d778a2xp8vbb38vl62rx992g-guix-0.14.0-11.ab85cf7/bin:/gnu/store/cwwvdxd9d778a2xp8vbb38vl62rx992g-guix-0.14.0-11.ab85cf7/sbin'
>> creating partition table with 2 partitions (10190.0 MiB, 40.0 MiB)...
>> [1.344115] tsc: Refined TSC clocksource calibration: 3392.348 MHz
>> [1.344865] clocksource: tsc: mask: 0x max_cycles: 
>> 0x30e6121e742, max_idle_ns: 440795321217 ns
>> [1.856062] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
>>   C-c C-c
>
> Same log output on my end.
>
>> g1@g1 ~/src/vm/vms/sysi20$ guix --version
>> guix (GNU Guix) 0.14.0.4439-eb88e
>>
>
> I bisected the git repo to commit:
>
> ```
> commit ba39d3280759fb20a4ff0092a5afac721a5fa769
> Author: Mark H Weaver <m...@netris.org>
> Date:   Tue Apr 24 16:51:45 2018 -0400
>
> gnu: linux-libre: Update to 4.16.4.
>
> * gnu/packages/linux.scm (%linux-libre-version): Update to 4.16.4.
> (%linux-libre-hash): Update hash.
>
> ```
>
> Perhaps we should open a bug.
>
> `~Eric

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



sysi19.scm
Description: Binary data


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

2018-04-18 Thread George myglc2 Clemmer
Commit ...

217b8c2e0 * gnu: perl: Replace with 5.26.2 [fixes
CVE-2018-{6797,6798,6913}].

... caused the attached perl script that worked like this ...

g1@g1 ~/.mail-mirror$ guix environment --ad-hoc perl perl-timedate make wget
g1@g1 ~/.mail-mirror [env]$ perl mb2md-3.20.pl
Usage:
   mb2md -h
   mb2md [-c] -m [-d destdir]
   mb2md [-c] -s sourcefile [-d destdir]
   mb2md [-c] -s sourcedir [-l wu-mailboxlist] [-R|-f somefolder] [-d 
destdir] [-r strip_extension]
g1@g1 ~/.mail-mirror [env]$


... to stop working ...

g1@g1 ~/.mail-mirror$  guix environment --ad-hoc perl perl-timedate make wget
g1@g1 ~/.mail-mirror [env]$  perl 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/wpwb4ig3qhv3m7axjlid2c0f1jqzp09p-profile/lib/perl5/site_perl/5.26.2/x86_64-linux-thread-multi
 /gnu/store/wpwb4ig3qhv3m7axjlid2c0f1jqzp09p-profile/lib/perl5/site_perl/5.26.2 
/gnu/store/wpwb4ig3qhv3m7axjlid2c0f1jqzp09p-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 
mb2md-3.20.pl line 385.
BEGIN failed--compilation aborted at mb2md-3.20.pl line 385.
g1@g1 ~/.mail-mirror [env]$

TIA - George



mb2md-3.20.pl
Description: Binary data


bug#31113: mcron ERROR: In procedure mktime:

2018-04-09 Thread George myglc2 Clemmer
Oops, forgot to attach the system config (actually my /etc/gen/x/016/sys.scm)



sys.scm
Description: Binary data


bug#31113: mcron ERROR: In procedure mktime:

2018-04-09 Thread George myglc2 Clemmer
Hello,

somewhere between March ~17 (commit be5ed1421 gnu: Add terraform-docs.)
and April ~5 (commit cfb55cfc4 gnu: Add java-native-access-platform.)
mcron-service stopped working and started throwing errors like ...

#+BEGIN_EXAMPLE
ERROR: In procedure mktime:
Wrong type (expecting exact integer): 45.0
Backtrace:
   4 (primitive-load "/gnu/store/422ngw911hz62510b33wdvrp1a6?")
   In mcron/base.scm:
  103:25  3 (add-job # ?)
   In mcron/job-specifier.scm:
  251:32  2 (_ 1523292689)
   In mcron/vixie-time.scm:
  381:15  1 (_ _)
   In unknown file:
  0 (mktime #(0 45.0 +inf.0 9 3 118 1 98 1 14400 "EDT") #)
ERROR: In procedure mktime:
...
#+END_EXAMPLE

Please see system config attached (my /etc/gen/x/010/sys.scm)

TIA - George





bug#30843: make check FAIL: tests/elpa & .guile-real: segfault

2018-03-17 Thread George myglc2 Clemmer

grep g1@g1 make.log
g1@g1 ~/src/guix [env]$ sudo git clean -dfx
g1@g1 ~/src/guix [env]$ ./bootstrap
g1@g1 ~/src/guix [env]$ ./configure --localstatedir=/var --sysconfdir=/etc
g1@g1 ~/src/guix [env]$ make -j 10
g1@g1 ~/src/guix [env]$ make -j 10 check
g1@g1 ~/src/guix [env]$

***
./test-suite.log

   GNU Guix 0.14.0.3463-be5ed-dirty: ./test-suite.log


# TOTAL: 766
# PASS:  755
# SKIP:  10
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

[...]

FAIL: tests/elpa


test-name: elpa->guix-package test 1
location: /home/g1/src/guix/tests/elpa.scm:103
source:
+ (test-assert
+   "elpa->guix-package test 1"
+   (eval-test-with-elpa "auctex"))
random seed for tests: 1521330420

Starting download of /tmp/guix-file.OeUgKR
>From https://elpa.gnu.org/packages/auctex-11.88.6.tar...
 auctex-11.88.6.tar  4.6MiB   0B/s 00:00 [  ]   
0.0% auctex-11.88.6.tar  4.6MiB   779KiB/s 00:00 [  
]   1.4% auctex-11.88.6.tar  4.6MiB   1.7MiB/s 00:00 [## 
   ]  15.1% auctex-11.88.6.tar  4.6MiB   2.3MiB/s 00:01 [##  
  ]  35.6% auctex-11.88.6.tar  4.6MiB   2.4MiB/s 00:01 
[# ]  54.8% auctex-11.88.6.tar  4.6MiB   2.7MiB/s 
00:01 [##]  80.9% auctex-11.88.6.tar  4.6MiB   
2.9MiB/s 00:02 [##] 100.0%

;;; (fail (package (name "emacs-auctex") (version "11.88.6") (source (origin 
(method url-fetch) (uri (string-append "https://elpa.gnu.org/packages/auctex-; 
version ".tar")) (sha256 (base32 
"1pmki8hdjjikxlvip3pzi350bln3gcimr27yjf0xfwjvnp5hh9nc" (build-system 
emacs-build-system) (home-page "http://www.gnu.org/software/auctex/;) (synopsis 
"Integrated environment for *TeX*") (description "This is the AUCTeX 
description.") (license license:gpl3+)) #f)
actual-value: #f
result: FAIL
***

Note: There was a guile segfault at about the same time ...

Mar 17 20:52:09 localhost vmunix: [202122.544472] .guile-real[13130]: segfault 
at 7b ip 0057885d sp 7ffc1ac3a1b0 error 4 in 
.guile-real[40+38a000]

Version info:

g1@g1 ~/src/guix$ git log -n 1 --oneline
be5ed1421 (HEAD -> master, origin/master, origin/HEAD) gnu: Add terraform-docs.
g1@g1 ~/src/guix$ guix --version
guix (GNU Guix) 0.14.0.3463-be5ed-dirty
Copyright (C) 2018 the Guix authors
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
g1@g1 ~/src/guix$ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add ..." to update what will be committed)
  (use "git checkout -- ..." to discard changes in working directory)

modified:   po/guix/cs.po
modified:   po/guix/da.po
modified:   po/guix/de.po
modified:   po/guix/eo.po
modified:   po/guix/fr.po
modified:   po/guix/hu.po
modified:   po/guix/pl.po
modified:   po/guix/pt_BR.po
modified:   po/guix/sr.po
modified:   po/guix/vi.po
modified:   po/guix/zh_CN.po
modified:   po/packages/da.po
modified:   po/packages/de.po
modified:   po/packages/eo.po
modified:   po/packages/fr.po
modified:   po/packages/hu.po
modified:   po/packages/pl.po
modified:   po/packages/pt_BR.po
modified:   po/packages/sr.po
modified:   po/packages/vi.po
modified:   po/packages/zh_CN.po

no changes added to commit (use "git add" and/or "git commit -a")
g1@g1 ~/src/guix$

HTH - George





bug#30589: serial login not working

2018-03-08 Thread George myglc2 Clemmer

On 03/08/2018 at 12:16 Danny Milosavljevic writes:

> Please try current master now.

Hi Danny, Yes that fixed it here, thanks. - George

guix (GNU Guix) 0.14.0.3087-3e25d






bug#30467: GuixSD fails to display login prompt on headless server

2018-02-26 Thread George myglc2 Clemmer

On 02/26/2018 at 17:32 Danny Milosavljevic writes:

> Try the attached one...

g1@g1 ~/bug/bug#30467-vga-no-login$ sudo fbset

mode "1280x1024"
geometry 1280 1024 1280 1024 32
timings 0 0 0 0 0 0 0
accel true
rgba 8/16,8/8,8/0,0/0
endmode

g1@g1 ~/bug/bug#30467-vga-no-login$ 






bug#30589: serial login not working

2018-02-23 Thread George myglc2 Clemmer
The recent move of agetty-service into #base-services caused serial
login to stop working here. Previously this worked ...

(agetty-service (agetty-configuration (tty "ttyS1")
(baud-rate "115200")))

First I tried removing the lines above. Then I tried ...

(define %my-services
  (modify-services %base-services
   (agetty-service-type config =>
(agetty-configuration
 (tty "ttyS1")
 (baud-rate "115200")

I can confirm that ...

root@g1 /home/g1# sudo echo 123 > /dev/ttyS1

... produces "123" on the serial line.

guix (GNU Guix) 0.14.0.2487-58246

config attached (my G54)

TIA - George

sys.scm
Description: Binary data


bug#30467: GuixSD fails to display login prompt on headless server

2018-02-23 Thread George myglc2 Clemmer

On 02/22/2018 at 11:41 Danny Milosavljevic writes:

> Hi George,
>
> On Wed, 21 Feb 2018 20:35:34 -0500
> George myglc2 Clemmer <myg...@gmail.com> wrote:
>
>> I think we got side-tracked to the serial port when my real issue is
>> with the VGA port. Maybe my bug report was not clear. Let me clarify ...
>
> Oh, that changes things.  Ludo is debugging some silly UTF-8 problem
> with the virtual terminals on the VGA port right now - might be related,
> or not.  Who knows...

Well this problem goes back to November. The problem first appears in
my generation 19 ...

 19GNU with Linux-Libre 4.14.2 (beta)   61 2017-11-30 
19:18:15
 18GNU with Linux-Libre 4.13.12 (beta)  62 2017-11-11 
13:05:56

... which  correspond to ...

19 (GNU Guix) 0.13.0.5042-6e385
18 (GNU Guix) 0.13.0.4589-74bea6

Note: The results cited below are WRT my most recent build done
yesterday, guix (GNU Guix) 0.14.0.2455-26737.

>> GNU with Linuxlibre ..." for a couple seconds, and then 4) a blank.
>
> Is there still a cursor?

NO.

> What happens when you don't use the serial (so no console=...)

The VGA displays ...

- BIOS prompt
- grub menu
- 'Booting GNU linux-libre ...'
- ~1 seconds of messages
- Blank screen w/ no cursor

... which differers in that there are a couple seconds of boot messages.

> and then
> try to write something to /dev/console ?  It should show up somewhere.
> Where?  On the VGA port?

/home/g1# echo 123 > /dev/console

... shows nothing on the VGA or serial.






bug#30573: qemu build failed on `/gnu/store...-gst-plugins-ugly-1.12.4.drv'

2018-02-22 Thread George myglc2 Clemmer
On 02/22/2018 at 13:40 Marius Bakke writes:

> Can you build gst-plugins-ugly with -K and send the log of its test
> suite?
>
> TIA!

Thanks Marius. There is no test log. Here is the make log ...



gst-plugins-ugly-K.log.gz
Description: Binary data


bug#30573: qemu build failed on `/gnu/store...-gst-plugins-ugly-1.12.4.drv'

2018-02-22 Thread George myglc2 Clemmer
An attempt to build qemu failed on guix (GNU Guix) 0.14.0.2455-26737 with ...

phase `build' failed after 6.9 seconds
note: keeping build directory `/tmp/guix-build-gst-plugins-ugly-1.12.4.drv-3'
builder for 
`/gnu/store/gj2ivcxyh8ksjl6rw70dx1d813vbfj46-gst-plugins-ugly-1.12.4.drv' 
failed with exit code 1
note: keeping build directory `/tmp/guix-build-gst-libav-1.12.4.drv-0'
cannot build derivation 
`/gnu/store/rsz1v5bkwwj5arb21gs9h1ifl82cirjb-spice-0.14.0.drv': 1 dependencies 
couldn't be built
cannot build derivation 
`/gnu/store/sqh82dxywml5w7hv2ifdck6c8spkjqhg-qemu-2.11.1.drv': 1 dependencies 
couldn't be built
guix system: error: build failed: build of 
`/gnu/store/sqh82dxywml5w7hv2ifdck6c8spkjqhg-qemu-2.11.1.drv' failed

... larger log extract attached.

TIA - George



gst-plugins-ugly-1.12.4.drv.failed.log.gz
Description: Binary data


bug#30467: GuixSD fails to display login prompt on headless server

2018-02-21 Thread George myglc2 Clemmer
Hi Danny,

I think we got side-tracked to the serial port when my real issue is
with the VGA port. Maybe my bug report was not clear. Let me clarify ...

My headless server stopped displaying the console tty login *on the VGA
port* somewhere between (GNU Guix) 0.13.0.4589-74bea6 (my G18) and (GNU
Guix) 0.13.0.5042-6e385 (My G19). In the later version, when I reboot
the VGA displays 1) the BIOS prompt, 2) the grub boot menu, 3) "Booting
GNU with Linuxlibre ..." for a couple seconds, and then 4) a blank.

In either version, this config ...

(agetty-service (agetty-configuration (tty "ttyS1")
(baud-rate "115200")))

... causes a login prompt to be raised on ttyS1 which, on my system, is
mapped to IPMI Serial over Lan (SOL). However recently you said ...

On 02/15/2018 at 15:54 Danny Milosavljevic writes:

> In the long run please remove your agetty-service, it should automatically 
> appear
> (it recovers the settings from the "console" kernel-argument).

So I tried that with a build from today (guix (GNU Guix)
0.13.0.5116-e272), and *no login* is raised on ttyS1 (My G46, sys.scm
attached).

However, if I *ignore your advice* a login prompt *is raised* on ttyS1
(My G45).

So, IIUC, it's not working the way you said it would, but it's not a
problem for me because I can just use the agetty-service.

Not sure your questions are still relevant, but here is what I see ...

On 02/17/2018 at 17:05 Danny Milosavljevic writes:

> What does
>
> stty -F /dev/ttyS1
>
> say?

g1@g1 ~/www$ sudo stty -F /dev/ttyS1
speed 115200 baud; line = 0;
-brkint -imaxbel

On 02/17/2018 at 17:04 Danny Milosavljevic writes:

> Huh, please try
>
> strace -f agetty /dev/ttyS1 >log 2>&1
>
> and send the log to the list...

(log.gz attached)

HTH - George



log.gz
Description: Binary data


sys.scm
Description: Binary data


bug#30467: GuixSD fails to display login prompt on headless server

2018-02-15 Thread George myglc2 Clemmer
Hi Danny,

On 02/16/2018 at 00:53 Danny Milosavljevic writes:

> Hi George,
>
> On Thu, 15 Feb 2018 16:29:11 -0500
> George myglc2 Clemmer <myg...@gmail.com> wrote:

>> FWIW, I don't see agetty running ...
>
> What happens when you run manually:
>
> agetty /dev/ttyS1
>
> Does it keep running?

No. /var/log/debug is also jammed like this ...

[...]
Feb 15 19:05:29 localhost vmunix: [5.890367] Creating 1 MTD partitions on 
"intel-spi":
Feb 15 19:05:29 localhost vmunix: [5.890370] 0x-0x0080 
: "BIOS"
Feb 15 19:05:29 localhost vmunix: [5.906526] [TTM] Initializing pool 
allocator
Feb 15 19:05:29 localhost vmunix: [5.910911] [TTM] Initializing DMA pool 
allocator
Feb 15 19:05:29 localhost vmunix: [6.023282] fbcon: astdrmfb (fb0) is 
primary device
Feb 15 19:05:29 localhost vmunix: [6.091450] Console: switching to colour 
frame buffer device 160x64
Feb 15 19:05:29 localhost vmunix: [6.099375] ipmi_si IPI0001:00: Found new 
BMC (man_id: 0x00, prod_id: 0xaabb, dev_id: 0x20)
Feb 15 19:05:30 localhost vmunix: [6.105342] pps pps0: new PPS source ptp0
Feb 15 19:05:30 localhost vmunix: [6.105363] igb :03:00.0: added PHC on 
eth0
Feb 15 19:05:30 localhost vmunix: [6.105363] igb :03:00.0: Intel(R) 
Gigabit Ethernet Network Connection
Feb 15 19:05:30 localhost vmunix: [6.105365] igb :03:00.0: eth0: 
(PCIe:2.5Gb/s:Width x1) d0:50:99:5b:d7:55
Feb 15 19:05:30 localhost vmunix: [6.105959] igb :03:00.0: eth0: PBA 
No: 001300-000
Feb 15 19:05:30 localhost vmunix: [6.105972] igb :03:00.0: Using MSI-X 
interrupts. 4 rx queue(s), 4 tx queue(s)
Feb 15 19:05:30 localhost vmunix: [6.149879] ipmi_si IPI0001:00: IPMI kcs 
interface initialized
Feb 15 19:05:30 localhost vmunix: [6.182426] ast :06:00.0: fb0: 
astdrmfb frame buffer device
Feb 15 19:05:30 localhost vmunix: [6.188672] IPMI SSIF Interface driver
Feb 15 19:05:30 localhost vmunix: [6.205279] intel_rapl: Found RAPL domain 
package
Feb 15 19:05:30 localhost vmunix: [6.209992] intel_rapl: Found RAPL domain 
core
Feb 15 19:05:30 localhost vmunix: [6.211999] [drm] Initialized ast 0.1.0 
20120228 for :06:00.0 on minor 0
Feb 15 19:05:30 localhost vmunix: [6.221483] intel_rapl: Found RAPL domain 
dram
Feb 15 19:05:30 localhost vmunix: [6.225945] intel_rapl: RAPL package 0 
domain package locked by BIOS
Feb 15 19:05:30 localhost vmunix: [6.232290] intel_rapl: RAPL package 0 
domain dram locked by BIOS
Feb 15 19:05:30 localhost vmunix: [6.323457] Error: Driver 'pcspkr' is 
already registered, aborting...
Feb 15 19:05:30 localhost vmunix: [6.351730] pps pps1: new PPS source ptp1
Feb 15 19:05:31 localhost vmunix: [6.355748] igb :04:00.0: added PHC on 
eth1
Feb 15 19:05:31 localhost vmunix: [6.360278] igb :04:00.0: Intel(R) 
Gigabit Ethernet Network Connection
Feb 15 19:05:31 localhost vmunix: [6.367150] igb :04:00.0: eth1: 
(PCIe:2.5Gb/s:Width x1) d0:50:99:5b:d7:54
Feb 15 19:05:31 localhost vmunix: [6.374341] igb :04:00.0: eth1: PBA 
No: 001300-000
Feb 15 19:05:31 localhost vmunix: [6.379472] igb :04:00.0: Using MSI-X 
interrupts. 4 rx queue(s), 4 tx queue(s)
Feb 15 19:05:31 localhost vmunix: [6.393246] igb :04:00.0 enp4s0: 
renamed from eth1
Feb 15 19:05:31 localhost vmunix: [6.424048] igb :03:00.0 enp3s0: 
renamed from eth0
Feb 15 19:05:31 localhost vmunix: [6.457010] Adding 10117460k swap on 
/dev/nvme0n1p2.  Priority:-2 extents:1 across:10117460k SSFS
Feb 15 19:05:31 localhost vmunix: [7.559634] IPv6: ADDRCONF(NETDEV_UP): 
enp3s0: link is not ready
Feb 15 19:05:31 localhost vmunix: [   10.412657] igb :03:00.0 enp3s0: igb: 
enp3s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
Feb 15 19:05:31 localhost vmunix: [   10.528283] IPv6: ADDRCONF(NETDEV_CHANGE): 
enp3s0: link becomes ready
Feb 15 19:08:06 localhost ntpd[368]: receive: Unexpected origin timestamp 
0xde309f65.f5541f08 does not match aorg 00. from 
server@162.210.110.4 xmt 0xde309f66.6426f9e7
Feb 15 19:10:26 localhost vmunix: [  349.762770] sysrq: SysRq : HELP : 
loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) 
kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) 
show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) 
show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) force-fb(V) 
show-blocked-tasks(w) dump-ftrace-buffer(z) 
Feb 15 19:13:39 localhost ntpd[368]: kernel reports TIME_ERROR: 0x41: Clock 
Unsynchronized
Feb 15 19:24:44 localhost -- MARK --
Feb 15 19:44:44 localhost -- MARK --
Feb 15 19:59:03 localhost vmunix: [ 3266.992550] sysrq: SysRq : HELP : 
loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) 
kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) 
show-memory-usage(m

bug#30467: GuixSD fails to display login prompt on headless server

2018-02-15 Thread George myglc2 Clemmer
Hi Danny & Leo,

Thanks for the quick response!

On 02/15/2018 at 15:54 Danny Milosavljevic writes:

> Hi George,
>
> Leo added a comment to the services/base.scm code:
>
> ;;; FIXME This doesn't work as expected. According to agetty(8), if this 
> option
> ;;; is not passed, then the default is 'auto'. However, in my tests, when that
> ;;; option is selected, agetty never presents the login prompt, and the
> ;;; term-ttyS0 service respawns every few seconds.
> #$@(if local-line
>#~(#$(match local-line
>   ('auto "--local-line=auto")
>   ('always "--local-line=always")
>   ('never "-local-line=never")))
>#~())
>
> So try specifying local-line ?

Not clear what you wanted so I didn't try this.

> Also, can you try updating again?
>
> I've pushed some agetty consolidation to guix-master (only) today.

I did that, see below ...

> Also, you have
>
>  (kernel-arguments '("console=ttyS1,115200"))
>
> AND
>
> (agetty-service (agetty-configuration (tty "ttyS1")
>(baud-rate "115200")))
> Starting today, the second one will be automatically configured by
> %base-services.

I removed agetty-service but agetty didn't run, see below ...

> So please keep your config the same and reconfigure and let's see what
> happens.

I did git-pull & make to get guix (GNU Guix) 0.14.0.1879-06a9 and 'guix
system reconfigure' >>> the console is still blank.  (my G36)

> In the long run please remove your agetty-service, it should automatically 
> appear
> (it recovers the settings from the "console" kernel-argument).

Then I removed agetty-service, reconfigured and rebooted >>> the console
is still blank. (my G37, sys.scm attached)

FWIW, I don't see agetty running ...

g1@g1 ~$ pstree -a -A
shepherd --no-auto-compile/gnu/store/hjfwjz9g0jrjcyggybi
  |-dhclient -nw -pf /var/run/dhclient.pid enp4s0enp3
  |-guix-daemon --build-users-group guixbuild--
  |-mingetty --noclear tty6
  |-mingetty --noclear tty5
  |-mingetty --noclear tty4
  |-mingetty --noclear tty3
  |-mingetty --noclear tty2
  |-mingetty --noclear tty1
  |-nscd -f/gnu/store/gh3xhwgh927md5ifzdmg0cgpqc0as1sh-ns
  |   `-7*[{nscd}]
  |-ntpd -n -c/gnu/store/1l1yf5dss8r9pqxklaax32s6bkah09c
  |   `-{ntpd}
  |-sshd -D -f/gnu/store/7z8qc04s48cgzvpc77715r3ckh7qr
  [...]
  |-syslogd --rcfile/gnu/store/y5nrfbj52vlnj77iyk
  |-udevd
  `-8*[{shepherd}]

TIA - George



sys.scm
Description: Binary data


bug#30467: GuixSD fails to display login prompt on headless server

2018-02-15 Thread George myglc2 Clemmer
GuixSD fails to display login prompt on headless server

This was working in (GNU Guix) 0.13.0.4589-74bea6
ae0307f7c tests: Adjust to new unbound-variable error message.

It fails in guix (GNU Guix) 0.13.0.5042-6e385.
6e385b76e gnu: mongodb: Use scons-build-system.

System Generation on g1:
 19GNU with Linux-Libre 4.14.2 (beta)   61 2017-11-30 
19:18:15
 18GNU with Linux-Libre 4.13.12 (beta)  62 2017-11-11 
13:05:56

I just noticed this or I would have reported sooner.

Can check/test on either generation if it would be of help.

TIA - George

config:


sys.scm
Description: Binary data


bug#30396: nscd segfaults on attempt to ssh to .local host

2018-02-09 Thread George myglc2 Clemmer

On 02/09/2018 at 14:18 Ludovic Courtès writes:
> For now I’ve pushed a workaround in
> a68fdfea96370c8a4b95af1fcd6e2fd7eb72da29, which basically downgrades to
> 0.10 until upstream comes up with a fix.

OK, I knew it needed to go upstream but I also thought it must have
worked at some point. Thank you for the workaround ;-) - George





bug#30166: guix system vm-image produces ERROR: In procedure copy-file: Success

2018-01-18 Thread George myglc2 Clemmer
Please see below ...


guix system vm-image -M 4 -c 4 /home/g1/www/VM-on-GuixSD/vm/ggg8/v1.scm 
--image-size=5GB
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 
100.0%
The following derivations will be built:
   /gnu/store/77pccgn92j05cn5sl9qgf372h3w090ig-qemu-image.drv
   /gnu/store/q1xb0mq5x4fxzz1yxdjxlg1g4snyj0kz-builder-in-linux-vm.drv
   /gnu/store/il22n187ai8yll6097flbvlabs77iyp4-linux-vm-loader.drv
   /gnu/store/cng0k9wp0zyjyfrarvymw9wwngc3x18k-parameters.drv
   /gnu/store/aaz95cp1baa4bcp7fljx8wb48fw6b4ys-init.drv
   /gnu/store/9p073wk4kgm1r1f3yizl8ms206xspsgx-raw-initrd.drv
   /gnu/store/3r3p4016xhlk5xh3mzhgiqc4dw9bynrh-system.drv
   /gnu/store/8hs0w9g3is0knichi53ls6mkg5sz5cdc-grub.cfg.drv
`/gnu/store/zs4irccfzrs2nkwrx3ra1bv4sm2k3cbl-linux-boot.scm' -> 
`contents/gnu/store/zs4irccfzrs2nkwrx3ra1bv4sm2k3cbl-linux-boot.scm'
`/gnu/store/qla5jhq1s4sq3r26z1bp2cr66vy9lk7s-e2fsck-static-1.43.6/sbin/e2fsck' 
-> 
`contents/gnu/store/qla5jhq1s4sq3r26z1bp2cr66vy9lk7s-e2fsck-static-1.43.6/sbin/e2fsck'
`/gnu/store/mv6445cazbhddm3wwc3053cpxjkf7q9m-records.scm' -> 
`contents/gnu/store/mv6445cazbhddm3wwc3053cpxjkf7q9m-records.scm'
[...]
`/gnu/store/3vr7hais3mwd7hkllbhlwjbs6bk7d9iw-poppler-0.59.0/lib/libpoppler-glib.so.8'
 -> 
`/fs/gnu/store/3vr7hais3mwd7hkllbhlwjbs6bk7d9iw-poppler-0.59.0/lib/libpoppler-glib.so.8'
`/gnu/store/3vr7hais3mwd7hkllbhlwjbs6bk7d9iw-poppler-0.59.0/lib/libpoppler-cpp.la'
 -> 
`/fs/gnu/store/3vr7hais3mwd7hkllbhlwjbs6bk7d9iw-poppler-0.59.0/lib/libpoppler-cpp.la'
`/gnu/store/3vr7hais3mwd7hkllbhlwjbs6bk7d9iw-poppler-0.59.0/lib/libpoppler.so.70.0.0'
 -> 
`/fs/gnu/store/3vr7hais3mwd7hkllbhlwjbs6bk7d9iw-poppler-0.59.0/lib/libpoppler.so.70.0.0'
ERROR: In procedure copy-file:
ERROR: In procedure copy-file: Success

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
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@(guile-user)>


guix --version
guix (GNU Guix) 0.14.0.1050-2cdf1




v1.scm
Description: Binary data


bug#30142: pipe of 'guix --version' produces error

2018-01-16 Thread George myglc2 Clemmer
EXAMPLE:
***
g1@g1 ~/www/VM-on-GuixSD$ guix --version | head -n 1
guix (GNU Guix) 0.14.0.617-e2f37
Backtrace:
   5 (primitive-load 
"/gnu/store/nxdxbad50ydp1nhmgzvlwbk0jkkdc28r-guix-0.14.0-3.f76ff98/bin/.guix-real")
In guix/ui.scm:
390:2  4 (show-version-and-exit _)
In ice-9/format.scm:
  1590:19  3 (format #t "Copyright ~a 2017 ~a" "(C)" "the Guix authors\n")
   261:19  2 (format:format-work "Copyright ~a 2017 ~a" ("(C)" "the Guix 
authors\n"))
70:10  1 (format:out-obj-padded _ _ _ _)
In unknown file:
   0 (display "the Guix authors\n" #)

ERROR: In procedure display:
ERROR: In procedure fport_write: Broken pipe
g1@g1 ~/www/VM-on-GuixSD$ guix --version | head -n 1
guix (GNU Guix) 0.14.0.617-e2f37
Backtrace:
   5 (primitive-load 
"/gnu/store/nxdxbad50ydp1nhmgzvlwbk0jkkdc28r-guix-0.14.0-3.f76ff98/bin/.guix-real")
In guix/ui.scm:
390:2  4 (show-version-and-exit _)
In ice-9/format.scm:
  1590:19  3 (format #t "Copyright ~a 2017 ~a" "(C)" "the Guix authors\n")
   261:19  2 (format:format-work "Copyright ~a 2017 ~a" ("(C)" "the Guix 
authors\n"))
70:10  1 (format:out-obj-padded _ _ _ _)
In unknown file:
   0 (display "the Guix authors\n" #)

ERROR: In procedure display:
ERROR: In procedure fport_write: Broken pipe
***

VERSION:
***
g1@g1 ~$ guix --version
guix (GNU Guix) 0.14.0.617-e2f37
Copyright (C) 2017 the Guix authors
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.





bug#29512: build of git-2.15.0.drv failed

2017-11-30 Thread George myglc2 Clemmer
Hmm... I have discovered that that works when I don't use the
multi-job/multi-core options, e.g., as previously reported, this fails
...

g1@g1 ~/src/guix$ guix package -M 4 -c 4 -m ../g1.scm

But this ...

g1@g1 ~/src/guix$ guix package  -m ../g1.scm

works.

So maybe it's a git bug as opposed to a guix bug.





bug#29512: build of git-2.15.0.drv failed

2017-11-30 Thread George myglc2 Clemmer
Running guix from clean make check on ...

6e385b76e (HEAD -> master, origin/master, origin/HEAD) gnu: mongodb: Use 
scons-build-system.

... guix package failed ...

guix package: error: build failed: build of 
`/gnu/store/r3rijd3pmkfdmg3h4spyb24az3xiylc4-git-2.15.0.drv' failed

Details:

g1@g1 ~/src/guix$ guix package -M 4 -c 4 -m ../g1.scm
[...]
*** t9153-git-svn-rewrite-uuid.sh ***
not ok 4 - create new branches and tags
#
#   ( cd git_project &&
#   git svn branch -m "New branch 1" -d b_one New1 ) &&
#   ( cd svn_project &&
#   svn_cmd up && test -e b_one/New1/a.file ) &&
#
#   ( cd git_project &&
#   git svn branch -m "New branch 2" -d b_two New2 ) &&
#   ( cd svn_project &&
#   svn_cmd up && test -e b_two/New2/a.file ) &&
#
#   ( cd git_project &&
#   git svn branch -t -m "New tag 1" -d tags_A Tag1 ) &&
#   ( cd svn_project &&
#   svn_cmd up && test -e tags_A/Tag1/a.file ) &&
#
#   ( cd git_project &&
#   git svn tag -m "New tag 2" -d tags_B Tag2 ) &&
#   ( cd svn_project &&
#   svn_cmd up && test -e tags_B/Tag2/a.file )
#
# failed 1 among 4 test(s)
1..4
make[2]: *** [Makefile:49: t9141-git-svn-multiple-branches.sh] Error 1
make[2]: *** Waiting for unfinished jobs
ok 1 - load svn repo
ok 2 - verify uuid
# passed all 2 test(s)
1..2
ok 1 - initialize repo
ok 2 - clone
ok 3 - git svn gc runs
ok 4 - git svn mkdirs recreates empty directories after git svn gc
# passed all 4 test(s)
1..4
ok 1 - load svn dump
ok 2 - all svn merges became git merge commits
ok 3 - cherry picks did not become git merge commits
ok 4 - svn non-merge merge commits did not become git merge commits
ok 5 - commit made to merged branch is reachable from the merge
ok 6 - merging two branches in one commit is detected correctly
not ok 7 - everything got merged in the end # TODO known breakage
# still have 1 known breakage(s)
# passed all remaining 6 test(s)
1..7
make[2]: Leaving directory '/tmp/guix-build-git-2.15.0.drv-0/git-2.15.0/t'
make[1]: *** [Makefile:36: test] Error 2
make[1]: Leaving directory '/tmp/guix-build-git-2.15.0.drv-0/git-2.15.0/t'
make: *** [Makefile:2439: test] Error 2
phase `check' failed after 517.7 seconds
builder for `/gnu/store/r3rijd3pmkfdmg3h4spyb24az3xiylc4-git-2.15.0.drv' failed 
with exit code 1
guix package: error: build failed: build of 
`/gnu/store/r3rijd3pmkfdmg3h4spyb24az3xiylc4-git-2.15.0.drv' failed
g1@g1 ~/src/guix$ exit
exit

Full compressed log (300+K) available if needed.

HTH - George