On Emacs' master-branch, the emacs-lisp function comp-write-bytecode-file has been renamed to comp--write-bytecode-file (i.e. to include a double dash) in this commit [1]:
faa46eb8667c11a0725500a50e957eb78021c99f Author: Andrea Corallo <acora...@gnu.org> AuthorDate: Sun Feb 11 12:31:13 2024 +0100 Commit: Andrea Corallo <acora...@gnu.org> CommitDate: Sun Feb 11 15:26:12 2024 +0100 Rename a number of native compiler functions Guix' function emacs-compile-directory from module (guix build emacs-utils) [2] depends on this emacs-lisp function. Thus, when emacs-next-minimal is build from the above mentioned commit or later, it won't be possible to build packages that use emacs-build-system, when using --with-input=emacs-minimal=emacs-next-minimal, or in Guile code, argument "#:emacs emacs-next-minimal". This might be considered to be a minor issue as of right now. It'll become a more general problem, when Emacs 30 is released. [1] https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=faa46eb8667c11a0725500a50e957eb78021c99f [2] https://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/emacs-utils.scm?h=08ed3ec64ecd571d92d497b2493f5c0225102c99#n153