bug#70689: guix search doesn't weigh word matches higher than subword matches

2024-04-30 Thread Richard Sent
Hi Guix!

When running guix search, relevance in synopsis and description fields
are computed strictly by the number of matches, both as a word and as a
subword. Ideally, if a search string matches an isolated word in a
search, that result should be considered more relevant than simply
matching a subword, even multiple times.

To illustrate, imagine trying to find what package provides the `rsh`
binary and running running `$ guix search rsh`. This binary is part of
`inetutils` and the description field contains:

> Inetutils is a collection of common network programs, such as an ftp
> client and server, a telnet client and server, an rsh client and
> server, and hostname.

Most likely, this is what the user is interested in. However, inetutils
does not show up until roughly the ~75th result with a relevance of 2
(the lowest possible relevance).

Almost every search result beforehand contains the string "rsh" as a
component of another word, such as "marshaling", "powershell", and
"hershey". However, these match multiple times and are weighted
significantly higher.

Ideally, guix search should rate inetutils higher because the string
"rsh" occurs as its own word, not as a component of another, unrelated
word. (Very, very people would search "rsh" looking for matches with
"hershey", even if "hershey" occurs multiple times.)

Another example of where this can happen is with "dig", part of the bind
package. Searching for "dig" returns garbage because "dig" is a common
subword. Bind is scored with a relevance of 2, even though bind's
description emphasises that dig is part of it.

This would improve the experience when searching with strings that
commonly occur as subwords.

Since this change can't occur in a vacuum, care should be taken not to
reduce the effectiveness of other reasonably forseeable search queries.

-- 
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.





bug#70687: python-matplotlib not respecting env var MPLBACKEND=TkAgg

2024-04-30 Thread Jake
Hello

We are supposed to be able to control the backend used by Python's
Matplotlib via the MPLBACKEND environment variable [1]. This doesn't appear
to work for the TkAgg backend:

#+begin_src sh

  guix shell python python-matplotlib -- bash -c 'MPLBACKEND=TkAgg python3
-c "import matplotlib; print(matplotlib.get_backend()); import
matplotlib.pyplot as plt; plt.plot([1],[2]); plt.show()"'

#+end_src

#+RESULTS:
: TkAgg
: :1: UserWarning: FigureCanvasAgg is non-interactive, and thus
cannot be shown

However, the TkAgg backend does work if it is hardcoded in the Python
script using `matplotlib.use()`:

#+begin_src sh

  guix shell python python-matplotlib -- python3 -c "import matplotlib;
matplotlib.use('TkAgg'); print(matplotlib.get_backend()); import
matplotlib.pyplot as plt; plt.plot([1],[2]); plt.show()"

#+end_src

#+RESULTS:
: TkAgg

Thanks
Jake

[1]: https://matplotlib.org/stable/users/explain/figure/backends.html


bug#70658: First try on guix

2024-04-30 Thread Eric Arillo
I am on an m1 silicon Mac, current os. I ran the savannah .sh install script 
from within a Kali Linux Vm, on utm. This is the error I get:











[sudo] password for kali: 
hint: Consider installing the `glibc-locales' package and defining
`GUIX_LOCPATH', along these lines:

 guix install glibc-locales
 export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

See the "Application Setup" section in the manual, for more info.

Updating channel 'guix' from Git repository at 
'https://git.savannah.gnu.org/git/guix.git'...
^C
 
┌──(kali㉿kali)-[~]
└─$ guix install glibc-locales
hint: Consider installing the `glibc-locales' package and defining
`GUIX_LOCPATH', along these lines:

 guix install glibc-locales
 export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

See the "Application Setup" section in the manual, for more info.

guix install: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.

The following package will be upgraded:
   glibc-locales (dependencies or package changed)

nothing to be done
 
┌──(kali㉿kali)-[~]
└─$  export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
 
┌──(kali㉿kali)-[~]
└─$ guix pull 
hint: Consider installing the `glibc-locales' package and defining
`GUIX_LOCPATH', along these lines:

 guix install glibc-locales
 export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

See the "Application Setup" section in the manual, for more info.

Updating channel 'guix' from Git repository at 
'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to d6a6e83 (4 new commits)...
Building from this channel:
  guix  https://git.savannah.gnu.org/git/guix.git   d6a6e83
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'...   
0.substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 
100.0%
building 
/gnu/store/4bpic560f3ly2s56cdzw3f841ss7yycd-compute-guix-derivation.drv...
Computing Guix derivation for 'aarch64-linux'... -guix pull: error: You found a 
bug: the program 
'/gnu/store/9wnjglqvvgw4an54463x6y8x8sam0wwx-compute-guix-derivation'
failed to compute the derivation for Guix (version: 
"d6a6e832e6e318eec0c4866fdde62ae47f29defa"; system: "aarch64-linux";
host version: "1.4.0"; pull-version: 1).
Please report the COMPLETE output above by email to .


Thanks
EA






bug#70223: I haven't been able to trigger this bug

2024-04-30 Thread Dale Mellor
Can you give a command-line use-case which actually triggers this bug?

Thanks.






bug#70649: guix pull: error: You found a bug: the program '/gnu/store/pdy4cif4zsdyf27d59iqxynf79x43aap-compute-guix-derivation'

2024-04-30 Thread Kirill Afonshin

guix pull
hint: Consider installing the `glibc-locales' package and defining 
`GUIX_LOCPATH', along these lines:


 guix install glibc-locales
 export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

See the "Application Setup" section in the manual, for more info.

Updating channel 'guix' from Git repository at 
'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 3bd8d23 (36 new 
commits)...

Building from this channel:
  guix  https://git.savannah.gnu.org/git/guix.git   3bd8d23
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 
100.0%
building 
/gnu/store/0sm5i3wyi9g13iac1r3cvp1f3543pdg6-compute-guix-derivation.drv...
Computing Guix derivation for 'x86_64-linux'... |guix pull: error: You 
found a bug: the program 
'/gnu/store/pdy4cif4zsdyf27d59iqxynf79x43aap-compute-guix-derivation'
failed to compute the derivation for Guix (version: 
"3bd8d238aba718bf949691d0e37fa310e2cfc12a"; system: "x86_64-linux";

host version: "c81ed0970007810a4662edbc3474f5afc656fe95"; pull-version: 1).
Please report the COMPLETE output above by email to .






bug#70659: Too many heap sections on guix pull

2024-04-30 Thread Peacememories
`guix pull` on a fresh install on WSL Ubuntu 24.04 fails with the 
following log.


The same happened to me when trying GUIX on NixOS 23.11 via the 
`services.guix` option.


```

hint: Consider installing the `glibc-locales' package and defining 
`GUIX_LOCPATH', along these lines:


 guix install glibc-locales
 export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

See the "Application Setup" section in the manual, for more info.

Updating channel 'guix' from Git repository at 
'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to ddf3759 (29,446 new 
commits)...

Building from this channel:
  guix  https://git.savannah.gnu.org/git/guix.git   ddf3759
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 
100.0%

substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 
100.0%

substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 
100.0%

substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
 libffi-3.3 51KiB 1.6MiB/s 00:00 [##] 100.0%
 libgc-8.0.4 214KiB 3.4MiB/s 00:00 [##] 100.0%
 libunistring-0.9.10 
492KiB  10.0MiB/s 00:00 
[##] 100.0%
 pkg-config-0.29.2 
209KiB    16.0MiB/s 00:00 
[##] 100.0%

 guile-3.0.7 8.0MiB 19.6MiB/s 00:00 [##] 100.0%
building /gnu/store/al0d6f30wj4f4w68v2gqdkb367v75f4x-config.scm.drv...
building /gnu/store/60h4f5jy7x05bgwjxp41gg5wsypaixn6-git.scm.drv...
building /gnu/store/n5w7gbkyyiav73f9yypafvw2n6z5jq8n-hash.scm.drv...
building /gnu/store/mjcskqgqppfcbbcrzjq8x8p40dvi7lga-module-import.drv...
building /gnu/store/zl24x57fyqvprbj5mswvp18hlvkc9psr-module-import.drv...
building 
/gnu/store/2hzp43qwskbgc7hv89plg1bkybkgn754-module-import-compiled.drv...
building 
/gnu/store/8rsjc2q0070qcf6p82ji3xd9kwcwri1c-module-import-compiled.drv...
building 
/gnu/store/lhdxqiwgiiz2jzvgsww9wn7gpfr9mfwc-compute-guix-derivation.drv...

substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
 bash-static-5.1.16 
700KiB   2.69GiB/s 00:00 
[##] 100.0%

 glibc-2.35 8.5MiB 147.1MiB/s 00:00 [##] 100.0%
 bash-minimal-5.1.16 
588KiB   2.5MiB/s 00:00 
[##] 100.0%
 gcc-11.3.0-lib 
4.8MiB   15.3MiB/s 00:00 
[##] 100.0%
 bash-minimal-5.1.16 
589KiB  2.03GiB/s 00:00 
[##] 100.0%

 libffi-3.4.4 60KiB 291.5MiB/s 00:00 [##] 100.0%
 libgc-8.2.2 218KiB 2.5MiB/s 00:00 [##] 100.0%
 libunistring-1.0 
661KiB 15.5MiB/s 00:00 
[##] 100.0%
 pkg-config-0.29.2 
209KiB 878KiB/s 00:00 
[##] 100.0%

 guile-3.0.9 8.1MiB 38.9MiB/s 00:00 [##] 100.0%
 guile-3.0.9-debug 
7.8MiB    19.4MiB/s 00:00 
[##] 100.0%

substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
-^-
-Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
guix pull: error: You found a bug: the program 
'/gnu/store/yqlyxi9w9rhlm23mdj8231yfa7m7ywm0-compute-guix-derivation'
failed to compute the derivation for Guix (version: 
"ddf3759645ba76ef532658a257ae74fe0b1788b5"; system: "x86_64-linux";

host version: "1.4.0"; pull-version: 1).

```






bug#70646: Bug Report while installing to Debian 12

2024-04-30 Thread Jack Saunders
Updating channel 'guix' from Git repository at 
'https://git.savannah.gnu.org/git/guix.git'...

Building from this channel:
  guix  https://git.savannah.gnu.org/git/guix.git    3bd8d23
Computing Guix derivation for 'x86_64-linux'... |Too many heap sections: 
Increase MAXHINCR or MAX_HEAP_SECTS
\guix pull: error: You found a bug: the program 
'/gnu/store/pq7dh353m74a3rgz85n84g17gvq1l1z3-compute-guix-derivation'
failed to compute the derivation for Guix (version: 
"3bd8d238aba718bf949691d0e37fa310e2cfc12a"; system: "x86_64-linux";

host version: "1.4.0"; pull-version: 1).
Please report the COMPLETE output above by email to .







bug#69596: Possibly breaks Guix pull on foreign distros

2024-04-30 Thread Jonathan Roberts via Bug reports for GNU Guix
Ran in to the error that a lot of people are reporting - too many heap sections 
on Guix pull. 

Worked through commits to see where Guix pull stopped working for me, and the 
answer seems to be that it broke with 7cef6b7ba - gnu: guile-lzlib: Update to 
0.3.0.

Could this be confirmed and reverted if it is breaking pull? 

Sent from my iPhone




bug#70667: Bug

2024-04-30 Thread Andrzej Gajda
Bug message:

Updating channel 'guix' from Git repository at '
https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to ddf3759 (5,463 new
commits)...
Building from this channel:
  guix  https://git.savannah.gnu.org/git/guix.git   ddf3759
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'...
100.0%
14.4 MB will be downloaded
 guile-3.0.9-debug  6.7MiB

 2.9MiB/s 00:02 ▕██▏ 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'...
100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'...
100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'...
100.0%
applying 2 grafts for libffi-3.4.4 ...
applying 2 grafts for libgc-8.2.2 ...
applying 2 grafts for libunistring-1.0 ...
applying 2 grafts for pkg-config-0.29.2 ...
applying 7 grafts for guile-3.0.9 ...
building /gnu/store/6z7sjnwi352n7m4vlj1m50h016jc2c30-config.scm.drv...
building /gnu/store/252gbxxm8xd8vjr14cw5303l7k3y1pzh-git.scm.drv...
building /gnu/store/w0ikqqdsh8xql6iycpa95hyl9qyba5kj-hash.scm.drv...
building /gnu/store/ad804x8nw6jni2draj9jziqrbrk7vq17-module-import.drv...
building /gnu/store/ln82racqf604qcliwjwkmlyzi47d88gf-module-import.drv...
building
/gnu/store/0vvqrr18yn966cy4mf81cgf9dnva2qcl-module-import-compiled.drv...
building
/gnu/store/pb2v6bvc10p9mly0msnv652knj508cfx-module-import-compiled.drv...
building
/gnu/store/d46hadcp4aidw99iyv4q8lqf54qmjw4h-compute-guix-derivation.drv...
Computing Guix derivation for 'aarch64-linux'... \guix pull: error: You
found a bug: the program
'/gnu/store/2lqlb6jybcbx9cfn1mb9i02y5gzf9034-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"ddf3759645ba76ef532658a257ae74fe0b1788b5"; system: "aarch64-linux";
host version: "2f3d6ff968132554659300fbd3e78eb27a448ff8"; pull-version: 1).
Please report the COMPLETE output above by email to .


bug#70659: Too many heap sections on guix pull

2024-04-30 Thread Peacememories

Hi, thanks for the quick reply!

On 30.04.2024 11:11, Ludovic Courtès wrote:

Hi,

Peacememories  skribis:


`guix pull` on a fresh install on WSL Ubuntu 24.04 fails with the
following log.

The same happened to me when trying GUIX on NixOS 23.11 via the
`services.guix` option.

```

hint: Consider installing the `glibc-locales' package and defining
`GUIX_LOCPATH', along these lines:

 guix install glibc-locales
 export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

See the "Application Setup" section in the manual, for more info.

Updating channel 'guix' from Git repository at
'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to ddf3759 (29,446 new
commits)...
Building from this channel:
  guix  https://git.savannah.gnu.org/git/guix.git   ddf3759


[...]


-Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
guix pull: error: You found a bug: the program


Thanks for the report.  As someone confirmed on IRC, this was caused by
7cef6b7ba555a9dfaf6d09cb7e112b0df77d5114, which introduced a circular
dependency, but only for those systems running a version of guix-daemon
lacking “builtin:git-download” (added in Sept. 2023).

Commit df3d30819e650a490ef39dd6692740bb13263c75 fixes that; you should
be able to pull now.


I can indeed confirm that
(1) Using an older commit caused the error to disappear
(2) Pulling the newest version now seems to work as well



I would recommend upgrading guix-daemon though, as noted in:

  https://guix.gnu.org/manual/devel/en/html_node/Upgrading-Guix.html

One of the main reasons to do so is this:


https://guix.gnu.org/en/blog/2024/fixed-output-derivation-sandbox-bypass-cve-2024-27297/


I'll definitely update guix on the WSL installation (I had just done the 
initial installation which presumably comes with an older version), but 
I think I'll hold off on the update in NixOS. For one, trying to change 
the binary and service definition under Nix' nose seems dangerous, but 
also it seems that Nix already backported the CVE fix you mentioned 
(https://github.com/NixOS/nixpkgs/blob/12430e43bd9b81a6b4e79e64f87c624ade701eaf/pkgs/by-name/gu/guix/package.nix#L47-L58)


Just thought I'd mention that here in case anyone stumbles across this 
in a similar situation


All the best,

Peacememories



Thanks for reporting the bug!

Ludo’.






bug#70651: GNU Guix | Bug - error: You found a bug: ...

2024-04-30 Thread Harvester, Black Walnut

guix pull
Updating channel 'guix' from Git repository at 
'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 6489f97 (37 new 
commits)...

Building from this channel:
  guix https://git.savannah.gnu.org/git/guix.git  6489f97
 guile-3.0.9-debug 6.8MiB 2.4MiB/s 00:03 ▕██▏ 100.0%
 libgpg-error-1.45 223KiB 438KiB/s 00:01 ▕██▏ 100.0%
 libgcrypt-1.10.1 552KiB 2.0MiB/s 00:00 ▕██▏ 100.0%
 guile-gcrypt-0.4.0 165KiB 1.9MiB/s 00:00 ▕██▏ 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 
'https://bordeaux.guix.gnu.org'... 100.0%

 config.scm 507B 120KiB/s 00:00 ▕██▏ 100.0%
 git.scm 105B 40KiB/s 00:00 ▕██▏ 100.0%
 hash.scm 130B 64KiB/s 00:00 ▕██▏ 100.0%
 module-import 2KiB 100KiB/s 00:00 ▕██▏ 100.0%
 module-import 2KiB 130KiB/s 00:00 ▕██▏ 100.0%
 module-import-compiled 1.5MiB 1.6MiB/s 00:01 ▕██▏ 100.0%
 module-import-compiled 1.5MiB 4.4MiB/s 00:00 ▕██▏ 100.0%
building 
/gnu/store/zlszcigipf10imcybbyd080f9qx3dhpy-compute-guix-derivation.drv...
Computing Guix derivation for 'x86_64-linux'... -guix pull: error: You 
found a bug: the program 
'/gnu/store/4cxhxsci7d22fc78nz7yp5scw87n0d2x-compute-guix-derivation'
failed to compute the derivation for Guix (version: 
"6489f97f4a999b9b5e9b1a16d51c905e0cde4cdf"; system: "x86_64-linux";
host version: "c81ed0970007810a4662edbc3474f5afc656fe95"; 
pull-version: 1).

Please report the COMPLETE output above by email to .


Good morning.

After installing aris and c-graph this morning I ran guix pull. The 
above output was generated. Please let me if and how I can help resolve 
the error.



Thank you,

BWH


bug#70650: Error during "guix pull" on Rocky Linux 8.9

2024-04-30 Thread Per Ådne Mugaas
[dmsimen@localhost ~]$ guix pull
Updating channel 'guix' from Git repository at '
https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 6489f97 (29,429 new
commits)...
Building from this channel:
  guix  https://git.savannah.gnu.org/git/guix.git 6489f97
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'...
100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'...
100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'...
100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
 libffi-3.3  51KiB810KiB/s 00:00 [##]
100.0%
 libgc-8.0.4  214KiB  2.0MiB/s 00:00 [##]
100.0%
 libunistring-0.9.10  492KiB  6.0MiB/s 00:00 [##]
100.0%
 pkg-config-0.29.2  187KiB5.9MiB/s 00:00 [##]
100.0%
 guile-3.0.7  8.0MiB  9.9MiB/s 00:01 [##]
100.0%
building /gnu/store/al0d6f30wj4f4w68v2gqdkb367v75f4x-config.scm.drv...
building /gnu/store/60h4f5jy7x05bgwjxp41gg5wsypaixn6-git.scm.drv...
building /gnu/store/n5w7gbkyyiav73f9yypafvw2n6z5jq8n-hash.scm.drv...
building /gnu/store/mjcskqgqppfcbbcrzjq8x8p40dvi7lga-module-import.drv...
building /gnu/store/zl24x57fyqvprbj5mswvp18hlvkc9psr-module-import.drv...
building
/gnu/store/2hzp43qwskbgc7hv89plg1bkybkgn754-module-import-compiled.drv...
building
/gnu/store/8rsjc2q0070qcf6p82ji3xd9kwcwri1c-module-import-compiled.drv...
building
/gnu/store/8s9l4bzad3ik5fk84v20x17g1y1v772j-compute-guix-derivation.drv...
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
 bash-static-5.1.16  700KiB 969.4MiB/s 00:00 [##]
100.0%
 glibc-2.35  8.5MiB  24.8MiB/s 00:00 [##]
100.0%
 bash-minimal-5.1.16  588KiB  3.8MiB/s 00:00 [##]
100.0%
 gcc-11.3.0-lib  4.8MiB   6.2MiB/s 00:01 [##]
100.0%
 bash-minimal-5.1.16  589KiB 10.1MiB/s 00:00 [##]
100.0%
 libffi-3.4.4  60KiB  645KiB/s 00:00 [##]
100.0%
 libgc-8.2.2  228KiB  1.7MiB/s 00:00 [##]
100.0%
 libunistring-1.0  661KiB 8.4MiB/s 00:00 [##]
100.0%
 pkg-config-0.29.2  209KiB796KiB/s 00:00 [##]
100.0%
 guile-3.0.9  8.1MiB  7.1MiB/s 00:01 [##]
100.0%
 guile-3.0.9-debug  7.8MiB6.1MiB/s 00:01 [##]
100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
|Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
guix pull: error: You found a bug: the program
'/gnu/store/rhpsbclpjx462m63nzww1zl1zp3s7dm9-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"6489f97f4a999b9b5e9b1a16d51c905e0cde4cdf"; system: "x86_64-linux";
host version: "1.4.0"; pull-version: 1).
Please report the COMPLETE output above by email to .


bug#70223: Scratch: Re: I haven't been able to trigger this bug

2024-04-30 Thread Dale Mellor
Sorry, sent to wrong bug.





bug#70681: "guix pull" fails on Trisquel

2024-04-30 Thread Caleb Herbert

Hi Guix,

Should the docs recommend against using packaged versions of Guix on 
foreign distros?


I installed Guix with the Trisquel package.  When I ran "guix pull", it 
failed and told me to post the output here.  I've attached the 
transcript of my terminal session with "guix pull" on Trisquel.


I tried doing "apt purge guix" and installing Guix using the installer 
script, but the script "detected" an already-existing Guix installation. 
 I guess "apt purge" didn't really "purge" enough.


I'm now unable to install Guix in a way that will let me pull.

--
Caleb S. Herbert
https://bluehome.net/csh/
Script started on 2024-04-29 19:20:26-05:00 [TERM="screen" TTY="/dev/pts/1" 
COLUMNS="127" LINES="36"]
[?2004hcaleb@farnsworth:~/Projects/chromebook-guix$ guix pull
[?2004l
Updating channel 'guix' from Git repository at 
'https://git.savannah.gnu.org/git/guix.git'...

receiving objects   0% [ 
]
receiving objects   1% [ 
]
receiving objects   2% [#
]
receiving objects   3% [##   
]
receiving objects   4% [###  
]
receiving objects   5% [ 
]
receiving objects   6% [#
]
receiving objects   7% [##   
]
receiving objects   8% [###  
]
receiving objects   9% [ 
]
receiving objects  10% [#
]
receiving objects  10% [##   
]
receiving objects  11% [###  
]
receiving objects  12% [ 
]
receiving objects  13% [#
]
receiving objects  14% [##   
]
receiving objects  15% [###  
]
receiving objects  16% [ 
]
receiving objects  17% [#
]
receiving objects  18% [##   
]
receiving objects  19% [###  
]
receiving objects  20% [ 
]
receiving objects  21% [#
]
receiving objects  22% [##   
]
receiving objects  23% [###  
]
receiving objects  24% [ 
]
receiving objects  25% [ 
]
receiving objects  26% [#
]
receiving objects  27% [##   
]
receiving objects  28% [###  
]
receiving objects  29% [ 
]
receiving objects  29% 

bug#70678: guix pull failed on commit 43a4215cad8c6da357f895569c0cedf5e854cee0

2024-04-30 Thread francismb via Bug reports for GNU Guix

Dear Maintainers,
while trying to guix pull on:

$ guix describe
Generation 109  Apr 20 2024 20:22:38(current)
  guix 43a4215
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 43a4215cad8c6da357f895569c0cedf5e854cee0

the following happened:


$ guix pull
Updating channel 'guix' from Git repository at
'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 570ccaa (23 new
commits)...
Building from this channel:
  guix  https://git.savannah.gnu.org/git/guix.git   570ccaa
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
building
/gnu/store/q0yd74w3xqic3wb25611gpa2jylm5yrp-compute-guix-derivation.drv...
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
\substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
Backtrace:
In ice-9/boot-9.scm:
  1752:10 19 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
  18 (apply-smob/0 #)
In ice-9/boot-9.scm:
724:2 17 (call-with-prompt _ _ #)
In ice-9/eval.scm:
619:8 16 (_ #(#(#)))
In guix/ui.scm:
  2166:12 15 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 14 (with-exception-handler _ _ #:unwind? _ # _)
  1752:10 13 (with-exception-handler _ _ #:unwind? _ # _)
  1747:15 12 (with-exception-handler # ?)
In guix/scripts/substitute.scm:
   765:15 11 (_)
468:7 10 (process-substitution # _ "/gnu/store/?" ?)
In ice-9/boot-9.scm:
  1752:10  9 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/substitute.scm:
477:9  8 (_)
In ice-9/boot-9.scm:
  1747:15  7 (with-exception-handler # ?)
  1685:16  6 (raise-exception _ #:continuable? _)
  1683:16  5 (raise-exception _ #:continuable? _)
  1685:16  4 (raise-exception _ #:continuable? _)
  1780:13  3 (_ #< components: (#<> #)
  1685:16  2 (raise-exception _ #:continuable? _)
  1683:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
ERROR:
  1. :
  uri: #< scheme: https userinfo: #f host: "ci.guix.gnu.org"
port: #f path: "/nar/lzip/mzfkrxd4w8vqrmyrx169wj8wyw7r8i37-bash" query:
#f fragment: #f>
  code: 504
  reason: "Gateway Time-out"
  2. :
"https://ci.guix.gnu.org/nar/lzip/mzfkrxd4w8vqrmyrx169wj8wyw7r8i37-bash:
HTTP download failed: 504 (\"Gateway Time-out\")"
substitution of /gnu/store/mzfkrxd4w8vqrmyrx169wj8wyw7r8i37-bash failed
Backtrace:
  17 (primitive-load
"/gnu/store/1db74z3j7p8djpvwjk5zxd0cmdcy7109-compute-guix-derivation")
In ice-9/eval.scm:
155:9 16 (_ _)
159:9 15 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#
?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
152:2 14 (with-fluid* _ _ _)
152:2 13 (with-fluid* _ _ _)
In ./guix/store.scm:
  2182:24 12 (run-with-store #
# ?)
   2010:8 11 (_ #)
In ./guix/gexp.scm:
   299:22 10 (_ #)
   1205:2  9 (_ #)
   1072:2  8 (_ #)
913:4  7 (_ #)
In ./guix/store.scm:
  2067:12  6 (_ #)
   1405:5  5 (map/accumulate-builds # # ?)
  1421:15  4 (_ #
("/gnu/store/lkw4m83344k879fr56n5b351xw1cik50-guix-daemo?" ?) ?)
  1421:15  3 (loop #f)
   718:11  2 (process-stderr # _)
In ./guix/serialization.scm:
   101:11  1 (read-int #)
 79:6  0 (get-bytevector-n* # 8)

./guix/serialization.scm:79:6: In procedure get-bytevector-n*:
ERROR:
  1. :
  file: #f
  port: #
guix pull: error: You found a bug: the program
'/gnu/store/1db74z3j7p8djpvwjk5zxd0cmdcy7109-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"570ccaaedcb1e03d29c6cb420b2104627e57df63"; system: "x86_64-linux";
host version: "43a4215cad8c6da357f895569c0cedf5e854cee0"; pull-version: 1).
Please report the COMPLETE output above by email to .


I hope it helps, thanks in advance!
FrancisMB






bug#70668: Error running guix-build

2024-04-30 Thread Javier Vaquero Martínez
On a CentOS 8 server, I had previous trouble with selinux (not sure if 
this has to do with it). After running now `guix pull`, I found this error:



```

guix pull: error: You found a bug: the program 
'/gnu/store/pdy4cif4zsdyf27d59iqxynf79x43aap-compute-guix-derivation'
failed to compute the derivation for Guix (version: 
"3bd8d238aba718bf949691d0e37fa310e2cfc12a"; system: "x86_64-linux";

host version: "a8353e9d6b34fd8d42d2e8f14ce844849fe9c293"; pull-version: 1).
Please report the COMPLETE output above by email to .

```







bug#70663: nss@3.99 is really hard to build

2024-04-30 Thread Christopher Baines
nss@3.99 is really hard to build, it's so hard and so important that
data.guix.gnu.org is still after two days trying to process [1]. I say
so important because you have to build nss@3.99 to compute the channel
instance derivations for Guix.

1: https://data.guix.gnu.org/revision/72308f262c910977e40c2c9f350dc563c0a8437a

Looking at the next revision which has been processed [2], it's been
built on riscv64-linux as the testsuite is disabled, and it has also
built on aarch64-linux, but there's no successful build for any other
architecture.

2: 
https://data.guix.gnu.org/revision/9f183c3627a006e8fd3bb9708448bc05a6204e6d/package/nss/3.99.0?locale=en_US.UTF-8

I think there's two issues here, was this spotted before merging, and
what if anything can be done about this now. Where there's not a
substitute available for nss@3.99, this will affect guix pull/guix
time-machine, e.g.

  → guix time-machine --commit=72308f262c910977e40c2c9f350dc563c0a8437a -- 
describe
  Updating channel 'guix' from Git repository at 
'https://git.savannah.gnu.org/git/guix.git'...
  substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 
100.0%
  substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 
100.0%
  substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 
100.0%
   nss-3.99.tar.xz  55.2MiB 
13.7MiB/s 00:04 ▕██▏ 
100.0%
  building /gnu/store/8379qa0y6s7ssjr8gplm5fyw9r5pnxhn-nss-3.99.0.drv...


signature.asc
Description: PGP signature


bug#70659: Too many heap sections on guix pull

2024-04-30 Thread Ludovic Courtès
Hi,

Peacememories  skribis:

> `guix pull` on a fresh install on WSL Ubuntu 24.04 fails with the
> following log.
>
> The same happened to me when trying GUIX on NixOS 23.11 via the
> `services.guix` option.
>
> ```
>
> hint: Consider installing the `glibc-locales' package and defining
> `GUIX_LOCPATH', along these lines:
>
>  guix install glibc-locales
>  export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
>
> See the "Application Setup" section in the manual, for more info.
>
> Updating channel 'guix' from Git repository at
> 'https://git.savannah.gnu.org/git/guix.git'...
> Authenticating channel 'guix', commits 9edb3f6 to ddf3759 (29,446 new
> commits)...
> Building from this channel:
>   guix  https://git.savannah.gnu.org/git/guix.git   ddf3759

[...]

> -Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
> guix pull: error: You found a bug: the program

Thanks for the report.  As someone confirmed on IRC, this was caused by
7cef6b7ba555a9dfaf6d09cb7e112b0df77d5114, which introduced a circular
dependency, but only for those systems running a version of guix-daemon
lacking “builtin:git-download” (added in Sept. 2023).

Commit df3d30819e650a490ef39dd6692740bb13263c75 fixes that; you should
be able to pull now.

I would recommend upgrading guix-daemon though, as noted in:

  https://guix.gnu.org/manual/devel/en/html_node/Upgrading-Guix.html

One of the main reasons to do so is this:

  
https://guix.gnu.org/en/blog/2024/fixed-output-derivation-sandbox-bypass-cve-2024-27297/

Thanks for reporting the bug!

Ludo’.





bug#70662: Problems building nss@3.98.0

2024-04-30 Thread Christopher Baines
nss@3.98.0 seems really difficult to build, currently on the bordeaux
build farm it's failed all attempts to build it on all architectures
except riscv64-linux and aarch64-linux [1].

1: 
https://data.guix.gnu.org/revision/9593750698394b6fecd73e7fca00409ea1ffa2e3/package/nss/3.98.0?locale=en_US.UTF-8

The 3.88.1 version seemed to have built fine, so what's up here?


signature.asc
Description: PGP signature