bug#55504: Test suite of emacs-deferred does not progress

2022-05-26 Thread Liliana Marie Prikler
Am Mittwoch, dem 25.05.2022 um 19:09 +0200 schrieb Giovanni Biscuolo: > I'm not able to find what's the call with the wrong number of > arguments but what about to (temporary) disable the failing tests > like for example in 0ae9e75c31b22ea55093f4cd05954f366b1f8bcc (emacs- > eply)? That's unlikely t

bug#55441: [PATCH] guix: inferior: Make open-bidirectional-pipe use piped-process.

2022-05-26 Thread Maxime Devos
Josselin Poiret via Bug reports for GNU Guix schreef op do 26-05-2022 om 22:50 [+0200]: > * guix/inferior.scm: Load up scm_init_popen extension to be able to > use piped-process. Can we export the procedure instead from (ice-9 popen) + use @@ for now, instead of doing this low-level thing? Greeti

bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections

2022-05-26 Thread Maxime Devos
Josselin Poiret via Bug reports for GNU Guix schreef op do 26-05-2022 om 22:49 [+0200]: > Hello everyone, > > With all the recent platform changes, I was looking at `make > cuirass-jobs` for the first time and it left some deadlocked inferiors > as well, so I figured I could try my own solution, s

bug#55441: [PATCH 1/2] Fix child spawning closing standard fds prematurely

2022-05-26 Thread Maxime Devos
Josselin Poiret via Bug reports for GNU Guix schreef op do 26-05-2022 om 22:50 [+0200]: > +  fprintf (fdopen (err, "a"), "start_child: dup failed: %s\n", msg); fdopen can fail due to out-of-memory problems, so you'll have to check the return value, or use dprintf instead which accepts a file d

bug#55441: [PATCH] guix: inferior: Make open-bidirectional-pipe use piped-process.

2022-05-26 Thread Josselin Poiret via Bug reports for GNU Guix
* guix/inferior.scm: Load up scm_init_popen extension to be able to use piped-process. (open-bidirectional-pipe): Remove custom fork+exec code and use piped-process instead. --- guix/inferior.scm | 39 ++- 1 file changed, 18 insertions(+), 21 deletions(-) diff

bug#55441: [PATCH 2/2] Improve thread safety of piped-process.

2022-05-26 Thread Josselin Poiret via Bug reports for GNU Guix
* libguile/posix.c (scm_piped_process): Avoid double close. --- libguile/posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libguile/posix.c b/libguile/posix.c index dc3080b3c..e134408e3 100644 --- a/libguile/posix.c +++ b/libguile/posix.c @@ -1486,7 +1486,7 @@ scm_piped_p

bug#55441: [PATCH 1/2] Fix child spawning closing standard fds prematurely

2022-05-26 Thread Josselin Poiret via Bug reports for GNU Guix
* libguile/posix.c (renumber_file_descriptor): Refactor it as dup_handle_error. (dup_handle_error, dup2_handle_error): New functions that wrap around dup and dup2 by retrying on EINTR or EBUSY, as well as erroring out on other errors. (start_child): Close standard file descriptors only after all of

bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections

2022-05-26 Thread Josselin Poiret via Bug reports for GNU Guix
Hello everyone, With all the recent platform changes, I was looking at `make cuirass-jobs` for the first time and it left some deadlocked inferiors as well, so I figured I could try my own solution, since I've already dabbled in Guile POSIX internals! Here's a patch that rewrites open-bidirection

bug#55664: emacs-deferred: hangs during build

2022-05-26 Thread Maxime Devos
merge 55504 55664 thanks Duplicate of . For future reference, you can use the search interface at https://issues.guix.gnu.org/search?query=emacs-deferred to look if an issue has already been reported. Greetings, MMaxime signature.asc Description: This is a dig

bug#55664: emacs-deferred: hangs during build

2022-05-26 Thread Christopher Howard
emacs-deferred build hangs - during the check phase, I think: ``` starting phase `check' ert-runner test/deferred-test.el emacs -batch -L . -f batch-byte-compile deferred.el ert-runner test/concurrent-test.el Loading /gnu/store/vmqx1zhw3gn2xzslzzgdgbmk15ry6347-emacs-ert-expectations-0.2/share/ema

bug#55661: /etc/ssh/authorized_keys.d contains keys that have been removed

2022-05-26 Thread Ludovic Courtès
Ludovic Courtès skribis: > Anyway, that code does intend remove the directory before copying it, > but there’s a typo: > > (delete-file-recursively "/etc/authorized_keys.d") Fixed in 4577f3c6b60ea100e521c246fb169d6c05214b20. Ludo'.

bug#55638: time-machine: backtrace about maybe-remove-expired-cache-entries

2022-05-26 Thread Maxime Devos
Ludovic Courtès schreef op do 26-05-2022 om 17:05 [+0200]: > This file was empty when you ran the command instead of containing an > integer (could have been a file system corruption or something like > that). > > Solution: > >   rm ~/.cache/guix/inferiors/last-expiry-cleanup It's a work-around,

bug#55638: time-machine: backtrace about maybe-remove-expired-cache-entries

2022-05-26 Thread Ludovic Courtès
Hi, zimoun skribis: > In guix/cache.scm: > 39:10 3 (maybe-remove-expired-cache-entries "/home/sitour/.cac…" …) > In srfi/srfi-19.scm: >287:16 2 (time-normalize! #) > In ice-9/boot-9.scm: > 1685:16 1 (raise-exception _ #:continuable? _) > 1685:16 0 (raise-exception _ #:continuable

bug#55661: /etc/ssh/authorized_keys.d contains keys that have been removed

2022-05-26 Thread Ludovic Courtès
In the wake of , I realized that /etc/ssh/authorized_keys.d is stateful: we copy files from the authorized-key directory there, but files already present remain. IOW, keys remain authorized. Why are we copying that directory instead of making a symlink to the d

bug#55359: How do I extend openssh-service-type ?

2022-05-26 Thread Ludovic Courtès
Hi, Oleg Pykhalov skribis: >> (service-extension openssh-service-type >>(const `(("charlie" >> ,(local-file "charlie.pub") >> #+end_quote > > […] > > Seems like extend-openssh-authorized-keys procedure does not use keys > argument. We could fi

bug#55587: bug#55596: Guix/Guile segfaults on `guix import texlive`

2022-05-26 Thread Jack Hill
On Wed, 25 May 2022, Hugo wrote: Ludovic Courtès writes: Jack, Hugo: What does “type -P svn” say? Does the bug occur within ‘guix shell subversion’ as shown above? Well, I feel kind of silly now, after actually installing subversion the command works as expected :) Same for me, and I fee

bug#55657: libgccjit is unusable

2022-05-26 Thread Liliana Marie Prikler
Hi Guix, with the release of Emacs 28.1, there has been some demand to enable native-compilation. While trying to set that up, I've come to realize that no matter how I slice it, I can't make libgccjit usable. My test: $ cd /tmp $ # fetch the "Hello World" [1] and insert it into gccjit-test.c $

bug#55480: Search sort order

2022-05-26 Thread Ludovic Courtès
Hi Greg, Greg Hogan skribis: > 'guix search' should sort by score, name, and version so that, for > example, 'guix search llvm' returns llvm@14.0.1 before llvm@9.0.1. > Currently the versions are sorted lexicographically rather than by > numerical value. Done in 4e13ee4b573f1829fbf41147febac9ca

bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections

2022-05-26 Thread Ludovic Courtès
Ludovic Courtès skribis: > For now, I’m going to go with the solution below, which is to use an > older revision of Guix (one where ‘open-inferior’ was using > ‘open-pipe*’) as the dependency of the ‘cuirass’ package. > > I’m running “cuirass evaluate” manually on berlin to make sure it > actuall

bug#33094: latex-koma-script: scrlttr2: ERROR: Argument of \strip@prefix has an extra }.

2022-05-26 Thread Lars-Dominik Braun
Hi Ricardo, this problem is biting me too now. > > % This line is new. Set the language! > > \usepackage[british]{babel} > > It is in fact sufficient to add only this line > >\def\languagename{english} > This workaround only works fine for scrlttr2, but unfortunately not for scrbook, scra

bug#55441: [cuirass] hang in "In progress..."; runs out of pgsql connections

2022-05-26 Thread Ludovic Courtès
Hi, Christopher Baines skribis: > Maybe the store connection caching could be optional when calling > inferior-eval-with-store, and that could also switch between using > open-pipe* and primitive-fork for starting the inferior process. I don’t think that’s desirable as an interface. To me, the

bug#55649: Feature request: filter channel on "guix pull"

2022-05-26 Thread Maxime Devos
severity 55649 wishlist thanks signature.asc Description: This is a digitally signed message part