compiling emacs-devel on Mac OS X Lion fails

Werner LEMBERG wl at
Sun Jul 24 06:40:37 UTC 2022

The 'emacs-devel' package of MacPorts is currently based on commit
4650ea9c25514831d925e5006ea0c3679344333b (from 2022-Jul-12).

On Mac OS X 10.7.5 (Lion), emacs 27.2 builds fine.  However, the above
commit fails with

./temacs --batch  -l loadup --temacs=pbootstrap \
         --bin-dest /opt/local/bin/ \
         --eln-dest /opt/local/lib/emacs/29.0.50/
Warning: arch-independent data dir
  '/opt/local/share/emacs/29.0.50/etc/': Invalid argument
Warning: Lisp directory
  Invalid argument
Error: /opt/local/share/emacs/29.0.50/etc/charsets: Invalid argument
Emacs will not function correctly without the character map files.

Does this ring a bell?  I reported the problem already in

without progress then.  It also fails on Mountain Lion and Mavericks,
BTW; the earliest Mac OS version that successfully builds
'emacs-devel' is Yosemite.

For more details on the builds (including *huge* log files > 100MB
because of zillion compilation warnings that weren't present in 27.2)


More information about the macports-users mailing list