FYI,
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57394

Lars at gnu says it is fixed in emacs 29
The bug's web page says, more specifically, "bug marked as fixed in version 29.1"

... I can't find emacs 29.1; my 'git pull' still says 29.0 and I don't see any 29.1 branches available.
I have not been able to test and verify the fix.

Thoughts?
Daniel Ortmann <daniel.ortmann@oracle.com> writes:

Error: error ("Eager macro-expansion failure: (void-function
byte-compile-warn-obsolete)")
debug-early-backtrace()
debug-early(error (error "Eager macro-expansion failure:
(void-function byte-compile-warn-obsolete)"))
This should now be fixed in Emacs 29.