unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Jack Hill <jackhill@jackhill.us>
To: Mark H Weaver <mhw@netris.org>
Cc: 47115@debbugs.gnu.org
Subject: bug#47115: Failure building grub-img.png when reconfiguring
Date: Sun, 14 Mar 2021 23:38:45 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.2.21.2103142334250.8138@marsh.hcoop.net> (raw)
In-Reply-To: <87y2epqnq8.fsf@netris.org>

On Sun, 14 Mar 2021, Mark H Weaver wrote:

> It occurs to me that we missed something: the profiles in
> ~/.config/guix/current that are managed by "guix pull".  It might be
> that code within Guix itself was miscompiled (e.g. gnu/build/svg.scm),
> or else that a profile in ~/.config/guix/current is still holding a
> reference to something else that was miscompiled, (e.g. guile-cairo).
>
> I suggest "guix pull --commit=453e101fc3f7dac9aabcd6122cf05fb7925103c7",
> and then "guix package -p ~/.config/guix/current --delete-generations"
> to delete any generations of Guix at commits that came after the Cairo
> graft (use "guix pull --list-generations" to list them).  Do this for
> all user accounts (including root) that have a ~/.config/guix/current
> directory.  Then, try "guix gc" again.

Thanks Mark. I've done the dance to gc as much as possible again. This 
time, I also checked in /var/guix/gcroots to make sure I hadn't missed 
anything. In fact I had missed some extra manual roots that I had created, 
and I cleaned those up as well before running guix gc.

After running guix gc, I rebooted, ran guix pull, followed by a 
reconfigure. The first reconfigure failed because of the substitute 
networking problem, but when I ran it again, it failed in the same way 
building the grub png. After it failed, I ran it again to capture the 
following output:

jackhill@kalessin ~$ guix describe
Generation 9	Mar 14 2021 23:24:43	(current)
   guix d059485
     repository URL: https://git.savannah.gnu.org/git/guix.git
     branch: master
     commit: d059485257bbe5b4f4d903b357ec99a3af2d4f39
jackhill@kalessin ~$ sudo -E guix system -v3 reconfigure /config.scm
The following derivations will be built:
    /gnu/store/xqdm3fslr3n0jyxh6i3nsn237lygjfwf-system.drv
    /gnu/store/2p1s41kwh9w7w8cijg3r4zplc9f9i6fw-activate.scm.drv
    /gnu/store/jgagsl2m5x5vi63s3hdwg6lb58m8qiz1-activate-service.scm.drv
    /gnu/store/dsv31bkl2vwqhqgrqvz59wir009ix3kb-etc.drv
    /gnu/store/9f2rvmk0xii50smi8dwn0q9556y7qc94-rottlog.drv
    /gnu/store/ky3yw75v55g06ggi4i0xk155i7knn10f-sudoers.drv
    /gnu/store/b2h0nkrd03zff082lg7y149aw3j9yfxg-profile.drv
    /gnu/store/hlr9ypdb841sz2w949mxi5kqhvv2dd22-boot.drv
    /gnu/store/y8s53y9irwbsy1pc07vbczbp7jwsrsw4-shepherd.conf.drv
    /gnu/store/6zk7p1iljyayb5hyafgbzik06cq0f00j-shepherd-ssh-daemon-ssh-sshd.go.drv
    /gnu/store/p89f6qy78yarsjrmq8mkrjihnk4hpm25-shepherd-ssh-daemon-ssh-sshd.scm.drv
    /gnu/store/kscdry7kq4izr7nyzs6gq3kg0hqcjffx-shepherd-guix-daemon.go.drv
    /gnu/store/aa4wgjx3625m5k71i5rzb0ywx9z6a0i3-shepherd-guix-daemon.scm.drv
    /gnu/store/qy2sl92bqnzahvpzb6imgspp6llpz0cj-shepherd-mcron.go.drv
    /gnu/store/xdxd5gfvzk4g0m2idbfcrp3d32gm0vz6-shepherd-mcron.scm.drv
    /gnu/store/q8ampzxsdkibl15jhlvq30gic5qgm0wi-mcron-job.drv
    /gnu/store/qj9nqyhci6zhkfprpwch90ry5hkhwvbx-mcron-job.drv
    /gnu/store/6gx45db5mwraihq1qv8c9vmxhdskjk1a-grub.cfg.drv
    /gnu/store/07xw2pp63xin4c4y8ndrcdn3n8z1vmx2-grub-image.png.drv
The following grafts will be made:
    /gnu/store/fwwwnlzhckvi4wmw89m9az9y9wb9v6q9-rottlog-0.72.2.drv
    /gnu/store/26z2lhnqhzr5b88axv7b38fgqjl3w2h8-usbutils-013.drv
The following profile hooks will be built:
    /gnu/store/5c19y82k9pw297w0b5gn8j6p7g7c6h60-ca-certificate-bundle.drv
    /gnu/store/j5plp2k4bkjilqx1yw9mkavy37ipp29h-fonts-dir.drv
    /gnu/store/lcilg958v3adfl8jljkjwpwihbzsyr6c-info-dir.drv
    /gnu/store/z5m7ra9zd3vhqbp5hg4695s2jgsggr6q-manual-database.drv
building /gnu/store/07xw2pp63xin4c4y8ndrcdn3n8z1vmx2-grub-image.png.drv...
Backtrace:
            2 (primitive-load "/gnu/store/larqpc2wjhnc6jmj4885k8lynd1?")
In gnu/build/svg.scm:
      53:6  1 (svg->png _ "/gnu/store/vmldvxllh07k641wmbnlz3migga29r?" ?)
In unknown file:
            0 (rsvg-handle-render-cairo #<rsvg-handle 7ffff5b60150> #)

ERROR: In procedure rsvg-handle-render-cairo:
Wrong type (expecting finalized smob): #<cairo-context 7ffff5b60090>
builder for `/gnu/store/07xw2pp63xin4c4y8ndrcdn3n8z1vmx2-grub-image.png.drv' failed with exit code 1
build of /gnu/store/07xw2pp63xin4c4y8ndrcdn3n8z1vmx2-grub-image.png.drv failed
View build log at '/var/log/guix/drvs/07/xw2pp63xin4c4y8ndrcdn3n8z1vmx2-grub-image.png.drv.bz2'.
cannot build derivation `/gnu/store/6gx45db5mwraihq1qv8c9vmxhdskjk1a-grub.cfg.drv': 1 dependencies couldn't be built
guix system: error: build of `/gnu/store/6gx45db5mwraihq1qv8c9vmxhdskjk1a-grub.cfg.drv' failed

Do you think it is worth creating another VM to see if it's a problem with 
the VM configuration?

Best,
Jack




  reply	other threads:[~2021-03-15  3:39 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-12 22:58 bug#47115: Failure building grub-img.png when reconfiguring Jack Hill
2021-03-12 23:05 ` Leo Famulari
2021-03-13  0:24   ` Mark H Weaver
2021-03-13  0:33     ` Jack Hill
2021-03-13  4:05       ` Jack Hill
2021-03-13  7:41         ` Mark H Weaver
2021-03-13 20:08           ` Jack Hill
2021-03-14  4:27             ` Jack Hill
2021-03-14 20:49               ` Jack Hill
2021-03-14 21:14                 ` Jack Hill
2021-03-14 22:00                   ` Jack Hill
2021-03-14 22:05               ` Mark H Weaver
2021-03-14 23:18                 ` Jack Hill
2021-03-15  0:11                   ` Mark H Weaver
2021-03-15  3:38                     ` Jack Hill [this message]
2021-03-15  3:52                       ` Jack Hill
2021-03-15 20:48                         ` Jack Hill
2021-03-16  1:41                           ` Jack Hill
2021-03-16  2:40                             ` Jack Hill
2021-03-16  8:26                               ` bug#47115: Grafts without deduplication can lead to breakage in Guile (was: Failure building grub-img.png when reconfiguring) Mark H Weaver
2021-03-16  9:18                                 ` bug#47115: Redundant library grafts leads to breakage " Mark H Weaver
2021-03-20 11:01                                   ` bug#47115: Redundant library grafts leads to breakage Ludovic Courtès
2021-03-14 22:18     ` bug#47115: Failure building grub-img.png when reconfiguring Leo Famulari
2021-03-13  0:25   ` Jack Hill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.21.2103142334250.8138@marsh.hcoop.net \
    --to=jackhill@jackhill.us \
    --cc=47115@debbugs.gnu.org \
    --cc=mhw@netris.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).