Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building mu 1.8.10 on macOS - error "Recursive load" #2350

Closed
3 tasks done
thecocoa opened this issue Oct 16, 2022 · 2 comments
Closed
3 tasks done

building mu 1.8.10 on macOS - error "Recursive load" #2350

thecocoa opened this issue Oct 16, 2022 · 2 comments
Labels
mu4e specific for mu4e

Comments

@thecocoa
Copy link

Describe the bug

Building mu 1.8.10 on MacOS silicon

How to Reproduce

git clone https://github.com/djcb/mu.git
git checkout origin/release/1.8
meson-build && ninja -C install

Include the exact steps of what you were doing (commands executed etc.). Include
any relevant logs and outputs.

meson build && ninja -C build
The Meson build system
Version: 0.63.3
Source dir: /Users/bobrien/src/mu
Build dir: /Users/bobrien/src/mu/build
Build type: native build
Project name: mu
Project version: 1.8.10
C compiler for the host machine: cc (clang 14.0.0 "Apple clang version 14.0.0 (clang-1400.0.29.201)")
C linker for the host machine: cc ld64 820.1
C++ compiler for the host machine: c++ (clang 14.0.0 "Apple clang version 14.0.0 (clang-1400.0.29.201)")
C++ linker for the host machine: c++ ld64 820.1
Host machine cpu family: aarch64
Host machine cpu: arm64
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C++ supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-cast-function-type: YES
Compiler for C++ supports arguments -Wno-cast-function-type: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C++ supports arguments -Wformat-security: YES
Compiler for C supports arguments -Wformat=2: YES
Compiler for C++ supports arguments -Wformat=2: YES
Compiler for C supports arguments -Wstack-protector: YES
Compiler for C++ supports arguments -Wstack-protector: YES
Compiler for C supports arguments -Wno-switch-enum: YES
Compiler for C++ supports arguments -Wno-switch-enum: YES
Compiler for C supports arguments -Wno-#warnings: YES
Compiler for C++ supports arguments -Wno-#warnings: YES
Checking for function "setsid" : YES
Checking for function "wordexp" : YES
Found pkg-config: /opt/homebrew/bin/pkg-config (0.29.2)
Run-time dependency glib-2.0 found: YES 2.74.0
Run-time dependency gobject-2.0 found: YES 2.74.0
Run-time dependency gio-2.0 found: YES 2.74.0
Run-time dependency gmime-3.0 found: YES 3.2.7
Run-time dependency xapian-core found: YES 1.4.21
Run-time dependency threads found: YES
Program awk found: YES (/usr/bin/awk)
Program gzip found: YES (/usr/bin/gzip)
Run-time dependency guile-3.0 found: YES 3.0.8
Program emacs found: YES 29.0.50 (/Users/bobrien/bin/emacs)
Program makeinfo found: YES (/opt/homebrew/opt/texinfo/bin/makeinfo)
Program install-info found: YES (/opt/homebrew/opt/texinfo/bin/install-info)
Configuring version.texi using configuration
Configuring mu4e-config.el using configuration
Configuring version.texi using configuration
Configuring compile-scm using configuration
Configuring config.h using configuration
Build targets in project: 61
NOTICE: Future-deprecated features used:

  • 0.56.0: {'meson.source_root', 'dependency.get_pkgconfig_variable'}

Found ninja-1.11.1 at /opt/homebrew/bin/ninja
ninja: Entering directory `build'
[20/134] Compiling C++ object lib/message/test-flags.p/mu-flags.cc.o
../lib/message/mu-flags.cc:61:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
#define static_assert g_assert_true
^
1 warning generated.
[25/134] Compiling C++ object lib/message/test-fields.p/mu-fields.cc.o
../lib/message/mu-fields.cc:120:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
#define static_assert g_assert_true
^
1 warning generated.
[26/134] Compiling C++ object lib/message/test-priority.p/mu-priority.cc.o
../lib/message/mu-priority.cc:35:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
#define static_assert g_assert_true
^
1 warning generated.
[80/134] Generating mu4e/mu4e_actions_el_el with a custom command
FAILED: mu4e/mu4e-actions.elc
/Users/bobrien/bin/emacs --no-init-file --batch --eval '(setq load-prefer-newer t)' --eval '(setq byte-compile-dest-file-function(lambda(_) "/Users/bobrien/src/mu/build/mu4e/mu4e-actions.elc"))' --directory /Users/bobrien/src/mu/build/mu4e --directory /Users/bobrien/src/mu/mu4e --funcall batch-byte-compile ../mu4e/mu4e-actions.el

Error occurred processing ../mu4e/mu4e-actions.el: error (("Recursive load" "/Applications/Emacs.app/Contents/Resources/lisp/jka-compr.el.gz" "/Applications/Emacs.app/Contents/Resources/lisp/jka-compr.el.gz" "/Applications/Emacs.app/Contents/Resources/lisp/jka-compr.el.gz" "/Applications/Emacs.app/Contents/Resources/lisp/jka-compr.el.gz" "/Applications/Emacs.app/Contents/Resources/lisp/jka-compr.el.gz" "/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/icons.el.gz" "/Users/bobrien/.emacs.d/eln-cache/29_0_50-0a8b7b6c/warnings-28e75f4d-02da775e.eln"))
[81/134] Generating mu4e/mu4e_compose_el_el with a custom command
FAILED: mu4e/mu4e-compose.elc
/Users/bobrien/bin/emacs --no-init-file --batch --eval '(setq load-prefer-newer t)' --eval '(setq byte-compile-dest-file-function(lambda() "/Users/bobrien/src/mu/build/mu4e/mu4e-compose.elc"))' --directory /Users/bobrien/src/mu/build/mu4e --directory /Users/bobrien/src/mu/mu4e --funcall batch-byte-compile ../mu4e/mu4e-compose.el
Error occurred processing ../mu4e/mu4e-compose.el: error (("Recursive load" "/Applications/Emacs.app/Contents/Resources/lisp/jka-compr.el.gz" "/Applications/Emacs.app/Contents/Resources/lisp/jka-compr.el.gz" "/Applications/Emacs.app/Contents/Resources/lisp/jka-compr.el.gz" "/Applications/Emacs.app/Contents/Resources/lisp/jka-compr.el.gz" "/Applications/Emacs.app/Contents/Resources/lisp/jka-compr.el.gz" "/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/icons.el.gz" "/Users/bobrien/.emacs.d/eln-cache/29_0_50-0a8b7b6c/warnings-28e75f4d-02da775e.eln"))
[82/134] Generating mu4e/mu4e_bookmarks_el_el with a custom command
FAILED: mu4e/mu4e-bookmarks.elc
/Users/bobrien/bin/emacs --no-init-file --batch --eval '(setq load-prefer-newer t)' --eval '(setq byte-compile-dest-file-function(lambda(
) "/Users/bobrien/src/mu/build/mu4e/mu4e-bookmarks.elc"))' --directory /Users/bobrien/src/mu/build/mu4e --directory /Users/bobrien/src/mu/mu4e --funcall batch-byte-compile ../mu4e/mu4e-bookmarks.el
Error occurred processing ../mu4e/mu4e-bookmarks.el: error (("Recursive load" "/Applications/Emacs.app/Contents/Resources/lisp/jka-compr.el.gz" "/Applications/Emacs.app/Contents/Resources/lisp/jka-compr.el.gz" "/Applications/Emacs.app/Contents/Resources/lisp/jka-compr.el.gz" "/Applications/Emacs.app/Contents/Resources/lisp/jka-compr.el.gz" "/Applications/Emacs.app/Contents/Resources/lisp/jka-compr.el.gz" "/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/icons.el.gz" "/Users/bobrien/.emacs.d/eln-cache/29_0_50-0a8b7b6c/warnings-28e75f4d-02da775e.eln"))
[91/134] Compiling C++ object mu/mu.p/mu-cmd.cc.o
ninja: build stopped: subcommand failed.

Environment
mu 1.8.10, macOS 13.0, emacs 29.0.50

Checklist

  • you are running either the latest 1.6.x release, or a 1.8.x release (otherwise, please upgrade)
  • you are running mu4e without any third-party extensions (otherwise, make sure you can reproduce without those)
  • you have read all of the above
@thecocoa thecocoa added bug mu4e specific for mu4e new labels Oct 16, 2022
@djcb
Copy link
Owner

djcb commented Oct 25, 2022

Hmmm.... suspect that's some local setup issue.

We have automatic builds, including for MacOS (but not "silicon"). Can you reproduce with a release emacs (ie. 28)?

@djcb
Copy link
Owner

djcb commented Nov 12, 2022

Ah, so it's likely this problem:
https://stackoverflow.com/questions/36564191/emacs-recursive-load
so some package loads itself. Not much mu4e can do about this... good luck!

@djcb djcb closed this as completed Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mu4e specific for mu4e
Projects
None yet
Development

No branches or pull requests

2 participants