Current state of the main branch is not compatible with Emacs-26. Loading /home/ubuntu/src/org-mode/lisp/org-compat.el (source)... Eager macro-expansion failure: (wrong-number-of-arguments (2 . 2) 6) It is again `setq-local' call with multiple variables. See the attached patch that splits it into several parts.