From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 2FR6Eqt7z2VkgAAA62LTzQ:P1 (envelope-from ) for ; Fri, 16 Feb 2024 16:13:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 2FR6Eqt7z2VkgAAA62LTzQ (envelope-from ) for ; Fri, 16 Feb 2024 16:13:47 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=LWST5FQp; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708096427; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: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=0U/kx38hU6RITJFZdXOOf+kb/k+R7e4plKDQ98s0YBY=; b=lwniSa/opYqF6jgrc6qsDSKPy5UPHB0pISaAmSa5FvDOp59qLIHyzSUCH/4ZOW6efDlv1c g1RGtz3/X7h5FTXf7UdH0P265UOSz95kzXPdFk594gLvJsu7JPzstK188inEx5BHsr9Ccx AUq/6jRgMGXfmq4Wwk5d9PmxX1247rfy3jyQRmcHoMk+/rqPxGyd0s/GHahAXLehJavMby Mq68A7nd3Uzv8FeU73EERvBlrEm2GnwXzbOzU+CLC6pCSICwmXF5Bh97K1Amto3rNhUQ82 dPyTk53BESwuszUbkn51xEfM2dAi5r0GCTRswsMnc9IQl5a/rykbAr87w+AWPA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=LWST5FQp; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708096427; a=rsa-sha256; cv=none; b=a3oCDdzGNopJut/n52XMD973K9lwlP4VIc5/W64RA03AJeZks5fzswEm5dfv0gqyXNhsjg TUpM5fQyJ2Dv5VcW14MrbQB8cnegpmc1OeNQ75/gJGOWT1/71gH7XKvFpwU4rFA90+zOr+ GEfrHWuwKMwNGN3T1CTnWUnlVOVTx5kelvzSnigQFmfEyeiid3PTV4AfIMJLWJnYC+FLYn bOlpBWC7S4Uz7N7efpOXjw1dsTmt+jnHarRdWk5anY5NBe0fVuMxZdfcr/JMreJanPo/V3 ZZoRlyAfYSLZOqas+KBLMcsTz147Pb2TC0U8O8tAE6n8XPSKngAhOKiKAtsFXw== 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 226B0771A5 for ; Fri, 16 Feb 2024 16:13:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raztT-0006dH-OQ; Fri, 16 Feb 2024 10:12:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raztO-0006bs-NA for guix-patches@gnu.org; Fri, 16 Feb 2024 10:12:46 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1raztO-00034S-8r for guix-patches@gnu.org; Fri, 16 Feb 2024 10:12:46 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1razth-0004KY-GZ; Fri, 16 Feb 2024 10:13:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67260] [PATCH emacs-team v10 5/7] build-system: emacs: Compute relative file names. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 16 Feb 2024 15:13:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67260 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67260@debbugs.gnu.org Cc: Suhail , andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com X-Debbugs-Original-Xcc: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com Received: via spool by 67260-submit@debbugs.gnu.org id=B67260.170809634116530 (code B ref 67260); Fri, 16 Feb 2024 15:13:05 +0000 Received: (at 67260) by debbugs.gnu.org; 16 Feb 2024 15:12:21 +0000 Received: from localhost ([127.0.0.1]:59909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1razsy-0004IS-VA for submit@debbugs.gnu.org; Fri, 16 Feb 2024 10:12:21 -0500 Received: from mail-lj1-f179.google.com ([209.85.208.179]:51401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1razsr-0004Gf-5V for 67260@debbugs.gnu.org; Fri, 16 Feb 2024 10:12:15 -0500 Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2d208be133bso10654861fa.2 for <67260@debbugs.gnu.org>; Fri, 16 Feb 2024 07:11:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708096248; x=1708701048; darn=debbugs.gnu.org; h=mime-version:cc:to:subject:date:from:references:in-reply-to :message-id:from:to:cc:subject:date:message-id:reply-to; bh=0U/kx38hU6RITJFZdXOOf+kb/k+R7e4plKDQ98s0YBY=; b=LWST5FQpULf+cfZqQ5GLHs1cStFPxlEPHwk3ZIuo9jbJKI+EFhFlrvQfwFnLikAXXP Jzuz3fM/sXzNK7iuK7jp387YaFctCBYl+qZ+4AiQobnCHDuBV07Hlchaar8K4yxV0SVh 0IAbjhMrp3oiXOMZffVU0cF1r9dYUGJu+WwUnTtdB3ZYgA/qJhLqMCC4SgHSbxqM6tY8 KY1d2LEFZhKWHjjTBen3Sie/IpuUXlf9jsWoprRolvx/SXv5wun9PbCR/AIMMzC0BQRA IIbDp99lSliGgPLoyHxX2IPNod6b+TDWtJydHwlmjoee2wlZEYBo3BiNojkJTgTH+LS5 gmDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708096248; x=1708701048; h=mime-version:cc:to:subject:date:from:references:in-reply-to :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0U/kx38hU6RITJFZdXOOf+kb/k+R7e4plKDQ98s0YBY=; b=qorVSeXrBuUKQSDjHj2ZT3X1gXTti8NHNyLnjhf7dgilJUHQ5+qLEMLJ4096lFtv7P wWyn9gsgV9qWkf67RDmtGzB/DfFl0ETMj3IONRQEf/MfhkcdNcJz0hdeVBpwnApMZIAO 8PCBSlipMQ25rvyVLNttH0bKEextcEAQ8lffxklffbSqKzvsFky/tvxiSipPV9T551Ym xPZDqZ8AZnxePur0AskGAwG27irJBsSge+J9uhSucgR/Swn3TX7cExwnDwKVKYoFGuds m8uJtpCyAVRew0JmIISnVmpj49KZcspFPwnRyrtd6GBdTYJKhTOt234FJ2X1rrbGeAn9 95jg== X-Gm-Message-State: AOJu0YyugbG+54kALu1oPoQ6Lh+/NRKNv/pbdhzchB6Q9y1XppqYgzOD P40KI1q/WQkJRjMmZ4X9SVmNKxprQSIzzkt3ccNRDfapuqi096R4UTez5T1C X-Google-Smtp-Source: AGHT+IGqlvuc/ODoKMRAAjhSQxEL9X6NfL0r4hj9jjgsur7lj5UK+8DqXOgLDlCxbBdHQoVOZjA4MQ== X-Received: by 2002:a05:651c:2107:b0:2d2:1968:bea2 with SMTP id a7-20020a05651c210700b002d21968bea2mr1941342ljq.24.1708096247834; Fri, 16 Feb 2024 07:10:47 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id o21-20020a05600c4fd500b00410ab50f70fsm2596052wmq.15.2024.02.16.07.10.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 07:10:47 -0800 (PST) Message-ID: <583c5ca9ccdc597fb9e1be59ed86193299d68715.1708096198.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Tue, 13 Feb 2024 19:30:50 +0100 MIME-Version: 1.0 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -1.01 X-Spam-Score: -1.01 X-Migadu-Queue-Id: 226B0771A5 X-TUID: e8yeubV348oV With the previous commit, relative file names are expanded relative to ELN_DIR -- more or less. To make use of this in emacs-build-system, we must also pass relative file names. * guix/build/emacs-build-system.scm (emacs-compile-directory): Compute the relative file names of the files to compile. Change-Id: I8983f80fb0fe1573e46748222403ba8873f1599f --- guix/build/emacs-utils.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guix/build/emacs-utils.scm b/guix/build/emacs-utils.scm index 8e12b5b6d4..eca42bf305 100644 --- a/guix/build/emacs-utils.scm +++ b/guix/build/emacs-utils.scm @@ -146,7 +146,9 @@ (define* (emacs-compile-directory dir) (cadr native-comp-eln-load-path)))) (if byte+native-compile (native-compile file - (comp-el-to-eln-filename file eln-dir)) + (comp-el-to-eln-filename + (file-relative-name file ,dir) + eln-dir)) (byte-compile-file file)) ;; After native compilation, write the bytecode file. (unless (null byte-to-native-output-buffer-file) -- 2.41.0