From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Max Brieiev Newsgroups: gmane.emacs.bugs Subject: bug#58429: 29.0.50; inhibit-automatic-native-compilation does not work as expected. Date: Tue, 11 Oct 2022 10:21:45 +0300 Message-ID: <87v8oqj052.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34129"; mail-complaints-to="usenet@ciao.gmane.io" To: 58429@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 11 10:02:34 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oiADi-0008gc-6u for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Oct 2022 10:02:34 +0200 Original-Received: from localhost ([::1]:46542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiADg-0004l3-Ly for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Oct 2022 04:02:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oi9ak-0003h3-RA for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2022 03:22:20 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51650) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oi9aV-0001Fq-0g for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2022 03:22:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oi9aU-0007lp-KG for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2022 03:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Max Brieiev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Oct 2022 07:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58429 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166547291829855 (code B ref -1); Tue, 11 Oct 2022 07:22:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Oct 2022 07:21:58 +0000 Original-Received: from localhost ([127.0.0.1]:50728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oi9aP-0007lT-Oc for submit@debbugs.gnu.org; Tue, 11 Oct 2022 03:21:58 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:33318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oi9aO-0007lL-7c for submit@debbugs.gnu.org; Tue, 11 Oct 2022 03:21:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oi9aN-0003U9-RS for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2022 03:21:56 -0400 Original-Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:43774) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oi9aL-0001DY-GS for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2022 03:21:55 -0400 Original-Received: by mail-ed1-x533.google.com with SMTP id z3so17863872edc.10 for ; Tue, 11 Oct 2022 00:21:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=P+4FgLCvKZSi9WEq4zGPMcp8p3gO5ajkNUzyQCcDWG8=; b=EmrgHyjNMOzZ7hJ8mHdJY85VPYpkGepcSLG2UWfoISYuqaiAU3URVmOQfjWMLONaBj OOts01ekbzdUtZDa4mVA+rFktSQrncVl9Ihp0DHds4P0jOf8yHz7cVsrk6fq5VXQOfnt PPY56nYUh4L9qpIicCis6AC0cqOEfdl8DVGqUbknS2DU4useB/7Rt3CotYXIghCOPgRD 4JAROoxfLaDLDVXmb4pRuP6HLs981GaNztk/c6UjZB9ZSoQkfgyuFAwUtZRkwVnvqJq7 ZdWMCTzNBlRs45cYMOXPMLV5uDoxtGWPCiuvHdvAc9AabVeijPzdHHEdOWjIfQE82B5C ZpCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=P+4FgLCvKZSi9WEq4zGPMcp8p3gO5ajkNUzyQCcDWG8=; b=zHmqBnpYz08sw84O2ANKyCpiTo7s6pAlzlN6fw4D0qiNaIE8TBEMITpIo0TVYqbAXm pTyCw3sWlN5iUt2rmJ7E3YEjrDnIVNrrgBNo8bYX+nuaiMkpvJlUsETUM51aRJf60VYB R8VHnKJHNTDQFjwm+vvMHOnMY1U1tJbiknc+AN7nrxKaNrz986DFqcfuqtBNp6ZZ7ZrC Yxplnl2bhppz9vkYEsuXdE+Wk/txFmhqXsmBQSKEQlQdhRl7B3GR7ggrLT6A8kE4ZKBG SSVyrLT9N2ov7PyLwZyHRCS0k8L5VsVUIc+1acc3B9ZUAMsYmPCk6cytiasqnpKMlIdV SFZg== X-Gm-Message-State: ACrzQf02VG7NDUbHADCuXS6tTsgmulWA3JVUePKI5OEYjy17dqLGQmfR uDJkRR/qzooqov+QCP4ieXcGMMx90yk= X-Google-Smtp-Source: AMsMyM4bZG9ctlMR4ieOcMp/8L+QNs8YFSpewuIgeuuN9Ggfj1IhfoAkcvuXMbJckz74F2VuqSeU6g== X-Received: by 2002:a05:6402:909:b0:435:a8b:5232 with SMTP id g9-20020a056402090900b004350a8b5232mr21434875edz.240.1665472909136; Tue, 11 Oct 2022 00:21:49 -0700 (PDT) Original-Received: from thinkmax ([109.251.233.9]) by smtp.gmail.com with ESMTPSA id ti5-20020a170907c20500b0073d9630cbafsm6407919ejc.126.2022.10.11.00.21.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 00:21:48 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::533; envelope-from=max.brieiev@gmail.com; helo=mail-ed1-x533.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:245092 Archived-At: I have configured Emacs with --with-native-compilation (for the first time) and it seemingly compiled fine. However, libgccjit on my system seems to be broken (or something like that). When Emacs starts I see lots of native compilation errors. So I decided to (temporarily) disable this feature until I figure out what is wrong with my system. I start Emacs like this: $ EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION=3Dt emacs Now it starts without compilation errors. And it works just fine during basic usage like sending this bug report. However, when I invoke magit, I see this: Deleting /tmp/comp-lambda-RCGJQI.eln comp--native-compile: Native compiler error: (lambda (&rest arg1) (let = ((f #'make-process)) (apply f arg1))), "Compiling /tmp/comp-lambda-RCGJQI.e= ln... x86_64-unknown-linux-gnu-gcc-10.3.0: fatal error: cannot execute =E2=80= =98as=E2=80=99: execvp: No such file or directory compilation terminated. which makes the package unusable. Some other packages also produce similar errors, but others like Eglot work just fine. I am not sure that this is a valid bug report, because the manual says that the compiler may still be invoked even if inhibit-automatic-native-compilation is non-nil, though the result shouldn't be written to disk. But if I understand the output in Message buffer, it tries to write the file to disk? Would it be hard to enhance this feature to completely disable native compiler? In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0) Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Guix System Configured using: 'configure CONFIG_SHELL=3D/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.= 1.8/bin/bash SHELL=3D/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin= /bash --prefix=3D/gnu/store/jz3p1yvfm53j28dmyxpkjji1mimfi5lz-emacs-next-git.mast= er --enable-fast-install --with-modules --with-cairo --with-native-compilation --disable-build-details' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $EMACSLOADPATH: /home/max/.guix-profile/share/emacs/site-lisp:/g= nu/store/jz3p1yvfm53j28dmyxpkjji1mimfi5lz-emacs-next-git.master/share/emacs= /29.0.50/lisp value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t paredit-mode: t hl-line-mode: t global-corfu-mode: t corfu-mode: t marginalia-mode: t vertico-mode: t override-global-mode: t which-function-mode: t savehist-mode: t repeat-mode: t recentf-mode: t pixel-scroll-precision-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t context-menu-mode: t global-font-lock-mode: t font-lock-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/max/.emacs.d/elpa/transient-20220918.2101/transient hides /gnu/store/= jz3p1yvfm53j28dmyxpkjji1mimfi5lz-emacs-next-git.master/share/emacs/29.0.50/= lisp/transient Features: (shadow sort mail-extr emacsbug cl-print package-x js2-mode etags fileloop generator js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs dired-aux eglot array filenotify jsonrpc ert ewoc xref flymake-proc flymake thingatpt compile shell pcomplete comint ansi-osc server ansi-color magit-mode transient comp comp-cstr warnings magit-git magit-base magit-section format-spec crm dash compat-27 compat-26 rx add-log mule-util cursor-sensor vc-git diff-mode vc vc-dispatcher project paredit-menu paredit hl-line message yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader smtpmail sendmail rfc2047 rfc2045 ietf-drums gnus nnheader gnus-util time-date mail-utils range mm-util mail-prsvr modus-operandi-theme modus-themes pcase files-x consult-vertico consult compat-28 compat compat-macs bookmark text-property-search corfu orderless cus-edit pp icons marginalia vertico edmacro kmacro cl-extra use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core which-func imenu edebug debug backtrace find-func savehist repeat recentf tree-widget wid-edit pixel-scroll cua-base cus-load guix-emacs corfu-autoloads eglot-autoloads embark-consult-autoloads consult-autoloads embark-autoloads geiser-guile-autoloads geiser-impl help-fns radix-tree help-mode geiser-custom geiser-base ring geiser-autoloads js2-mode-autoloads magit-autoloads git-commit-autoloads magit-section-autoloads dash-autoloads marginalia-autoloads orderless-autoloads paredit-menu-autoloads paredit-autoloads transient-autoloads use-package-autoloads bind-key-autoloads vertico-autoloads with-editor-autoloads info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile cconv url-vars cl-loaddefs cl-lib rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 444658 55840) (symbols 48 29470 55) (strings 32 89288 3681) (string-bytes 1 3667419) (vectors 16 50532) (vector-slots 8 818358 54689) (floats 8 373 261) (intervals 56 766 266) (buffers 1000 16))