From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 16 19:40:36 2021 Received: (at submit) by debbugs.gnu.org; 16 Mar 2021 23:40:36 +0000 Received: from localhost ([127.0.0.1]:41453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMJIi-0007NG-7n for submit@debbugs.gnu.org; Tue, 16 Mar 2021 19:40:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:45866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMJIh-0007N9-FY for submit@debbugs.gnu.org; Tue, 16 Mar 2021 19:40:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMJIh-0004Lq-6n for bug-guix@gnu.org; Tue, 16 Mar 2021 19:40:35 -0400 Received: from aibo.runbox.com ([91.220.196.211]:33612) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMJIc-0002sK-5P for bug-guix@gnu.org; Tue, 16 Mar 2021 19:40:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:Subject:To:From:Date; bh=xLqmz7B8rhm+pNPimLNqukUyh7pA6hezRoNg2zYtz38=; b=1vamrQ6n6Of7VEYORZDKB4GYGw BmEM+bGzfdUV1tPOhqmW8IEhkcayh0r4pMSsnxK9LYuiQdmcl18AUEQ8DUZMqkdG6uMXD3J6qPjKi H0MSKakkl3ydjOAz/V1xO7Fye81B0YCGPxOe8WVRqxpDgxOrYY1EsSWjhs9GDpUDX/5HXMfkNIIiO Na8MnrCLyNwYrKlKyprCiEif1LDVM6TXNeCY5GlT8NDWLpjyJNnbnjBTy0r8dMgvbLGZCxwTtcRiz 8/WjHv4rA2HcdogsCUlbIUQsGNQd2AtgsqXHrteGHfBy1g6rxd+MJh+h7SKtFNrHJl1RIzWvZl/1i UBf4CAOQ==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1lMJIV-0007Fr-Sl for bug-guix@gnu.org; Wed, 17 Mar 2021 00:40:24 +0100 Received: by submission02.runbox with esmtpsa [Authenticated alias (780724)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1lMJIF-0002AS-ID for bug-guix@gnu.org; Wed, 17 Mar 2021 00:40:07 +0100 Date: Tue, 16 Mar 2021 23:40:05 +0000 From: pkill9 To: bug-guix@gnu.org Subject: sbcl-cl-webkit doesn't protect webkitgtk from garbage collection Message-ID: <20210316234005.64e633b7@runbox.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=91.220.196.211; envelope-from=pkill9@runbox.com; helo=aibo.runbox.com X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) 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. 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? From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 16 19:54:11 2021 Received: (at 47201) by debbugs.gnu.org; 16 Mar 2021 23:54:11 +0000 Received: from localhost ([127.0.0.1]:41485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMJVr-0007iR-Ib for submit@debbugs.gnu.org; Tue, 16 Mar 2021 19:54:11 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:56783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMJVp-0007iE-Dv for 47201@debbugs.gnu.org; Tue, 16 Mar 2021 19:54:09 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 07FF65C0049; Tue, 16 Mar 2021 19:54:04 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 16 Mar 2021 19:54:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=Ad/oJbVx4bSexKbSrB6wXUwh IpfWiWeJ4hoEEsYEblc=; b=T2sH4AtdTvvL39GVJhnI/RmxXr6em2tOowGcTFoh H7uwxIx+rZRa65rCVNpxJLI0cw8It92lSkku3vNL0jLDAC7j4MErPdIe4iAGMWWH XRbv8A5l6si48d2412J1IrPmf3jaUYuw7PYVNc0raWKMm3RIa1mcv0EbuJHZH8Vk /ec= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Ad/oJb Vx4bSexKbSrB6wXUwhIpfWiWeJ4hoEEsYEblc=; b=igFQWeCwqcahQZGvoUGsi9 8Gol0PV5fiwZZlQ2pMz/7nyAwlyxwrwcpN+11DCgpA9AiP6s6jX4ZBaiYRbAzDLt SSppu169Xtu3koHm1vwXu/DvuJY+yVj7/hWiIi1l+Orriqavx4XZu9s9/Ah1pk9v 94HTSApJiX/uZNP8kV+Gn5GokmBa3wJKZfMpbXjbvNslA7YZfykdyCO3gzVXo7Ac AwCbSQyuzQyhTOZP7Toq02W5Xvw6g/NFNZc3A5cuhzBSLjITFH8Y3+BL9FSjvvgT 6CbRVfCPdVrIjOtHDHyTJd1ZMLEOp+aDr5Oe/hIREU957ka0x695nu4y35wJcsog == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudeffedgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepueekkedtffdvtddugeejgedtvefhue efiedvjeeitdeigedtveejvdejheffvefgnecukfhppedutddtrdduuddrudeiledruddu keenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvg hosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 84D65108006A; Tue, 16 Mar 2021 19:54:03 -0400 (EDT) Date: Tue, 16 Mar 2021 19:54:02 -0400 From: Leo Famulari To: pkill9 Subject: Re: bug#47201: sbcl-cl-webkit doesn't protect webkitgtk from garbage collection Message-ID: References: <20210316234005.64e633b7@runbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210316234005.64e633b7@runbox.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47201 Cc: 47201@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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. > > 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. 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? From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 17 04:50:14 2021 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 To: Leo Famulari Subject: Re: bug#47201: sbcl-cl-webkit doesn't protect webkitgtk from garbage collection 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 47201 Cc: pkill9 , 47201@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= 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----- --=-=-=--