Hi,

On 2025-01-12T10:58:54+0100, Roman Scherer wrote:

Hello Guix,

I can't reconfigure my (aarch64) system anymore. When building
/gnu/store/bpda8gfvxm6iv3mc6n8sf3ydxc5b6zi9-grub-image.png.drv I see the 
following backtrace:

```
building /gnu/store/bpda8gfvxm6iv3mc6n8sf3ydxc5b6zi9-grub-image.png.drv...
Backtrace:
          2 (primitive-load "/gnu/store/3rcg4ann6607iqsh1aj84cqdnw8?")
In gnu/build/svg.scm:
    53:6  1 (svg->png "/gnu/store/41841pid2mmsvar44vy9xafsrf3cyb9i?" ?)
In unknown file:
          0 (rsvg-handle-render-cairo #<rsvg-handle fffff770ae60> #)

ERROR: In procedure rsvg-handle-render-cairo:
Wrong type (expecting finalized smob): #<cairo-context fffff770ad90>
builder for `/gnu/store/bpda8gfvxm6iv3mc6n8sf3ydxc5b6zi9-grub-image.png.drv' 
failed with exit code 1
build of /gnu/store/bpda8gfvxm6iv3mc6n8sf3ydxc5b6zi9-grub-image.png.drv failed
View build log at 
'/var/log/guix/drvs/bp/da8gfvxm6iv3mc6n8sf3ydxc5b6zi9-grub-image.png.drv.gz'.
applying 4 grafts for asahi-scripts-20240623 ...
cannot build derivation 
`/gnu/store/mnavmxm513zwy16m1lyz2yppdgjbam3l-grub.cfg.drv': 1 dependencies 
couldn't be built
guix system: error: build of 
`/gnu/store/mnavmxm513zwy16m1lyz2yppdgjbam3l-grub.cfg.drv' failed
```

Any ideas how to fix this?

I have the same problem on my server, also aarch64-linux. A minimal reproducer that fails on both my server and my laptop (x86_64-linux) is

    guix build -s aarch64-linux -e '
    (begin
     (use-modules (gnu bootloader)
                  (gnu bootloader grub))
     ((@@ (gnu bootloader grub) grub-background-image)
      (bootloader-configuration
       (bootloader grub-efi-bootloader))))
    '

I have tried bisecting it with this (see the attached log) and ended up at commit
    6975b1871b (gnu: rust-ring-0.17: Build source using trivial-build-system., 
2024-12-15)
If I revert this commit and additionally
    584c79d5df (gnu: rust-ring-0.13: Build source using trivial-build-system., 
2024-12-17)
    57be7a0184 (gnu: rust-ring-0.14: Build source using trivial-build-system., 
2024-12-17)
    7db675130f (gnu: rust-ring-0.16: Build source using trivial-build-system., 
2024-12-17)
(make fails when reverting only 6975b1871b) on top of commit
    87045f0982 (gnu: paritwine: Update to 0.2.1., 2025-01-17)
I get no error.  No idea what that has to do with grafts though.

vicvbcun
git bisect start
# status: waiting for both good and bad commits
# good: [af07f6bfe94bb3dac1f46533e586d4186d7e59b6] gnu: python-trio-websocket: 
Update to 0.11.1.
git bisect good af07f6bfe94bb3dac1f46533e586d4186d7e59b6
# status: waiting for bad commit, 1 good commit known
# bad: [87045f0982bd7aebb07b380cbf322651227546f4] gnu: paritwine: Update to 
0.2.1.
git bisect bad 87045f0982bd7aebb07b380cbf322651227546f4
# bad: [312c7d4b7bb084a54a6d39273c1e1da37dc9971e] gnu: zoxide: Update to 0.9.6.
git bisect bad 312c7d4b7bb084a54a6d39273c1e1da37dc9971e
# bad: [db99452d7d776f69a3745b6e072b63d212c9cd1e] gnu: rust-derive-arbitrary-1: 
Update to 1.4.1.
git bisect bad db99452d7d776f69a3745b6e072b63d212c9cd1e
# good: [701159efe0ad0cae514c5bd690ff2d897d2633eb] gnu: 
rust-http-body-util-0.1: Update to 0.1.2.
git bisect good 701159efe0ad0cae514c5bd690ff2d897d2633eb
# bad: [a7950bf0699ae1faa763b1220c76fec08898936d] gnu: rust-git-testament-0.2: 
Update to 0.2.6.
git bisect bad a7950bf0699ae1faa763b1220c76fec08898936d
# good: [a7af54ec322297cd171000fbe9df6fe70f59a482] gnu: Add rust-pyo3-0.23.
git bisect good a7af54ec322297cd171000fbe9df6fe70f59a482
# bad: [979839cf777b42675db22d4df2cb38a4b5835256] gnu: x265: Link together all 
library variants.
git bisect bad 979839cf777b42675db22d4df2cb38a4b5835256
# bad: [57ed4771e9c0d571510e613f70f3fc578901fd60] gnu: rust-ruzstd-0.7: Update 
to 0.7.3.
git bisect bad 57ed4771e9c0d571510e613f70f3fc578901fd60
# good: [5c48aa9954085b276491e85f0980a817ac8f2c7d] gnu: alacritty: Skip a test.
git bisect good 5c48aa9954085b276491e85f0980a817ac8f2c7d
# bad: [584c79d5dfb10208a9704a01f79af79f7d012544] gnu: rust-ring-0.13: Build 
source using trivial-build-system.
git bisect bad 584c79d5dfb10208a9704a01f79af79f7d012544
# bad: [7db675130fca0a17e3d7e9631a117c3bba883d22] gnu: rust-ring-0.16: Build 
source using trivial-build-system.
git bisect bad 7db675130fca0a17e3d7e9631a117c3bba883d22
# bad: [6975b1871bce10a5aeffc49aa37271d7a7555ca1] gnu: rust-ring-0.17: Build 
source using trivial-build-system.
git bisect bad 6975b1871bce10a5aeffc49aa37271d7a7555ca1
# first bad commit: [6975b1871bce10a5aeffc49aa37271d7a7555ca1] gnu: 
rust-ring-0.17: Build source using trivial-build-system.

Reply via email to