bug#41140: “guix system” suggests wrong module import when using “remove”

2020-05-09 Thread Danny Milosavljevic
Hi Ricardo,

On Sat, 09 May 2020 00:00:05 +0200
Ricardo Wurmus  wrote:

> * can we prefer (srfi srfi-1) over (rnrs lists) in the suggestions for 
> “remove”?

If possible, I'd just make it search all the modules with that binding that
are available in the search path.  It's okay if that's slow--since it's a
fatal error case anyway.

Then it could say "either (rnrs lists) or (srfi srfi-1), but probably not
both".

Better than hardcoding preferences...

So in short, known-variable-definition shouldn't find the "best" module but
rather all modules with such a binding.  Also, it sounds like that just
searches the currently-loaded modules.  Aren't that too few?

If we don't want that for some reason, we can just add "srfi srfi-1" to the
last "match" form where it already prefers "(gnu ...)", but that's gonna
turn into whack-a-mole fast.


pgpMgO1Jp8NE9.pgp
Description: OpenPGP digital signature


bug#41144: core-updates merged!

2020-05-09 Thread Nicolò Balzarotti
Hi! I guix pull-ed yesterday night!
The system continues to work well, but on the boot I get a lot of
warnings, something like "WARNING: {g#45} importing (guix utils) conflicts with 
an
existing identifier `delete'" (or something similar, I already forgot
and don't know where to find the log).

Am I the only one? In that case, I'll reboot and report the correct warning

Many thanks :)
Nicolò

Marius Bakke  writes:

> Guix,
>
> The mythical 'core-updates' branch was just merged to 'master'!
>
> You will notice newer versions of many "core" packages such as glibc,
> findutils, make, etc; see 'guix pull --news' for the scoop.  The mailing
> list has a (non-exhaustive) overview of the big changes this round:
>
>   https://lists.gnu.org/archive/html/guix-devel/2020-03/msg00412.html
>
> Please report any problems you find to bug-guix@gnu.org.
>
> Enjoy!





bug#41146: [Cuirass] Build non-substitutable packages

2020-05-09 Thread Brice Waegeneire

Hello Guix,

It would be useful to build non-substitutable packages on cuirass, 
without offering substitutes for it, to catch broken packages.  For 
example ATM the zfs package is broken but it hasn't been noticed because 
it isn't present on ci.guix.gnu.org[0].


This wish item follows a discussion on IRC[1].

[0]: https://ci.guix.gnu.org/search?query=zfs
[1]: http://logs.guix.gnu.org/guix/2020-05-09.log#102425

- Brice





bug#40558: (no subject)

2020-05-09 Thread elaexuotee
I encountered a similar issue while trying to package something with a 
texlive-union input. Tracking down the issue has killed way too many hours.

FWIW, the `working.tex' minimal example is also giving me similar problems:

$ guix describe
Generation 285月 07 2020 01:10:02   (current)
  guix bed695a
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: bed695aa94cd85800ec2c6296fb2d13e7ac29133
$ guix environment --pure -e '((@ (gnu packages tex) texlive-union) `(,(@ 
(gnu packages tex) texlive-amsfonts)))'
$ pdflatex working
...
! Math formula deleted: Insufficient symbol fonts.
\)  ->\relax \ifmmode \ifinner $
\else \@badmath \fi \else \@badmath \fi
l.4 Hello! \(y = x^2\)
...

With the patch to texlive-amsfonts the above typesets just fine; however, 
metafont ends up generating cmmi10.657pk and cmr10.657pk font files. Is this 
expected? Typsetting it from the texlive installation of my foreign distro 
doesn't call out to metafont at all.


signature.asc
Description: PGP signature


bug#37244: Icecat Audio Issues

2020-05-09 Thread Martin Becze
I also have this problem with icecat. With ungoogled-chromuim the video
is scrambled. I wonder if the two issues are possible related.

On 9/1/19 1:15 PM, Tobias Geerinckx-Rice via Bug reports for GNU Guix wrote:
> Raghav,
> 
> Raghav Gururajan 写道:
>> While streaming/watching movie on some (more than one) websites, audio
>> has constant cracking sounds and voice of characters in the video
>> becomes robotic.
> 
> If by ‘robotic’ you mean (extremely) low-pitched then, yes, this has
> been the case for roughly the past half year.
> 
> I asked around on IRC, even sending URLs to innocent people who were
> unable to reproduce the problem, so I then assumed it wasn't in Guix
> proper.  I almost never watch videos on the Web so I didn't care much,
> but you might be happy to learn you're not alone.
> 
> Could you share a (free) example URL?
> 
> Kind regards,
> 
> T G-R



signature.asc
Description: OpenPGP digital signature


bug#41058: core-updates: GNOME Maps doesn't start

2020-05-09 Thread sirgazil via Bug reports for GNU Guix
I still can reproduce the problem though, in both real and virtual machines.


$ LANG=C guix describe
Generation 80   May 08 2020 15:18:18(current)
  sirgazil-x ef6ac93
repository URL: https://gitlab.com/sirgazil/guix-channel-x.git
branch: master
commit: ef6ac9331a7847fdec6f0eb199524b1b755ba0df
  guix 35c43fc
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 35c43fcdbb408a5755efebc13241dd9082360aa1









bug#41154: [cuirass]: Build duration time is wrong

2020-05-09 Thread Jonathan Brielmaier
At some builds the build duration time seems to be wrongly calculated:
http://ci.guix.gnu.org/build/1672744/details -> 1568730254 seconds which
seems like unix time stamp for the finished time: Tue 17 Sep 16:24:14
CEST 2019

Some times it's correct, 11 seconds:
http://ci.guix.gnu.org/build/1024003/details





bug#41158: `guix` command segfaults after doing Ctrl-C during a frozen `guix pull`

2020-05-09 Thread JoJo
Due to an unrelated issue, I was updating my system with `guix
pull`. During update, the process seemed to freeze / get stuck. My
system was responsive and all, but the `guix pull` output was stuck. I
don't remember what the last line in the output was, but after
studying the output of an application of
`/run/current-system/profile/bin/guix`, I think the output stuck at
the last step, "building profile with 1 package...". It definitely
said something about "profile" and "1 package" at least. I don't know
what caused the freeze. A casual guess is that it's related to my
screen blanking and the screen locker (`slock`) activatin due to no
input for a while.

Anyways, I decided to end the apparently frozen command, so I killed
it with Ctrl-C. Immediately afterwards when trying to `guix pull`
another time, `guix` just started segfaulting. Doesn't matter what
subcommand I try, or if I call `guix` with no subbcommand -- it just
segfaults in either case.

```
jojo@astoria ~$ guix pull
Segmentation fault
jojo@astoria ~$ guix
Segmentation fault
jojo@astoria ~$ guix show
Segmentation fault
```

I'm on Guix System, with a linux-nonfree kernel (due to wifi card).
Installing `strace` with
`/run/current-system/profile/bin/guix install strace`
and running `strace -f guix 2>&1 | tee tmp/log` prints:

```
execve("/home/jojo/.config/guix/current/bin/guix", ["guix"], 0x7fffc51e4718 /* 
67 vars */) = 0
brk(NULL)   = 0x1a31000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f5de4d32000
access("/etc/ld.so.preload", R_OK)  = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, 
"/home/jojo/.guix-profile/lib/tls/x86_64/x86_64/libguile-3.0.so.1", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/jojo/.guix-profile/lib/tls/x86_64/x86_64", 0x7fff1b7444a0) = -1 
ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/jojo/.guix-profile/lib/tls/x86_64/libguile-3.0.so.1", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/jojo/.guix-profile/lib/tls/x86_64", 0x7fff1b7444a0) = -1 ENOENT (No 
such file or directory)
openat(AT_FDCWD, "/home/jojo/.guix-profile/lib/tls/x86_64/libguile-3.0.so.1", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/jojo/.guix-profile/lib/tls/x86_64", 0x7fff1b7444a0) = -1 ENOENT (No 
such file or directory)
openat(AT_FDCWD, "/home/jojo/.guix-profile/lib/tls/libguile-3.0.so.1", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/jojo/.guix-profile/lib/tls", 0x7fff1b7444a0) = -1 ENOENT (No such 
file or directory)
openat(AT_FDCWD, 
"/home/jojo/.guix-profile/lib/x86_64/x86_64/libguile-3.0.so.1", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/jojo/.guix-profile/lib/x86_64/x86_64", 0x7fff1b7444a0) = -1 ENOENT 
(No such file or directory)
openat(AT_FDCWD, "/home/jojo/.guix-profile/lib/x86_64/libguile-3.0.so.1", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/jojo/.guix-profile/lib/x86_64", 0x7fff1b7444a0) = -1 ENOENT (No 
such file or directory)
openat(AT_FDCWD, "/home/jojo/.guix-profile/lib/x86_64/libguile-3.0.so.1", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/jojo/.guix-profile/lib/x86_64", 0x7fff1b7444a0) = -1 ENOENT (No 
such file or directory)
openat(AT_FDCWD, "/home/jojo/.guix-profile/lib/libguile-3.0.so.1", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/jojo/.guix-profile/lib", {st_mode=S_IFDIR|0555, st_size=12288, 
...}) = 0
openat(AT_FDCWD, "/home/jojo/.local/lib/tls/x86_64/x86_64/libguile-3.0.so.1", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/jojo/.local/lib/tls/x86_64/x86_64", 0x7fff1b7444a0) = -1 ENOENT (No 
such file or directory)
openat(AT_FDCWD, "/home/jojo/.local/lib/tls/x86_64/libguile-3.0.so.1", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/jojo/.local/lib/tls/x86_64", 0x7fff1b7444a0) = -1 ENOENT (No such 
file or directory)
openat(AT_FDCWD, "/home/jojo/.local/lib/tls/x86_64/libguile-3.0.so.1", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/jojo/.local/lib/tls/x86_64", 0x7fff1b7444a0) = -1 ENOENT (No such 
file or directory)
openat(AT_FDCWD, "/home/jojo/.local/lib/tls/libguile-3.0.so.1", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/jojo/.local/lib/tls", 0x7fff1b7444a0) = -1 ENOENT (No such file or 
directory)
openat(AT_FDCWD, "/home/jojo/.local/lib/x86_64/x86_64/libguile-3.0.so.1", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/jojo/.local/lib/x86_64/x86_64", 0x7fff1b7444a0) = -1 ENOENT (No 
such file or directory)
openat(AT_FDCWD, "/home/jojo/.local/lib/x86_64/libguile-3.0.so.1", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/home/jojo/.local/lib/x86_64", 0x7fff1b7444a0) = -1 ENOENT (No such file 
or directory)
openat(AT_FDCWD, "/home/jojo/.local/lib/x86_64/libguile-3.0.so.1", 
O_RDONLY|O_

bug#41160: sbcl-cffi-libffi: Fails to build on ARM

2020-05-09 Thread Pierre Neidhardt
Log attached.

-- 
Pierre Neidhardt
https://ambrevar.xyz/


signature.asc
Description: PGP signature


0073bx3mc98019xd8q2yv2lpji460k-sbcl-cffi-libffi-0.21.0.drv.bz2
Description: Binary data


bug#40700: herd restart guix-publish crashes system

2020-05-09 Thread Efraim Flashner
I just tried to replicate this and restarted the guix-publish daemon on my
machine a couple of times and no crash. Restarting the guix-daemon also
didn't make my machine crash. I'm closing this bug, will revisit if it
happens again.


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


signature.asc
Description: PGP signature


bug#41025: blueman does not start

2020-05-09 Thread Raghav Gururajan
Hi Pierre!

> Thanks, looking good!
> 
> - Could you remove the `pk' lines?
> - Looks like pulseaudio is missing for blueman-manager:

Please find the revised patch attached with this email.

Regards,
RG.
From 52dc6e2dd01cbbf280e7e17af6274d2b1aa2bde1 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan 
Date: Sat, 9 May 2020 17:38:43 -0400
Subject: [PATCH] gnu: blueman: Update package definition.

* gnu/packages/networking.scm (blueman): Fixes.
[version]: Upgrade to 2.1.3.
[source][method]: Change from url-fetch to git-fetch.
[arguments]<#:configure-flags>[--disable-appindicator]: Remove flag.
[--disable-schemas-compile]: New flag.
[arguments]<#:phases>['setenv]: New phase.
['patch-python-references]: New phase.
['patch-os-path]: New phase.
['patch-progs-path]: New phase.
['wrap-blueman-progs]: New phase.
[native-inputs]: Add autoconf, autogen, automake and gobject-introspection.
[inputs]: Add iptables and ppp. Replace libnma with network-manager.
Remove adwaita-icon-theme.
---
 gnu/packages/networking.scm | 101 +++-
 1 file changed, 89 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index d7720724cc..ddf1d95df4 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -72,6 +72,7 @@
   #:use-module (gnu packages adns)
   #:use-module (gnu packages algebra)
   #:use-module (gnu packages audio)
+  #:use-module (gnu packages autogen)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bison)
@@ -113,6 +114,7 @@
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages readline)
+  #:use-module (gnu packages samba)
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages ssh)
@@ -127,46 +129,121 @@
 (define-public blueman
   (package
 (name "blueman")
-(version "2.1.2")
+(version "2.1.3")
 (source
  (origin
-   (method url-fetch)
+   (method git-fetch)
(uri
-(string-append "https://github.com/blueman-project/blueman/releases/";
-   "download/2.1.2/blueman-2.1.2.tar.gz"))
+(git-reference
+ (url "https://github.com/blueman-project/blueman.git";)
+ (commit version)))
+   (file-name (git-file-name name version))
(sha256
-(base32 "0wamxdw36c8i3aqwmja5q70fajqwd7inpkvlpkldd54wdxbcd38d"
+(base32 "1vb0zfns4q5d65hnja4c0k11lr38xxhdnkpkzfs6xca3mm6jyi1d"
 (build-system glib-or-gtk-build-system)
 (arguments
  `(#:configure-flags
(list
 "--enable-polkit"
-"--disable-appindicator" ; Deprecated
-"--with-systemdsystemunitdir=no" ; Not required
-"--with-systemduserunitdir=no")))  ; Not required
+"--disable-schemas-compile" ; Compiled at 'glib-or-gtk-compile-schemas
+"--without-systemdsystemunitdir" ; Not required
+"--without-systemduserunitdir")  ; Not required
+   #:phases
+   (modify-phases %standard-phases
+ ;; Prevent the autogen.sh script to carry out the configure
+ ;; script, which has not yet been patched to replace /bin/sh.
+ (add-before 'bootstrap 'setenv
+   (lambda _
+ (setenv "NOCONFIGURE" "TRUE")
+ #t))
+ ;; Python references are not being patched in patch-phase of build;
+ ;; despite using python-wrapper as input. So patching them manually.
+ (add-after 'unpack 'patch-python-references
+   (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "apps"
+   (substitute*
+   '("blueman-adapters.in" "blueman-applet.in"
+ "blueman-assistant.in" "blueman-manager.in"
+ "blueman-mechanism.in" "blueman-report.in"
+ "blueman-rfcomm-watcher.in" "blueman-sendto.in"
+ "blueman-services.in" "blueman-tray.in")
+ (("@PYTHON@") (string-append (assoc-ref inputs "python")
+  "/bin/python3.7"
+ #t))
+ ;; PATH is hard-coded for FHS directories.
+ ;; Patch it to PATH used by Guix.
+ (add-after 'patch-python-references 'patch-os-path
+   (lambda _
+ (substitute*
+ '("apps/blueman-mechanism.in" "blueman/Functions.py")
+   (("/usr/bin:/bin:/usr/sbin:/sbin")
+(string-append
+ "~/.guix-profile/bin:"
+ "/run/current-system/profile/bin:"
+ "~/.guix-profile/sbin:"
+ "/run/current-system/profile/sbin"))
+   ((":/sbin:/usr/sbin")
+(string-append
+ ":/run/current-system/profile/sbin:"
+ "~/.guix-profile/sbin")))
+ #t))
+ (add-after 'patch-os-path 'patch-pro

bug#41025: blueman does not start

2020-05-09 Thread Raghav Gururajan
Hi Pierre!

>> Thanks, looking good!
>>
>> - Could you remove the `pk' lines?
>> - Looks like pulseaudio is missing for blueman-manager:
> 
> Please find the revised patch attached with this email.

Sorry, I sent the wrong patch. I have attached the correct one with this
email. I hope this patch does not have any blocker for merging. :-)

Regards,
RG.
From 509774cf1efe19a1b5cc2760d52874067579deb4 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan 
Date: Sat, 9 May 2020 17:59:45 -0400
Subject: [PATCH] gnu: blueman: Update package definition.

* gnu/packages/networking.scm (blueman): Fixes.
[version]: Upgrade to 2.1.3.
[source][method]: Change from url-fetch to git-fetch.
[arguments]<#:configure-flags>[--disable-appindicator]: Remove flag.
[--disable-schemas-compile]: New flag.
[arguments]<#:phases>['setenv]: New phase.
['patch-python-references]: New phase.
['patch-os-path]: New phase.
['patch-progs-path]: New phase.
['wrap-blueman-progs]: New phase.
[native-inputs]: Add autoconf, autogen, automake and gobject-introspection.
[inputs]: Add iptables and ppp. Remove adwaita-icon-theme.
---
 gnu/packages/networking.scm | 99 -
 1 file changed, 88 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index d7720724cc..ebd26501cd 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -72,6 +72,7 @@
   #:use-module (gnu packages adns)
   #:use-module (gnu packages algebra)
   #:use-module (gnu packages audio)
+  #:use-module (gnu packages autogen)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bison)
@@ -113,6 +114,7 @@
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages readline)
+  #:use-module (gnu packages samba)
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages ssh)
@@ -127,41 +129,116 @@
 (define-public blueman
   (package
 (name "blueman")
-(version "2.1.2")
+(version "2.1.3")
 (source
  (origin
-   (method url-fetch)
+   (method git-fetch)
(uri
-(string-append "https://github.com/blueman-project/blueman/releases/";
-   "download/2.1.2/blueman-2.1.2.tar.gz"))
+(git-reference
+ (url "https://github.com/blueman-project/blueman.git";)
+ (commit version)))
+   (file-name (git-file-name name version))
(sha256
-(base32 "0wamxdw36c8i3aqwmja5q70fajqwd7inpkvlpkldd54wdxbcd38d"
+(base32 "1vb0zfns4q5d65hnja4c0k11lr38xxhdnkpkzfs6xca3mm6jyi1d"
 (build-system glib-or-gtk-build-system)
 (arguments
  `(#:configure-flags
(list
 "--enable-polkit"
-"--disable-appindicator" ; Deprecated
-"--with-systemdsystemunitdir=no" ; Not required
-"--with-systemduserunitdir=no")))  ; Not required
+"--disable-schemas-compile" ; Compiled at 'glib-or-gtk-compile-schemas
+"--without-systemdsystemunitdir" ; Not required
+"--without-systemduserunitdir")  ; Not required
+   #:phases
+   (modify-phases %standard-phases
+ ;; Prevent the autogen.sh script to carry out the configure
+ ;; script, which has not yet been patched to replace /bin/sh.
+ (add-before 'bootstrap 'setenv
+   (lambda _
+ (setenv "NOCONFIGURE" "TRUE")
+ #t))
+ ;; Python references are not being patched in patch-phase of build;
+ ;; despite using python-wrapper as input. So patching them manually.
+ (add-after 'unpack 'patch-python-references
+   (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "apps"
+   (substitute*
+   '("blueman-adapters.in" "blueman-applet.in"
+ "blueman-assistant.in" "blueman-manager.in"
+ "blueman-mechanism.in" "blueman-report.in"
+ "blueman-rfcomm-watcher.in" "blueman-sendto.in"
+ "blueman-services.in" "blueman-tray.in")
+ (("@PYTHON@") (string-append (assoc-ref inputs "python")
+  "/bin/python3.7"
+ #t))
+ ;; PATH is hard-coded for FHS directories.
+ ;; Patch it to PATH used by Guix.
+ (add-after 'patch-python-references 'patch-os-path
+   (lambda _
+ (substitute*
+ '("apps/blueman-mechanism.in" "blueman/Functions.py")
+   (("/usr/bin:/bin:/usr/sbin:/sbin")
+(string-append
+ "~/.guix-profile/bin:"
+ "/run/current-system/profile/bin:"
+ "~/.guix-profile/sbin:"
+ "/run/current-system/profile/sbin"))
+   ((":/sbin:/usr/sbin")
+(string-append
+ ":/run/current-system/profile/sbin

bug#37207: guix.gnu.org returns Last-Modified = Epoch

2020-05-09 Thread Christopher Baines

Ludovic Courtès  writes:

> Since the use of the ‘static-web-site’ service, which puts web site
> files in the store, nginx returns a ‘Last-Modified’ header that can
> trick clients into caching things forever:
>
> --8<---cut here---start->8---
> $ wget --debug -O /dev/null   https://guix.gnu.org/packages.json 2>&1 | grep 
> Last
> Last-Modified: Thu, 01 Jan 1970 00:00:01 GMT
> --8<---cut here---end--->8---
>
> We should tell nginx to do not emit ‘Last-Modified’, or to take the
> state from the /srv/guix.gnu.org symlink, if possible.

I ended up looking at this again in relation to Repology [1].

1: 
https://github.com/repology/repology-updater/issues/218#issuecomment-525905704

Going back to that comment, given that the Last-Modified header (and the
ETag) is wrong, it's probably sensible to remove them. That might even
fix the issue with Repology fetching the packages.json file.

Alternatively (or in addition), we could run a really simple Guile web
server that just serves the packages.json file with the right
Last-Modified value, and have NGinx proxy requests to that server. This
would be pretty easy to setup I believe, and would allow providing a
correct value.

Thoughts?

Chris


signature.asc
Description: PGP signature


bug#40872: [PATCH] gnu: system: Fix PATH export if the profile has no bin directory.

2020-05-09 Thread Stefan
Hi!

> Am 02.05.2020 um 18:59 schrieb Stefan :
> 
> * gnu/system.scm (operating-system-etc-service): Testing for $profile/bin.
> 
> Fixes .
> ---
> gnu/system.scm | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/gnu/system.scm b/gnu/system.scm
> index 540f0e4a9e..0eb5731c82 100644
> --- a/gnu/system.scm
> +++ b/gnu/system.scm
> @@ -725,7 +725,8 @@ do
> # Load the user profile's settings.
> GUIX_PROFILE=\"$profile\" ; \\
> . \"$profile/etc/profile\"
> -  else
> +  fi
> +  if [ ! -d \"$profile/bin\" ]

I just realised that I missed the necessary 

then

between these lines. 

> # At least define this one so that basic things just work
> # when the user installs their first package.
> export PATH=\"$profile/bin:$PATH\"
> -- 
> 2.26.0
> 


Bye

Stefan





bug#41044: [guix 1.1.0] guix pull failed

2020-05-09 Thread Wensheng Xie

Hi,


Thanks.

The problem is solved by doing 'guix pull' again.

wxie

On 2020/5/6 上午3:37, Ludovic Courtès wrote:

Hi,

wensheng xie  skribis:


./guix/store.scm:1034:9: Throw to key `srfi-34' with args `(#)'.

Could you check the contents of the file above?  It seems to be corrupt,
which could be the result of a hard disk corruption, possibly due to
hardware issues.

Thanks in advance,
Ludo’.






bug#41116: Guix deploy fails with new version of Herd

2020-05-09 Thread Ludovic Courtès
Hi,

Marius Bakke  skribis:

> Diego Nicola Barbato  writes:

[...]

>>> I’ve reverted the patch in 5aa4d2dcf2f4f8786358feb45338893ed08a4cd9.
>>>
>>> Diego: I guess we can reinstate the patch “later”, once Shepherd 0.8 can
>>> be considered widespread.
>>
>> I'm sorry I broke reconfigure and deploy.  I didn't consider testing
>> upgrading from before Shepherd 0.8 to after my change and I didn't even
>> think of deploy.  Going forth I'll leave messing with core functionality
>> to the pros.
>
> Mistakes happen, don't worry about it.

Yup!  Plus, the person who reviewed the patch, undoubtedly an equally
nice person, didn’t notice the issue either.  :-)

> One thing that would be really useful and can prevent such situations in
> the future is to have a "system test" that tries to run reconfigure from
> the latest released version of Guix (currently 1.1.0).
>
> There are already a few Shepherd tests in gnu/tests/base.scm and
> gnu/tests/reconfigure.scm that can be used as inspiration.

Yes.

I was also wondering if it would make sense for services to somehow
state the major+minor version they’re targeting.

Ludo’.