The current implementation of SET-KEYMAP-PARENTS for GNU Emacs is problematic (e.g., cc-mode will error): a keymap is represented as a list with the first element being the symbol KEYMAP. The function as currently implemented will treat a keymap as any other list. Here's a quick fix:
committed, thanks!