Subject: bug#47853: guix system reconfigure build of `/gnu/store/inppfcz5yk5a20cwhv1dwqn8zq6jcdxl-grub.cfg.drv' failed

From: "Dr. Arne Babenhauserheide" <[email-masked]>
Date: Sun, 18 Apr 2021 01:05:33 +0200

Hi,

On my system building grub fails because grub-image.png fails.

# guix describe
Generation 541  18. April 2021 00:12:22 (aktuell)
  guix 84feaca
    Repository-URL: https://git.savannah.gnu.org/git/guix.git
    Branch: master
    Commit: 84feaca4888c9916e1a97bb81e5d157673488b70

# guix system reconfigure -k /etc/config.scm

LANG=C guix system reconfigure -k /etc/config.scm
guix system: warning: cannot determine provenance for current system
guix system: warning: the following groups appear more than once: scanner cdrom
guix system: warning: the following groups appear more than once: scanner cdrom
The following derivations will be built:
   /gnu/store/3w6l9jhdbhgknkd1grx4fz1bg9y58nj5-grub.cfg.drv
   /gnu/store/lna5wrbqzdzmplbxdz96mkqbx32v124r-grub-image.png.drv

building /gnu/store/lna5wrbqzdzmplbxdz96mkqbx32v124r-grub-image.png.drv...
\builder for `/gnu/store/lna5wrbqzdzmplbxdz96mkqbx32v124r-grub-image.png.drv' failed with exit code 1
build of /gnu/store/lna5wrbqzdzmplbxdz96mkqbx32v124r-grub-image.png.drv failed
View build log at '/var/log/guix/drvs/ln/a5wrbqzdzmplbxdz96mkqbx32v124r-grub-image.png.drv.bz2'.
cannot build derivation `/gnu/store/3w6l9jhdbhgknkd1grx4fz1bg9y58nj5-grub.cfg.drv': 1 dependencies couldn't be built
guix system: error: build of `/gnu/store/3w6l9jhdbhgknkd1grx4fz1bg9y58nj5-grub.cfg.drv' failed

# emacs -Q /var/log/guix/drvs/ln/a5wrbqzdzmplbxdz96mkqbx32v124r-grub-image.png.drv.bz2

Backtrace:
           2 (primitive-load "/gnu/store/larqpc2wjhnc6jmj4885k8lynd1?")
In gnu/build/svg.scm:
     53:6  1 (svg->png _ "/gnu/store/0f2bpqpgflza414sk0hwms3rdizg1x?" ?)
In unknown file:
           0 (rsvg-handle-render-cairo #<rsvg-handle 7ffff0b56280> #)

ERROR: In procedure rsvg-handle-render-cairo:
Wrong type (expecting finalized smob): #<cairo-context 7ffff0b561c0>

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