GNU bug report logs

#47115 Redundant library grafts leads to breakage

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #59 received at 47115@debbugs.gnu.org (full text, mbox, reply):

Received: (at 47115) by debbugs.gnu.org; 15 Mar 2021 03:38:53 +0000
From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 14 23:38:53 2021
Received: from localhost ([127.0.0.1]:34609 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1lLe4D-0006RF-8b
	for submit@debbugs.gnu.org; Sun, 14 Mar 2021 23:38:53 -0400
Received: from minsky.hcoop.net ([104.248.1.95]:41698)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jackhill@jackhill.us>) id 1lLe4B-0006R3-8t
 for 47115@debbugs.gnu.org; Sun, 14 Mar 2021 23:38:51 -0400
Received: from marsh.hcoop.net ([45.55.52.66])
 by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <jackhill@jackhill.us>)
 id 1lLe45-0000eV-J5; Sun, 14 Mar 2021 23:38:45 -0400
Date: Sun, 14 Mar 2021 23:38:45 -0400 (EDT)
From: Jack Hill <jackhill@jackhill.us>
X-X-Sender: jackhill@marsh.hcoop.net
To: Mark H Weaver <mhw@netris.org>
Subject: Re: bug#47115: Failure building grub-img.png when reconfiguring
In-Reply-To: <87y2epqnq8.fsf@netris.org>
Message-ID: <alpine.DEB.2.21.2103142334250.8138@marsh.hcoop.net>
References: <alpine.DEB.2.21.2103121747190.8138@marsh.hcoop.net>
 <YEvznooRt4wUjDtA@jasmine.lan> <87a6r7294k.fsf@netris.org>
 <alpine.DEB.2.21.2103121931030.8138@marsh.hcoop.net>
 <alpine.DEB.2.21.2103122301220.8138@marsh.hcoop.net>
 <877dmb1owa.fsf@netris.org>
 <alpine.DEB.2.21.2103131506140.8138@marsh.hcoop.net>
 <alpine.DEB.2.21.2103132302490.8138@marsh.hcoop.net>
 <874khds84o.fsf@netris.org>
 <alpine.DEB.2.21.2103141914430.8138@marsh.hcoop.net>
 <87y2epqnq8.fsf@netris.org>
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=US-ASCII
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 47115
Cc: 47115@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
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




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Dec 22 14:58:55 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.