From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +B2OAeyBSWPWWQAAbAwnHQ (envelope-from ) for ; Fri, 14 Oct 2022 17:36:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qBG0AOyBSWMpQwEAG6o9tA (envelope-from ) for ; Fri, 14 Oct 2022 17:36:12 +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 9D692CAE3 for ; Fri, 14 Oct 2022 17:36:11 +0200 (CEST) Received: from localhost ([::1]:48278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojMjK-00025r-NW for larch@yhetil.org; Fri, 14 Oct 2022 11:36:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiuZO-0001Hv-NP for bug-guix@gnu.org; Thu, 13 Oct 2022 05:32:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60485) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiuZO-00069O-AI for bug-guix@gnu.org; Thu, 13 Oct 2022 05:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiuZO-0004Uh-68 for bug-guix@gnu.org; Thu, 13 Oct 2022 05:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57878: Minimal reproducible setup Resent-From: Max Brieiev Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 13 Oct 2022 09:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57878 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Liliana Marie Prikler Cc: Konrad Hinsen , "Thompson, David" , 57878@debbugs.gnu.org Received: via spool by 57878-submit@debbugs.gnu.org id=B57878.166565348517206 (code B ref 57878); Thu, 13 Oct 2022 09:32:02 +0000 Received: (at 57878) by debbugs.gnu.org; 13 Oct 2022 09:31:25 +0000 Received: from localhost ([127.0.0.1]:59559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiuYn-0004TR-7L for submit@debbugs.gnu.org; Thu, 13 Oct 2022 05:31:25 -0400 Received: from mail-ej1-f42.google.com ([209.85.218.42]:45954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiuYk-0004TC-UA for 57878@debbugs.gnu.org; Thu, 13 Oct 2022 05:31:23 -0400 Received: by mail-ej1-f42.google.com with SMTP id sc25so2568100ejc.12 for <57878@debbugs.gnu.org>; Thu, 13 Oct 2022 02:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TPG+mnJullxpjhI6x0F7vLqyM5/o8FD0fx7KLGEeAPA=; b=EafNb9HaVtRORll++M7GTCMlxPzKKoRmwAk5kyZ9vk+P0eki2Ju4Hsf2cWhMlSMr4C rRPQi0bVb9Bb/pD41PqSQWTG/pYhmL9rCPvFv2N4av5fNPQF+92KoAlVBtS266snkQcd FaJt0WzHnbDTa7DPIKKhtlX8O4wHLEvZ3iQvHFOtO9ZTWN1+P8dqSK6NoMtKZwqKMgwR bBj5fMlV8RAV5JARZQnteP0FRaIRwW/nZV/+3zqC68py+GMREVxB93bme4IYvrNs42jK +CSuJH9PGj+bCzyY/Wq6ifeMbhQtB7lylew6ONDYUcBADWtCypab/mjscHiujW6F+yap Ju3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=TPG+mnJullxpjhI6x0F7vLqyM5/o8FD0fx7KLGEeAPA=; b=FCyf13mLuazqAnFyspXlNw+/jQC9BIqK4aHZJ9UDa+UAyvnZhMbLsnZuJz6Y41ag0F NFnnk6HTGvQbpPAL6EOdhXbOvNgXXzd9w74OCnuCk7BETEPjJNV84lgpbQLVviCIJixE yKhPDfqdLbvse/Bm73E27a4FMUyyOVeGe+gWFkhRxo9ncB9FztRRoYIYrOizwGBNr8Xs 8YjGqVBF1/SQ5Q7h2y+MZMLM1IrsuMSk0Ieryk4TGywVWtoA9sEaLlmKtxIqieDCi1rg uiE2sgNQMjuoQRdeCrB4ftUGTOIL3EBF72IwjIz2HLv3CRHSukKJtimEDcNISepDeytL FMUQ== X-Gm-Message-State: ACrzQf1hfcSP5G6KFkOjs9YDPwOrANHlGp8YDiPkZ2rgajNh2zVXuMdp Gp2LgRAgTD5JKrRFP3PJ9mcjfaBfoo/Jyg== X-Google-Smtp-Source: AMsMyM4JKUmTrSvxiXnxBwSbQYjUsJdSlfYGA+FprY77fDjiZvB5w24E6R3zGCcuNNB0BXBtR4UOCA== X-Received: by 2002:a17:907:1c96:b0:78d:fe6b:9891 with SMTP id nb22-20020a1709071c9600b0078dfe6b9891mr3874747ejc.746.1665653476545; Thu, 13 Oct 2022 02:31:16 -0700 (PDT) Received: from thinkmax ([109.251.233.9]) by smtp.gmail.com with ESMTPSA id u24-20020a17090617d800b0078135401b9csm2687120eje.130.2022.10.13.02.31.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Oct 2022 02:31:16 -0700 (PDT) From: Max Brieiev In-Reply-To: <6873fe86a05a548e7427d2de7df04a27a967713a.camel@gmail.com> (Liliana Marie Prikler's message of "Wed, 12 Oct 2022 21:42:57 +0200") References: <12eb8b51fe6c9508517e19bdeed923c389cafe1f.camel@gmail.com> <6873fe86a05a548e7427d2de7df04a27a967713a.camel@gmail.com> Date: Thu, 13 Oct 2022 12:31:14 +0300 Message-ID: <87wn943w9p.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) 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-Mailman-Approved-At: Fri, 14 Oct 2022 11:29:47 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665761771; 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=TPG+mnJullxpjhI6x0F7vLqyM5/o8FD0fx7KLGEeAPA=; b=hvsUOJc12ndpkgg/jIcLF/mlTJNvaFgAk5uQRZwVJDxkRz9z7O6VOy2XUdXLA9GeWXyEhp qNMlrYs7iVUtjf+VLgLmU/7Mu46RN8+pAtrAe1q3qDHXCnbRNDGJFbVisPvHt5A22Bl8tk fFmqHLklKWZtqArBjLuzWlhjBBy+0a3x1MELU7nzWq6SYkXGDVDzhBhjKTYCzP5ZiRnegI JxDMn+58+xzzeUq4a1Bchyn70UsbHmDy2bDzxIRYpprCfn46WWmgfaGCwYdfNZ5nXBBvvC 40a8nVLvdZGnS5MZPaXELKBJu6wFPBnC8TjupT/WlzhtroQThuWZvc3CNoXxiA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665761771; a=rsa-sha256; cv=none; b=Z8mZyH44cgD8wqgcNA4JC9J16CC1AFqNpjw5Cyt3i4z/gKEXeCTZFi5ngigddZw/DizCy7 6ETmCDpFq13UijCbQ6C17aibLixhc0jTOOlSqoq2qP/BYkraEvrx7p5YgWZWFdYTV81m5q MGGESb4DzvIqXXAvgqHvac00IFd4sZXYwPKPxaaw1LBuNQbDco27tSGdqvU5t4SeLAOr21 KRUEhVrvHoJOqQVJQs8XJ+JUjr6GKijAvcCmjN7c1QkCm4dfqpCzMTUvAQwgO7QHfG9vkC FBqURlSUv/DPAOPzKrkRG1ewJPQ56Owx9F16jabH4fvrRy7I+xvHkBxjh8y1yg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=EafNb9Ha; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 9.01 X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=EafNb9Ha; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9D692CAE3 X-Spam-Score: 9.01 X-Migadu-Spam: Yes X-Migadu-Scanner: scn0.migadu.com X-TUID: 6JD49ze1+vrv Liliana Marie Prikler writes: > From personal experience, no. Even if you compile code ahead of time, > there seem to be some leftovers that are deferred. guix-emacs.el is an > oversight, but apart from that I also other leftovers (possibly from > init.el?) AFAIU, the compiler is invoked any time a function is redefined or advised, see (info "(elisp) Advising Functions"). In Emacs it is a very common paractice to put advices around a function to modify its behaviour. Since this happens during runtime (for example, in response to a hook, or after you manually run some command), you should accept the fact that native compiler may be invoked at any time as you use Emacs. > In Guix, this is more or less a user choice =E2=80=93 we advertised the > transformation by which you can opt-in to AOT compilation in a news > entry. Also, enforcing ahead-of-time compilation does not fix the more > pressing issue of packages breaking with native compilation ;) How pressing is this issue? There are literally no reports of packages breaking due to native compilation. So this is probably the reason why Eli considers it as a non-issue. > To quote Eli: >> More generally, we never expected people who have Emacs with native >> compilation available to want to disable it. It made no sense to us >> during development of Emacs 28, and frankly, it still doesn't, at >> least to me. > I think this reasoning really falls flat in presence of any non-Emacs > package manager. Like, obviously wanting to natively compile packages > managed by (dpkg, rpm, pacman, emerge, guix), but not natively > compiling a random elisp script you just downloaded from the web is a > legitimate use case. If security is a concern, you should not load random Elisp in the first place. It is much easier to just directly run harmful elisp, then to exploit native compiler, which stays silent until after you evaluate some (possibly harmful) elisp.