bug#47780: [installer] Trying to install to DVD leads to crash

2021-06-14 Thread Ludovic Courtès
Hi,

Mathieu Othacehe  skribis:

>> Possible improvements are:
>>
>>   1. gracefully handling this error;
>>   2. filtering out read-only storage devices from the menu.
>>
>> Thoughts?
>
> Thanks to David's help[1], I realized that the non-filtering of the
> installation device was causing some of the (uuid->string #f) issues
> users were experimenting.
>
> With this commit: 154a4e046281c28e39b5016e965d3d937a2ea4a1, I improved
> the install device detection by removing the device with the default
> Guix System image ISO label.

Nice.

> Now this is fragile and won't work if the ISO label is modified like in
> your use-case. I cannot find another reliable way to detect the
> installation device in the "non-install-devices" procedure. Do you have
> any better idea?

Does Parted provide a way to tell whether a storage device is read-only?
That would be ideal.

Thanks,
Ludo’.





bug#48756: guix offload: error: corrupt input while restoring archive from #

2021-06-14 Thread Ludovic Courtès
Hi Madhavan,

Madhavan Krishnan  skribis:

> Hi there, I am trying to follow this instruction [[info:guix#Daemon
> Offload Setup][guix#Daemon Offload Setup]] with guix
> 6086e6ed1a038793e358becddded50d97593f691 on the host and build machine
> to set up a offload build machine, and I end up with the error below.
>
> ~ $ guix offload test
> guix offload: testing 1 build machines defined in '/etc/guix/machines.scm'...
> guix offload: Guix is usable on 'build-machine' (test returned 
> "/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test")
> guix offload: 'build-machine' is running GNU Guile 3.0.5
> guix offload: sending 1 store item (0 MiB) to 'build-machine'...
> exporting path `/gnu/store/hqisv30c33ka8xascqh2x0lyqd0bp6z4-export-test'
> guix offload: error: corrupt input while restoring archive from
> #

Does /etc/guix/signing-key.{pub,sec} exist on both machines?

You can generate it with ‘guix archive’ (info "(guix) Invoking guix
archive").

HTH,
Ludo’.





bug#44985: ANSI sequences in unattended-upgrades.log?

2021-06-14 Thread 藍挺瑋
The commit d613c1771a1986d3c0f1e034155fde41f32f9b8e seems to break tests/guix-
environment.sh test for Guix 1.3.0 on Guile 2.2.7.

The line which causes the test to fail is:

  (when (zero? (modulo (round (* 100. (/ transferred size))) 10))

When Guile 2.2.7 runs this line, it fails with the error:

  Wrong type (expecting exact integer): 2.0

The error comes from the call to 'zero?'.





bug#49026: at-spi2-core build fails on emulated aarch64

2021-06-14 Thread Jack Hill
Build log attached. Using guix commit 
154a4e046281c28e39b5016e965d3d937a2ea4a1.


Best,
Jack

z54ykmcn0krv6vx3bc403f1fiinh6c-at-spi2-core-2.34.0.drv.bz2
Description: Binary data


bug#48959: icecat imcomplete LD_LIBRARY_PATH affecting Kerberos authentication

2021-06-14 Thread Mark H Weaver
Hi Ignacio,

Ignacio  Coterillo  writes:

> [Summary]
> - The icecat package doesn't correctly set the LD_LIBRARY_PATH
> variable during the wrap-program build stage to include mit-krb5 libraries
> so kerberos authentication fails as the libraries are not found at runtime:

Thanks for this report.  I've attached a proposed patch that might fix
the problem.  I've verified that the modified IceCat package builds and
runs successfully, but I'm unable to test it properly because I don't
have access to any system that uses Kerberos authentication.

Are you able to test this patch?  One way to do so is to clone the
master branch of our git repository, apply this patch to the Guix git
checkout and build it, and then run that modified copy of Guix (without
installing it) to build icecat.  See sections 16.1 (Building from Git)
and 16.2 (Running Guix Before It Is Installed) of our manual for details
of how to do this.

If you encounter difficulties or have additional questions, please do
not hesitate to ask.

  Regards,
Mark

>From 857f829906e0f8d9583a32ad47c91149c7714171 Mon Sep 17 00:00:00 2001
From: Mark H Weaver 
Date: Sun, 13 Jun 2021 19:11:15 -0400
Subject: [PATCH] UNTESTED: gnu: icecat: Fix Kerberos support.

Fixes .

* gnu/packages/gnuzilla.scm (icecat)[arguments]: In the 'wrap-program' phase,
add mit-krb5 to the LD_LIBRARY_PATH.
---
 gnu/packages/gnuzilla.scm | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index c63809c20c..a997fc1c73 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1276,14 +1276,19 @@ from forcing GEXP-PROMISE."
 (pulseaudio (assoc-ref inputs "pulseaudio"))
 (pulseaudio-lib (string-append pulseaudio "/lib"))
 (libxscrnsaver (assoc-ref inputs "libxscrnsaver"))
-(libxscrnsaver-lib (string-append libxscrnsaver "/lib")))
+(libxscrnsaver-lib (string-append libxscrnsaver "/lib"))
+(mit-krb5 (assoc-ref inputs "mit-krb5"))
+(mit-krb5-lib (string-append mit-krb5 "/lib")))
(wrap-program (car (find-files lib "^icecat$"))
  `("XDG_DATA_DIRS" prefix (,gtk-share))
  ;; The following line is commented out because the icecat
  ;; package on guix has been observed to be unstable when
  ;; using wayland, and the bundled extensions stop working.
  ;;   `("MOZ_ENABLE_WAYLAND" = ("1"))
- `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib ,mesa-lib ,libxscrnsaver-lib)))
+ `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib
+ ,mesa-lib
+ ,libxscrnsaver-lib
+ ,mit-krb5-lib)))
#t))
 (home-page "https://www.gnu.org/software/gnuzilla/";)
 (synopsis "Entirely free browser derived from Mozilla Firefox")
-- 
2.31.1


-- 
Disinformation flourishes because many people care deeply about injustice
but very few check the facts.  Ask me about .


bug#48959: icecat imcomplete LD_LIBRARY_PATH affecting Kerberos authentication

2021-06-14 Thread Mark H Weaver
Hello again,

Earlier, I wrote:
> Are you able to test this patch?  One way to do so is to clone the
> master branch of our git repository, apply this patch to the Guix git
> checkout and build it, and then run that modified copy of Guix (without
> installing it) to build icecat.

On second thought, it would be sufficient and *much* easier to simply
verify that Kerberos authentication works in IceCat if you launch it
with the following Bash shell command:

LD_LIBRARY_PATH=$(guix build mit-krb5)/lib icecat

Would you like to try it and report back?

 Thanks,
   Mark

-- 
Disinformation flourishes because many people care deeply about injustice
but very few check the facts.  Ask me about .





bug#48756: guix offload: error: corrupt input while restoring archive from #

2021-06-14 Thread Madhavan Krishnan

Hello Ludo,

> Does /etc/guix/signing-key.{pub,sec} exist on both machines?

> You can generate it with ‘guix archive’ (info "(guix) Invoking guix
> archive").

Yes, the files are generated by

   #+begin_example
sudo guix archieve --generate-key
   #+end_example
   
  /etc/guix/signing-key.pub
  /etc/guix/signing-key.sec

and send the =signing-key.pub= to the build machine.

#+begin_src shell
sudo guix archieve --authorize< master/build.txt
#+end_src

both ways master <-> build

Kindly let me know If am I missing something here obvious?

Thanks
-- 
Madhavan Krishnan


bug#46333: Typos

2021-06-14 Thread Tarn Burton
Looks like I had some typos in the command.

sbcl --non-interactive --eval "(require :asdf)" --eval
"(asdf:load-system:common-lisp-jupyter)"
--eval "(clj:install :use-implementation t :prefix\"bla\" :system t)"

-Tarn Burton