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

2018-04-29 Thread Mark H Weaver
I'm closing this bug now, but if you are still having problems, please
let us know and we'll re-open it.

  Mark





bug#31294: Failed building dependencies for guix.

2018-04-29 Thread Fis Trivial

Ludovic Courtès writes:

> Hi,
>
> Fis Trivial  skribis:
>
>> Use following steps to reproduce:
>> $ env -i bash --norc --noprofile --login
>> $ guix environment guix
>>
>> Error message:
>>
>> The following derivations will be built:
>>/gnu/store/c53mj37x2dnrgmrpagpv9l5c2ghly2hy-profile.drv
>>/gnu/store/vpvx01j2qs31lfix131n1akwdjwf5s4z-xdg-desktop-database.drv
>>/gnu/store/hr8xa2inki6lfbn8v9jfgmygbxygszs2-xdg-mime-database.drv
>>/gnu/store/5y6mkv079xq5hnfajxfwky0kfc6ffy3p-info-dir.drv
>>/gnu/store/95glrzk2y6p6b3z7hlmdignzzvxjvi2r-manual-database.drv
>> Backtrace:
>>   10 (primitive-load "/gnu/store/mpy5w5gprs1ymrl3kwhqwr2jvnk?")
>> 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&e (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)
>> builder for `/gnu/store/5y6mkv079xq5hnfajxfwky0kfc6ffy3p-info-dir.drv' 
>> failed with exit code 1
>
> This looks like , which we don’t understand
> yet.
>
> (Most likely changing the Bash environment just led you to ignore
> ~/.config/guix/latest (or vice versa), thereby leading you to use a
> different set of Guix compiled modules.)
>
> Could you paste /gnu/store/5y6mkv079xq5hnfajxfwky0kfc6ffy3p-info-dir.drv ?
>

Derive([("out","/gnu/store/dpc817mql6764c6banrljn8lyjjjaf66-info-dir","","")],[("/gnu/store/0bfjq1ffy0m91frzsq1n4jqqg1hwx4v7-guile-2.2.3.drv",["out"]),("/gnu/store/0sr6a7lj72vb3cqx2gsdk3lxi2qr8hv1-file-5.32.drv",["out"]),("/gnu/store/13lpzxlf846i008qbiw85n3vhf9yvplq-sqlite-3.21.0.drv",["out"]),("/gnu/store/2jj26rl41f2352kl0iq8d57i6lgyfn5c-automake-1.15.1.drv",["out"]),("/gnu/store/460grihfmshw7z0bnqq09hys0hhpimy9-libtasn1-4.12.drv",["out"]),("/gnu/store/4k0p2qgjf121gd1jvb433jjlxb951iw4-grep-3.1.drv",["out"]),("/gnu/store/4m259i6f83awbdi09gn3v8skrsflcdzx-bash-minimal-4.4.12.drv",["out"]),("/gnu/store/509g2r09spbspn5imd42nsqx402jbsjf-guile-2.2.3.drv",["out"]),("/gnu/store/811pfvhj0gnrv8fqw4r6p6niqg87aphv-ld-wrapper-0.drv",["out"]),("/gnu/store/9n95j6vzy2xgzwm2kp04lyrdwz2ccgxm-util-linux-2.31.drv",["out"]),("/gnu/store/9nmwnbs9jndfama90x4i9v5150i64xf0-sed-4.4.drv",["out"]),("/gnu/store/ackbyqpplc6yr5hk68snawx4bmrygn6f-xz-5.2.3.drv",["out"]),("/gnu/store/ajxj7xlidhn1wf21kzvzj0z6p2srz8j3-bzip2-1.0.6.drv",["out"]),("/gnu/store/aw7mmwdw1qs25c8cryasi6vwqxwpa0gy-make-4.2.1.drv",["out"]),("/gnu/store/bczgczvb3nwcypk67z9j67np7xgf6b4c-glibc-utf8-locales-2.26.105-g0890d5379c.drv",["out"]),("/gnu/store/bfadqq933hs8f05213z8wnawd1cga6h2-guile-json-0.6.0.drv",["out"]),("/gnu/store/bh5pivpjk0gxnq1nzpkx3vbmwyak3qxa-guile-git-0.0-6.36f93c1.drv",["out"]),("/gnu/store/c2z8m9sagz3d2m57irhpzg86bqh2z795-graphviz-2.40.1.drv",["out"]),("/gnu/store/cjrz5r8yjghj8lwgxsqqa259c72pdib6-libltdl-2.4.6.drv",["out"]),("/gnu/store/czk2xigxxwkbyvlp112k4y61igibab4y-gzip-1.8.drv",["out"]),("/gnu/store/d8y0rbsicxkhw0dgxzj2idm1bfd98bxz-libgc-7.6.0.drv",["out"]),("/gnu/store/dfj9qsrhl9xd2997wqg9wqyk7xc47fin-gcc-5.5.0.drv",["out"]),("/gnu/store/fg9jyyrc0fs8l34wasw3pahhwp1pbky9-zlib-1.2.11.drv",["out"]),("/gnu/store/fld0ygyvd89py4kai9vnkvv70gp7mhaz-pkg-config-0.29.2.drv",["out"]),("/gnu/store/g96gl1d58llibr3q8l3l36bpkm4vv4c9-texinfo-6.5.drv",["out"]),("/gnu/store/h2imfnqll253wkz2dpig595bvkpcpii0-po4a-0.47.drv",["out"]),("/gnu/store/hbi3gqpfbvxc9r9y8w2yb923j5dm2cxi-gzip-1.8.drv",["out"]),("/gnu/store/hzj9vs4hgqdw2saicp91qwxkyjnzivdr-findutils-4.6.0.drv",["out"]),("/gnu/store/i3bzdf1fp3y4a0wkbnpaiw30mjbb7q30-glibc-2.26.105-g0890d5379c.drv",["out","static"]),("/gnu/store/ija7ycbcp68cksgg6zpr2dvmiwqhhvx5-libgcrypt-1.8.1.drv",["out"]),("/gnu/store/jgpqhyaky6vlpc7g31k6j9c03zpj382m-autoconf-wrapper-2.69.drv",["out"]),("/gnu/store/kcgi1xbqdvkhli6cpd0znrqdv69c4l9i-binutils-2.28.1.drv",["out"]),("/gnu/store/lb5bdahyi6znc87p5bzjz2dfbxhpspsn-libgpg-error-1.27.drv",["out"]),("/gnu/store/lv1j1ah6j7n3pi2kdayrwwsg9b2d7543-linux-libre-headers-4.9.59.drv",["out"]),("/gnu/store/m8pkc0l1wai0svh12ra7rbs3hzqys9ln-gnutls-3.5.13.drv",["out"]),("/gnu/store/mjykhz1mh2nivnar23h34bam3nb1qa3m-gawk-4.1.4.drv",["out"]),("/gnu/store/ncrgzza2w83wpcvikm28jjjis4jr2hjn-tar-1.29.drv",["out"]),("/gnu/store/pl63danxypih3lhl6rmb0pzdcw88la89-libidn2-2.0.4.drv",["out"]),("/gnu/store/pzpimhvxzlm719bjyhi929vqqzqmhdz7-help2man-1.47.5.drv",["out"]),("/gnu/store/qkjy

bug#31284: [PATCH 0/1] guix: Add git-fetch/impure.

2018-04-29 Thread Chris Marusich
Mark H Weaver  writes:

> Hi Chris,
>
> I don't see your patch anywhere in .
> Can you resend it?
>
> I'm curious how you arrange for a build process launched by guix-daemon
> to have access to your 'ssh-agent'.  Although I've dropped my objection
> to this idea in principle, I have yet to review the technical details of
> how this actually works.  It might be that the details will raise
> further alarm bells in my head :)

The patch can be found here:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31285

I accidentally sent the cover letter to bug-guix@gnu.org instead of
guix-patc...@gnu.org, which is why this bogus bug report (31284) was
opened.  I've closed this bug report in favor of the "guix-patches" one.
Sorry for the confusion!

-- 
Chris


signature.asc
Description: PGP signature


bug#31284: [PATCH 0/1] guix: Add git-fetch/impure.

2018-04-29 Thread Mark H Weaver
Hi Chris,

I don't see your patch anywhere in .
Can you resend it?

I'm curious how you arrange for a build process launched by guix-daemon
to have access to your 'ssh-agent'.  Although I've dropped my objection
to this idea in principle, I have yet to review the technical details of
how this actually works.  It might be that the details will raise
further alarm bells in my head :)

  Mark





bug#31284: [PATCH 0/1] guix: Add git-fetch/impure.

2018-04-29 Thread Mark H Weaver
Hi Chris,

Chris Marusich  writes:

> You've both said that you would prefer not to add git-fetch/impure to
> Guix.  Can you help me to understand why you feel that way?  I really
> think it would be nice if Guix could fetch Git repositories over SSH
> using public key authentication, so I'm hoping that we can talk about it
> and figure out an acceptable way to implement it.

I thought about it some more, and found that I cannot really justify my
position on this, so I hereby drop my objection.  It's obviously not
useful for packages that will be included in Guix itself, which is our
primary focus, but I suppose it could be useful for private package
definitions.

What do you think, David?  It seems to me that password tokens in URLs
raise possible security risks, whereas public-key authentication is
generally better practice.

   Mark





bug#31284: [PATCH 0/1] guix: Add git-fetch/impure.

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

Chris Marusich  skribis:

> You've both said that you would prefer not to add git-fetch/impure to
> Guix.  Can you help me to understand why you feel that way?  I really
> think it would be nice if Guix could fetch Git repositories over SSH
> using public key authentication, so I'm hoping that we can talk about it
> and figure out an acceptable way to implement it.

One argument against it would be that it encourages people (or at least
makes it very easy) to write origins that depend on external state, and
thus may be non-reproducible by others, and that Guix itself should
provide tools for writing reproducible build definitions.

Ludo’.





bug#31287: qemu-minimal-2.10.2 fails to build

2018-04-29 Thread Mark H Weaver
Hi Diego,

Diego Nicola Barbato  writes:
> I am closing this as I can no longer reproduce this error.  It failed a
> couple of times in a row but after rebooting (I did not run `guix pull'
> so I am still on the same commit) the build succeeds every time.
>
> Sorry for the noise

No worries, it's not noise at all.  Thanks for the report!

On hydra.gnu.org, I occasionally see non-deterministic test failures
occur during qemu's test suite.  Judging from my archive of failed build
logs from hydra, it seems to happen about 10 times per year.

The precise details of which test failed would have been higher up in
the build log, and was not in the excerpt included in your bug report,
but I have complete build logs for several similar failures that could
be analyzed, if someone wants to investigate further.

The two most recent failures of qemu-minimal from hydra that I have logs
for occurred while building for i686-linux, and both on the same test.

Here's the relevant excerpt of the most recent one, which happened in
January 2018:

--8<---cut here---start->8---
TEST: tests/vhost-user-test... (pid=17078)
  /x86_64/vhost-user/read-guest-mem:   OK
  /x86_64/vhost-user/migrate:  OK
  /x86_64/vhost-user/multiqueue:   OK
  /x86_64/vhost-user/reconnect:OK
  /x86_64/vhost-user/connect-fail: OK
  /x86_64/vhost-user/flags-mismatch:   **
ERROR:tests/vhost-user-test.c:835:test_flags_mismatch: child process 
(/x86_64/vhost-user/flags-mismatch/subprocess [17117]) failed unexpectedly
FAIL
GTester: last random seed: R02S1d5712e1b6c2bad14ccfb03776ee527f
(pid=17129)
FAIL: tests/vhost-user-test
--8<---cut here---end--->8---

and here's the previous one, from October 2017:

--8<---cut here---start->8---
TEST: tests/vhost-user-test... (pid=15318)
  /i386/vhost-user/read-guest-mem: OK
  /i386/vhost-user/migrate:OK
  /i386/vhost-user/multiqueue: OK
  /i386/vhost-user/reconnect:  OK
  /i386/vhost-user/connect-fail:   **
ERROR:tests/vhost-user-test.c:807:test_connect_fail: child process 
(/i386/vhost-user/connect-fail/subprocess [15346]) failed unexpectedly
FAIL
GTester: last random seed: R02S8ba3c1324b4ca498e277141dad6cae34
(pid=15357)
  /i386/vhost-user/flags-mismatch: OK
FAIL: tests/vhost-user-test
--8<---cut here---end--->8---

I can send the full logs upon request.

   Mark





bug#31299: Ansible depends on $0, which does not work for wrapped python scripts.

2018-04-29 Thread Ludovic Courtès
Merging with , which you submitted a while
back.

Ludo’.





bug#31294: Failed building dependencies for guix.

2018-04-29 Thread Ludovic Courtès
Hi,

Fis Trivial  skribis:

> Use following steps to reproduce:
> $ env -i bash --norc --noprofile --login
> $ guix environment guix
>
> Error message:
>
> The following derivations will be built:
>/gnu/store/c53mj37x2dnrgmrpagpv9l5c2ghly2hy-profile.drv
>/gnu/store/vpvx01j2qs31lfix131n1akwdjwf5s4z-xdg-desktop-database.drv
>/gnu/store/hr8xa2inki6lfbn8v9jfgmygbxygszs2-xdg-mime-database.drv
>/gnu/store/5y6mkv079xq5hnfajxfwky0kfc6ffy3p-info-dir.drv
>/gnu/store/95glrzk2y6p6b3z7hlmdignzzvxjvi2r-manual-database.drv
> Backtrace:
>   10 (primitive-load "/gnu/store/mpy5w5gprs1ymrl3kwhqwr2jvnk?")
> 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&e (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)
> builder for `/gnu/store/5y6mkv079xq5hnfajxfwky0kfc6ffy3p-info-dir.drv' failed 
> with exit code 1

This looks like , which we don’t understand
yet.

(Most likely changing the Bash environment just led you to ignore
~/.config/guix/latest (or vice versa), thereby leading you to use a
different set of Guix compiled modules.)

Could you paste /gnu/store/5y6mkv079xq5hnfajxfwky0kfc6ffy3p-info-dir.drv ?

Also, could you post ~/.config/guix/latest/guix/profiles.go and
/run/current-system/profile/lib/guile/2.2/site-ccache/guix/profiles.go ?
(Perhaps you’ll need to gzip them to be sure.)

Thanks in advance,
Ludo’.





bug#31287: qemu-minimal-2.10.2 fails to build

2018-04-29 Thread Diego Nicola Barbato
Diego Nicola Barbato  writes:

> Hello Guix
>
> Currently `guix build grub --keep-failed' fails with the following error:
>
> TEST: tests/test-hmp... (pid=13798)
>   /i386/hmp/pc-0.12:   OK
>   /i386/hmp/pc-i440fx-2.4: OK
>   /i386/hmp/pc-1.3:OK
>   /i386/hmp/pc-q35-2.7:OK
>   /i386/hmp/pc-q35-2.6:OK
>   /i386/hmp/none:  OK
>   /i386/hmp/pc-i440fx-1.7: OK
>   /i386/hmp/pc-i440fx-2.8: OK
>   /i386/hmp/pc-i440fx-1.6: OK
>   /i386/hmp/pc-i440fx-2.7: OK
>   /i386/hmp/pc-i440fx-2.10:OK
>   /i386/hmp/pc-0.11:   OK
>   /i386/hmp/pc-i440fx-2.3: OK
>   /i386/hmp/pc-0.10:   OK
>   /i386/hmp/pc-1.2:OK
>   /i386/hmp/pc-i440fx-2.2: OK
>   /i386/hmp/isapc: OK
>   /i386/hmp/pc-q35-2.5:OK
>   /i386/hmp/pc-0.15:   OK
>   /i386/hmp/pc-0.14:   OK
>   /i386/hmp/pc-i440fx-1.5: OK
>   /i386/hmp/pc-i440fx-2.6: OK
>   /i386/hmp/pc-i440fx-1.4: OK
>   /i386/hmp/pc-i440fx-2.5: OK
>   /i386/hmp/pc-q35-2.9:OK
>   /i386/hmp/pc-1.1:OK
>   /i386/hmp/pc-i440fx-2.1: OK
>   /i386/hmp/pc-q35-2.8:OK
>   /i386/hmp/pc-1.0:OK
>   /i386/hmp/pc-i440fx-2.0: OK
>   /i386/hmp/pc-q35-2.4:OK
>   /i386/hmp/pc-i440fx-2.9: OK
>   /i386/hmp/pc-0.13:   OK
>   /i386/hmp/pc-q35-2.10:   OK
> PASS: tests/test-hmp
> make: *** 
> [/tmp/guix-build-qemu-minimal-2.10.2.drv-0/qemu-2.10.2/tests/Makefile.include:837:
>  check-qtest-i386] Error 1
> phase `check' failed after 398.0 seconds
> note: keeping build directory `/tmp/guix-build-qemu-minimal-2.10.2.drv-0'
> builder for 
> `/gnu/store/66dx3lqbgfff0abfccwsk8yk5718q1sm-qemu-minimal-2.10.2.drv' failed 
> with exit code 1
> @ build-failed 
> /gnu/store/66dx3lqbgfff0abfccwsk8yk5718q1sm-qemu-minimal-2.10.2.drv - 1 
> builder for 
> `/gnu/store/66dx3lqbgfff0abfccwsk8yk5718q1sm-qemu-minimal-2.10.2.drv' failed 
> with exit code 1
> cannot build derivation 
> `/gnu/store/hlc5kmwwwzacbw7avmsp4fwki129hal7-grub-2.02.drv': 1 dependencies 
> couldn't be built
> guix build: error: build failed: build of 
> `/gnu/store/hlc5kmwwwzacbw7avmsp4fwki129hal7-grub-2.02.drv' failed
>
> This also breaks `guix system reconfigure /etc/config.scm'.
>
> I run GuixSD (commit: 2216b6f4108abfb2f75db7667beaa46ee7d630e8) on an
> x86_64 machine.

I am closing this as I can no longer reproduce this error.  It failed a
couple of times in a row but after rebooting (I did not run `guix pull'
so I am still on the same commit) the build succeeds every time.

Sorry for the noise

Diego