bug#60364: Bad definition of $TEXMF in guix shell containing texlive

2022-12-27 Thread Elias Kueny

Hello,

In a shell environment that contains texlive instead of texlive-base, $TEXMF 
contains the path to texlive packages directly, indead of the path to all 
packages in the profile. It is a problem for packages obtained from another 
channel / custom package definitions, which are then not found.


guix shell texlive -- kpsewhich -all -var-value TEXMF
{{}/home/elias/.texlive2021/texmf-config,/home/elias/.texlive2021/texmf-var,/home/elias/texmf,/gnu/store/j63hhbhiycaab3rx4fr0g96vybdfxmax-texlive-20210325/share/texmf-local,!!/gnu/store/7binnxi4w7sxlnpns2qa4yc94bfbfkqf-texlive-texmf-20210325/share/texmf-config,!!/gnu/store/7binnxi4w7sxlnpns2qa4yc94bfbfkqf-texlive-texmf-20210325/share/texmf-var,!!/gnu/store/7binnxi4w7sxlnpns2qa4yc94bfbfkqf-texlive-texmf-20210325/share/texmf-dist}



guix shell texlive-base -- kpsewhich -all -var-value TEXMF
{/gnu/store/jdfsq5k23cz70p68jmiyjca2asg7r1ll-profile/share/texmf-dist}


My workaround was to set TEXMFHOME to $GUIX_ENVIRONMENT/share/texmf-dist in my 
(fish) shell configuration so it is expanded when entering the guix 
environment, but it doesn't work when running the command directly (as in guix 
shell texlive -- lualatex file).





bug#60363: Texlive importer is broken

2022-12-27 Thread Elias Kueny

Hello,

The texlive importer doesn't return any package definition anymore, for example:


guix import texlive siunitx
command "svn" "export" "--non-interactive" "--trust-server-cert" "-r" "59745" 
"svn://www.tug.org/texlive/tags/texlive-2021.3/Master/texmf-dist/doc/latex/siunitx/" "/tmp/guix-directory.Gs0bAp/doc/latex/siunitx/" failed 
with signal 11
guix import: error: failed to download description for package 'siunitx'


I updated guix today (from 0afe9f36d8b8b69d3e69fc8c06aeadc1bd95eecd to 
8f93a1e01a879ae026678dd92c18e2a2a49be540) but since I don't see any recent 
change in guix/import/texlive.scm, I don't know if it's relevant. Other 
importers work fine. All else I can say is that running the same command 
manually works:


svn export --non-interactive --trust-server-cert -r 59745 
"svn://tug.org/texlive/tags/texlive-2021.3/Master/texmf-dist/doc/latex/siunitx" 
"/tmp/guix-directory.Gs0bAp/doc/latex/siunitx/"
Asiunitx
Asiunitx/README.md
Asiunitx/siunitx.pdf
Exported revision 59745.






bug#54204: mumi search by date provides unexpected results

2022-12-27 Thread kiasoc5 via Bug reports for GNU Guix

The date search seems to mess up other filters as well:

date:1m..now is:open

https://issues.guix.gnu.org/search?query=date%3A1m..now+is%3Aopen

Here are 2 wrong results:

56512   URLs in coreutils manuals documentation should use HTTPSTue Jul 
12 07:19:25+0200 2022   Done
15284   patchwish: make the (name) field optional   Fri Sep 06 
11:06:27+0200 2013   Open

First issue is closed, failing is:open filter
Second issue is older than 1 month from now, failing date:1m..now filter





bug#60300: (Premature networking started status with NetworkManager)

2022-12-27 Thread mirai
Looking into NetworkManager documentation, it looks like the 'networking service
provided by Guix does not implement the NetworkManager's systemd equivalent. [1]

Namely, NetworkManager has some specific steps until it can be considered up 
and running/"startup complete". [1]
This process seems mostly dependent on nm-online to query the actual 
NetworkManager state. [2]

[1]: 
https://networkmanager.dev/docs/api/latest/NetworkManager-wait-online.service.html
[2]: https://networkmanager.dev/docs/api/latest/nm-online.html





bug#48468: substitute server connection timeout

2022-12-27 Thread Mathieu Othacehe

Hey Ludo,

> That’s still below the 100 MiB cache bypass threshold of the main ‘guix
> publish’ instance though.

Right. Just to be on the safe side here, what about applying this patch
to have log lines when we are replying 404 due to baking?

Thanks,

Mathieu
>From 725d5ba21a0fc0108b60c37bbc8d947fab6ac938 Mon Sep 17 00:00:00 2001
From: Mathieu Othacehe 
Date: Tue, 27 Dec 2022 10:49:04 +0100
Subject: [PATCH 1/1] scripts: publish: Add a log when replying 404 due to
 baking.

* guix/scripts/publish.scm (render-narinfo/cached): Add it.
---
 guix/scripts/publish.scm | 10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/guix/scripts/publish.scm b/guix/scripts/publish.scm
index 3bf3bd9c7c..a2048c98fd 100644
--- a/guix/scripts/publish.scm
+++ b/guix/scripts/publish.scm
@@ -586,9 +586,13 @@ (define (delete-entry narinfo)
#:ttl 300  ;temporary
#:nar-path nar-path
#:compressions compressions)
-   (not-found request
-  #:phrase "We're baking it"
-  #:ttl 300)))  ;should be available within 5m
+   (begin
+ (format #t (G_ "~a ~a: 404 (baking)~%")
+ (request-method request)
+ (uri-path (request-uri request)))
+ (not-found request
+#:phrase "We're baking it"
+#:ttl 300  ;should be available within 5m
   (else
(not-found request #:phrase "" #:ttl negative-ttl)
 
-- 
2.38.1