From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id YL4vKtTDy2V60AAA62LTzQ:P1 (envelope-from ) for ; Tue, 13 Feb 2024 20:32:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id YL4vKtTDy2V60AAA62LTzQ (envelope-from ) for ; Tue, 13 Feb 2024 20:32:36 +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=cGWrrSYN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707852756; 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=jTPWNvvdlpCJ2Owe6gOraiJ/EMoEkfXAQg9HSrTxcN+iLnCZKAgmw4USW3+I/2TIIUqe+D RkN/md6G31LXtxKjEOXa0jDlkfvYgyEwhQRpxAPeR3D7g2eqDid9Ye3uEJo3zn4f2wdNVq qhTQS5zyapDKSvA7II5Hw4z4qxeAozUTEOAd8dY/x6enyYY05Pdvt9S5XXRLd50oc7M1Ye c0xW/Hv9y2lXVlwWLItfyOYU28JtXcsV+ZNehdnPQ7yv+7H7pufCInMeBznzKrPn9bgxHi Ix9XTS71vbPcdHrJWih/0MVaX1SIUIYTJRLa5XbEi03C64Q2lGUQdNAKub+ybQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=cGWrrSYN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707852756; a=rsa-sha256; cv=none; b=HO+XmjPhP4Fe12BjycOfEXm7WIlSZtXabjU0YlcJKbD/1E746cgGODxZid0OubUBp49o7F p4hV7w/a0HhckWWLV/W4n1VH7y9J7Xnlu+zvXyFd4PVqunXL8RPMZ4j8UzBVtFZDDVPoFc OirA2PUyhtNJGDc9BuADBk6a/Ur7ejPdwHgKU8Tt64AKeki1USRWDZdM/TOuhXZyXNikas vjigKJD+y0r6jl1SbNN10z+UDc5TaCwt5BNZNwzruHnYSIDTNxW02izCGCiAk9EHcV3y4x J0mAI2kcUFvSPRKDyIcdD0HVKr3RafxTVi9IKxpxLDtv1KeNG1MONpKefmaQiw== 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 8E0081F678 for ; Tue, 13 Feb 2024 20:32:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZyW2-0007te-HD; Tue, 13 Feb 2024 14:32:26 -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 1rZyVX-0007qx-KI for guix-patches@gnu.org; Tue, 13 Feb 2024 14:31:58 -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 1rZyVN-0004Gh-Us for guix-patches@gnu.org; Tue, 13 Feb 2024 14:31:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZyVf-0004GB-G7 for guix-patches@gnu.org; Tue, 13 Feb 2024 14:32:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67260] [PATCH v7 5/7] build-system: emacs: Compute relative file names. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Feb 2024 19:32:03 +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: cox.katherine.e+guix@gmail.com, Suhail , andrew@trop.in Received: via spool by 67260-submit@debbugs.gnu.org id=B67260.170785268416271 (code B ref 67260); Tue, 13 Feb 2024 19:32:03 +0000 Received: (at 67260) by debbugs.gnu.org; 13 Feb 2024 19:31:24 +0000 Received: from localhost ([127.0.0.1]:47411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZyV2-0004EG-C8 for submit@debbugs.gnu.org; Tue, 13 Feb 2024 14:31:24 -0500 Received: from mail-ej1-f66.google.com ([209.85.218.66]:54461) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZyUw-0004D2-Bu for 67260@debbugs.gnu.org; Tue, 13 Feb 2024 14:31:19 -0500 Received: by mail-ej1-f66.google.com with SMTP id a640c23a62f3a-a3832ef7726so564141766b.0 for <67260@debbugs.gnu.org>; Tue, 13 Feb 2024 11:31:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707852595; x=1708457395; 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=cGWrrSYNEVAOevKGkjDPbT2MejlDiD3jPVeFtWlPW7c2f6wgbyguqdidnANHIK8EA5 GPTmZdJj/DF10wApSjBfYyOeaKpNX9g1/V0K9DJI7q9sZNyi7TDfKDHTlKOlSPWNC3Vk SQeFm1NjqoCjNGPo/l+BnrPJZAe3QppRVHJTu2uv55ORcKlHVbTAT3Jz0QPFCH2qNBEF yqnYttH0cQ+g3gFZuc8bTbDi+fGsiT4wN1UHiBXliGrjt9Chiuqa8sSKGwVZzZ9e6sZT NPJocpvOtH7TB5IflmQ+XKEJQidzEdD2PmXwP3UBOHSCHpSkI9g4p+iNAZyLaa1qwG0C tL5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707852595; x=1708457395; 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=eYxltGf+FU2H7WqkEMhVUdiv2VxFXTsFX3iPBGV34oAckBxYPhjBjjOnKXydshxSJR ZT1mh93PFfXSM6oNlVTMTILho/LzuuLXu72P8CHk3DStsPhDPsMNa+hZSiKD07RhMFFq 1a+HNWELGfpZV6HtZzh6ZKeJ1pGPbHL13B/h8QPFbVC1CXNN0btV/LEAvCYfAQi+4KGo QG4Y5gXwvU5xoqHTfzAkuHA18THLz+QZh1Q6B3ka1sFwm7fSPwJSEgeBnnQsP6wIaelo BzNd/Y12hy56+u/6cpofAFTQ/V+4oBBdNwSm5ENY8/XhsRY8hRFssX1KmJxjUnZnBJ5R Dzmg== X-Gm-Message-State: AOJu0Yz/IeScWcR3xuZsti1YyXC+UFguluZDsj5BQD2tphEUT387RUxs P3YLECKQ2ocgIjlBRbsW5AjqDaP5rHUs9PTYZpkpiKgvbyQDTBRA1JI51SHhQe0= X-Google-Smtp-Source: AGHT+IEULKh7FQV54+q/xeZbyOARAdIF+hDQfhTXl+AZITegACfGD2sxABPOa1U4c/pe136+/HRILw== X-Received: by 2002:a17:906:f0d1:b0:a3d:1771:26c6 with SMTP id dk17-20020a170906f0d100b00a3d177126c6mr247852ejb.2.1707852595112; Tue, 13 Feb 2024 11:29:55 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUT2KGqEAiReydhQKPn7i3L2jYYIbhxXpFzSXcyQjPEXZ6cIr/2JanQbJ7CzBt5izDZjI6mTvrslzy0ML0Hvxi28PwLJGpTVjss9sCjv6m6TFZVeMMdb7vs+vDYG+Ls Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id sd18-20020a170906ce3200b00a3c456b0c0esm1573041ejb.108.2024.02.13.11.29.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 11:29:54 -0800 (PST) Message-ID: <3604eaa2d70ad07a9c80c5166f42fad536b63a77.1707852049.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-Spam-Score: 4.02 X-Spam-Score: 4.02 X-Migadu-Queue-Id: 8E0081F678 X-Migadu-Scanner: mx12.migadu.com X-TUID: Whjko7aKFZX0 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 KBwxOvLYy2U6rgAAe85BDQ:P1 (envelope-from ) for ; Tue, 13 Feb 2024 22:02:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id KBwxOvLYy2U6rgAAe85BDQ (envelope-from ) for ; Tue, 13 Feb 2024 22:02:43 +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=YidwCDlg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707858162; a=rsa-sha256; cv=none; b=mlcFdc6hBQv++3eJ/2ktcgSfXUR+UTAuyPzzlT8CcbBSPtMbQd9lDA/Qv1hQ11GiELoedb VZOZ346StOuQiW0H6b5/rIrtzov+jGW9tff05VaFcLwdOqilbY0S4vsBngW2nkBUz4sqX6 i/qYNC0csHOZmxTYewhS0rObBFCIZQcWFR0FW+d/hJJQtKbDVt1iaoZ4emctzHfeISyO2b e0sBRQurLxSaMbVw+OFHZ0hpL4SPvCjAC+e8mFwPj5Z7RbE4/XdAfkqSsAQFH9/WxaWbPu BSnDzStwZqeZHUVAX2rBWl7fJeD81mYDlDR9fGUEwUvHJKLJcBsdzVSkXgSU6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=YidwCDlg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707858162; 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=rNBM1sj73uvfhROz5jrP3JMq2X4QF/JngBNbWBTzzTgtqUcRFv95w+M8WeaAB6Hz4Vgxcr BilGbslpmysFTlq4PZyUdY7flSxyhJk6HOqGP+a9+aOlO4rLD1pjrnR6mCERDfi0yHR31k rVsDZUxglPO2VSgq98miGs0hcZbx+wtoc9dlIoTQSLxgMllMA4b3G1KXpV1jLK90YKBWdv keGiDNAFX4nCr2xcjLFLQUZQZz4CWCrZxNCSlF53u28hPSfw/Lma2+RNUwPX8un+91/gNs yQ82AQbL1nNp0xWCwve7zRj/U8e8nlHiyjzNuFKA9ipxkCDK+ChAV9oBT1WYLg== 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 D87C89B68 for ; Tue, 13 Feb 2024 22:02:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZzux-00046r-F3; Tue, 13 Feb 2024 16:02:15 -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 1rZzuU-0003wD-GH for guix-patches@gnu.org; Tue, 13 Feb 2024 16:01: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 1rZzuU-0004Qt-7C for guix-patches@gnu.org; Tue, 13 Feb 2024 16:01:46 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZzul-0007o9-QV for guix-patches@gnu.org; Tue, 13 Feb 2024 16:02:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67260] [PATCH v9 5/7] build-system: emacs: Compute relative file names. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Feb 2024 21:02:03 +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: cox.katherine.e+guix@gmail.com, Suhail , andrew@trop.in Received: via spool by 67260-submit@debbugs.gnu.org id=B67260.170785808929847 (code B ref 67260); Tue, 13 Feb 2024 21:02:03 +0000 Received: (at 67260) by debbugs.gnu.org; 13 Feb 2024 21:01:29 +0000 Received: from localhost ([127.0.0.1]:47912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZzuC-0007lE-Ho for submit@debbugs.gnu.org; Tue, 13 Feb 2024 16:01:28 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:55752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZzu4-0007jW-FB for 67260@debbugs.gnu.org; Tue, 13 Feb 2024 16:01:21 -0500 Received: by mail-wr1-f65.google.com with SMTP id ffacd0b85a97d-33b28aadb28so2991749f8f.3 for <67260@debbugs.gnu.org>; Tue, 13 Feb 2024 13:01:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707857997; x=1708462797; 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=YidwCDlgT0aWpM7eKEgpPW6RYLGh5YLsG1HqVVCizZxEDHnrP9f9tU2nQIGNCRfean CrRzyUtMxNdGlEkuxzS0+c/Gazvnw9CrzoHSIFltkzgOsH5YUju3t10JsnCIgs8ZLPi4 8NP9ygfwHIYB92R9TY/wu9Z1l7A1qZGmgnirVrUwdsnNEqGMKo+xFJ3rwhMd7zAHKwIo rXN+MguqNDC05L8364LHDNa2A7f/WUbltMSVC/tqaqctXtnH5eXPQIm4bdG7ioOS0QOw 5xZNJzBwUmtycGZifJXOVUSAV/dnigryFujAXDs2UNnoh1DjJN9zR8MSyCW7WhJkhbqu UtUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707857997; x=1708462797; 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=PToQuYAiiGzeAU85Mqb7wP86Ngpri1Gu4Q6/UsG0qoPACwSr9LOIBaTdfTp56qrekV AdnMEZ0akYSL4LOi7+Bt1udkEuHIi8+Y9GAjqNiQgAUbslfJWYXYhPb4VzMEzllmWqDQ ptm6TUeWEVHo+iXbFMbR2zpaGhdgLFShxmTo3zDkiYqaT+KeJ+F4dW021AT12W9Vs5mz ZhLHLLDHY5vb6O/8OxV1lIJLc/j1guvw6j1nsGQJWAppvZ7a7Wg/Lr8MA3JR5sjaYw7g xKkSPR9QFlIh05cZMkzec12HKz3RZRNr3SvwXJmjM2nS7y5hSmBS7yM2ieo66DI1gyn0 2bsg== X-Gm-Message-State: AOJu0Yy/bnYebz40nZ5NHKzxd0RY2VAF+RWTp31ot2RwT48dA8OKnnHM BP1DgXOpbB5IX7PGZuUxgxfOnaCuLF+5kj5aMh8SlMLXSeInepl4plrTcBBeJJI= X-Google-Smtp-Source: AGHT+IGurhgSxd7pWVUL4Qy6zpmQfK+SyqF2mSH0NEcHBjlT5mbEjh8CG/LKS0xl38izruoOUd2iqA== X-Received: by 2002:a5d:514e:0:b0:33b:4ac7:224c with SMTP id u14-20020a5d514e000000b0033b4ac7224cmr293842wrt.13.1707857996351; Tue, 13 Feb 2024 12:59:56 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXAgwmiIZsRqr53Y1J1O21A6Hp3G6R5Pcl9WO6wr1tYcqnBUBrN+C4Tql5aA4vZrbXqKEBbwx9hi742Xrd79aPp/uXoMNjy3dldiyPHmzMK7EcWze9VN7gthk5gTC/g Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id bn5-20020a056000060500b0033b3c03053esm10686642wrb.78.2024.02.13.12.59.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 12:59:56 -0800 (PST) Message-ID: <3604eaa2d70ad07a9c80c5166f42fad536b63a77.1707852049.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-Spam-Score: -3.88 X-Migadu-Queue-Id: D87C89B68 X-Migadu-Spam-Score: -3.88 X-TUID: CX7NGSYWMkfJ Message-ID: <20240213183050.UvG-VrVH-DTr_WTcw-m64XEMBcW2TdggBMphCQxrfm8@z> 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