bug#46967: Connection reuse for substitutes breaks with gzip

2021-03-11 Thread Ludovic Courtès
Turns out GnuTLS has a buffer for the record layer attached to the
session.  After the first GET in the main process, it looks like this:

--8<---cut here---start->8---
(gdb) p session->internals.record_buffer
$9 = {head = 0x7f7370, tail = 0x7f7370, length = 1, byte_length = 16219}
(gdb) p *session->internals.record_buffer->head
$10 = {next = 0x0, prev = 0x0, mark = 165, msg = {
data = 0x7f73c0 "HTTP/1.1 200 OK\r\nServer: nginx\r\nDate: Wed, 10 Mar 2021 
21:23:44 GMT\r\nContent-Type: text/html\r\nContent-Length: 16397\r\nConnection: 
keep-alive\r\nAccept-Ranges: bytes\r\n\r\ninternals.record_buffer->head.msg.data[165])
$11 = 60 '<'
(gdb) p (&session->internals.record_buffer->head.msg.data[165])
$12 = (unsigned char *) 0x7f7465 "GNU's advanced distro and transactional package 
manager — GNU Guix8---

IOW, the main process hasn’t consumed the body of the HTTP response.

This is because with ‘filtered-port’, the input port is dumped from a
child process, not from the calling process.

To be continued…

Ludo’.





bug#47065: failed to compute the derivation for Guix

2021-03-11 Thread Jérémy Korwin-Zmijowski
This morning I wanted to upgrade a Guix System (don't remember last
time I did it…)

Here is the command line output :


   root@kitchen ~# guix pull && guix upgrade
   Mise à jour du canal « guix » depuis le dépôt Git «
   https://git.savannah.gnu.org/git/guix.git »...
   Authentification du canal « guix », commits 9edb3f6 à 4a8b529 (4 426
   nouveaux commits)...
   Construction depuis ce canal :
 guix  https://git.savannah.gnu.org/git/guix.git4a8b529
   substitute: mise à jour des substituts depuis «
   https://ci.guix.gnu.org »... 100.0 %
   substitute: mise à jour des substituts depuis «
   https://ci.guix.gnu.org »... 100.0 %
   substitute: mise à jour des substituts depuis «
   https://ci.guix.gnu.org »... 100.0 %
   téléchargement depuis
   https://ci.guix.gnu.org/nar/lzip/z0552bhx73ckj9r52r7mv6pf41ipfkqk-
   module-import...
module-import  2KiB   82KiB/s 00:00
   [##] 100.0%

   téléchargement depuis
   https://ci.guix.gnu.org/nar/lzip/cyl6hfxaas8p0whzc8jd1hy8z1hd73qv-
   module-import-compiled...
module-import-compiled  5.0MiB/s 00:00 | 1.9MiB
   transferred

   téléchargement depuis
   https://ci.guix.gnu.org/nar/gzip/9vg19w0x5gnpwa4ghkgm9yjbwfvv4qvg-
   compute-guix-derivation...
compute-guix-derivation  877B 61KiB/s 00:00
   [##] 100.0%

   substitute: mise ? jour des substituts depuis
   ??https://ci.guix.gnu.org??... 100.0 %
   substitute: mise ? jour des substituts depuis
   ??https://ci.guix.gnu.org??... 100.0 %
   substitute: mise ? jour des substituts depuis
   ??https://ci.guix.gnu.org??... 100.0 %
   @ substituter-started /gnu/store/9h9153akbd6g2520mcl2d0vgbvyfi5qm-
   openssl-1.1.1i substitute
   -@ download-started /gnu/store/9h9153akbd6g2520mcl2d0vgbvyfi5qm-
   openssl-1.1.1i
   https://ci.guix.gnu.org/nar/lzip/9h9153akbd6g2520mcl2d0vgbvyfi5qm-
   openssl-1.1.1i 2182329
   @ download-progress /gnu/store/9h9153akbd6g2520mcl2d0vgbvyfi5qm-
   openssl-1.1.1i
   https://ci.guix.gnu.org/nar/lzip/9h9153akbd6g2520mcl2d0vgbvyfi5qm-
   openssl-1.1.1i 2182329 65544
   @ download-progress /gnu/store/9h9153akbd6g2520mcl2d0vgbvyfi5qm-
   openssl-1.1.1i
   https://ci.guix.gnu.org/nar/lzip/9h9153akbd6g2520mcl2d0vgbvyfi5qm-
   openssl-1.1.1i 2182329 851995
   \@ download-progress /gnu/store/9h9153akbd6g2520mcl2d0vgbvyfi5qm-
   openssl-1.1.1i
   https://ci.guix.gnu.org/nar/lzip/9h9153akbd6g2520mcl2d0vgbvyfi5qm-
   openssl-1.1.1i 2182329 2162738
   @ download-progress /gnu/store/9h9153akbd6g2520mcl2d0vgbvyfi5qm-
   openssl-1.1.1i
   https://ci.guix.gnu.org/nar/lzip/9h9153akbd6g2520mcl2d0vgbvyfi5qm-
   openssl-1.1.1i 2182329 2182329
   @ download-succeeded /gnu/store/9h9153akbd6g2520mcl2d0vgbvyfi5qm-
   openssl-1.1.1i
   https://ci.guix.gnu.org/nar/lzip/9h9153akbd6g2520mcl2d0vgbvyfi5qm-
   openssl-1.1.1i 2182329


   @ substituter-succeeded /gnu/store/9h9153akbd6g2520mcl2d0vgbvyfi5qm-
   openssl-1.1.1i
   @ substituter-started /gnu/store/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2 substitute
   |@ download-started /gnu/store/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2
   https://ci.guix.gnu.org/nar/lzip/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2 12471231
   @ download-progress /gnu/store/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2
   https://ci.guix.gnu.org/nar/lzip/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2 12471231 65544
   @ download-progress /gnu/store/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2
   https://ci.guix.gnu.org/nar/lzip/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2 12471231 786454
   @ download-progress /gnu/store/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2
   https://ci.guix.gnu.org/nar/lzip/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2 12471231 1638440
   @ download-progress /gnu/store/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2
   https://ci.guix.gnu.org/nar/lzip/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2 12471231 2162746
   /@ download-progress /gnu/store/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2
   https://ci.guix.gnu.org/nar/lzip/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2 12471231 2752590
   @ download-progress /gnu/store/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2
   https://ci.guix.gnu.org/nar/lzip/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2 12471231 3407966
   @ download-progress /gnu/store/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2
   https://ci.guix.gnu.org/nar/lzip/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2 12471231 3539040
   -@ download-progress /gnu/store/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2
   https://ci.guix.gnu.org/nar/lzip/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2 12471231 3735652
   @ download-progress /gnu/store/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-
   python-minimal-3.8.2
   https://ci.guix.gnu.

bug#47066: (At least) ‘guix search’ displays superseded packages twice

2021-03-11 Thread Tobias Geerinckx-Rice via Bug reports for GNU Guix

Guix,

What the tin says:

~ λ guix search ^newsboat
name: newsboat
version: 2.22.1
outputs: out
systems: x86_64-linux
dependencies: curl@7.74.0 gettext-minimal@0.20.1 json-c@0.14 
libxml2@2.9.10 ncurses@6.2 openssl@1.1.1i
+ pkg-config@0.29.2 ruby-asciidoctor@2.0.10 sqlite@3.31.1 
stfl@0.24

location: gnu/packages/syndication.scm:63:2
homepage: https://newsboat.org/
license: GPL 2+, Expat
synopsis: Text-mode RSS and Atom feed reader with podcast support
description: Newsboat is a feed reader for "RSS" and "Atom", XML 
formats widely used to transmit, publish, and
+ syndicate news or blog articles.  It's designed for use on text 
terminals, and to have a coherent and
+ easy-to-use interface that might look familiar to `mutt' or 
`slrn' users.

+
+ Newsboat supports OPML import/exports, HTML rendering, podcasts 
(with `podboat'), off-line reading, searching
+ and storing articles to your file system, and many more 
features.

relevance: 22

name: newsboat
version: 2.13
outputs: out
systems: x86_64-linux i686-linux
dependencies: asciidoc@8.6.10 curl@7.74.0 gettext-minimal@0.20.1 
json-c@0.13.1 libxml2@2.9.10 ncurses@6.2

+ pkg-config@0.29.2 sqlite@3.31.1 stfl@0.24
location: gnu/packages/syndication.scm:159:2
homepage: https://newsboat.org/
license: GPL 2+, Expat
synopsis: Text-mode RSS and Atom feed reader with podcast support
description: Newsboat is a feed reader for "RSS" and "Atom", XML 
formats widely used to transmit, publish, and
+ syndicate news or blog articles.  It's designed for use on text 
terminals, and to have a coherent and
+ easy-to-use interface that might look familiar to `mutt' or 
`slrn' users.

+
+ Newsboat supports OPML import/exports, HTML rendering, podcasts 
(with `podboat'), off-line reading, searching
+ and storing articles to your file system, and many more 
features.

relevance: 22

Kind regards,

T G-R


signature.asc
Description: PGP signature


bug#47066: (At least) ‘guix search’ displays superseded packages twice

2021-03-11 Thread zimoun
Hi Tobias,

On Thu, 11 Mar 2021 at 11:42, Tobias Geerinckx-Rice via Bug reports for GNU 
Guix  wrote:

> ~ λ guix search ^newsboat
> name: newsboat
> version: 2.22.1

[...]

> name: newsboat
> version: 2.13

It is not the “same” package.  So it appears to me expected they appear
twice.  I mean, one is:

--8<---cut here---start->8---
(define-public newsboat
  (package
(name "newsboat")
(version "2.22.1")
--8<---cut here---end--->8---

and the other

--8<---cut here---start->8---
(define-public newsboat-2.13
  (package
(inherit newsboat)
(version "2.13")
--8<---cut here---end--->8---

therefore I do not see where the bug is.  Could you explain more?


Thanks,
simon







bug#45109: GNOME: unable to change alert "beep" sound since staging merge

2021-03-11 Thread Mark H Weaver
Earlier, I wrote:
> I will soon switch back to dconf-0.36 to see if the problem returns.

Shortly after switching back to dconf-0.36, the problem has indeed
returned.  So, in summary, the problem has *never* happened to me with
dconf-0.34, but happens quite frequently with dconf-0.36.

  Mark





bug#47065: Bug doesn't last

2021-03-11 Thread Jérémy Korwin-Zmijowski
I retried the upgrade and things seem to went well.

So maybe the bug can be closed ?

Jérémy






bug#47066: (At least) ‘guix search’ displays superseded packages twice

2021-03-11 Thread Tobias Geerinckx-Rice via Bug reports for GNU Guix

zimoun 写道:
therefore I do not see where the bug is.  Could you explain 
more?


It's quite simple, Simon.  First, I have to sleep more than 2 
hours.  *Then* may I file bugs.


Closing,

T G-R


signature.asc
Description: PGP signature


bug#44117: Racket no longer fails to build

2021-03-11 Thread Jack Hill
I believe this is a an old build failure report that has been fixed in 
subsequent changes to the racket package. Therefore, I'm closing this bug. 
Feel free to reopen if I am mistaken and it is still relevant.


Best,
Jack





bug#47065: Bug doesn't last

2021-03-11 Thread Maxim Cournoyer
Hi Jérémy,

Jérémy Korwin-Zmijowski  writes:

> I retried the upgrade and things seem to went well.
>
> So maybe the bug can be closed ?
>
> Jérémy

Thanks for the heads-up; I'm closing it then.

Thank you,

Maxim





bug#45266: "guix gc" needs free disk space to function

2021-03-11 Thread Vincent Legoll
Hello,

for the guix daemon sqlite problem, could we
preallocate some space in the database also ?

c.f.: 
https://stackoverflow.com/questions/827010/sqlite-pre-allocating-database-size

-- 
Vincent Legoll





bug#47018: core-updates: make check fails when guix-daemon is running

2021-03-11 Thread Chris Marusich
Hi Lars-Dominik and Maxim,

Lars-Dominik, thank you for the quick reply!  Maxim, do you have time to
take a look at this bug?  Lars-Dominik mentioned that it's possible that
your recent changes to patch-and-repack might be related somehow.

Lars-Dominik Braun  writes:

> I’m pretty sure it worked when I submitted the patch. Looking at the
> untruncated backtrace and `git blame guix/packages.scm` I’d guess that the
> recent changes to patch-and-repack somehow broke this. But that’s really all I
> can say unfortunately. Maybe CC Maxim Cournoyer, who made that change
> (cfcead2e515c0dae02127e5a76496463898be6b6)?

Thank you for the tip.  I haven't checked this yet due to lack of time,
but I will eventually.

I am posting mainly to note that this problem also affects
tests/pack.scm, which appears to be the only other test (besides
tests/builders.scm) using the with-external-store form.  Both tests fail
when a guix-daemon is running.  So, I think something about the
with-external-form is not playing well with the rest of the code, but I
don't fully understand the problem yet.

More investigation is required...

-- 
Chris


signature.asc
Description: PGP signature