From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MJt6N9cRcmCyRQEAgWs5BA (envelope-from ) for ; Sat, 10 Apr 2021 23:00:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QG4vMdcRcmA7MgAAbx9fmQ (envelope-from ) for ; Sat, 10 Apr 2021 21:00:07 +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 6DD062AE44 for ; Sat, 10 Apr 2021 23:00:07 +0200 (CEST) Received: from localhost ([::1]:46170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVKi6-0000kp-LQ for larch@yhetil.org; Sat, 10 Apr 2021 17:00:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVKi2-0000kh-KT for guix-patches@gnu.org; Sat, 10 Apr 2021 17:00:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41888) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lVKi2-0006bI-Ce for guix-patches@gnu.org; Sat, 10 Apr 2021 17:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lVKi2-0002wq-9b for guix-patches@gnu.org; Sat, 10 Apr 2021 17:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47180] [PATCH] gnu: racket: Don't inject store paths into Racket files. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 10 Apr 2021 21:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47180 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Philip McGrath Cc: jackhill@trilug.org, 47180@debbugs.gnu.org Received: via spool by 47180-submit@debbugs.gnu.org id=B47180.161808835511251 (code B ref 47180); Sat, 10 Apr 2021 21:00:02 +0000 Received: (at 47180) by debbugs.gnu.org; 10 Apr 2021 20:59:15 +0000 Received: from localhost ([127.0.0.1]:53434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVKhH-0002vO-IJ for submit@debbugs.gnu.org; Sat, 10 Apr 2021 16:59:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVKhG-0002vD-BT for 47180@debbugs.gnu.org; Sat, 10 Apr 2021 16:59:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50861) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVKhA-00062s-O2; Sat, 10 Apr 2021 16:59:08 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42176 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lVKh5-0007Ti-Ux; Sat, 10 Apr 2021 16:59:04 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210316025632.9767-1-philip@philipmcgrath.com> Date: Sat, 10 Apr 2021 22:59:02 +0200 In-Reply-To: <20210316025632.9767-1-philip@philipmcgrath.com> (Philip McGrath's message of "Mon, 15 Mar 2021 22:56:32 -0400") Message-ID: <87wnt9zwix.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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618088407; 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=EbIjv9gcAORrwIELdiaL4TQNRy5h28pzQHLP1Mc8A0c=; b=rIa9NI0UgH/VHlenruNwkD7OrE+uwcYSHzpVETty9k+XAqcqoteh7vILZaBtY4JcBV4BZc HkzQzCVrd8wW4+eTfus0yXAbGY3LxtJDwEIGW3dUD5lX0vShnBDYCHURi8sjZtRFLtvzE5 +wHRJ6+Noy7CX2mtmj/RPh3MIhboULZ+gV3tERLuS2XB8LYm1DC5Vght/kQYBOFBSaamoF o6o08K2k9/AJXHY7T4tjUefT+vCOawx6Ls/EAzRCULbXRMbayi7ZKrfhrshdeRdxvC0WhN YJ02aYI98IvyMmxNGAvouvVTlFVG0UlF4qLIi1ZjdDBIEXlYgtd46ry6hseWbA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618088407; a=rsa-sha256; cv=none; b=tMrXgGjO2uP5tqia/AUcZJceMCKRyIUa0AF+BrjFWaOdcxOodwUFMlH42bd30Mdfy7wlu3 zLob8BuVEOCijRSL+o0Q6eqCipFXEIQcbdg4SG1IVLrus0Tp5MtbTDZdQoUnu87xHiT+Vo lJojtCgsbwTUNLRxxdm8ZPdER08B99TKxdzh71o3iy6TDZ5T9T3FcyMjXdggh640tJ36WU jcbJOkZbplt09kyhxEIJuA1VLqIshB6sM2UR6+sfDbw2rAriSNDBLRBVHrGtJrz+ls7mmN h0RlmkJvuTMfVNFuoEOVW+5X1yocwOIdr+rmmstjddHfWFtAuuP6t7EF/IR0aQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.94 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 6DD062AE44 X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6pkzExRRThAI Hi Philip, Philip McGrath skribis: > Apparently, during grafting, Guix can somehow mangle compiled > Racket CS files (.zo) such that Racket will refuse to load them. > (Maybe it has something to do with compression?) If those files are compressed, and if a store file name survives despite compression, then grafting can patch it, which could lead to checksum mismatches or similar. What error message does Racket produce? > So, we stop patching Racket sources with absolute paths to store > files (i.e. for foreign libraries to dlopen). > Instead, we put them in a data file that doesn't get compiled or, > in one case, embed it in C. That solves the problem for Racket itself, but wouln=E2=80=99t Racket libra= ries have the same issue? Would it be an option to instead turn off compression and keep doing things as usual? Thanks for looking into it, and sorry for the delay! Ludo=E2=80=99.