From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CAXqKwTDUWDIMwAA0tVLHw (envelope-from ) for ; Wed, 17 Mar 2021 08:51:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aBC/JwTDUWD9VwAA1q6Kng (envelope-from ) for ; Wed, 17 Mar 2021 08:51:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 089C41BC4A for ; Wed, 17 Mar 2021 09:51:16 +0100 (CET) Received: from localhost ([::1]:51718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMRta-0007UO-Kb for larch@yhetil.org; Wed, 17 Mar 2021 04:51:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMRtP-0007Rv-4L for bug-guix@gnu.org; Wed, 17 Mar 2021 04:51:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMRtO-0002tk-G7 for bug-guix@gnu.org; Wed, 17 Mar 2021 04:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMRtO-0003sj-Em for bug-guix@gnu.org; Wed, 17 Mar 2021 04:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47201: sbcl-cl-webkit doesn't protect webkitgtk from garbage collection Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 17 Mar 2021 08:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47201 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari Received: via spool by 47201-submit@debbugs.gnu.org id=B47201.161597101414862 (code B ref 47201); Wed, 17 Mar 2021 08:51:02 +0000 Received: (at 47201) by debbugs.gnu.org; 17 Mar 2021 08:50:14 +0000 Received: from localhost ([127.0.0.1]:41913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMRsb-0003re-Qg for submit@debbugs.gnu.org; Wed, 17 Mar 2021 04:50:14 -0400 Received: from mout01.posteo.de ([185.67.36.65]:51378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMRsZ-0003rJ-Ei for 47201@debbugs.gnu.org; Wed, 17 Mar 2021 04:50:12 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id BB474160062 for <47201@debbugs.gnu.org>; Wed, 17 Mar 2021 09:50:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1615971004; bh=lVC01K7/aFt9APrdoxT640WKvJ19tu7AgZFt02kenUI=; h=From:To:Cc:Subject:Date:From; b=X8FSyY7RjhAzPnbkvVA6OJWhJC8jkLrmvFpMQuaH62tLFPSnS3MWGitmpF8ZAI3SU TWu5yIOLETp1s6X1OmHl87UNgnXTde+0opwxK3Am/N02L5ppH2uJV/zdjgSgH+01bP yTp+VvJg23jc6lZHhVS21tOxmHnkmAYgiw9K6UVPk0wCDQeRvfGyCkvgZaTLXrbcJx 3S6j8RUhIitMGIcd423IwYBAMuKfbXT8N6QdfB1whFxqUVJpD1noRnnwmP+nX3NJB6 tUV0CpaCKHfh9o7EdgeWGvrbcsAqcUkHkm51qXaZBIUkngg0BQd+aoq32YJoy9qgHL YNnDsSNvd0c/g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4F0kPQ75Qdz6tmf; Wed, 17 Mar 2021 09:50:02 +0100 (CET) References: <20210316234005.64e633b7@runbox.com> User-agent: mu4e 1.4.15; emacs 27.1 From: Guillaume Le Vaillant In-reply-to: Date: Wed, 17 Mar 2021 09:49:52 +0100 Message-ID: <87a6r2w4en.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pkill9 , 47201@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615971076; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=lVC01K7/aFt9APrdoxT640WKvJ19tu7AgZFt02kenUI=; b=iTKT5aKJ9h38Seye4L5VPi5tvfa+m1+u0AwyuKz8CmaQ0nee5vyNVwYIfy1FlId3nmwLBx zbkVEoydF7KMCdMoeS4hY6WluLouWSM+sEfHbI7ciUI2OQMc1IBocBGQUs5uIgBgVl4FRg zstc7R9EWBaC2gZlGoLjhdflsDKLJ9lR5t553C3jMMRnhov/mYXe3c9X7GWRpYVDdUlf+d H0PPHYcXLs7RwKM/miMqvUWkfmx6k7VSv9yUqWI+RelWehMU1w1p5JM39ElnuAwbb1vqRT cG0VCoVd7uGenvCsvOhBDM/Wr8h9La02O/jkePurJiitA23DOpbCk3WKuaLA0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615971076; a=rsa-sha256; cv=none; b=DnlGFygSeSpwZOOUwNlIBuWgE8diFgWmYQ7HcOd+0CncujqCOO9jjnAz8hXuvWpF47OMpe up+9ByotVZ9ppehAzMSesRupCythXvkstQRxAQMeLguOCDnA5a4m6zHN0W0ZEQPLAJrOz7 7hR7C+em3BWpK+PXIGFA8tcwoaMyv8aLhTYWgwC1IorEHg29foZRn8exvEfrXK+wt0/6kQ 6hKqnw1/LfXN+SGrYJxAtV/PS76l8rOMBw0qDCtR68gGrJAvawGdaA7vEWusIwMs0kkQZw 3/0XThxy5juzPqyCj8ibEJ+OgTa193l7Yx6/cEIKDYUuh9KRoYaKEdWyUGynHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=X8FSyY7R; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -0.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=X8FSyY7R; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 089C41BC4A X-Spam-Score: -0.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: hQWbpN2DHPHZ --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Leo Famulari skribis: > On Tue, Mar 16, 2021 at 11:40:05PM +0000, pkill9 wrote: >> I have nyxt installed, which has sbcl-cl-webkit as an input, which has >> webkitgtk as an input, and recently it produced an error which was >> fixed by building webkitgtk, so it wasn't in the store. >>=20 >> sbcl-cl-webkit won't be deleted by `guix gc`, however webkitgtk will >> be, so it seems it's not protected from garbage collection by >> sbcl-cl-webkit. Am I wrong in this? > > You can check on this with the `guix gc` tool. > > Specifically, like this: > > $ guix gc --references $(guix build sbcl-cl-webkit) > > That will show you the "store references" of the built sbcl-cl-webkit > package. These store references are strings that refer to files in > /gnu/store, found by scanning the result of building sbcl-cl-webkit.=20 > > These references are recorded in the Guix database at > '/var/guix/db/db.sqlite'. > > The built package must keep references to its runtime dependencies, or > they will be subject to garbage collection, and that would represent a > bug in the package definition. > > Does that make sense? I think this issue is identical to what has been reported a few years ago in bug#33848 (https://issues.guix.gnu.org/33848) which is still open. The binaries created by SBCL store some pathnames as UTF-32 strings, and the reference scanner of Guix doesn't support that, so it misses some references. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYFHCsA8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j8LBwEApGHktB+uuXrt0sOZvz9Oh0pSw6knia/hOL2F K7QpKmUA/RkiF/X58HrKl9Y+8iDjwPcEIToJl4BWzuIX0T7RJvD0 =FVhV -----END PGP SIGNATURE----- --=-=-=--