From unknown Mon Aug 18 09:07:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61171: 30.0.50; macos build can't find native lisp folder Resent-From: Merrick Luo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Jan 2023 12:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61171 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 61171@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16750825933172 (code B ref -1); Mon, 30 Jan 2023 12:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jan 2023 12:43:13 +0000 Received: from localhost ([127.0.0.1]:46585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMTV9-0000p2-Qs for submit@debbugs.gnu.org; Mon, 30 Jan 2023 07:43:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:54372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMTV7-0000ou-Ho for submit@debbugs.gnu.org; Mon, 30 Jan 2023 07:43:11 -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 1pMTV6-0000EI-Nz for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 07:43:09 -0500 Received: from sender4-of-o54.zoho.com ([136.143.188.54]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMTV3-0006Sp-GH for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 07:43:08 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1675082577; cv=none; d=zohomail.com; s=zohoarc; b=ey9TVRWQZsXazM9D+jKIReDqEjRKNqbtwP6FG1JcA1GSKYqFaKCIIfZvHd12ic03bOmafbHPuwZNO1JO8LKJQ23R2k3TT2bpPNixaafGKbq3Wkfr6lMQM/lEJnERQMw4f1OmTLPQ9GodLxY29Sem/lYH7YNe75WwQf7/x7SHNFM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1675082577; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=1MkzJTfYqrzMEDPp/gjhdNKwZV4QfXFPwpcvJVLUtXk=; b=nR/xSc7P34KDu/GweAinnEDib/7nknCWRpaP6dDYFCF/+6h+9HHxPJAEDKgCZ3wO/DkmkfuEZhSOxu/xJXfNomZXkKDvPCZpaAQGVrP7qMRp0tJQrkFxBjFj9J8yQAZJ3+jhcICy8YSGUmCMEcGkIUOFI+J4A0u9RxvdChyqb7M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=luois.me; spf=pass smtp.mailfrom=merrick@luois.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1675082577; s=zoho; d=luois.me; i=merrick@luois.me; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To:Cc; bh=1MkzJTfYqrzMEDPp/gjhdNKwZV4QfXFPwpcvJVLUtXk=; b=QlJroXs9TSqp9Gf170LD4LoqxOz/KDgvbfjNXD3NZ2svFfxDJ9bbcdb2V7lz6gl2 0MqlapL+TmzPFyiPfhQoxQH1Og8v8KT/wd6vNFdT2h1Z+1UEAEaL9UIAiF6rIKoXEHt 7R6mu1KwDB5iDjHxF+cx2a+Jg0yQHp6Ycyhvthac= Received: from lagann (89.208.250.26.16clouds.com [89.208.250.26]) by mx.zohomail.com with SMTPS id 1675082575414310.2461555912057; Mon, 30 Jan 2023 04:42:55 -0800 (PST) From: Merrick Luo Date: Mon, 30 Jan 2023 20:42:50 +0800 Message-ID: <87edrcyz05.fsf@luois.me> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.54; envelope-from=merrick@luois.me; helo=sender4-of-o54.zoho.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, 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-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi emacs team, As show in the "Configued using" section, I compiled emacs with ns-self-contained disabled and with aot native compilation, but the nextstep/Emacs.app is failing to start unless I do ln -s /usr/local/lib/emacs/30.0.50/native-lisp nextstep/Emacs.app/Contents/ the error message is Error using execdir /Users/merrickluo/projs/emacs/nextstep/Emacs.app/Contents/MacOS/: emacs: dlopen(/Users/merrickluo/projs/emacs/nextstep/Emacs.app/Contents/MacOS/../native-lisp/30.0.50-7473cdfd/preloaded/window-0d1b8b93-b6aaebba.eln, 0x0001): tried: '/Users/merrickluo/projs/emacs/nextstep/Emacs.app/Contents/MacOS/../native-lisp/30.0.50-7473cdfd/preloaded/window-0d1b8b93-b6aaebba.eln' (no such file) is there anything I missed with configuration or the `ln` part is required to be done manually for it to work? please advise, thanks. In GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.2 (Build 21G320)) of 2023-01-30 built on CNMAC0440.local Repository revision: 3f069bd796b0024033640051b5f74ba9834985f8 Repository branch: master Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.6.2 Configured using: 'configure --with-json --without-compress-install --with-native-compilation=aot '--enable-locallisppath=/Library/Application Support/Emacs/30.0.50/site-lisp:/Library/Application Support/Emacs/site-lisp' --disable-ns-self-contained --with-tree-sitter' Configured features: ACL GLIB GNUTLS JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB Important settings: value of $LC_CTYPE: UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: DOOM v3.0.0-pre Minor modes in effect: org-roam-db-autosync-mode: t global-git-commit-mode: t yas-global-mode: t yas-minor-mode: t projectile-mode: t which-key-mode: t savehist-mode: t better-jumper-mode: t better-jumper-local-mode: t company-box-mode: t global-company-mode: t company-mode: t vertico-mode: t marginalia-mode: t evil-goggles-mode: t evil-escape-mode: t evil-snipe-override-mode: t evil-snipe-mode: t evil-snipe-override-local-mode: t evil-snipe-local-mode: t server-mode: t gcmh-mode: t global-hl-line-mode: t hl-line-mode: t winner-mode: t smartparens-global-mode: t ws-butler-global-mode: t global-undo-fu-session-mode: t undo-fu-mode: t global-flycheck-mode: t persp-mode: t doom-modeline-mode: t solaire-global-mode: t evil-owl-mode: t ns-auto-titlebar-mode: t shell-dirtrack-mode: t evil-mode: t evil-local-mode: t windmove-mode: t +popup-mode: t override-global-mode: t general-override-mode: t apheleia-global-mode: t apheleia-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t window-divider-mode: t buffer-read-only: t size-indication-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: /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/transient/transient hides /usr/local/share/emacs/30.0.50/lisp/transient /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/use-package/use-package-jump hides /usr/local/share/emacs/30.0.50/lisp/use-package/use-package-jump /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/use-package/use-package-diminish hides /usr/local/share/emacs/30.0.50/lisp/use-package/use-package-diminish /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/use-package/use-package hides /usr/local/share/emacs/30.0.50/lisp/use-package/use-package /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/use-package/use-package-delight hides /usr/local/share/emacs/30.0.50/lisp/use-package/use-package-delight /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/use-package/use-package-lint hides /usr/local/share/emacs/30.0.50/lisp/use-package/use-package-lint /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/bind-key/bind-key hides /usr/local/share/emacs/30.0.50/lisp/use-package/bind-key /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/use-package/use-package-core hides /usr/local/share/emacs/30.0.50/lisp/use-package/use-package-core /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/use-package/use-package-ensure hides /usr/local/share/emacs/30.0.50/lisp/use-package/use-package-ensure /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/use-package/use-package-bind-key hides /usr/local/share/emacs/30.0.50/lisp/use-package/use-package-bind-key /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/xref/xref hides /usr/local/share/emacs/30.0.50/lisp/progmodes/xref /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/project/project hides /usr/local/share/emacs/30.0.50/lisp/progmodes/project /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-comint hides /usr/local/share/emacs/30.0.50/lisp/org/ob-comint /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-exp hides /usr/local/share/emacs/30.0.50/lisp/org/ob-exp /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-ctags hides /usr/local/share/emacs/30.0.50/lisp/org/org-ctags /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-emacs-lisp hides /usr/local/share/emacs/30.0.50/lisp/org/ob-emacs-lisp /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/oc hides /usr/local/share/emacs/30.0.50/lisp/org/oc /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ox-texinfo hides /usr/local/share/emacs/30.0.50/lisp/org/ox-texinfo /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ol-irc hides /usr/local/share/emacs/30.0.50/lisp/org/ol-irc /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ol-doi hides /usr/local/share/emacs/30.0.50/lisp/org/ol-doi /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob hides /usr/local/share/emacs/30.0.50/lisp/org/ob /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-refile hides /usr/local/share/emacs/30.0.50/lisp/org/org-refile /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-version hides /usr/local/share/emacs/30.0.50/lisp/org/org-version /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-num hides /usr/local/share/emacs/30.0.50/lisp/org/org-num /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ol-mhe hides /usr/local/share/emacs/30.0.50/lisp/org/ol-mhe /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-shell hides /usr/local/share/emacs/30.0.50/lisp/org/ob-shell /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-attach hides /usr/local/share/emacs/30.0.50/lisp/org/org-attach /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-C hides /usr/local/share/emacs/30.0.50/lisp/org/ob-C /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-macs hides /usr/local/share/emacs/30.0.50/lisp/org/org-macs /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-entities hides /usr/local/share/emacs/30.0.50/lisp/org/org-entities /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-dot hides /usr/local/share/emacs/30.0.50/lisp/org/ob-dot /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-sql hides /usr/local/share/emacs/30.0.50/lisp/org/ob-sql /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ol-eww hides /usr/local/share/emacs/30.0.50/lisp/org/ol-eww /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-datetree hides /usr/local/share/emacs/30.0.50/lisp/org/org-datetree /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-macro hides /usr/local/share/emacs/30.0.50/lisp/org/org-macro /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-eval hides /usr/local/share/emacs/30.0.50/lisp/org/ob-eval /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-haskell hides /usr/local/share/emacs/30.0.50/lisp/org/ob-haskell /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ox-org hides /usr/local/share/emacs/30.0.50/lisp/org/ox-org /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ol-rmail hides /usr/local/share/emacs/30.0.50/lisp/org/ol-rmail /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-awk hides /usr/local/share/emacs/30.0.50/lisp/org/ob-awk /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-groovy hides /usr/local/share/emacs/30.0.50/lisp/org/ob-groovy /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ox-icalendar hides /usr/local/share/emacs/30.0.50/lisp/org/ox-icalendar /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-octave hides /usr/local/share/emacs/30.0.50/lisp/org/ob-octave /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-scheme hides /usr/local/share/emacs/30.0.50/lisp/org/ob-scheme /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-mobile hides /usr/local/share/emacs/30.0.50/lisp/org/org-mobile /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-processing hides /usr/local/share/emacs/30.0.50/lisp/org/ob-processing /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/oc-biblatex hides /usr/local/share/emacs/30.0.50/lisp/org/oc-biblatex /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/oc-csl hides /usr/local/share/emacs/30.0.50/lisp/org/oc-csl /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-colview hides /usr/local/share/emacs/30.0.50/lisp/org/org-colview /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-R hides /usr/local/share/emacs/30.0.50/lisp/org/ob-R /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-table hides /usr/local/share/emacs/30.0.50/lisp/org/org-table /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ox-html hides /usr/local/share/emacs/30.0.50/lisp/org/ox-html /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-fortran hides /usr/local/share/emacs/30.0.50/lisp/org/ob-fortran /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ol hides /usr/local/share/emacs/30.0.50/lisp/org/ol /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-plantuml hides /usr/local/share/emacs/30.0.50/lisp/org/ob-plantuml /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ol-docview hides /usr/local/share/emacs/30.0.50/lisp/org/ol-docview /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-perl hides /usr/local/share/emacs/30.0.50/lisp/org/ob-perl /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-sqlite hides /usr/local/share/emacs/30.0.50/lisp/org/ob-sqlite /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/oc-basic hides /usr/local/share/emacs/30.0.50/lisp/org/oc-basic /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-sed hides /usr/local/share/emacs/30.0.50/lisp/org/ob-sed /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-fold-core hides /usr/local/share/emacs/30.0.50/lisp/org/org-fold-core /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-ditaa hides /usr/local/share/emacs/30.0.50/lisp/org/ob-ditaa /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-ruby hides /usr/local/share/emacs/30.0.50/lisp/org/ob-ruby /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/oc-bibtex hides /usr/local/share/emacs/30.0.50/lisp/org/oc-bibtex /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-habit hides /usr/local/share/emacs/30.0.50/lisp/org/org-habit /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ol-gnus hides /usr/local/share/emacs/30.0.50/lisp/org/ol-gnus /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-screen hides /usr/local/share/emacs/30.0.50/lisp/org/ob-screen /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-mouse hides /usr/local/share/emacs/30.0.50/lisp/org/org-mouse /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-css hides /usr/local/share/emacs/30.0.50/lisp/org/ob-css /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-inlinetask hides /usr/local/share/emacs/30.0.50/lisp/org/org-inlinetask /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-lisp hides /usr/local/share/emacs/30.0.50/lisp/org/ob-lisp /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ol-eshell hides /usr/local/share/emacs/30.0.50/lisp/org/ol-eshell /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-pcomplete hides /usr/local/share/emacs/30.0.50/lisp/org/org-pcomplete /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-lint hides /usr/local/share/emacs/30.0.50/lisp/org/org-lint /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-id hides /usr/local/share/emacs/30.0.50/lisp/org/org-id /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-capture hides /usr/local/share/emacs/30.0.50/lisp/org/org-capture /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-sass hides /usr/local/share/emacs/30.0.50/lisp/org/ob-sass /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-tangle hides /usr/local/share/emacs/30.0.50/lisp/org/ob-tangle /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-calc hides /usr/local/share/emacs/30.0.50/lisp/org/ob-calc /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-java hides /usr/local/share/emacs/30.0.50/lisp/org/ob-java /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-compat hides /usr/local/share/emacs/30.0.50/lisp/org/org-compat /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-attach-git hides /usr/local/share/emacs/30.0.50/lisp/org/org-attach-git /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ox-beamer hides /usr/local/share/emacs/30.0.50/lisp/org/ox-beamer /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-protocol hides /usr/local/share/emacs/30.0.50/lisp/org/org-protocol /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-element hides /usr/local/share/emacs/30.0.50/lisp/org/org-element /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-lob hides /usr/local/share/emacs/30.0.50/lisp/org/ob-lob /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-tempo hides /usr/local/share/emacs/30.0.50/lisp/org/org-tempo /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-python hides /usr/local/share/emacs/30.0.50/lisp/org/ob-python /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-latex hides /usr/local/share/emacs/30.0.50/lisp/org/ob-latex /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ol-w3m hides /usr/local/share/emacs/30.0.50/lisp/org/ol-w3m /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-agenda hides /usr/local/share/emacs/30.0.50/lisp/org/org-agenda /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-persist hides /usr/local/share/emacs/30.0.50/lisp/org/org-persist /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-ocaml hides /usr/local/share/emacs/30.0.50/lisp/org/ob-ocaml /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-ref hides /usr/local/share/emacs/30.0.50/lisp/org/ob-ref /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-fold hides /usr/local/share/emacs/30.0.50/lisp/org/org-fold /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-julia hides /usr/local/share/emacs/30.0.50/lisp/org/ob-julia /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-lilypond hides /usr/local/share/emacs/30.0.50/lisp/org/ob-lilypond /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-table hides /usr/local/share/emacs/30.0.50/lisp/org/ob-table /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-clojure hides /usr/local/share/emacs/30.0.50/lisp/org/ob-clojure /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-indent hides /usr/local/share/emacs/30.0.50/lisp/org/org-indent /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-plot hides /usr/local/share/emacs/30.0.50/lisp/org/org-plot /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ox-latex hides /usr/local/share/emacs/30.0.50/lisp/org/ox-latex /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-src hides /usr/local/share/emacs/30.0.50/lisp/org/org-src /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-duration hides /usr/local/share/emacs/30.0.50/lisp/org/org-duration /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-makefile hides /usr/local/share/emacs/30.0.50/lisp/org/ob-makefile /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ol-info hides /usr/local/share/emacs/30.0.50/lisp/org/ol-info /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-clock hides /usr/local/share/emacs/30.0.50/lisp/org/org-clock /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-forth hides /usr/local/share/emacs/30.0.50/lisp/org/ob-forth /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ox-odt hides /usr/local/share/emacs/30.0.50/lisp/org/ox-odt /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ol-man hides /usr/local/share/emacs/30.0.50/lisp/org/ol-man /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ox-publish hides /usr/local/share/emacs/30.0.50/lisp/org/ox-publish /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-archive hides /usr/local/share/emacs/30.0.50/lisp/org/org-archive /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-org hides /usr/local/share/emacs/30.0.50/lisp/org/ob-org /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-lua hides /usr/local/share/emacs/30.0.50/lisp/org/ob-lua /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-keys hides /usr/local/share/emacs/30.0.50/lisp/org/org-keys /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-eshell hides /usr/local/share/emacs/30.0.50/lisp/org/ob-eshell /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-faces hides /usr/local/share/emacs/30.0.50/lisp/org/org-faces /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ox-man hides /usr/local/share/emacs/30.0.50/lisp/org/ox-man /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-list hides /usr/local/share/emacs/30.0.50/lisp/org/org-list /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ox-md hides /usr/local/share/emacs/30.0.50/lisp/org/ox-md /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-goto hides /usr/local/share/emacs/30.0.50/lisp/org/org-goto /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ol-bbdb hides /usr/local/share/emacs/30.0.50/lisp/org/ol-bbdb /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org hides /usr/local/share/emacs/30.0.50/lisp/org/org /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ol-bibtex hides /usr/local/share/emacs/30.0.50/lisp/org/ol-bibtex /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ox-koma-letter hides /usr/local/share/emacs/30.0.50/lisp/org/ox-koma-letter /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ox-ascii hides /usr/local/share/emacs/30.0.50/lisp/org/ox-ascii /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-matlab hides /usr/local/share/emacs/30.0.50/lisp/org/ob-matlab /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ox hides /usr/local/share/emacs/30.0.50/lisp/org/ox /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-timer hides /usr/local/share/emacs/30.0.50/lisp/org/org-timer /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/oc-natbib hides /usr/local/share/emacs/30.0.50/lisp/org/oc-natbib /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-core hides /usr/local/share/emacs/30.0.50/lisp/org/ob-core /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-feed hides /usr/local/share/emacs/30.0.50/lisp/org/org-feed /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-gnuplot hides /usr/local/share/emacs/30.0.50/lisp/org/ob-gnuplot /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-js hides /usr/local/share/emacs/30.0.50/lisp/org/ob-js /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-footnote hides /usr/local/share/emacs/30.0.50/lisp/org/org-footnote /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/ob-maxima hides /usr/local/share/emacs/30.0.50/lisp/org/ob-maxima /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-cycle hides /usr/local/share/emacs/30.0.50/lisp/org/org-cycle /Users/merrickluo/.config/emacs/.local/straight/build-30.0.50/org/org-crypt hides /usr/local/share/emacs/30.0.50/lisp/org/org-crypt Features: (shadow sort disp-table whitespace vi-tilde-fringe display-line-numbers highlight-indent-guides mail-extr org-agenda org-modern evil-collection-org evil-collection-org-roam org-roam-migrate org-roam-log org-roam-mode org-roam-capture org-roam-id org-roam-node org-roam-db org-roam-utils org-roam-compat org-roam org-capture org-attach smartparens-org org-yt org-element org-persist xdg org-id org-refile avl-tree generator org ob-emacs-lisp org-table ob ob-tangle ol ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src org-keys oc ob-comint org-pcomplete org-list org-entities org-faces evil-collection-calendar cal-menu calendar cal-loaddefs evil-collection-magit-todos magit-todos pcre2el rxt re-builder hl-todo async code-review code-review-actions code-review-comment code-review-section code-review-bitbucket code-review-faces shr pixel-fill kinsoku url-file svg xml dom emojify evil-collection-apropos apropos evil-collection-tar-mode tar-mode evil-collection-arc-mode arc-mode archive-mode ht code-review-gitlab code-review-utils evil-collection-forge forge-list forge-commands forge-semi forge-bitbucket buck forge-gogs gogs forge-gitea gtea forge-gitlab glab forge-github forge-notify forge-revnote forge-pullreq forge-issue forge-topic yaml parse-time iso8601 bug-reference forge-post smartparens-markdown evil-collection-markdown-mode markdown-mode edit-indirect noutline outline forge-repo forge forge-core forge-db code-review-parse-hunk code-review-github code-review-db uuidgen calc-misc calc-ext a code-review-interfaces deferred ghub-graphql treepy gsexp ghub url-http url-gw nsm url-auth gnutls closql emacsql-sqlite emacsql emacsql-compiler magit-autoloads evil-collection-magit magit-submodule magit-obsolete magit-popup magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func magit-diff smerge-mode diff evil-collection-diff-mode diff-mode git-commit evil-collection-log-edit log-edit magit-core magit-autorevert magit-margin magit-transient magit-process magit-mode magit-git magit-base evil-collection-magit-section magit-section crm compat-27 compat-26 transient emacsbug message yank-media puny evil-collection-dired dired dired-loaddefs rfc822 mml mml-sec evil-collection-epa epa epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils gmm-utils mailheader pcvs-util add-log with-editor doom-snippets doom-snippets-lib yasnippet evil-collection-elisp-mode elisp-mode vertico-directory cursor-sensor vertico-repeat projectile evil-collection-grep grep evil-collection-compile compile text-property-search ibuffer-vc ibuf-ext evil-collection-ibuffer ibuffer ibuffer-loaddefs evil-collection-which-key which-key savehist better-jumper company-box company-box-doc frame-local company-box-icons company-capf company evil-collection-vertico vertico orderless marginalia evil-goggles pulse color evil-easymotion evil-escape evil-snipe recentf tree-widget server autorevert filenotify gcmh hl-line winner smartparens-config smartparens-text smartparens ws-butler undo-fu-session undo-fu flycheck-popup-tip evil-collection-popup popup flycheck-package package-lint evil-collection-imenu imenu evil-collection-finder finder finder-inf lisp-mnt evil-collection-package-menu doom-packages 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 eieio eieio-core password-cache url-vars evil-collection-flycheck evil-collection-custom cus-edit cus-start cus-load wid-edit evil-collection-comint evil-collection annalist flycheck json find-func persp-mode doom-modeline doom-modeline-segments doom-modeline-env doom-modeline-core all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons shrink-path f f-shortdoc s dash compat doom-themes-ext-treemacs doom-themes-ext-org solaire-mode face-remap modus-operandi-theme evil-owl apheleia map modus-themes doom-themes doom-themes-base let-alist ob-core org-cycle org-fold org-fold-core org-compat ob-eval org-version org-macs format-spec smartparens-lua smartparens-elixir ns-auto-titlebar ibuf-macs evil evil-integration evil-maps evil-commands reveal flyspell ispell evil-jumps evil-command-window evil-search shell pcomplete comint ansi-osc ansi-color evil-types evil-macros evil-repeat evil-states evil-core dtrt-indent time-date comp comp-cstr warnings icons byte-opt advice evil-common windmove calc calc-loaddefs calc-macs thingatpt rect evil-digraphs evil-vars ring derived edmacro kmacro use-package-bind-key bind-key doom-editor doom-projects doom-ui easy-mmode doom-keybinds pp cl-extra help-mode use-package-core bytecomp byte-compile general rx doom-start doom-modules cl-seq doom doom-lib cl-macs cl-loaddefs cl-lib pcase gv jansson dynamic-modules subr-x rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win 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 theme-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 kqueue cocoa ns lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 937117 259925) (symbols 48 75456 51) (strings 32 232245 97905) (string-bytes 1 8243378) (vectors 16 108031) (vector-slots 8 1852346 176338) (floats 8 1773 721) (intervals 56 1205 376) (buffers 984 14)) From unknown Mon Aug 18 09:07:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61171: 30.0.50; macos build can't find native lisp folder Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Jan 2023 13:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61171 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Merrick Luo Cc: 61171@debbugs.gnu.org Received: via spool by 61171-submit@debbugs.gnu.org id=B61171.16750857754339 (code B ref 61171); Mon, 30 Jan 2023 13:37:01 +0000 Received: (at 61171) by debbugs.gnu.org; 30 Jan 2023 13:36:15 +0000 Received: from localhost ([127.0.0.1]:46710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMUKV-00017v-95 for submit@debbugs.gnu.org; Mon, 30 Jan 2023 08:36:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMUKT-00017j-Pi for 61171@debbugs.gnu.org; Mon, 30 Jan 2023 08:36:14 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMUKO-0000VC-IA; Mon, 30 Jan 2023 08:36:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=HyiykRoJ3VBhhOgI9c6LsUJlVE2W51/P2Y5FwNtqPMA=; b=gktEnhPyinU2 yQ5P4LIn5tLc8c0VzP4yZV6X5UEltvCiirKWqlZgkI9yL7qB2DdPf7ZtG0iwGUeaF27rwM1nbEi2d LcOpsT5JVDPZ9sAVBd6ZYC2pCG2OWOCDKEiyJmM+NFk16bOMYkiViKv5a3iUeycTwkTKkjc9V7MmC hGo6c9/qmpehNBrpfxq74+jxn7ttfMf40fv3cx+OaPE5qbxZ9W1gFbDpjsib6o/K069R3phz/nAPV BGRE3Tg/qS/VY7DfU8FGThA4XnxtXt1i3CuCs0jAsHwgO4IO0grJtXxA6jo4a/58EgwFxgFVaAUEK U+7TTLimJHm//2g1x9lrjQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMUKN-0002pB-IS; Mon, 30 Jan 2023 08:36:07 -0500 Date: Mon, 30 Jan 2023 15:36:00 +0200 Message-Id: <83357s5em7.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87edrcyz05.fsf@luois.me> (bug-gnu-emacs@gnu.org) References: <87edrcyz05.fsf@luois.me> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Mon, 30 Jan 2023 20:42:50 +0800 > From: Merrick Luo via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > As show in the "Configued using" section, I compiled emacs with > ns-self-contained disabled and with aot native compilation, but the > nextstep/Emacs.app is failing to start unless I do > > ln -s /usr/local/lib/emacs/30.0.50/native-lisp nextstep/Emacs.app/Contents/ > > the error message is > > Error using execdir /Users/merrickluo/projs/emacs/nextstep/Emacs.app/Contents/MacOS/: > emacs: dlopen(/Users/merrickluo/projs/emacs/nextstep/Emacs.app/Contents/MacOS/../native-lisp/30.0.50-7473cdfd/preloaded/window-0d1b8b93-b6aaebba.eln, 0x0001): tried: '/Users/merrickluo/projs/emacs/nextstep/Emacs.app/Contents/MacOS/../native-lisp/30.0.50-7473cdfd/preloaded/window-0d1b8b93-b6aaebba.eln' (no such file) > > is there anything I missed with configuration or the `ln` part is required > to be done manually for it to work? please advise, thanks. Why did you build with ns-self-contained disabled? AFAICT from reading the top-level Makefile.in, this causes Emacs to install files according to Posix conventions, which breaks on macOS. What you get is the Emacs binary in a place unrelated to the directory where the *.eln files are installed, and Emacs cannot find them. You could perhaps set ELN_DESTDIR explicitly when you run "Make", as in make ELN_DESTDIR=/Users/merrickluo/projs/emacs/nextstep/Emacs.app/Contents Maybe. From unknown Mon Aug 18 09:07:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61171: 30.0.50; macos build can't find native lisp folder Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Jan 2023 13:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61171 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Merrick Luo Cc: 61171@debbugs.gnu.org Received: via spool by 61171-submit@debbugs.gnu.org id=B61171.167517230328275 (code B ref 61171); Tue, 31 Jan 2023 13:39:01 +0000 Received: (at 61171) by debbugs.gnu.org; 31 Jan 2023 13:38:23 +0000 Received: from localhost ([127.0.0.1]:51856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMqq6-0007Ly-MV for submit@debbugs.gnu.org; Tue, 31 Jan 2023 08:38:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMqpy-0007Ld-JV for 61171@debbugs.gnu.org; Tue, 31 Jan 2023 08:38:21 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMqpl-0005BK-5u; Tue, 31 Jan 2023 08:38:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=iWjq7dosVPFuadexfXIthygTmMLCSL0y5Ig+OpIYx/k=; b=Fq54KwDP7sr1 WGfv6/LTxyMW4aYFix8RjG09r0lUEZ+MCG6UYn1Z3xcvSx7o37DtEiqjesNm2pYYdwjAz5wHpvo50 3/Ep/2p4dtfWWksgFdlzMkfnToHSFH2PSD2k3LpB6JOEAnVXdwRirUprZEW1lLOHWdU1wg4dsFtLk Khpo+DR/zPigXeYONEAihumBSu3fJ7N8ZFy8Zqhujl644odaDrQ15ITN66ElCFZSK9XCt0WCWB/Y9 /81lYJ0bEyVJug28z8HVseXxmj0Ii3T3tq2mv0/Ya2IMRp6cwplNeliw20KmzQsr6u6j1J1pM7dI5 kTgOyQMNXlfx5h1wzKWs+Q==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMqpL-0001ec-Fr; Tue, 31 Jan 2023 08:37:59 -0500 Date: Tue, 31 Jan 2023 15:37:30 +0200 Message-Id: <83h6w63jvp.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87bkmfz90g.fsf@luois.me> (message from Merrick Luo on Tue, 31 Jan 2023 11:18:55 +0800) References: <87edrcyz05.fsf@luois.me> <83357s5em7.fsf@gnu.org> <87bkmfz90g.fsf@luois.me> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [Please keep the bug address on the CC list.] > From: Merrick Luo > Date: Tue, 31 Jan 2023 11:18:55 +0800 > > Eli Zaretskii writes: > > > Why did you build with ns-self-contained disabled? AFAICT from > > reading the top-level Makefile.in, this causes Emacs to install files > > according to Posix conventions, which breaks on macOS. What you get is > > the Emacs binary in a place unrelated to the directory where the > > *.eln files are installed, and Emacs cannot find them. > > yes, I want the files to be installed into /usr/local/ so I can use it > in terminal more easily. AFAIR, the Emacs.app works fine with this > option without native compilation enabled, I can also copy/move it to > the Application folder and still works. Without native-compilation Emacs doesn't need to look for and find the *.eln files, so it's a small wonder you don't see the problem. > > You could perhaps set ELN_DESTDIR explicitly when you run "Make", as > > in > > > > make ELN_DESTDIR=/Users/merrickluo/projs/emacs/nextstep/Emacs.app/Contents > > > > Maybe. > > this looks like an absolute path though, so if I moved the Emacs.app to > another place, like /Applciations, it will break /usr/local/bin/emacs? Emacs with native-compilation supports relocatable installations only if the relation between the directory with the binary and the directory with the *.eln files is according to the relation between BIN_DESTDIR and ELN_DESTDIR. So if you want a relocatable installation, you will need to play with the values of those two Make-time variables to suit your needs. If you use absolute file names, moving the files will break the installation. From unknown Mon Aug 18 09:07:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#61171: 30.0.50; macos build can't find native lisp folder Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Jun 2023 22:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61171 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 61171@debbugs.gnu.org, Merrick Luo Received: via spool by 61171-submit@debbugs.gnu.org id=B61171.168600332919714 (code B ref 61171); Mon, 05 Jun 2023 22:16:02 +0000 Received: (at 61171) by debbugs.gnu.org; 5 Jun 2023 22:15:29 +0000 Received: from localhost ([127.0.0.1]:50470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6IU5-00057u-He for submit@debbugs.gnu.org; Mon, 05 Jun 2023 18:15:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6IU3-00057g-6H for 61171@debbugs.gnu.org; Mon, 05 Jun 2023 18:15:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6ITx-0000Y7-N9; Mon, 05 Jun 2023 18:15:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=CfHKF+QJNXMcOHKrLqYTaEsNvtx4vrANBKMi4294lYw=; b=Z/+oNP47HclHGx0cGFXC vDZ1Obf/eU/qkwv5UjGYKi8Nl8/4SG9jNOQQAEinAremZaYOmrRWAX+u0cbYcDBF0eiuEJUxCVbdD sXgMpj28A8HchgcT7wQeYNQiys0fC7eGMHRKzEJi2G67Z3nQCtt4K/42GJflAqwEeNjVI5KyzLi2M +1IssshPZt2Io0DZ0c8sc4ReuqEFUD8WzU0At81bVOZ9R/ZqQFpcYWSBXnWDtMcHysgXJ5BYD5cyX STIrq+U1KY856z0Sqq9VJzCamZyl+uqC0gdCu6P7qY4iYEs8irce+A0dfDr2ZxMg85VUqNzdL1N9X 2zng/5D3/nl8MA==; Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1q6ITr-0005uW-I8; Mon, 05 Jun 2023 18:15:20 -0400 From: Andrea Corallo In-Reply-To: <83h6w63jvp.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 31 Jan 2023 15:37:30 +0200") References: <87edrcyz05.fsf@luois.me> <83357s5em7.fsf@gnu.org> <87bkmfz90g.fsf@luois.me> <83h6w63jvp.fsf@gnu.org> Date: Mon, 05 Jun 2023 18:15:15 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > [Please keep the bug address on the CC list.] > >> From: Merrick Luo >> Date: Tue, 31 Jan 2023 11:18:55 +0800 >> >> Eli Zaretskii writes: >> >> > Why did you build with ns-self-contained disabled? AFAICT from >> > reading the top-level Makefile.in, this causes Emacs to install files >> > according to Posix conventions, which breaks on macOS. What you get is >> > the Emacs binary in a place unrelated to the directory where the >> > *.eln files are installed, and Emacs cannot find them. >> >> yes, I want the files to be installed into /usr/local/ so I can use it >> in terminal more easily. AFAIR, the Emacs.app works fine with this >> option without native compilation enabled, I can also copy/move it to >> the Application folder and still works. > > Without native-compilation Emacs doesn't need to look for and find > the *.eln files, so it's a small wonder you don't see the problem. > >> > You could perhaps set ELN_DESTDIR explicitly when you run "Make", as >> > in >> > >> > make ELN_DESTDIR=/Users/merrickluo/projs/emacs/nextstep/Emacs.app/Contents >> > >> > Maybe. >> >> this looks like an absolute path though, so if I moved the Emacs.app to >> another place, like /Applciations, it will break /usr/local/bin/emacs? > > Emacs with native-compilation supports relocatable > installations only if the relation between the directory with the > binary and the directory with the *.eln files is according to the > relation between BIN_DESTDIR and ELN_DESTDIR. So if you want a > relocatable installation, you will need to play with the values of > those two Make-time variables to suit your needs. If you use absolute > file names, moving the files will break the installation. Hello all, should we close this bug or is there something that should be done? Best Regards Andrea From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 06 07:31:46 2023 Received: (at control) by debbugs.gnu.org; 6 Jun 2023 11:31:46 +0000 Received: from localhost ([127.0.0.1]:51082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6Uuf-0007Jo-V7 for submit@debbugs.gnu.org; Tue, 06 Jun 2023 07:31:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6Uud-0007JR-0n; Tue, 06 Jun 2023 07:31:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6UuW-0006Jd-UJ; Tue, 06 Jun 2023 07:31:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=dT8axD7SnLPNN2EnSXPa0UEjW+BHu1obZ6XB7eYiCaI=; b=pfsOBrfApiDf kke+kBgncD0Wa1S8Cvd9ReNRPIc/TglnhVY+ObpU2Ro7Qaeii0p0pJvEtphJB+CYuTnd5hMzgn+2d g24oDd46AOYLwKw85yWAMRNhCWCxwGWOpk6Ly96mVUEaf4l8J2/PYSmVoRnJQXWQ/kzWSWhcivlBm 1GHQ3h86n28xUv+tG6IdYFUKdYSXk/nK+OS1OhkLP2HE+HWlrrje+DmJeM5CbmfS5g7JXwcUmKbu+ xGC+2+aOkj9V0zeL2pBiT7xz/wSb0yqbuz/kbqfyOG1BB5d3gwACNEJ92bxf8PTsKwSqGOE+e5lhD nV/+yFzyK2R0q+vcjx8EZw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6UuW-0005WZ-BN; Tue, 06 Jun 2023 07:31:36 -0400 Date: Tue, 06 Jun 2023 14:31:37 +0300 Message-Id: <83wn0g3jza.fsf@gnu.org> From: Eli Zaretskii To: Andrea Corallo In-Reply-To: (message from Andrea Corallo on Mon, 05 Jun 2023 18:15:15 -0400) Subject: Re: bug#61171: 30.0.50; macos build can't find native lisp folder References: <87edrcyz05.fsf@luois.me> <83357s5em7.fsf@gnu.org> <87bkmfz90g.fsf@luois.me> <83h6w63jvp.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: merrick@luois.me, 61171-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 61171 notabug close 61171 thanks > From: Andrea Corallo > Cc: Merrick Luo , 61171@debbugs.gnu.org > Date: Mon, 05 Jun 2023 18:15:15 -0400 > > Eli Zaretskii writes: > > > [Please keep the bug address on the CC list.] > > > >> From: Merrick Luo > >> Date: Tue, 31 Jan 2023 11:18:55 +0800 > >> > >> Eli Zaretskii writes: > >> > >> > Why did you build with ns-self-contained disabled? AFAICT from > >> > reading the top-level Makefile.in, this causes Emacs to install files > >> > according to Posix conventions, which breaks on macOS. What you get is > >> > the Emacs binary in a place unrelated to the directory where the > >> > *.eln files are installed, and Emacs cannot find them. > >> > >> yes, I want the files to be installed into /usr/local/ so I can use it > >> in terminal more easily. AFAIR, the Emacs.app works fine with this > >> option without native compilation enabled, I can also copy/move it to > >> the Application folder and still works. > > > > Without native-compilation Emacs doesn't need to look for and find > > the *.eln files, so it's a small wonder you don't see the problem. > > > >> > You could perhaps set ELN_DESTDIR explicitly when you run "Make", as > >> > in > >> > > >> > make ELN_DESTDIR=/Users/merrickluo/projs/emacs/nextstep/Emacs.app/Contents > >> > > >> > Maybe. > >> > >> this looks like an absolute path though, so if I moved the Emacs.app to > >> another place, like /Applciations, it will break /usr/local/bin/emacs? > > > > Emacs with native-compilation supports relocatable > > installations only if the relation between the directory with the > > binary and the directory with the *.eln files is according to the > > relation between BIN_DESTDIR and ELN_DESTDIR. So if you want a > > relocatable installation, you will need to play with the values of > > those two Make-time variables to suit your needs. If you use absolute > > file names, moving the files will break the installation. > > Hello all, > > should we close this bug or is there something that should be done? Closed.