Here is the error output from command "./autogen.sh && ninja -C build":
#+begin_example
mu on master [?] via 🅒 base
➜ ./autogen.sh
,*** meson build setup
/opt/homebrew/bin/meson
The Meson build system
Version: 0.62.1
Source dir: /Users/stardiviner/Code/Emacs/mu
Build dir: /Users/stardiviner/Code/Emacs/mu/build
Build type: native build
Project name: mu
Project version: 1.7.25
C compiler for the host machine: cc (clang 13.1.6 "Apple clang version 13.1.6 (clang-1316.0.21.2.5)")
C linker for the host machine: cc ld64 764
C++ compiler for the host machine: c++ (clang 13.1.6 "Apple clang version 13.1.6 (clang-1316.0.21.2.5)")
C++ linker for the host machine: c++ ld64 764
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-keyword-macro: YES
Compiler for C++ supports arguments -Wno-keyword-macro: 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.72.1
Run-time dependency gobject-2.0 found: YES 2.72.1
Run-time dependency gio-2.0 found: YES 2.72.1
Run-time dependency gmime-3.0 found: YES 3.2.7
Run-time dependency xapian-core found: YES 1.4.19
Run-time dependency threads found: YES
Run-time dependency guile-3.0 found: YES 3.0.8
Program gawk found: YES (/opt/homebrew/bin/gawk)
Program emacs found: YES 29.0.50 (/opt/homebrew/bin/emacs)
Program makeinfo found: YES (/usr/local/bin/makeinfo)
Configuring version.texi using configuration
Configuring mu4e-config.el using configuration
Configuring compile-scm using configuration
Program guile-snarf found: YES (/opt/homebrew/bin/guile-snarf)
Configuring config.h using configuration
Build targets in project: 59
NOTICE: Future-deprecated features used:
,* 0.56.0: {'meson.source_root', 'dependency.get_pkgconfig_variable'}
Found ninja-1.11.0 at /opt/homebrew/Caskroom/miniforge/base/bin/ninja
,*** Now run 'ninja -C build' to build mu
,*** Or check the Makefile for some useful targets
(base)
mu on master [?] via 🅒 base took 3s
➜ ninja -C build
ninja: Entering directory `build'
[109/129] Generating mu4e/mu4e_contrib_el_el with a custom command
In eshell/mu4e-attach:
../mu4e/mu4e-contrib.el:147:22: Warning: ‘eshell-flatten-list’ is an obsolete function (as of 27.1); use ‘flatten-tree’ instead.
../mu4e/mu4e-contrib.el:176:42: Warning: ‘mm-default-file-encoding’ is an obsolete function (as of 28.1); use ‘mm-default-file-type’ instead.
[115/129] Generating 'guile/libguile-mu.dylib.p/mu-guile.x'.
FAILED: guile/libguile-mu.dylib.p/mu-guile.x
/opt/homebrew/bin/guile-snarf -o guile/libguile-mu.dylib.p/mu-guile.x ../guile/mu-guile.cc -I/Users/stardiviner/Code/Emacs/mu/guile/.. -I/Users/stardiviner/Code/Emacs/mu/guile/../lib -I/Users/stardiviner/Code/Emacs/mu/build/guile/.. -I/opt/homebrew/Cellar/glib/2.72.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.72.1/lib/glib-2.0/include -I/opt/homebrew/Cellar/guile/3.0.8/include/guile/3.0
error: invalid argument '-std=gnu11' not allowed with 'C++'
[116/129] Generating 'guile/libguile-mu.dylib.p/mu-guile-message.x'.
FAILED: guile/libguile-mu.dylib.p/mu-guile-message.x
/opt/homebrew/bin/guile-snarf -o guile/libguile-mu.dylib.p/mu-guile-message.x ../guile/mu-guile-message.cc -I/Users/stardiviner/Code/Emacs/mu/guile/.. -I/Users/stardiviner/Code/Emacs/mu/guile/../lib -I/Users/stardiviner/Code/Emacs/mu/build/guile/.. -I/opt/homebrew/Cellar/glib/2.72.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.72.1/lib/glib-2.0/include -I/opt/homebrew/Cellar/guile/3.0.8/include/guile/3.0
error: invalid argument '-std=gnu11' not allowed with 'C++'
[120/129] Generating mu4e/mu4e_org_el_el with a custom command
In mu4e--org-store-link-query:
../mu4e/mu4e-org.el:67:4: Warning: ‘org-store-link-props’ is an obsolete function (as of 9.3); use ‘org-link-store-props’ instead.
In mu4e--org-store-link-message:
../mu4e/mu4e-org.el:98:14: Warning: ‘org-store-link-props’ is an obsolete function (as of 9.3); use ‘org-link-store-props’ instead.
[124/129] Compiling C++ object mu/mu.p/mu-cmd.cc.o
ninja: build stopped: subcommand failed.
#+end_example
My system environment:
- Operating System: Apple Silicon M1 macOS Monterey 12.3.1
- Emacs version: GNU Emacs 28.1 (build 1, aarch64-apple-darwin21.1.0, NS appkit-2113.00 Version 12.0.1 (Build 21A559)) of 2022-05-12
- Org Mode version: Org mode version 9.3.4 (release_9.3.4-644-g14d358.dirty @ /Users/stardiviner/Code/Emacs/org-mode/lisp/)
- Meson version: 0.62.1
- Ninja version: 1.11.0
P.S. glib and meson, xapain etc are installed through macOS Homebrew.
[stardiviner] <Hack this world!> GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog:
http://stardiviner.github.io/