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 ms11 with LMTPS id 4HBIB6EhvV8BMwAA0tVLHw (envelope-from ) for ; Tue, 24 Nov 2020 15:07:13 +0000 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 0CIoA6EhvV9tYgAA1q6Kng (envelope-from ) for ; Tue, 24 Nov 2020 15:07:13 +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 5B65D940482 for ; Tue, 24 Nov 2020 15:07:12 +0000 (UTC) Received: from localhost ([::1]:36274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khZuR-0006Tw-3E for larch@yhetil.org; Tue, 24 Nov 2020 10:07:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khZuI-0006SA-3V for guix-patches@gnu.org; Tue, 24 Nov 2020 10:07:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49317) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khZuH-0002kj-SK for guix-patches@gnu.org; Tue, 24 Nov 2020 10:07:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khZuH-0004gt-MQ for guix-patches@gnu.org; Tue, 24 Nov 2020 10:07:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44775] [PATCH] WIP: Add gccemacs Resent-From: John Soo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 24 Nov 2020 15:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44775 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun Cc: 44775@debbugs.gnu.org Received: via spool by 44775-submit@debbugs.gnu.org id=B44775.160623041618019 (code B ref 44775); Tue, 24 Nov 2020 15:07:01 +0000 Received: (at 44775) by debbugs.gnu.org; 24 Nov 2020 15:06:56 +0000 Received: from localhost ([127.0.0.1]:60863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khZuC-0004gY-6Y for submit@debbugs.gnu.org; Tue, 24 Nov 2020 10:06:56 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:40520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khZuA-0004gM-MK for 44775@debbugs.gnu.org; Tue, 24 Nov 2020 10:06:55 -0500 Received: by mail-pf1-f196.google.com with SMTP id b6so8311041pfp.7 for <44775@debbugs.gnu.org>; Tue, 24 Nov 2020 07:06:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=uxxddvBLtxJyEgqGOjDbrwaerlWTSoCuuJHm41nl3kk=; b=OyVjb6FELQxVV5PbP3cWqOhDf73i/bp0nDnVV0RY/6ZcfNnsJ+z3h21D16t7NtQLo7 U7eclSNnCo8APCLNze34eU2bOp7IG4O39waAXnv1zoeLMqJr5MOvDsv1cP+MjogD8BI8 Gb85nqONUUsD/P/l5uZehIwjrHKWcfoZnBvBZtfc/jhvAuLcBX1LbPZRD9oNgFYRGvIP jxxxLv4TwbXTZ9UNaZpv799fWAnoUu4A+nIn+znH6MoWtrFu9rwBOgClDWcqajtROpG6 zkB4wuPN7FY88eBWBzCFS4JWASYdZpDu5jxgvlzowZn+mP6rG7glg8RGJsuovrql26mG Srrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=uxxddvBLtxJyEgqGOjDbrwaerlWTSoCuuJHm41nl3kk=; b=LyXttVlU5MQdvRF/E1czR7uP3tW4xlbc8s4ntLrj8G8PvN5aUQAe79fHgEMKMQtdqA oaDP/cXF4Sf+xd0cYMvkbp8oMHsugoKuhWg9aS/ihBrks41rW9mzkKMX49VeI1LOBrss Y4ajD+WodDdvGWfalDKtSJOvOhoQCFEuWAkQBfDKzovYGKixdnwEd9rkK+Zce6ZApWJR ldslK6iA5IXZhfoj6C33/8Gl61mXocv4CjwlhSxREE9Q58amqG5G1nSIXVJGQLNbCGac bA/AJNItf7O6Obe8aT7NTrac1x/G12UwxoLxB//I7t2S46pUs9ZS6RdAxXGGvBSqNL8T KDBQ== X-Gm-Message-State: AOAM530SvwJVO1rzYJYXYJHBOYUMdFj/U4LvcKW+0CTzoTb/t9p44PLQ kRUn6v8A1Ge8udUmuJVyqSjKSBHY3R497A== X-Google-Smtp-Source: ABdhPJzm45VN00rkfwEC6UwarbC7Ct9+37hDDXkCi3fIFPmB4jLT+bav6/nGYBb+Vqd5F5Gzz1kPwA== X-Received: by 2002:a63:484d:: with SMTP id x13mr3789577pgk.301.1606230408432; Tue, 24 Nov 2020 07:06:48 -0800 (PST) Received: from ecenter ([2600:1700:83b0:8bd0::7a8]) by smtp.gmail.com with ESMTPSA id q24sm3659035pjd.30.2020.11.24.07.06.46 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Nov 2020 07:06:47 -0800 (PST) From: John Soo References: <874kljnk8z.fsf@asu.edu> <86360zvhkw.fsf@gmail.com> Date: Tue, 24 Nov 2020 07:06:46 -0800 In-Reply-To: <86360zvhkw.fsf@gmail.com> (zimoun's message of "Mon, 23 Nov 2020 23:22:55 +0100") Message-ID: <87tutex08p.fsf@asu.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=asu-edu.20150623.gappssmtp.com header.s=20150623 header.b=OyVjb6FE; dmarc=fail reason="SPF not aligned (relaxed)" header.from=asu.edu (policy=none); 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-Spam-Score: 0.09 X-TUID: jVS05ia1oBjV Hi zimoun, zimoun writes: > Thanks! This motivates me to resume what had been discussed here [1]: > be able to somehow run: > > guix build emacs-magit emacs-foo emacs-bar --with-input=3Demacs=3Dgccema= cs > > At least, have a package transformation that allow to rebuild all the > Emacs packages with the =E2=80=99gccemacs=E2=80=99 VM instead of the curr= ent Emacs 27 one. > > >> It feels fast but there are bugs and the closure is huge. Also these >> patches do not use any of the parameterization machinery. > > What do you mean by =E2=80=9Cparameterization machinery=E2=80=9D? The new > =E2=80=99with-parameter=E2=80=99 introduced here [2] or the package trans= formation that > replaces all the dependencies (explicit and implicit). > > > 1: > 2: I am referring to https://yhetil.org/guix-devel/87eeku8trb.fsf@gnu.org --with-parameter=3Dgccemacs or similar seem to be required since the native-comp branch requires a different source, configure flags, and probably native-search-paths at least. There appears to be a separate compiled artifact directory under $out/lib/emacs/$version/native-lisp/$version-triple which has the compiled native libraries (.eln files). That directory seems to not be in the search path. That appears to be causing the first error I see. I am not sure which env variable would be tweaked to pick those paths up. Hope that helps! John