From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id tDwfOflijGBpfwAAgWs5BA (envelope-from ) for ; Fri, 30 Apr 2021 22:05:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OPKmM/lijGDYUwAAbx9fmQ (envelope-from ) for ; Fri, 30 Apr 2021 20:05:13 +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 4CF63255AB for ; Fri, 30 Apr 2021 22:05:13 +0200 (CEST) Received: from localhost ([::1]:41382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcZNw-000208-4S for larch@yhetil.org; Fri, 30 Apr 2021 16:05:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcZNm-0001zN-AM for bug-guix@gnu.org; Fri, 30 Apr 2021 16:05:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcZNm-0001Hq-2v for bug-guix@gnu.org; Fri, 30 Apr 2021 16:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcZNl-0000wf-UK for bug-guix@gnu.org; Fri, 30 Apr 2021 16:05:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#33848: Store references in SBCL-compiled code are "invisible" Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 30 Apr 2021 20:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33848 X-GNU-PR-Package: guix X-GNU-PR-Keywords: fixed To: Pierre Neidhardt , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 33848-submit@debbugs.gnu.org id=B33848.16198130623582 (code B ref 33848); Fri, 30 Apr 2021 20:05:01 +0000 Received: (at 33848) by debbugs.gnu.org; 30 Apr 2021 20:04:22 +0000 Received: from localhost ([127.0.0.1]:59883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcZN8-0000vi-9J for submit@debbugs.gnu.org; Fri, 30 Apr 2021 16:04:22 -0400 Received: from world.peace.net ([64.112.178.59]:45676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcZN6-0000vQ-70 for 33848@debbugs.gnu.org; Fri, 30 Apr 2021 16:04:20 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lcZMw-0005X6-Lp; Fri, 30 Apr 2021 16:04:10 -0400 From: Mark H Weaver In-Reply-To: <87wntfrfd1.fsf@ambrevar.xyz> References: <87r2e8jpfx.fsf@gnu.org> <87d0pmhbgn.fsf@ambrevar.xyz> <87r2e28tkv.fsf@gnu.org> <874laygkiy.fsf@ambrevar.xyz> <87lfa5eymf.fsf@ambrevar.xyz> <87tuoscsk9.fsf@gnu.org> <87im57b8u7.fsf@ambrevar.xyz> <87czvebky2.fsf@netris.org> <87eefu30a4.fsf@gnu.org> <87im56l6es.fsf@yamatai> <87wntm8j18.fsf@ambrevar.xyz> <87a6qil4b1.fsf@yamatai> <87a6qiz5b3.fsf@ambrevar.xyz> <871rbtc3j5.fsf@netris.org> <87r1js9udv.fsf@netris.org> <87sg47vp16.fsf@ambrevar.xyz> <875z139liy.fsf@netris.org> <87ft04sefs.fsf@gnu.org> <8735w472oo.fsf@netris.org> <87v98zomjv.fsf@gnu.org> <87wntfrfd1.fsf@ambrevar.xyz> Date: Fri, 30 Apr 2021 16:03:18 -0400 Message-ID: <878s4zo7z2.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain 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: 33848@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=1619813113; 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; bh=TWHU7AFmdXt92P39fer5Qqmha2Sz3Wq6c4hcDF/uqWU=; b=CQIYcQR9Q6Ljd2Rm/y8fzgQ/yfwUeqaUabBSRMASav7HnrsVnt8nqvheVhD+/7ABvMCsxO 0CboQhWSDVDzLFbVOo5GX2nnWMSJyRMuKj39xV63H3Pk4dHNwRjxjs2yAisf4k50+KuSCK WHzi1uqxdvOicWj/eIQ+K03BG0NG8MxhMOgtyQq9Pu0EamdfYCmhX864917QKb+gnE2fsw 2O4qFDWlO614aaRVKiIzgthm7Rr9V0ZVRTq8H4w3iuqbg36nxvvD/HQnajQSXwOh7Zf0kZ XSYQnVF2jLnwt/qtM7gqujyRwVV7bABN5YZGR5iUCgI/ECopINsi0wIb5UUJsw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619813113; a=rsa-sha256; cv=none; b=cR5nvMXWJh2gNpmAoagoKTJf34o4Aq5robdeffKYFAZ+mMdDhY5rwIIYEF4HfAkBNZc7LY fQ6Fi9wBBTSPEaGnN5lRfBAxMcNRB1KYOZRMagMceUCR04mj5SnpzINEIaBaU/wdaz88gd o/GH4krBEI8jvzhAux2m7QpC3TfBlAYkeQLrs3XtqCka/XS12hg/oUjJY3A4ZpibjyRV1X ZnSSkT3IDStX6iVFfuQv0lZ7dA0LYan7OLsPlq9pSGmxgnam2QIoLEF/jW57xA+RVpcCgs WUc8oONCLMtMUeovrNoNhykSfAjdVnhi7D3S+c0qc2Lq7/D4++ixx4CSUUXWCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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: -2.46 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 4CF63255AB X-Spam-Score: -2.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: yWLxWKvfdROP Hi Pierre, and Ludovic, Pierre Neidhardt writes: > I also agree this looks like a net win even though the `guix gc` issue > is not fix. > The latter seems to be relatively easier to fix, doesn't it? Yes. I now have a plan to finally fix this bug for good. I intend to write a scanner in Scheme that is able to find Nix hashes encoded in ASCII, UTF-16, or UTF-32. Using that, I'll write a procedure that, for each package output, finds all store references that are found encoded in UTF-16 or UTF-32 but never in ASCII, and write those references to a file (if that set is nonempty). This procedure can then be used by selected packages and/or build-systems. However, there's one thing I will need: the set of all transitive inputs (and native-inputs, including implicit inputs) available to the build, i.e. the set of possible hashes that might legitimately be found by the scanner. Ludovic: what's the best way to get that list from the build-side code? Thanks, Mark -- Disinformation flourishes because many people care deeply about injustice but very few check the facts. Ask me about .