Closed Apteryks closed 1 month ago
Use cl-defgeneric in place of obsolete (and no longer existing) defgeneric, and cl-defmethod in place of defmethod. Adjust imports accordingly.
That's still no enough/incorrect and I now get:
starting phase `build' In toplevel form: binary-node.el:70:27: Warning: docstring wider than 80 characters binary-node.el:153:29: Warning: Obsolete name arg "Binary node" to constructor roguel-ike-level-generator-binary-node binary-node.el:158:30: Warning: Obsolete name arg "Binary node" to constructor roguel-ike-level-generator-binary-node In toplevel form: ../../fov.el:74:35: Warning: docstring wider than 80 characters ../../fov.el:84:33: Warning: docstring wider than 80 characters In roguel-ike-fov-compute-fov: ../../fov.el:218:43: Warning: Obsolete name arg "Transformer" to constructor roguel-ike-fov-coordinate-transformer In roguel-ike-path-finding-find-path: ../../path-finding.el:99:37: Warning: Obsolete name arg "Origin node" to constructor roguel-ike-path-finding-node ../../path-finding.el:122:35: Warning: Obsolete name arg "End node" to constructor roguel-ike-path-finding-node ../../path-finding.el:126:41: Warning: Obsolete name arg "Neighbour node" to constructor roguel-ike-path-finding-node In toplevel form: ../../renderer.el:83:30: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting) ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/stats/slot.el: Warning: Obsolete name arg "Slot dispatcher" to constructor roguel-ike-dispatcher ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/time-manager.el: Warning: Obsolete name arg "Priority queue" to constructor rlk--time-priority-queue ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/level.el: Warning: Obsolete name arg "Level time manager" to constructor rlk--time-manager ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/level.el: Warning: Obsolete name arg "Physics world" to constructor rlk--physics-world ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/level.el: Warning: Obsolete name arg "Motion" to constructor rlk--physics-motion ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/entity.el: Warning: Obsolete name arg "Entity dispatcher" to constructor roguel-ike-dispatcher ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/entity.el: Warning: Obsolete name arg "Entity's stat regenerator" to constructor rlk--stats-regenerator ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/entity.el: Warning: Obsolete name arg "Stats" to constructor rlk--stats ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/entity.el: Warning: Obsolete name arg "Entity" to constructor rlk--entity ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike-lib/path-finding.el: Warning: Obsolete name arg "Origin node" to constructor roguel-ike-path-finding-node ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike-lib/path-finding.el: Warning: Obsolete name arg "End node" to constructor roguel-ike-path-finding-node ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike-lib/path-finding.el: Warning: Obsolete name arg "Neighbour node" to constructor roguel-ike-path-finding-node In end of data: ../../../roguel-ike/behaviour/ai.el:122:24: Warning: the function ‘get-objects’ is not known to be defined. ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/skill/object/fractalball.el: Warning: Obsolete name arg "Fractal ball" to constructor rlk--skill-object-fractalball In toplevel form: ../../../roguel-ike/data/skills.el:68:35: Warning: Obsolete name arg "Fireball" to constructor rlk--skill-object-fireball ../../../roguel-ike/data/skills.el:187:38: Warning: Obsolete name arg "Fractal ball" to constructor rlk--skill-object-fractalball ../../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/hero-data.el: Warning: Obsolete name arg "Hero data" to constructor rlk--hero-data In rlk--entity-create-from-hero-data: ../../../roguel-ike/entity/factory/hero.el:33:24: Warning: Obsolete name arg "Manual behaviour" to constructor rlk--behaviour-manual In rlk--entity-create-hero-data: ../../../roguel-ike/entity/factory/hero.el:37:4: Warning: Obsolete name arg "Hero data" to constructor rlk--hero-data ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/graphics/renderer/game.el: Warning: Obsolete name arg "Level renderer" to constructor roguel-ike-renderer ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/graphics/widget/entity.el: Warning: Obsolete name arg "Stats widget" to constructor rlk--graphics-widget-stats ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/graphics/renderer/stats.el: Warning: Obsolete name arg "Entity widget" to constructor rlk--graphics-widget-entity ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike-lib/fov.el: Warning: Obsolete name arg "Transformer" to constructor roguel-ike-fov-coordinate-transformer ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/controller.el: Warning: Obsolete name arg "Entity widget" to constructor rlk--graphics-widget-entity ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/entity/factory/hero.el: Warning: Obsolete name arg "Manual behaviour" to constructor rlk--behaviour-manual ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/entity/factory/hero.el: Warning: Obsolete name arg "Hero data" to constructor rlk--hero-data ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/game-screen/fight.el: Warning: Obsolete name arg "Message logger" to constructor rlk--message-logger ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/game-screen/fight.el: Warning: Obsolete name arg "Game" to constructor rlk--game ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/game-screen/fight.el: Warning: Obsolete name arg "Stats renderer" to constructor rlk--graphics-renderer-stats ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/game-screen/fight.el: Warning: Obsolete name arg "Game renderer" to constructor rlk--graphics-renderer-game ../../../../../../../../../tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/game-screen/fight.el: Warning: Obsolete name arg "Controller" to constructor rlk--controller Error: cl-no-applicable-method (get-keymap rlk--controller) mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0xabc85104510e41>)) debug-early-backtrace() debug-early(error (cl-no-applicable-method get-keymap rlk--controller)) signal(cl-no-applicable-method (get-keymap rlk--controller)) cl-no-applicable-method(#s(cl--generic :name get-keymap :dispatches ((0 #s(cl--generic-generalizer :name eieio--generic-generalizer :priority 50 :tagcode-function cl--generic-struct-tag :specializers-function #f(compiled-function (tag &rest _) #<bytecode -0x42449dab29ebe16>)) #s(cl--generic-generalizer :name cl--generic-t-generalizer :priority 0 :tagcode-function #f(compiled-function (name &rest _) #<bytecode -0x1cba0b13a96764e4>) :specializers-function #f(compiled-function (tag &rest _) #<bytecode -0x2b662d08469105e>)))) :method-table (#s(cl--generic-method :specializers (rlk--controller) :qualifiers (:static) :call-con nil :function (lambda (self) "Return a mode keymap according to the controller's key bindings." (progn (let ((map (make-sparse-keymap))) (let ((tail (eieio-oref-default self 'key-bindings))) (while tail (let ((binding (car tail))) (define-key map (kbd (car binding)) (intern (concat "rlk-command-" (symbol-name (cdr binding))))) (setq tail (cdr tail))))) map))))) :options nil) rlk--controller) apply(cl-no-applicable-method #s(cl--generic :name get-keymap :dispatches ((0 #s(cl--generic-generalizer :name eieio--generic-generalizer :priority 50 :tagcode-function cl--generic-struct-tag :specializers-function #f(compiled-function (tag &rest _) #<bytecode -0x42449dab29ebe16>)) #s(cl--generic-generalizer :name cl--generic-t-generalizer :priority 0 :tagcode-function #f(compiled-function (name &rest _) #<bytecode -0x1cba0b13a96764e4>) :specializers-function #f(compiled-function (tag &rest _) #<bytecode -0x2b662d08469105e>)))) :method-table (#s(cl--generic-method :specializers (rlk--controller) :qualifiers (:static) :call-con nil :function (lambda (self) "Return a mode keymap according to the controller's key bindings." (progn (let ((map (make-sparse-keymap))) (let ((tail (eieio-oref-default self 'key-bindings))) (while tail (let ((binding (car tail))) (define-key map (kbd (car binding)) (intern (concat "rlk-command-" (symbol-name (cdr binding))))) (setq tail (cdr tail))))) map))))) :options nil) rlk--controller) #f(compiled-function (&rest args) #<bytecode 0x1fede06e9713b09c>)(rlk--controller) apply(#f(compiled-function (&rest args) #<bytecode 0x1fede06e9713b09c>) rlk--controller nil) get-keymap(rlk--controller) (defvar rlk--fight-mode-map (get-keymap rlk--controller) "Keymap for roguel-ike fighting mode.") eval-buffer(#<buffer *load*> nil "/tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/game-screen/fight.el" nil t) load-with-code-conversion("/tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/game-screen/fight.el" "/tmp/guix-build-emacs-roguel-ike-0.1.1.drv-0/source/roguel-ike/game-screen/fight.el" nil t) require(roguel-ike/game-screen/fight) apply(require roguel-ike/game-screen/fight) byte-compile-file-form-require((require 'roguel-ike/game-screen/fight)) byte-compile-file-form((require 'roguel-ike/game-screen/fight)) #f(compiled-function (form) #<bytecode -0x1078023bf4499eff>)((require 'roguel-ike/game-screen/fight)) byte-compile-recurse-toplevel((require 'roguel-ike/game-screen/fight) #f(compiled-function (form) #<bytecode -0x1078023bf4499eff>)) byte-compile-toplevel-file-form((require 'roguel-ike/game-screen/fight)) #f(compiled-function (inbuffer) #<bytecode -0x1b22d3ae01e76b34>)(#<buffer *Compiler Input*>) byte-compile-from-buffer(#<buffer *Compiler Input*>) byte-compile-file("/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/game-screen/arena.el") (if byte+native-compile (native-compile file (comp-el-to-eln-filename file eln-dir)) (byte-compile-file file)) (let (byte-to-native-output-buffer-file (eln-dir (and (native-comp-available-p) (cadr native-comp-eln-load-path)))) (if byte+native-compile (native-compile file (comp-el-to-eln-filename file eln-dir)) (byte-compile-file file)) (unless (null byte-to-native-output-buffer-file) (comp-write-bytecode-file nil))) (lambda (file) (let (byte-to-native-output-buffer-file (eln-dir (and (native-comp-available-p) (cadr native-comp-eln-load-path)))) (if byte+native-compile (native-compile file (comp-el-to-eln-filename file eln-dir)) (byte-compile-file file)) (unless (null byte-to-native-output-buffer-file) (comp-write-bytecode-file nil))))("/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/game-screen/arena.el") mapc((lambda (file) (let (byte-to-native-output-buffer-file (eln-dir (and (native-comp-available-p) (cadr native-comp-eln-load-path)))) (if byte+native-compile (native-compile file (comp-el-to-eln-filename file eln-dir)) (byte-compile-file file)) (unless (null byte-to-native-output-buffer-file) (comp-write-bytecode-file nil)))) ("/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike-lib/level/generator/binary-node.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike-lib/cell.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike-lib/dispatcher.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike-lib/fov.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike-lib/level.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike-lib/los.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike-lib/math.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike-lib/path-finding.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike-lib/renderer.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/behaviour/ai.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/behaviour/manual.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/data/effects.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/data/races.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/data/skills.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/entity/factory/hero.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/game-screen/arena.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/game-screen/dungeon-rampage.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/game-screen/fight.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/game-screen/select-hero.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/game-screen/select-mode.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/game-screen/test.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/graphics/renderer/game.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/graphics/renderer/stats.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/graphics/widget/entity.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/graphics/widget/stats.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/graphics/faces.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/hero-data/manager.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/interactive-object/door.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/interactive-object/stairs.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/level/cell/ground.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/level/cell/object.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/level/factory/all-rooms.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/level/factory/layout.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/level/factory/string.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/level/populator/arena.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/level/populator/periodic.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/level/cell.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/mode/menu.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/physics/motion.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/physics/world.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/skill/object/fireball.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/skill/object/fractalball.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/stats/effect.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/stats/regenerator.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/stats/slot.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/behaviour.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/buffer-manager.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/controller.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/custom.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/dungeon.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/entity.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/fov.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/game-screen.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/game.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/hero-data.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/interactive-object.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/level.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/message-logger.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/mode.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/path-finding.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/race.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/skill.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/stats.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike/time-manager.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike-autoloads.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike-pkg.el" "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1/roguel-ike.el")) (let ((byte-compile-debug t) (byte+native-compile (native-comp-available-p)) (files (directory-files-recursively "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1" "\\.el$"))) (mapc (lambda (file) (let (byte-to-native-output-buffer-file (eln-dir (and (native-comp-available-p) (cadr native-comp-eln-load-path)))) (if byte+native-compile (native-compile file (comp-el-to-eln-filename file eln-dir)) (byte-compile-file file)) (unless (null byte-to-native-output-buffer-file) (comp-write-bytecode-file nil)))) files)) eval((let ((byte-compile-debug t) (byte+native-compile (native-comp-available-p)) (files (directory-files-recursively "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1" "\\.el$"))) (mapc (lambda (file) (let (byte-to-native-output-buffer-file (eln-dir (and (native-comp-available-p) (cadr native-comp-eln-load-path)))) (if byte+native-compile (native-compile file (comp-el-to-eln-filename file eln-dir)) (byte-compile-file file)) (unless (null byte-to-native-output-buffer-file) (comp-write-bytecode-file nil)))) files)) nil) eval((eval '(let ((byte-compile-debug t) (byte+native-compile (native-comp-available-p)) (files (directory-files-recursively "/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1" "\\.el$"))) (mapc (lambda (file) (let (byte-to-native-output-buffer-file (eln-dir (and (native-comp-available-p) (cadr native-comp-eln-load-path)))) (if byte+native-compile (native-compile file (comp-el-to-eln-filename file eln-dir)) (byte-compile-file file)) (unless (null byte-to-native-output-buffer-file) (comp-write-bytecode-file nil)))) files)) nil) t) command-line-1(("--eval=(eval '(let ((byte-compile-debug t) (byte+native-compile (native-comp-available-p)) (files (directory-files-recursively \"/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1\" \"\\\\.el$\"))) (mapc (lambda (file) (let (byte-to-native-output-buffer-file (eln-dir (and (native-comp-available-No applicable method: get-keymap, rlk--controller p) (cadr native-comp-eln-load-path)))) (if byte+native-compile (native-compile file (comp-el-to-eln-filename file eln-dir)) (byte-compile-file file)) (unless (null byte-to-native-output-buffer-file) (comp-write-bytecode-file nil)))) files)) nil)")) command-line() normal-top-level() error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "/gnu/store/3ki76bxalfm5vpkk9jbddnw4gk420svv-emacs-minimal-29.1/bin/emacs" arguments: ("--quick" "--batch" "--eval=(eval '(let ((byte-compile-debug t) (byte+native-compile (native-comp-available-p)) (files (directory-files-recursively \"/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1\" \"\\\\.el$\"))) (mapc (lambda (file) (let (byte-to-native-output-buffer-file (eln-dir (and (native-comp-available-p) (cadr native-comp-eln-load-path)))) (if byte+native-compile (native-compile file (comp-el-to-eln-filename file eln-dir)) (byte-compile-file file)) (unless (null byte-to-native-output-buffer-file) (comp-write-bytecode-file nil)))) files)) nil)") exit-status: 255 term-signal: #f stop-signal: #f> phase `build' failed after 0.6 seconds command "/gnu/store/3ki76bxalfm5vpkk9jbddnw4gk420svv-emacs-minimal-29.1/bin/emacs" "--quick" "--batch" "--eval=(eval '(let ((byte-compile-debug t) (byte+native-compile (native-comp-available-p)) (files (directory-files-recursively \"/gnu/store/h5766k5qhs6rz1v6i4k4r3hmfvaqf5mz-emacs-roguel-ike-0.1.1/share/emacs/site-lisp/roguel-ike-0.1.1\" \"\\\\.el$\"))) (mapc (lambda (file) (let (byte-to-native-output-buffer-file (eln-dir (and (native-comp-available-p) (cadr native-comp-eln-load-path)))) (if byte+native-compile (native-compile file (comp-el-to-eln-filename file eln-dir)) (byte-compile-file file)) (unless (null byte-to-native-output-buffer-file) (comp-write-bytecode-file nil)))) files)) nil)" failed with status 255 builder for `/gnu/store/3g5c7s61pafvrj8mrm9nghz67985imvv-emacs-roguel-ike-0.1.1.drv' failed with exit code 1
Actually, I will create a New branch "fix-build" on my repo, until I have a fully working build, in order not to break the package for Emacs<=28 users
Use cl-defgeneric in place of obsolete (and no longer existing) defgeneric, and cl-defmethod in place of defmethod. Adjust imports accordingly.
That's still no enough/incorrect and I now get: