Fixed by this commit:

61b9f2c317 of 2022-11-17
* lisp/emacs-lisp/shortdoc.el (sequence): Don't use cl-lib (bug#59319)