From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EDp6O/BImmDtDwAAgWs5BA (envelope-from ) for ; Tue, 11 May 2021 11:05:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qPAqN/BImmCEPwAA1q6Kng (envelope-from ) for ; Tue, 11 May 2021 09:05:52 +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 59F6620347 for ; Tue, 11 May 2021 11:05:52 +0200 (CEST) Received: from localhost ([::1]:44178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgOKs-0000Wy-TG for larch@yhetil.org; Tue, 11 May 2021 05:05:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgO2g-0008NV-KF for bug-guix@gnu.org; Tue, 11 May 2021 04:47:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51581) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lgO2g-0002U3-27 for bug-guix@gnu.org; Tue, 11 May 2021 04:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lgO2g-0002KI-04 for bug-guix@gnu.org; Tue, 11 May 2021 04:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#33848: Store references in SBCL-compiled code are "invisible" Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 11 May 2021 08:47: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: Mark H Weaver Received: via spool by 33848-submit@debbugs.gnu.org id=B33848.16207227788871 (code B ref 33848); Tue, 11 May 2021 08:47:01 +0000 Received: (at 33848) by debbugs.gnu.org; 11 May 2021 08:46:18 +0000 Received: from localhost ([127.0.0.1]:34894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgO1y-0002J0-Bk for submit@debbugs.gnu.org; Tue, 11 May 2021 04:46:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgO1w-0002Ii-Ce for 33848@debbugs.gnu.org; Tue, 11 May 2021 04:46:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42378) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgO1o-00024w-AK; Tue, 11 May 2021 04:46:09 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=40030 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgO1n-000526-LL; Tue, 11 May 2021 04:46:08 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87r2e8jpfx.fsf@gnu.org> <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> <878s4zo7z2.fsf@netris.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 =?UTF-8?Q?Flor=C3=A9al?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 11 May 2021 10:46:05 +0200 In-Reply-To: <878s4zo7z2.fsf@netris.org> (Mark H. Weaver's message of "Fri, 30 Apr 2021 16:03:18 -0400") Message-ID: <878s4l4q0i.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Pierre Neidhardt , 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=1620723952; 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: content-transfer-encoding:content-transfer-encoding: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=LXfySJ51zXmCLbyCdlPJMZt4OHOGZaRftxg1E3LwyxY=; b=Vk+hl+CBy7FB3fGk9mxOVCpX22K4nVP5r7I3AFqaBUl/J2LefoMpUsO89ycAi6cjXcU3k+ t44+nX+Ix37DMwHiyL5aGQO25VRHPWgSDFhucqODceCf3RLPCZtqKhcDrnotSwapK0brYJ qMik6WjX4dRooGOCwPNWr/38JXZzyPbi9LKJ4KQvaSSkVfNTo1WA5v9stLijwwgCJIvPR7 BgA0p6yRtjPpAKF6cVc54Q5I/2E/nrnH/sC55YN6xt/yBUUx+C4oWwohJKq9Ud5Wf/4aTS CpuPFewR2anjucyVUujGwKfhWC9OskscypuUTVu79sTxZG9I0YRXqYZAjhIDJQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620723952; a=rsa-sha256; cv=none; b=EtOkFZBIS2IX2quMMH73K0NkFheW0hQBJLY3gZOA0JLbclPzEirwvJ1Hy0Gj7Af74z3Z9h VMOLx5iqFE9qu9CoyJ87cyUMjmuvck3+PNNrAbWnVswj4J29FoGPQ4xxproOmf4TqoFanq Mr7S+WQybY/9KOxlCLF8VR2w0u1jXG7h27B445iuRnlrUdCB32u0of/AM3G/zHVgcMPAKK IGBGqMSK6EyusY5g2ON7q/pxuT7eKTEiI5UsfZ8J92XJUGnC3BF+pou4wFcvxSIY0S7Eia ESp3Wmm4I4h7TXvjyRgmjA9rFItKA2cY5dVZQzeuyMj7hI1jteyoR/zdCuEpAA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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.95 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 59F6620347 X-Spam-Score: -2.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: RjoVzJmQqErO Hi Mark, Mark H Weaver skribis: > 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? You can use #:references-graphs for that. Sorry for the delay! Ludo=E2=80=99.