From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Devlin Newsgroups: gmane.emacs.bugs Subject: bug#73950: 29.4; File locations missing in compilation log Date: Tue, 22 Oct 2024 11:43:34 -0400 Message-ID: <1833E179-0909-4B02-A9EF-AF0E582A1D75@toadstyle.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3818.100.11.1.3\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5829"; mail-complaints-to="usenet@ciao.gmane.io" To: 73950@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 22 17:44:55 2024 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 1t3H41-0001MZ-Kq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Oct 2024 17:44:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3H3n-0001ao-3n; Tue, 22 Oct 2024 11:44:39 -0400 Original-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 1t3H3i-0001aR-Bz for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2024 11:44:34 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t3H3i-0007TJ-3B for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2024 11:44:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:Mime-Version:From:To:Subject; bh=2M6/PjqO0AaNyO++ICgBCFqvHgPEAi8q7uuOz2yOdxM=; b=jyzUrMJvyrmc0Rx3E9l5YRC6z3+TZlbU90yb0PT94XOvZ10o0QFN1wojvb8VS7sRUneqyd3S6k/nolbZfp2UuJLxWrfVSPHnkQEg2jtRY9PKqFUD8jKNfDhqbJxjz6V9Qqhh+UdQZONxCWOBV7p1OWyZPy4mJWVC0uzvo9qPgwN0QfqIVNpkH1vqvFeFuuYOQhnNaaeyTIyLsd3i3XwUIzz/IsK4inIDLKl06ZtoSHPHPncfhtUZ1gbzBwEP1H9nGkRfhK06SvbcZhZpIi60OORqaZFKGPFcUw6ffMUJDq2sRIRcVbNhCqO9habAgkjuKWIzlENtiqwweuKtlLNVIw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t3H49-0001JM-Ql for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2024 11:45:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sean Devlin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Oct 2024 15:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73950 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.17296118684976 (code B ref -1); Tue, 22 Oct 2024 15:45:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Oct 2024 15:44:28 +0000 Original-Received: from localhost ([127.0.0.1]:56951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3H3b-0001IC-GP for submit@debbugs.gnu.org; Tue, 22 Oct 2024 11:44:28 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:36536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3H3X-0001Hy-GO for submit@debbugs.gnu.org; Tue, 22 Oct 2024 11:44:26 -0400 Original-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 1t3H31-0001Y8-8Z for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2024 11:43:51 -0400 Original-Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t3H2x-0007RW-M9 for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2024 11:43:50 -0400 Original-Received: by mail-qt1-x82a.google.com with SMTP id d75a77b69052e-46101120e70so6800591cf.1 for ; Tue, 22 Oct 2024 08:43:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toadstyle-org.20230601.gappssmtp.com; s=20230601; t=1729611826; x=1730216626; darn=gnu.org; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=2M6/PjqO0AaNyO++ICgBCFqvHgPEAi8q7uuOz2yOdxM=; b=TorpFhCz4rugU6P6vAwesrfbWxTuFjHxJA4z34F7ZFDtcB1v1ZkuzHUoyGOA7X4Hgv ZZcfJu8Ijn/mK/VVstx6fLMBIgZSv4Qw2f8QMbw9kpj6gCN7P0/Od//b1z8EXxoUjex5 ejDqSyguhFOP2l9tIkLdNDkYQArXYlv8M2/80JbVX0CmLkrszD5MlrZKSGq3rQ6fwgFW tRDqKUqBG3MwR5m5eizoUU8HVcgAKpFxxhOdy5oKEQzBhfR4Bhc2q7hOqlA7qb7W3eJT ENz7qj6+g2w+8IJUTiK7QrJMAfArrlH7CyKrlOkoYBAHN43pSPSsfs5EeOVUWohT9Vur WFAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729611826; x=1730216626; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2M6/PjqO0AaNyO++ICgBCFqvHgPEAi8q7uuOz2yOdxM=; b=xEGAYcWnHvnuYbdw7FzEQkgtnqEYMQgwKV/NdWrLFGUpesvi+X3fIkr4IxU7IIuSSN bsn/fb1ofTpHmFLxXFELJXCUUrVeMG5Q6FP4eBGhSBu5SR2s6zuLWnJXpYGcptXx2O4d TYXjTUtvxk4YtZE+sHjshYB6PRxMYXJmuH9TRKHmn5rz1awqEQ9KZAJUPzsetAg7wfxm 6PqRPPQOMiGlJ40bLbdJgrvF7yhfooN/CLJOgflNIUuTA7HKKMK/RqhhLb9LrZB4O3oR swp70IomJcRf+DbLzpRvcGgegwz/ZCPN0bVVEsWgOmKzlGHIpAEcUUAEMyKriZru6mL+ Rd6w== X-Gm-Message-State: AOJu0Yzy9Y4Eq+sw19mYgTYBSZ41RyVr+P1rQve/EUlhgbCGxRkH2DOF auXH+C30HF98hE84PKBM09x7oGepg416dSJaKwDhdenaa7rEOfS5LNquMha2mlCiQnUbHJ+gXlR p X-Google-Smtp-Source: AGHT+IET1d2Tqa357+ZPi3n9lhDWIsr8O8MAGwFKnKwSUWnh0e1S8KJktn4F/LtA4oEI0RSw0rz3hA== X-Received: by 2002:ac8:5990:0:b0:460:aab0:518f with SMTP id d75a77b69052e-460fe675c93mr53605311cf.6.1729611825692; Tue, 22 Oct 2024 08:43:45 -0700 (PDT) Original-Received: from smtpclient.apple ([70.107.172.48]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-460d3cbb777sm30595911cf.51.2024.10.22.08.43.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Oct 2024 08:43:45 -0700 (PDT) X-Mailer: Apple Mail (2.3818.100.11.1.3) Received-SPF: pass client-ip=2607:f8b0:4864:20::82a; envelope-from=spd@toadstyle.org; helo=mail-qt1-x82a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-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-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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:294112 Archived-At: Hi folks, If you install a package from your init file, the compilation log will lack file locations that are present when installing interactively. Recipe: 1. mkdir /tmp/emacs-test 2. echo "(package-install 'magit)" > /tmp/emacs-test/.emacs 3. HOME=3D/tmp/emacs-test emacs Wait for the compilation of magit to finish, then observe the warnings and errors in the compilation log lack any prefixed file locations. For example: Error (bytecomp): Cannot open load file: No such file or directory, magit-git In contrast, if you install interactively via M-x package-install, the errors and warnings include file locations. For example: magit-autorevert.el:25:2: Error: Cannot open load file: No such file or directory, magit-git I'm not sure if this difference is intentional, but it makes it difficult to understand where errors are coming from if you install packages non-interactively via the user init file. It would be useful to include the file locations in the compilation log even in this case. Thanks! In GNU Emacs 29.4 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.6 (Build 21G646)) of 2024-08-02 built on armbob.lan Windowing system distributor 'Apple', version 10.3.2566 System Description: macOS 15.0.1 Configured using: 'configure --with-ns '--enable-locallisppath=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules 'CFLAGS=3D-DFD_SETSIZE=3D10000 -DDARWIN_UNLIMITED_SELECT' --with-x-toolkit=3Dno' Configured features: ACL GLIB GMP GNUTLS JPEG JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: global-git-commit-mode: t magit-auto-revert-mode: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /tmp/emacs-test/.emacs.d/elpa/magit-4.1.1/magit-autorevert hides = /tmp/emacs-test/.emacs.d/elpa/magit-section-4.1.1/magit-autorevert /tmp/emacs-test/.emacs.d/elpa/transient-0.7.7/transient hides = /Volumes/Emacs/Emacs.app/Contents/Resources/lisp/transient Features: (shadow sort mail-extr emacsbug cus-edit cus-start cus-load ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util let-alist magit-bookmark bookmark magit-submodule 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 magit-diff smerge-mode diff git-commit magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process with-editor log-edit pcvs-util add-log magit-mode transient cl-extra magit-git files-x magit-base which-func imenu vc-git diff-mode vc-dispatcher magit-section crm magit-autoloads benchmark cursor-sensor magit-section-autoloads warnings icons dash rx bug-reference dash-autoloads format-spec edmacro kmacro transient-autoloads pcase shell pcomplete server compat with-editor-autoloads easy-mmode compat-30 ert-x ert pp ewoc debug backtrace help-mode find-func wid-edit compat-macs compile comint ansi-osc ansi-color ring info compat-autoloads loaddefs-gen lisp-mnt radix-tree tar-mode arc-mode archive-mode mm-archive message sendmail yank-media dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 gnus-util text-property-search time-date mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mail-utils gnutls network-stream url-cache url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm puny epg-config finder-inf 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 url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 multi-tty make-network-process emacs) Memory information: ((conses 16 334300 49006) (symbols 48 34481 0) (strings 32 131912 3930) (string-bytes 1 3507331) (vectors 16 41034) (vector-slots 8 871374 47496) (floats 8 103 283) (intervals 56 614 0) (buffers 984 18))