bug#35350: Some compile output still leaks through with --verbosity=1

2021-09-19 Thread Sarah Morgensen
Hello, I encountered this issue today. This looks like a pretty complete solution ready to go. Did this ever make it into Guile/Guix? (Ironically I was also reaching for a "make-custom-textual-output-port" the other day!) -- Sarah Mark H Weaver writes: > Hi Ludovic, > > Ludovic Courtès

bug#35350: Some compile output still leaks through with --verbosity=1

2019-05-04 Thread Mark H Weaver
Hi Ludovic, Ludovic Courtès writes: > Mark H Weaver skribis: > >> Ludovic Courtès writes: > > [...] > >>> So there are two things. To fix the issue you reported (build output >>> that goes through), I think we must simply turn off UTF-8 decoding from >>> ‘process-stderr’ and leave that

bug#35350: Some compile output still leaks through with --verbosity=1

2019-05-04 Thread Ludovic Courtès
Hi Mark, Mark H Weaver skribis: > Ludovic Courtès writes: [...] >> So there are two things. To fix the issue you reported (build output >> that goes through), I think we must simply turn off UTF-8 decoding from >> ‘process-stderr’ and leave that entirely to ‘build-event-output-port’. > >

bug#35350: Some compile output still leaks through with --verbosity=1

2019-04-30 Thread Mark H Weaver
Hi Ludovic, Ludovic Courtès writes: > Mark H Weaver skribis: > >> Ludovic Courtès writes: >> >>> The third read(2) call here ends on a partial UTF-8 sequence for LEFT >>> SINGLE QUOTATION MARK (we get the first two bytes of a three byte >>> sequence.) >>> >>> What happens is that

bug#35350: Some compile output still leaks through with --verbosity=1

2019-04-27 Thread Ludovic Courtès
Hi Mark, Mark H Weaver skribis: > Ludovic Courtès writes: > >> The third read(2) call here ends on a partial UTF-8 sequence for LEFT >> SINGLE QUOTATION MARK (we get the first two bytes of a three byte >> sequence.) >> >> What happens is that ‘process-stderr’ in (guix store) gets that byte >>

bug#35350: Some compile output still leaks through with --verbosity=1

2019-04-27 Thread Mark H Weaver
Here's version 3 with much more precise specifications in the docstrings. If I recall correctly, the code itself is identical to version 2. Mark ;;; Copyright © 2019 Mark H Weaver ;;; ;;; This program is free software: you can redistribute it and/or modify ;;; it under the terms of the

bug#35350: Some compile output still leaks through with --verbosity=1

2019-04-26 Thread Mark H Weaver
Here's an improved version of the code with doc strings. It also properly handles the case of (target-source >= target-end) in 'utf8->string!'. Mark ;;; Copyright © 2019 Mark H Weaver ;;; ;;; This program is free software: you can redistribute it and/or modify ;;; it under the terms of

bug#35350: Some compile output still leaks through with --verbosity=1

2019-04-26 Thread Mark H Weaver
Hi Ludovic, Thanks for investigating this. Ludovic Courtès writes: > The third read(2) call here ends on a partial UTF-8 sequence for LEFT > SINGLE QUOTATION MARK (we get the first two bytes of a three byte > sequence.) > > What happens is that ‘process-stderr’ in (guix store) gets that byte >

bug#35350: Some compile output still leaks through with --verbosity=1

2019-04-23 Thread Ludovic Courtès
Hi Mark, Mark H Weaver skribis: > Ludovic Courtès writes: > >> Mark H Weaver skribis: >> >>> Sometimes when compiling a package with --verbosity=1, some parts of the >>> compile output leak through. For example, see the transcript below. >> >> Weird. > > FWIW, a few observations, possibly

bug#35350: Some compile output still leaks through with --verbosity=1

2019-04-23 Thread Mark H Weaver
> What’s the value of --max-jobs? max-jobs is 1. Please disregard my previous response. Thanks, Mark

bug#35350: Some compile output still leaks through with --verbosity=1

2019-04-20 Thread Mark H Weaver
Sometimes when compiling a package with --verbosity=1, some parts of the compile output leak through. For example, see the transcript below. Mark --8<---cut here---start->8--- mhw@jojen ~$ guix system build /etc/config.scm --verbosity=1 --keep-failed