bug#64665: [Shepherd] Introduce a configurable respawn delay

2023-07-16 Thread Ludovic Courtès
Hi,

The conclusion of the thread at

seems to be that we should introduce a configurable respawn delay
(systemd makes that 100ms).

Ludo’.





bug#64593: ‘guix system image’ fails to create image while invoking ‘grub-bios-setup’

2023-07-16 Thread Josselin Poiret via Bug reports for GNU Guix
Hi Ludo,

Ludovic Courtès  writes:

> The culprit might be 209204e23b39af09e0ea92540b6fa00a60e6a0ae, from
> .
>
> Josselin, Sergey, WDYT?

Apologies!  Our install-grub-disk-image doesn't really support GPT
right, now but this is easy to fix (I've successfully booted your
example with a local change).  However, for this to work we need to have
a BIOS Boot partition instead of the ESP that's defined for efi images.
We have two options here, either add a new image type that has that
instead of the ESP (which means duplicating a bunch of them...), or make
the partition of efi-raw change depending on the bootloader, which would
need some refactoring.  I'm not a big fan of either options though :)

WDYT?
-- 
Josselin Poiret


signature.asc
Description: PGP signature


bug#64663: obs is broken (does not open window)

2023-07-16 Thread Dr. Arne Babenhauserheide
Hi,

a few weeks ago obs (Open Broadcast Studio) stopped working for me.

When I run it, it does not show a window, and pressing C-c does not stop
it (I have to kill it with pkill -9 obs).

Console-output:

info: video settings reset:
base resolution:   1920x1080
output resolution: 1280x720
downscale filter:  Bicubic
fps:   60/1
format:NV12
YUV mode:  Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
name: Standard
id: default
info: -
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
warning: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
libDeckLinkAPI.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder 
Verzeichnis nicht gefunden
warning: A DeckLink iterator could not be created.  The DeckLink drivers may 
not be installed
warning: Failed to initialize module 'decklink.so'
info: [pipewire] No captures available
warning: v4l2loopback not installed, virtual camera disabled
^Cinfo:  Shutting down ==

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de


signature.asc
Description: PGP signature


bug#64309: Python dlopen()s musl libc

2023-07-16 Thread Lars-Dominik Braun
Hi Josselin,

> Woah, looks like a neat solution.  Do you think it would scale for all
> our Python packages without manual intervention?  If so, this would
> definitely be the way forward.

I hope so, but haven’t tried it yet.

> I mostly agree with you, but for this rather common case of having also
> a usercustomize it would be nice to circumvent it.  In general, I don't
> think we ever want a Guix-produced Python script to load the
> usercustomize, hence my suggestion.  The other case of PYTHONPATH is
> also annoying but can be tamed by modifying the env variable
> temporarily.

True, PYTHONPATH can be unset more easily than moving the user site
dir. I’ll have a look at #64573, which should work around this issue.

Cheers,
Lars






bug#64659: bug in guix-compute-derivation

2023-07-16 Thread anemofilia via Bug reports for GNU Guix

Hello, how are you?

Seems that I've found a bug in guix-compute-derivation while running 
guix pull in a newly installed guix system. Here's the complete output:


```
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.git49f74b6
Computing Guix derivation for 'x86_64-linux'...  .
..
.
Backtrace:
  17 (primitive-load 
"/gnu/store/9an9yfwk5vwvisygdd6q69vw9jk8mf9p-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:
  2168:24 12 (run-with-store # 
# ?)

   1996:8 11 (_ #)
In ./guix/gexp.scm:
   299:22 10 (_ #)
   1180:2  9 (_ #)
   1046:2  8 (_ #)
892:4  7 (_ #)
In ./guix/store.scm:
  2053:12  6 (_ #)
   1401:5  5 (map/accumulate-builds #7f911811b410> # ?)
  1417:15  4 (_ # 
("/gnu/store/00lz8100v86nzcbcl9yp1jfd63ianr2z-guix-daemo?" ?) ?)

  1417:15  3 (loop #f)
   711: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/9an9yfwk5vwvisygdd6q69vw9jk8mf9p-compute-guix-derivation'
failed to compute the derivation for Guix (version: 
"49f74b67a44882d2af0529abf3e60a9c37512f2c"; system: "x86_64-linux";

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

```

Thanks in advance,
Anemofilia