From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id trlyNq2QeGLIPwEAbAwnHQ (envelope-from ) for ; Mon, 09 May 2022 05:55:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kKpsNa2QeGJbzAAAauVa8A (envelope-from ) for ; Mon, 09 May 2022 05:55:25 +0200 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 7D5CC36035 for ; Mon, 9 May 2022 05:55:25 +0200 (CEST) Received: from localhost ([::1]:56964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnuUW-0001xr-4g for larch@yhetil.org; Sun, 08 May 2022 23:55:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnuUA-0001xe-1E for guix-patches@gnu.org; Sun, 08 May 2022 23:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33504) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnuU9-0003zX-Oj for guix-patches@gnu.org; Sun, 08 May 2022 23:55:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nnuU9-0005xI-Nh for guix-patches@gnu.org; Sun, 08 May 2022 23:55:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55248] [PATCH v2 2/9] gnu: racket: Fix out-of-source build. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 May 2022 03:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55248 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Philip McGrath , 55248@debbugs.gnu.org Cc: Maxime Devos Received: via spool by 55248-submit@debbugs.gnu.org id=B55248.165206850022882 (code B ref 55248); Mon, 09 May 2022 03:55:01 +0000 Received: (at 55248) by debbugs.gnu.org; 9 May 2022 03:55:00 +0000 Received: from localhost ([127.0.0.1]:55634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnuU7-0005wz-AX for submit@debbugs.gnu.org; Sun, 08 May 2022 23:54:59 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:39902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnuU5-0005wP-50 for 55248@debbugs.gnu.org; Sun, 08 May 2022 23:54:57 -0400 Received: by mail-ed1-f67.google.com with SMTP id g20so14787690edw.6 for <55248@debbugs.gnu.org>; Sun, 08 May 2022 20:54:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=Ife20QqKUJ/uvxpg37ZQM9hAfbNAF1fVe8MYKdAmtA0=; b=fM6t9972EXiOTiO1W31oGvSD9Y555O4t0Y6ExJePlYokmNYsiMg1m6k+RKlyiWTl0F 4RyBHxsMJ16cHwpJvr02dWJNu5zz79fqUQ57/nuyHnt5M/picKD/9tAfwBs/Y9VKtnlZ Q86ch7TH1YXRdesfEeph6i02ZeSr41q/M9FhEJOM1jGVnY6hCY+I1/ySvWBJrFDlpyKi 4ZmpxbTj+8jamV8/n6/budUXkh7O4pUoq1sn/gnwsZtbsw8kEUgRjWraP7uFays6NXUW F+BhKg5IVeAkHHbNeE7ee+ZwL7WAIFi+Ob8VJZTE7SnkQb+S4CQfEyRjd4SUFvtSnbfq EMCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=Ife20QqKUJ/uvxpg37ZQM9hAfbNAF1fVe8MYKdAmtA0=; b=I+cnfFNkJmQ711WBGI2b0/ZYwgZzPwGLoIeP51BuPATddXi9/d+lRiEgmgGX2r/TTx zGdH8YX90bapkHQ+SCFjLsR06qtiJBwJWX4D4qHG3rMv3e9ytDlAz44XCgqwwf3ql1cT hU4cjjh/Lm27inUBEHpkBTZcrHgIlz3DDQyM+9kHnk4JTBAJ+xPdkcFkDVz360jYZN/k uIXQCn5AClExE05FB2Boado55X9ajbs0gkF3uFppW23orG1/e3jv+oMS/joPqU5dD4TJ gSA4y3Ep2wNP7pAdWzjSe2TZa+uMBzQ1QSkSugBmJURBDT/5KkCWYhBCGiEXeE5AWXWz oXdg== X-Gm-Message-State: AOAM530jqSagn+C1RuBKkGNdFmYpi62EdGhLhe2wg9cbMWiIFSnFooyQ d6SlzzPLWOlFCTdNJDYzhfc= X-Google-Smtp-Source: ABdhPJxYoE+EMSh8tXOMbX5v5LhIr1C9UrittQwtpNh98cfCCkbf2FvC/zB1M5kWlCzmYG/jEP7FCw== X-Received: by 2002:a05:6402:1941:b0:413:2822:9c8 with SMTP id f1-20020a056402194100b00413282209c8mr15277104edz.13.1652068491034; Sun, 08 May 2022 20:54:51 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id b6-20020a50e386000000b0042617ba63c8sm5800466edm.82.2022.05.08.20.54.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 20:54:50 -0700 (PDT) Message-ID: From: Liliana Marie Prikler Date: Mon, 09 May 2022 05:54:49 +0200 In-Reply-To: <63d9ad60e39d8315f493b0ca49517f21fb320575.1652039837.git.philip@philipmcgrath.com> References: <63d9ad60e39d8315f493b0ca49517f21fb320575.1652039837.git.philip@philipmcgrath.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652068525; 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:dkim-signature; bh=Ife20QqKUJ/uvxpg37ZQM9hAfbNAF1fVe8MYKdAmtA0=; b=E0utPFcNnSh/KyqLDT3VLOxeRfMWT7mKMLm672NCKL+SCfT8YnIha/hx3idfs3EwrH4+Gg sugEzre2rARfCOcudXU9ntXgbRwCi1QXWxaEqY1ZwodXkQKFM6IIWqsqFDf0FwyJhlMj7g EKzUpuXr5857rh2fK6JF2m5/ybnGSviaCQpDwwRPqx1BWDx0QXYnWecBugVefMNZAe8jOK DrrSi5Vl4jaRDGu8wj/fkr4UiXOShMyLd8uRDr2kBWYL0UwavxleIUvawx0/uWwwExpxJS 2UBPFCLtVQ0n/zC7XosT3G/nyZJGzgJ3jqFLOJ7ghVr01zqUeMOieC+DHZmYDw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652068525; a=rsa-sha256; cv=none; b=CZ0KvopcPiqjJ6r2dAS0Nljii+jvlWrvD7/wosyPTPrJkK35cyQTN+4BeapvjdFdlF5Yz7 rrAaWrQZappT6Fcn7djMJP0DHIJNlF7W5dNgNreDnkY+HfthDEqjFc8eOlly1/nza+SWR7 o5RWZuvWYfgmDaxdv8zIMrCZLXz3E7k2bWa3OiUb6blL1rsTI8KIoTtbMOPxql9KYqKRJO NXIfi5Dopm0x+BN2Qm+i0lBdsG2EEfj/KkmswCWTV4xQZk5+sg9azJlt+pnWgTvlTS9bSh V/XCVH+FCIpBpsAYFWon4RqofPix4syeDBs2nwbBQVtulLv8wGBfRtxOSLZbGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fM6t9972; 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" X-Migadu-Spam-Score: 6.50 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fM6t9972; 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" X-Migadu-Queue-Id: 7D5CC36035 X-Spam-Score: 6.50 X-Migadu-Scanner: scn0.migadu.com X-TUID: /KDzEoWgqql4 Hi Philip, Correct me if I'm wrong, but I think you didn't quite get the point I raised w.r.t. install-license-files. Instead of Am Sonntag, dem 08.05.2022 um 16:07 -0400 schrieb Philip McGrath: > +           (add-after 'chdir 'symlink-license-src > +             ;; Work around limitation of install-license-files by > symlinking > +             ;; srcdir where it expects.  (It doesn't handle this > variant of > +             ;; #:out-of-source? and a subdirectory for srcdir.)  > Just running > +             ;; `make install` only puts them in Racket's 'share- > dir'. > +             (lambda* (#:key out-of-source? #:allow-other-keys) > +               (when out-of-source? > +                 (with-directory-excursion ".." > +                   (symlink "src" > +                            (package-name->name+version > +                             (strip-store-file-name > #$output)))))))))) you could (replace 'install-license-files (lambda args (with-directory-excursion ".." ; perhaps "../src" if needed (apply (assoc-ref %standard-phases 'install-license-files) args)))) If that doesn't work, you could fake an "in-source" build by appending "#:out-of-source? #f" to args. Cheers