qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
18.17k stars 39.13k forks source link

[Bug] various build failures building the ergodox_ez keyboard firmware #22012

Closed Apteryks closed 1 year ago

Apteryks commented 1 year ago

Describe the Bug

I'm attempting to build qmk_firmware using something like:

make ergodox_ez:all:all

And see the following failures:

Making ergodox_ez/base with keymap belak and target all                                        [ERRORS]
In file included from quantum/keymap_introspection.c:5:
./layouts/community/ergodox/belak/keymap.c: In function ‘process_record_user’:
./layouts/community/ergodox/belak/keymap.c:270:13: error: implicit declaration of function ‘process_unicode’; did you mean ‘process_record’? [-Werror=implicit-function-declaration]
             process_unicode((0x00AF|QK_UNICODE), record);   // Hand
             ^~~~~~~~~~~~~~~
             process_record
cc1: all warnings being treated as errors
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_belak/quantum/keymap_introspection.o] Error 1
make[1]: *** Waiting for unfinished jobs....
[...]

users/danielo515/danielo515.c: In function ‘leader_start_user’:
users/danielo515/danielo515.c:7:6: error: type of ‘vodi’ defaults to ‘int’ [-Werror=implicit-int]
 void leader_start_user(vodi) {
      ^~~~~~~~~~~~~~~~~
users/danielo515/danielo515.c:7:1: error: number of arguments doesn’t match prototype
 void leader_start_user(vodi) {
 ^~~~
In file included from quantum/quantum.h:97,
                 from users/danielo515/danielo515.h:2,
                 from users/danielo515/danielo515.c:1:
quantum/leader.h:17:6: error: prototype declaration
 void leader_start_user(void);
      ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_danielo515/danielo515.o] Error 1
make[1]: *** Waiting for unfinished jobs....

[...]

Making ergodox_ez/base with keymap default_glow and target all                                 [ERRORS]
quantum/keymap_introspection.c: In function ‘keymap_layer_count_raw’:
quantum/keymap_introspection.c:17:49: error: ‘keymaps’ undeclared (first use in this function)
 #define NUM_KEYMAP_LAYERS_RAW ((uint8_t)(sizeof(keymaps) / ((MATRIX_ROWS) * (MATRIX_COLS) * sizeof(uint16_t))))
                                                 ^~~~~~~
quantum/keymap_introspection.c:20:12: note: in expansion of macro ‘NUM_KEYMAP_LAYERS_RAW’
     return NUM_KEYMAP_LAYERS_RAW;
            ^~~~~~~~~~~~~~~~~~~~~
quantum/keymap_introspection.c:17:49: note: each undeclared identifier is reported only once for each function it appears in
 #define NUM_KEYMAP_LAYERS_RAW ((uint8_t)(sizeof(keymaps) / ((MATRIX_ROWS) * (MATRIX_COLS) * sizeof(uint16_t))))
                                                 ^~~~~~~
quantum/keymap_introspection.c:20:12: note: in expansion of macro ‘NUM_KEYMAP_LAYERS_RAW’
     return NUM_KEYMAP_LAYERS_RAW;
            ^~~~~~~~~~~~~~~~~~~~~
quantum/keymap_introspection.c: At top level:
quantum/keymap_introspection.c:17:49: error: ‘keymaps’ undeclared here (not in a function)
 #define NUM_KEYMAP_LAYERS_RAW ((uint8_t)(sizeof(keymaps) / ((MATRIX_ROWS) * (MATRIX_COLS) * sizeof(uint16_t))))
                                                 ^~~~~~~
quantum/keymap_introspection.c:30:16: note: in expansion of macro ‘NUM_KEYMAP_LAYERS_RAW’
 _Static_assert(NUM_KEYMAP_LAYERS_RAW <= MAX_LAYER, "Number of keymap layers exceeds maximum set by LAYER_STATE_(8|16|32)BIT");
                ^~~~~~~~~~~~~~~~~~~~~
quantum/keymap_introspection.c:30:41: error: ‘MAX_LAYER’ undeclared here (not in a function)
 _Static_assert(NUM_KEYMAP_LAYERS_RAW <= MAX_LAYER, "Number of keymap layers exceeds maximum set by LAYER_STATE_(8|16|32)BIT");
                                         ^~~~~~~~~
quantum/keymap_introspection.c:17:31: error: expression in static assertion is not an integer
 #define NUM_KEYMAP_LAYERS_RAW ((uint8_t)(sizeof(keymaps) / ((MATRIX_ROWS) * (MATRIX_COLS) * sizeof(uint16_t))))
                               ^
quantum/keymap_introspection.c:30:16: note: in expansion of macro ‘NUM_KEYMAP_LAYERS_RAW’
 _Static_assert(NUM_KEYMAP_LAYERS_RAW <= MAX_LAYER, "Number of keymap layers exceeds maximum set by LAYER_STATE_(8|16|32)BIT");
                ^~~~~~~~~~~~~~~~~~~~~
quantum/keymap_introspection.c: In function ‘keycode_at_keymap_location_raw’:
quantum/keymap_introspection.c:35:16: error: implicit declaration of function ‘pgm_read_word’ [-Werror=implicit-function-declaration]
         return pgm_read_word(&keymaps[layer_num][row][column]);
                ^~~~~~~~~~~~~
quantum/keymap_introspection.c:37:12: error: ‘KC_TRNS’ undeclared (first use in this function)
     return KC_TRNS;
            ^~~~~~~
quantum/keymap_introspection.c: In function ‘keymap_layer_count_raw’:
quantum/keymap_introspection.c:21:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
quantum/keymap_introspection.c: In function ‘keycode_at_keymap_location_raw’:
quantum/keymap_introspection.c:38:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:357: .build/obj_ergodox_ez_base_default_glow/quantum/keymap_introspection.o] Error 1
make[1]: *** Waiting for unfinished jobs....

[...]

Making ergodox_ez/base with keymap ericgebhart and target all                                  [ERRORS]
In file included from quantum/keymap_extras/keymap_us.h:27,
                 from quantum/quantum_keycodes.h:23,
                 from quantum/quantum.h:40,
                 from ./.build/obj_ergodox_ez_base_ericgebhart/src/default_keyboard.h:27,
                 from users/ericgebhart/layer_names/layer_names.h:17,
                 from users/ericgebhart/ericgebhart.h:22,
                 from users/ericgebhart/process_records.c:17:
users/ericgebhart/extensions/keycodes.h:39:26: error: ‘SAFE_RANGE’ undeclared here (not in a function)
   ALT_LOCAL_KEYS_START = SAFE_RANGE,
                          ^~~~~~~~~~
In file included from quantum/keymap_extras/keymap_us.h:27,
                 from quantum/quantum_keycodes.h:23,
                 from quantum/quantum.h:40,
                 from ./.build/obj_ergodox_ez_base_ericgebhart/src/default_keyboard.h:27,
                 from users/ericgebhart/layer_names/layer_names.h:17,
                 from users/ericgebhart/ericgebhart.h:22,
                 from users/ericgebhart/ericgebhart.c:18:
users/ericgebhart/extensions/keycodes.h:39:26: error: ‘SAFE_RANGE’ undeclared here (not in a function)
   ALT_LOCAL_KEYS_START = SAFE_RANGE,
                          ^~~~~~~~~~
In file included from quantum/keymap_extras/keymap_us.h:27,
                 from quantum/quantum_keycodes.h:23,
                 from quantum/quantum.h:40,
                 from keyboards/ergodox_ez/ergodox_ez.h:23,
                 from keyboards/ergodox_ez/matrix.c:35:
users/ericgebhart/extensions/keycodes.h:39:26: error: ‘SAFE_RANGE’ undeclared here (not in a function); did you mean ‘CARTE_RAISE’?
   ALT_LOCAL_KEYS_START = SAFE_RANGE,
                          ^~~~~~~~~~
                          CARTE_RAISE
 | 
 | 
 | 
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_ericgebhart/ericgebhart.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_ericgebhart/process_records.o] Error 1
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_ericgebhart/matrix.o] Error 1
In file included from quantum/keymap_extras/keymap_us.h:27,
                 from quantum/quantum_keycodes.h:23,
                 from quantum/quantum.h:40,
                 from ./.build/obj_ergodox_ez_base_ericgebhart/src/default_keyboard.h:27,
                 from users/ericgebhart/layer_names/layer_names.h:17,
                 from users/ericgebhart/ericgebhart.h:22,
                 from users/ericgebhart/lang/locales.c:17:
users/ericgebhart/extensions/keycodes.h:39:26: error: ‘SAFE_RANGE’ undeclared here (not in a function)
   ALT_LOCAL_KEYS_START = SAFE_RANGE,
                          ^~~~~~~~~~
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_ericgebhart/users/ericgebhart/lang/locales.o] Error 1

[...]

Making ergodox_ez/base with keymap hacker_dvorak and target all                                [ERRORS]
In file included from ./keyboards/ergodox_ez/keymaps/hacker_dvorak/keymap.c:23,
                 from quantum/keymap_introspection.c:5:
quantum/dynamic_macro.h:21:9: note: #pragma message: Dynamic Macros is now a core feature. See updated documentation to see how to configure it: https://docs.qmk.fm/#/feature_dynamic_macros
 #pragma message "Dynamic Macros is now a core feature. See updated documentation to see how to configure it: https://docs.qmk.fm/#/feature_dynamic_macros"
         ^~~~~~~
In file included from ./keyboards/ergodox_ez/keymaps/hacker_dvorak/keymap.c:28,
                 from quantum/keymap_introspection.c:5:
./keyboards/ergodox_ez/keymaps/hacker_dvorak/user/layer_set_state_user.c: In function ‘layer_state_set_user’:
./keyboards/ergodox_ez/keymaps/hacker_dvorak/user/layer_set_state_user.c:7:38: error: ‘GREEN’ undeclared (first use in this function)
             rgblight_sethsv_noeeprom(GREEN);
                                      ^~~~~
./keyboards/ergodox_ez/keymaps/hacker_dvorak/user/layer_set_state_user.c:7:38: note: each undeclared identifier is reported only once for each function it appears in
./keyboards/ergodox_ez/keymaps/hacker_dvorak/user/layer_set_state_user.c:7:13: error: too few arguments to function ‘rgblight_sethsv_noeeprom’
             rgblight_sethsv_noeeprom(GREEN);
             ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from quantum/quantum.h:32,
                 from ./.build/obj_ergodox_ez_base_hacker_dvorak/src/default_keyboard.h:27,
                 from ./keyboards/ergodox_ez/keymaps/hacker_dvorak/keymap.c:1,
                 from quantum/keymap_introspection.c:5:
quantum/rgblight/rgblight.h:349:6: note: declared here
 void rgblight_sethsv_noeeprom(uint8_t hue, uint8_t sat, uint8_t val);
      ^~~~~~~~~~~~~~~~~~~~~~~~
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:357: .build/obj_ergodox_ez_base_hacker_dvorak/quantum/keymap_introspection.o] Error 1
make[1]: *** Waiting for unfinished jobs....

[...]

Making ergodox_ez/base with keymap issmirnov and target all                                    [ERRORS]
quantum/keymap_introspection.c: In function ‘combo_count_raw’:
quantum/keymap_introspection.c:80:19: error: ‘key_combos’ undeclared (first use in this function); did you mean ‘keymaps’?
     return sizeof(key_combos) / sizeof(combo_t);
                   ^~~~~~~~~~
                   keymaps
quantum/keymap_introspection.c:80:19: note: each undeclared identifier is reported only once for each function it appears in
quantum/keymap_introspection.c: In function ‘combo_get_raw’:
quantum/keymap_introspection.c:87:13: error: ‘key_combos’ undeclared (first use in this function); did you mean ‘keymaps’?
     return &key_combos[combo_idx];
             ^~~~~~~~~~
             keymaps
quantum/keymap_introspection.c: In function ‘combo_count_raw’:
quantum/keymap_introspection.c:81:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
quantum/keymap_introspection.c: In function ‘combo_get_raw’:
quantum/keymap_introspection.c:88:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:358: .build/obj_ergodox_ez_base_issmirnov/quantum/keymap_introspection.o] Error 1
make[1]: *** Waiting for unfinished jobs....

[...]

Making ergodox_ez/base with keymap jackhumbert and target all                                  [ERRORS]
In file included from ./layouts/community/ergodox/jackhumbert/keymap.c:1,
                 from quantum/keymap_introspection.c:5:
./layouts/community/ergodox/jackhumbert/keymap.c:22:25: error: implicit declaration of function ‘M’; did you mean ‘MT’? [-Werror=implicit-function-declaration]
              KC_NO,     M(1),   QK_BOOT, KC_8,   KC_9,   KC_0,             KC_NO,
                         ^
./.build/obj_ergodox_ez_base_jackhumbert/src/default_keyboard.h:40:4: note: in definition of macro ‘LAYOUT_ergodox’
   {k8A, k8B, k8C, k8D, KC_NO, k8F}, \
    ^~~
./layouts/community/ergodox/jackhumbert/keymap.c:22:25: error: initializer element is not constant
              KC_NO,     M(1),   QK_BOOT, KC_8,   KC_9,   KC_0,             KC_NO,
                         ^
./.build/obj_ergodox_ez_base_jackhumbert/src/default_keyboard.h:40:4: note: in definition of macro ‘LAYOUT_ergodox’
   {k8A, k8B, k8C, k8D, KC_NO, k8F}, \
    ^~~
./layouts/community/ergodox/jackhumbert/keymap.c:22:25: note: (near initialization for ‘keymaps[0][8][0]’)
              KC_NO,     M(1),   QK_BOOT, KC_8,   KC_9,   KC_0,             KC_NO,
                         ^
./.build/obj_ergodox_ez_base_jackhumbert/src/default_keyboard.h:40:4: note: in definition of macro ‘LAYOUT_ergodox’
   {k8A, k8B, k8C, k8D, KC_NO, k8F}, \
    ^~~
./layouts/community/ergodox/jackhumbert/keymap.c:29:14: error: initializer element is not constant
              M(2), KC_SPC,KC_SPC
              ^
./.build/obj_ergodox_ez_base_jackhumbert/src/default_keyboard.h:44:29: note: in definition of macro ‘LAYOUT_ergodox’
   {kCA, kCB, kCC, kCD, kCE, kCF}, \
                             ^~~
./layouts/community/ergodox/jackhumbert/keymap.c:29:14: note: (near initialization for ‘keymaps[0][12][5]’)
              M(2), KC_SPC,KC_SPC
              ^
./.build/obj_ergodox_ez_base_jackhumbert/src/default_keyboard.h:44:29: note: in definition of macro ‘LAYOUT_ergodox’
   {kCA, kCB, kCC, kCD, kCE, kCF}, \
                             ^~~
In file included from quantum/keymap_introspection.c:5:
./layouts/community/ergodox/jackhumbert/keymap.c:72:7: error: unknown type name ‘macro_t’
 const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
       ^~~~~~~
./layouts/community/ergodox/jackhumbert/keymap.c: In function ‘action_get_macro’:
./layouts/community/ergodox/jackhumbert/keymap.c:89:12: error: ‘MACRO_NONE’ undeclared (first use in this function); did you mean ‘BOARD_NONE’?
     return MACRO_NONE;
            ^~~~~~~~~~
            BOARD_NONE
./layouts/community/ergodox/jackhumbert/keymap.c:89:12: note: each undeclared identifier is reported only once for each function it appears in
./layouts/community/ergodox/jackhumbert/keymap.c:90:1: error: control reaches end of non-void function [-Werror=return-type]
 };
 ^
cc1: all warnings being treated as errors
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_jackhumbert/quantum/keymap_introspection.o] Error 1

[...]

Making ergodox_ez/base with keymap jjerrell and target all                                     [ERRORS]
In file included from users/jjerrell/process_records.c:20:
users/jjerrell/jjerrell.h:26:10: fatal error: muse.h: No such file or directory
 #include "muse.h"
          ^~~~~~~~
compilation terminated.
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_jjerrell/process_records.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from users/jjerrell/jjerrell.c:20:
users/jjerrell/jjerrell.h:26:10: fatal error: muse.h: No such file or directory
 #include "muse.h"
          ^~~~~~~~
compilation terminated.
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_jjerrell/jjerrell.o] Error 1

[...]

Making ergodox_ez/base with keymap hacker_dvorak and target all                                [ERRORS]
In file included from ./keyboards/ergodox_ez/keymaps/hacker_dvorak/keymap.c:23,
                 from quantum/keymap_introspection.c:5:
quantum/dynamic_macro.h:21:9: note: #pragma message: Dynamic Macros is now a core feature. See updated documentation to see how to configure it: https://docs.qmk.fm/#/feature_dynamic_macros
 #pragma message "Dynamic Macros is now a core feature. See updated documentation to see how to configure it: https://docs.qmk.fm/#/feature_dynamic_macros"
         ^~~~~~~
In file included from ./keyboards/ergodox_ez/keymaps/hacker_dvorak/keymap.c:28,
                 from quantum/keymap_introspection.c:5:
./keyboards/ergodox_ez/keymaps/hacker_dvorak/user/layer_set_state_user.c: In function ‘layer_state_set_user’:
./keyboards/ergodox_ez/keymaps/hacker_dvorak/user/layer_set_state_user.c:7:38: error: ‘GREEN’ undeclared (first use in this function)
             rgblight_sethsv_noeeprom(GREEN);
                                      ^~~~~
./keyboards/ergodox_ez/keymaps/hacker_dvorak/user/layer_set_state_user.c:7:38: note: each undeclared identifier is reported only once for each function it appears in
./keyboards/ergodox_ez/keymaps/hacker_dvorak/user/layer_set_state_user.c:7:13: error: too few arguments to function ‘rgblight_sethsv_noeeprom’
             rgblight_sethsv_noeeprom(GREEN);
             ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from quantum/quantum.h:32,
                 from ./.build/obj_ergodox_ez_base_hacker_dvorak/src/default_keyboard.h:27,
                 from ./keyboards/ergodox_ez/keymaps/hacker_dvorak/keymap.c:1,
                 from quantum/keymap_introspection.c:5:
quantum/rgblight/rgblight.h:349:6: note: declared here
 void rgblight_sethsv_noeeprom(uint8_t hue, uint8_t sat, uint8_t val);
      ^~~~~~~~~~~~~~~~~~~~~~~~
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:357: .build/obj_ergodox_ez_base_hacker_dvorak/quantum/keymap_introspection.o] Error 1
make[1]: *** Waiting for unfinished jobs....

[...]

Making ergodox_ez/base with keymap issmirnov and target all                                    [ERRORS]
quantum/keymap_introspection.c: In function ‘combo_count_raw’:
quantum/keymap_introspection.c:80:19: error: ‘key_combos’ undeclared (first use in this function); did you mean ‘keymaps’?
     return sizeof(key_combos) / sizeof(combo_t);
                   ^~~~~~~~~~
                   keymaps
quantum/keymap_introspection.c:80:19: note: each undeclared identifier is reported only once for each function it appears in
quantum/keymap_introspection.c: In function ‘combo_get_raw’:
quantum/keymap_introspection.c:87:13: error: ‘key_combos’ undeclared (first use in this function); did you mean ‘keymaps’?
     return &key_combos[combo_idx];
             ^~~~~~~~~~
             keymaps
quantum/keymap_introspection.c: In function ‘combo_count_raw’:
quantum/keymap_introspection.c:81:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
quantum/keymap_introspection.c: In function ‘combo_get_raw’:
quantum/keymap_introspection.c:88:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:358: .build/obj_ergodox_ez_base_issmirnov/quantum/keymap_introspection.o] Error 1
make[1]: *** Waiting for unfinished jobs....

[...]

Making ergodox_ez/base with keymap jackhumbert and target all                                  [ERRORS]
In file included from ./layouts/community/ergodox/jackhumbert/keymap.c:1,
                 from quantum/keymap_introspection.c:5:
./layouts/community/ergodox/jackhumbert/keymap.c:22:25: error: implicit declaration of function ‘M’; did you mean ‘MT’? [-Werror=implicit-function-declaration]
              KC_NO,     M(1),   QK_BOOT, KC_8,   KC_9,   KC_0,             KC_NO,
                         ^
./.build/obj_ergodox_ez_base_jackhumbert/src/default_keyboard.h:40:4: note: in definition of macro ‘LAYOUT_ergodox’
   {k8A, k8B, k8C, k8D, KC_NO, k8F}, \
    ^~~
./layouts/community/ergodox/jackhumbert/keymap.c:22:25: error: initializer element is not constant
              KC_NO,     M(1),   QK_BOOT, KC_8,   KC_9,   KC_0,             KC_NO,
                         ^
./.build/obj_ergodox_ez_base_jackhumbert/src/default_keyboard.h:40:4: note: in definition of macro ‘LAYOUT_ergodox’
   {k8A, k8B, k8C, k8D, KC_NO, k8F}, \
    ^~~
./layouts/community/ergodox/jackhumbert/keymap.c:22:25: note: (near initialization for ‘keymaps[0][8][0]’)
              KC_NO,     M(1),   QK_BOOT, KC_8,   KC_9,   KC_0,             KC_NO,
                         ^
./.build/obj_ergodox_ez_base_jackhumbert/src/default_keyboard.h:40:4: note: in definition of macro ‘LAYOUT_ergodox’
   {k8A, k8B, k8C, k8D, KC_NO, k8F}, \
    ^~~
./layouts/community/ergodox/jackhumbert/keymap.c:29:14: error: initializer element is not constant
              M(2), KC_SPC,KC_SPC
              ^
./.build/obj_ergodox_ez_base_jackhumbert/src/default_keyboard.h:44:29: note: in definition of macro ‘LAYOUT_ergodox’
   {kCA, kCB, kCC, kCD, kCE, kCF}, \
                             ^~~
./layouts/community/ergodox/jackhumbert/keymap.c:29:14: note: (near initialization for ‘keymaps[0][12][5]’)
              M(2), KC_SPC,KC_SPC
              ^
./.build/obj_ergodox_ez_base_jackhumbert/src/default_keyboard.h:44:29: note: in definition of macro ‘LAYOUT_ergodox’
   {kCA, kCB, kCC, kCD, kCE, kCF}, \
                             ^~~
In file included from quantum/keymap_introspection.c:5:
./layouts/community/ergodox/jackhumbert/keymap.c:72:7: error: unknown type name ‘macro_t’
 const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
       ^~~~~~~
./layouts/community/ergodox/jackhumbert/keymap.c: In function ‘action_get_macro’:
./layouts/community/ergodox/jackhumbert/keymap.c:89:12: error: ‘MACRO_NONE’ undeclared (first use in this function); did you mean ‘BOARD_NONE’?
     return MACRO_NONE;
            ^~~~~~~~~~
            BOARD_NONE
./layouts/community/ergodox/jackhumbert/keymap.c:89:12: note: each undeclared identifier is reported only once for each function it appears in
./layouts/community/ergodox/jackhumbert/keymap.c:90:1: error: control reaches end of non-void function [-Werror=return-type]
 };
 ^
cc1: all warnings being treated as errors
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_jackhumbert/quantum/keymap_introspection.o] Error 1
make[1]: *** Waiting for unfinished jobs....

[...]

Making ergodox_ez/base with keymap jjerrell and target all                                     [ERRORS]
In file included from users/jjerrell/process_records.c:20:
users/jjerrell/jjerrell.h:26:10: fatal error: muse.h: No such file or directory
 #include "muse.h"
          ^~~~~~~~
compilation terminated.
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_jjerrell/process_records.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from users/jjerrell/jjerrell.c:20:
users/jjerrell/jjerrell.h:26:10: fatal error: muse.h: No such file or directory
 #include "muse.h"
          ^~~~~~~~
compilation terminated.
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_jjerrell/jjerrell.o] Error 1

[...]

Making ergodox_ez/base with keymap lukaus and target all                                       [ERRORS]
In file included from quantum/keymap_introspection.c:5:
./keyboards/ergodox_ez/keymaps/lukaus/keymap.c: In function ‘process_record_user’:
./keyboards/ergodox_ez/keymaps/lukaus/keymap.c:750:9: error: implicit declaration of function ‘rgblight_mode’ [-Werror=implicit-function-declaration]
         rgblight_mode(1);
         ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_lukaus/quantum/keymap_introspection.o] Error 1
make[1]: *** Waiting for unfinished jobs....

[...]

Making ergodox_ez/base with keymap neo2_on_qwertz_hardware and target all                      [ERRORS]
In file included from quantum/keymap_introspection.c:5:
./layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.c:5: error: "UM" redefined [-Werror]
 #define UM 0

In file included from quantum/quantum.h:40,
                 from ./.build/obj_ergodox_ez_base_neo2_on_qwertz_hardware/src/default_keyboard.h:27,
                 from ./layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.c:1,
                 from quantum/keymap_introspection.c:5:
quantum/quantum_keycodes.h:182: note: this is the location of the previous definition
 #define UM(i) (QK_UNICODEMAP | ((i)&0x3FFF))

cc1: all warnings being treated as errors
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_neo2_on_qwertz_hardware/quantum/keymap_introspection.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Making ergodox_ez/base with keymap nfriend and target all                                      [ERRORS]
In file included from quantum/keymap_introspection.c:5:
./keyboards/ergodox_ez/keymaps/nfriend/keymap.c: In function ‘process_record_user’:
./keyboards/ergodox_ez/keymaps/nfriend/keymap.c:1007:17: error: implicit declaration of function ‘rgblight_mode’ [-Werror=implicit-function-declaration]
                 rgblight_mode(1);
                 ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_nfriend/quantum/keymap_introspection.o] Error 1
make[1]: *** Waiting for unfinished jobs....

[...]

Making ergodox_ez/base with keymap osx_de_adnw_koy and target all                              [ERRORS]
In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:31: error: "NO_PIPE" redefined [-Werror]
 #define NO_PIPE KC_GRV  // |

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:63: note: this is the location of the previous definition
 #define NO_PIPE ALGR(KC_NUBS)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:43: error: "NO_BSLS" redefined [-Werror]
 #define NO_BSLS KC_EQL  // (backslash)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:66: note: this is the location of the previous definition
 #define NO_BSLS ALGR(KC_MINS)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:66: error: "NO_AE" redefined [-Werror]
 #define NO_AE   KC_QUOT // Æ

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:36: note: this is the location of the previous definition
 #define NO_AE   KC_SCLN

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:67: error: "NO_QUOT" redefined [-Werror]
 #define NO_QUOT KC_NUHS // '

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:35: note: this is the location of the previous definition
 #define NO_QUOT KC_RBRC // this is the "umlaut" char on Nordic keyboards, Apple layout

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:79: error: "NO_SECT" redefined [-Werror]
 #define NO_SECT S(NO_PIPE) // §

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:41: note: this is the location of the previous definition
 #define NO_SECT LSFT(NO_HALF)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:85: error: "NO_AMPR" redefined [-Werror]
 #define NO_AMPR S(NO_6)    // &

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:44: note: this is the location of the previous definition
 #define NO_AMPR LSFT(KC_6)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:86: error: "NO_SLSH" redefined [-Werror]
 #define NO_SLSH S(NO_7)    // /

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:45: note: this is the location of the previous definition
 #define NO_SLSH LSFT(KC_7)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:87: error: "NO_LPRN" redefined [-Werror]
 #define NO_LPRN S(NO_8)    // (

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:46: note: this is the location of the previous definition
 #define NO_LPRN LSFT(KC_8)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:88: error: "NO_RPRN" redefined [-Werror]
 #define NO_RPRN S(NO_9)    // )

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:47: note: this is the location of the previous definition
 #define NO_RPRN LSFT(KC_9)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:89: error: "NO_EQL" redefined [-Werror]
 #define NO_EQL  S(NO_0)    // =

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:48: note: this is the location of the previous definition
 #define NO_EQL  LSFT(KC_0)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:90: error: "NO_QUES" redefined [-Werror]
 #define NO_QUES S(NO_PLUS) // ?

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:49: note: this is the location of the previous definition
 #define NO_QUES LSFT(NO_PLUS)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:91: error: "NO_GRV" redefined [-Werror]
 #define NO_GRV  S(NO_BSLS) // ` (dead)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:50: note: this is the location of the previous definition
 #define NO_GRV  LSFT(NO_ACUT)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:92: error: "NO_CIRC" redefined [-Werror]
 #define NO_CIRC S(NO_DIAE) // ^ (dead)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:51: note: this is the location of the previous definition
 #define NO_CIRC LSFT(NO_QUOT)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:95: error: "NO_SCLN" redefined [-Werror]
 #define NO_SCLN S(NO_COMM) // ;

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:53: note: this is the location of the previous definition
 #define NO_SCLN LSFT(KC_COMM)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:96: error: "NO_COLN" redefined [-Werror]
 #define NO_COLN S(NO_DOT)  // :

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:54: note: this is the location of the previous definition
 #define NO_COLN LSFT(KC_DOT)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:97: error: "NO_UNDS" redefined [-Werror]
 #define NO_UNDS S(NO_MINS) // _

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:55: note: this is the location of the previous definition
 #define NO_UNDS LSFT(NO_MINS)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:98: error: "NO_AT" redefined [-Werror]
 #define NO_AT   ALGR(NO_2)    // @

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:56: note: this is the location of the previous definition
 #define NO_AT   ALGR(KC_2)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:99: error: "NO_PND" redefined [-Werror]
 #define NO_PND  ALGR(NO_3)    // £

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:57: note: this is the location of the previous definition
 #define NO_PND  ALGR(KC_3)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:100: error: "NO_DLR" redefined [-Werror]
 #define NO_DLR  ALGR(NO_4)    // $

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:58: note: this is the location of the previous definition
 #define NO_DLR  ALGR(KC_4)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:101: error: "NO_EURO" redefined [-Werror]
 #define NO_EURO ALGR(NO_5)    // €

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:64: note: this is the location of the previous definition
 #define NO_EURO ALGR(KC_E)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:102: error: "NO_LCBR" redefined [-Werror]
 #define NO_LCBR ALGR(NO_7)    // {

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:59: note: this is the location of the previous definition
 #define NO_LCBR ALGR(KC_7)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:103: error: "NO_LBRC" redefined [-Werror]
 #define NO_LBRC ALGR(NO_8)    // [

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:60: note: this is the location of the previous definition
 #define NO_LBRC ALGR(KC_8)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:104: error: "NO_RBRC" redefined [-Werror]
 #define NO_RBRC ALGR(NO_9)    // ]

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:61: note: this is the location of the previous definition
 #define NO_RBRC ALGR(KC_9)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:105: error: "NO_RCBR" redefined [-Werror]
 #define NO_RCBR ALGR(NO_0)    // }

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:62: note: this is the location of the previous definition
 #define NO_RCBR ALGR(KC_0)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:106: error: "NO_ACUT" redefined [-Werror]
 #define NO_ACUT ALGR(NO_BSLS) // ´ (dead)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:33: note: this is the location of the previous definition
 #define NO_ACUT KC_EQL

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:12,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_norwegian.h:107: error: "NO_TILD" redefined [-Werror]
 #define NO_TILD ALGR(NO_DIAE) // ~ (dead)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:9,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_nordic.h:65: note: this is the location of the previous definition
 #define NO_TILD ALGR(NO_QUOT)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:14,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german_mac_iso.h:103: error: "DE_LBRC" redefined [-Werror]
 #define DE_LBRC A(DE_5)    // [

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:11,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german.h:101: note: this is the location of the previous definition
 #define DE_LBRC ALGR(DE_8)    // [

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:14,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german_mac_iso.h:104: error: "DE_RBRC" redefined [-Werror]
 #define DE_RBRC A(DE_6)    // ]

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:11,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german.h:102: note: this is the location of the previous definition
 #define DE_RBRC ALGR(DE_9)    // ]

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:14,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german_mac_iso.h:105: error: "DE_PIPE" redefined [-Werror]
 #define DE_PIPE A(DE_7)    // |

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:11,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german.h:108: note: this is the location of the previous definition
 #define DE_PIPE ALGR(DE_LABK) // |

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:14,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german_mac_iso.h:106: error: "DE_LCBR" redefined [-Werror]
 #define DE_LCBR A(DE_8)    // {

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:11,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german.h:100: note: this is the location of the previous definition
 #define DE_LCBR ALGR(DE_7)    // {

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:14,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german_mac_iso.h:107: error: "DE_RCBR" redefined [-Werror]
 #define DE_RCBR A(DE_9)    // }

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:11,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german.h:103: note: this is the location of the previous definition
 #define DE_RCBR ALGR(DE_0)    // }

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:14,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german_mac_iso.h:112: error: "DE_EURO" redefined [-Werror]
 #define DE_EURO A(DE_E)    // €

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:11,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german.h:106: note: this is the location of the previous definition
 #define DE_EURO ALGR(DE_E)    // €

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:14,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german_mac_iso.h:130: error: "DE_AT" redefined [-Werror]
 #define DE_AT   A(DE_L)    // @

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:11,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german.h:105: note: this is the location of the previous definition
 #define DE_AT   ALGR(DE_Q)    // @

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:14,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german_mac_iso.h:140: error: "DE_TILD" redefined [-Werror]
 #define DE_TILD A(DE_N)    // ~ (dead)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:11,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german.h:107: note: this is the location of the previous definition
 #define DE_TILD ALGR(DE_PLUS) // ~

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:14,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german_mac_iso.h:141: error: "DE_MICR" redefined [-Werror]
 #define DE_MICR A(DE_M)    // µ

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:11,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german.h:109: note: this is the location of the previous definition
 #define DE_MICR ALGR(DE_M)    // µ

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:14,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german_mac_iso.h:149: error: "DE_BSLS" redefined [-Werror]
 #define DE_BSLS S(A(DE_7))    // (backslash)

In file included from ./layouts/community/ergodox/osx_de_adnw_koy/keymap.c:11,
                 from quantum/keymap_introspection.c:5:
quantum/keymap_extras/keymap_german.h:104: note: this is the location of the previous definition
 #define DE_BSLS ALGR(DE_SS)   // (backslash)

cc1: all warnings being treated as errors
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_osx_de_adnw_koy/quantum/keymap_introspection.o] Error 1
make[1]: *** Waiting for unfinished jobs....

[...]

Making ergodox_ez/base with keymap pvinis and target all                                       [ERRORS]
users/pvinis/pvinis.c: In function ‘keyboard_post_init_rgb_light’:
users/pvinis/pvinis.c:82:5: error: implicit declaration of function ‘rgblight_sethsv’ [-Werror=implicit-function-declaration]
     rgblight_sethsv(HSV_GOLD);
     ^~~~~~~~~~~~~~~
users/pvinis/pvinis.c:82:21: error: ‘HSV_GOLD’ undeclared (first use in this function); did you mean ‘HF_DWLD’?
     rgblight_sethsv(HSV_GOLD);
                     ^~~~~~~~
                     HF_DWLD
users/pvinis/pvinis.c:82:21: note: each undeclared identifier is reported only once for each function it appears in
users/pvinis/pvinis.c:83:5: error: implicit declaration of function ‘rgblight_mode’ [-Werror=implicit-function-declaration]
     rgblight_mode(RGBLIGHT_MODE_BREATHING);
     ^~~~~~~~~~~~~
users/pvinis/pvinis.c:83:19: error: ‘RGBLIGHT_MODE_BREATHING’ undeclared (first use in this function); did you mean ‘RGBLIGHT_EFFECT_BREATHING’?
     rgblight_mode(RGBLIGHT_MODE_BREATHING);
                   ^~~~~~~~~~~~~~~~~~~~~~~
                   RGBLIGHT_EFFECT_BREATHING
cc1: all warnings being treated as errors
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_pvinis/pvinis.o] Error 1
make[1]: *** Waiting for unfinished jobs....

[...]

Making ergodox_ez/base with keymap rgb_layer and target all                                    [ERRORS]
In file included from quantum/keymap_introspection.c:5:
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c: In function ‘eeconfig_init_user’:
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c:155:3: error: implicit declaration of function ‘rgblight_enable’; did you mean ‘debug_enable’? [-Werror=implicit-function-declaration]
   rgblight_enable();
   ^~~~~~~~~~~~~~~
   debug_enable
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c:156:3: error: implicit declaration of function ‘rgblight_sethsv’ [-Werror=implicit-function-declaration]
   rgblight_sethsv(HSV_CYAN);
   ^~~~~~~~~~~~~~~
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c:156:19: error: ‘HSV_CYAN’ undeclared (first use in this function)
   rgblight_sethsv(HSV_CYAN);
                   ^~~~~~~~
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c:156:19: note: each undeclared identifier is reported only once for each function it appears in
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c:157:3: error: implicit declaration of function ‘rgblight_mode’ [-Werror=implicit-function-declaration]
   rgblight_mode(1);
   ^~~~~~~~~~~~~
In file included from quantum/keymap_introspection.c:5:
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c: In function ‘matrix_init_user’:
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c:215:5: error: implicit declaration of function ‘rgblight_enable_noeeprom’ [-Werror=implicit-function-declaration]
     rgblight_enable_noeeprom();
     ^~~~~~~~~~~~~~~~~~~~~~~~
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c:216:5: error: implicit declaration of function ‘rgblight_sethsv_noeeprom’ [-Werror=implicit-function-declaration]
     rgblight_sethsv_noeeprom(HSV_CYAN);
     ^~~~~~~~~~~~~~~~~~~~~~~~
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c:216:30: error: ‘HSV_CYAN’ undeclared (first use in this function)
     rgblight_sethsv_noeeprom(HSV_CYAN);
                              ^~~~~~~~
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c:217:5: error: implicit declaration of function ‘rgblight_mode_noeeprom’ [-Werror=implicit-function-declaration]
     rgblight_mode_noeeprom(1);
     ^~~~~~~~~~~~~~~~~~~~~~
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c: In function ‘layer_state_set_user’:
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c:234:70: error: ‘HSV_RED’ undeclared (first use in this function); did you mean ‘SE_REQ’?
         if (user_config.rgb_layer_change) { rgblight_sethsv_noeeprom(HSV_RED); rgblight_mode_noeeprom(1); }
                                                                      ^~~~~~~
                                                                      SE_REQ
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c:238:70: error: ‘HSV_GREEN’ undeclared (first use in this function)
         if (user_config.rgb_layer_change) { rgblight_sethsv_noeeprom(HSV_GREEN); rgblight_mode_noeeprom(1); }
                                                                      ^~~~~~~~~
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c:242:70: error: ‘HSV_BLUE’ undeclared (first use in this function)
         if (user_config.rgb_layer_change) { rgblight_sethsv_noeeprom(HSV_BLUE); rgblight_mode_noeeprom(1); }
                                                                      ^~~~~~~~
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c:247:70: error: ‘HSV_ORANGE’ undeclared (first use in this function); did you mean ‘SAFE_RANGE’?
         if (user_config.rgb_layer_change) { rgblight_sethsv_noeeprom(HSV_ORANGE); rgblight_mode_noeeprom(1); }
                                                                      ^~~~~~~~~~
                                                                      SAFE_RANGE
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c:252:70: error: ‘HSV_YELLOW’ undeclared (first use in this function)
         if (user_config.rgb_layer_change) { rgblight_sethsv_noeeprom(HSV_YELLOW); rgblight_mode_noeeprom(1); }
                                                                      ^~~~~~~~~~
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c:257:70: error: ‘HSV_PINK’ undeclared (first use in this function); did you mean ‘NO_PIN’?
         if (user_config.rgb_layer_change) { rgblight_sethsv_noeeprom(HSV_PINK); rgblight_mode_noeeprom(1); }
                                                                      ^~~~~~~~
                                                                      NO_PIN
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c:263:70: error: ‘HSV_WHITE’ undeclared (first use in this function); did you mean ‘I2C_WRITE’?
         if (user_config.rgb_layer_change) { rgblight_sethsv_noeeprom(HSV_WHITE); rgblight_mode_noeeprom(1); }
                                                                      ^~~~~~~~~
                                                                      I2C_WRITE
./keyboards/ergodox_ez/keymaps/rgb_layer/keymap.c:266:70: error: ‘HSV_CYAN’ undeclared (first use in this function)
         if (user_config.rgb_layer_change) { rgblight_sethsv_noeeprom(HSV_CYAN); rgblight_mode_noeeprom(1); }
                                                                      ^~~~~~~~
cc1: all warnings being treated as errors
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_rgb_layer/quantum/keymap_introspection.o] Error 1
make[1]: *** Waiting for unfinished jobs....

[...]

Making ergodox_ez/base with keymap steno and target all                                        [ERRORS]
In file included from ./keyboards/ergodox_ez/keymaps/steno/keymap.c:1,
                 from quantum/keymap_introspection.c:5:
./keyboards/ergodox_ez/keymaps/steno/keymap.c:80:8: error: implicit declaration of function ‘M’; did you mean ‘MT’? [-Werror=implicit-function-declaration]
        M(0),   KC_F1,  KC_F2,  KC_F3,  KC_F4,  KC_F5,  KC_TRNS,
        ^
./.build/obj_ergodox_ez_base_steno/src/default_keyboard.h:32:4: note: in definition of macro ‘LAYOUT_ergodox’
   {k0A, k0B, k0C, k0D, k0E, KC_NO}, \
    ^~~
./keyboards/ergodox_ez/keymaps/steno/keymap.c:80:8: error: initializer element is not constant
        M(0),   KC_F1,  KC_F2,  KC_F3,  KC_F4,  KC_F5,  KC_TRNS,
        ^
./.build/obj_ergodox_ez_base_steno/src/default_keyboard.h:32:4: note: in definition of macro ‘LAYOUT_ergodox’
   {k0A, k0B, k0C, k0D, k0E, KC_NO}, \
    ^~~
./keyboards/ergodox_ez/keymaps/steno/keymap.c:80:8: note: (near initialization for ‘keymaps[1][0][0]’)
        M(0),   KC_F1,  KC_F2,  KC_F3,  KC_F4,  KC_F5,  KC_TRNS,
        ^
./.build/obj_ergodox_ez_base_steno/src/default_keyboard.h:32:4: note: in definition of macro ‘LAYOUT_ergodox’
   {k0A, k0B, k0C, k0D, k0E, KC_NO}, \
    ^~~
cc1: all warnings being treated as errors
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_steno/quantum/keymap_introspection.o] Error 1
make[1]: *** Waiting for unfinished jobs....

[...]

Making ergodox_ez/base with keymap testing and target all                                      [ERRORS]
In file included from quantum/keymap_introspection.c:5:
./keyboards/ergodox_ez/keymaps/testing/keymap.c: In function ‘process_record_user’:
./keyboards/ergodox_ez/keymaps/testing/keymap.c:54:9: error: implicit declaration of function ‘rgblight_mode’ [-Werror=implicit-function-declaration]
         rgblight_mode(1);
         ^~~~~~~~~~~~~
./keyboards/ergodox_ez/keymaps/testing/keymap.c: In function ‘layer_state_set_user’:
./keyboards/ergodox_ez/keymaps/testing/keymap.c:76:11: error: implicit declaration of function ‘rgblight_init’ [-Werror=implicit-function-declaration]
           rgblight_init();
           ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_testing/quantum/keymap_introspection.o] Error 1

[...]

Making ergodox_ez/base with keymap vim and target all                                          [ERRORS]
In file included from quantum/keymap_introspection.c:5:
./keyboards/ergodox_ez/keymaps/vim/keymap.c: In function ‘process_record_user’:
./keyboards/ergodox_ez/keymaps/vim/keymap.c:311:36: error: implicit declaration of function ‘rgblight_mod’ [-Werror=implicit-function-declaration]
       if (record->event.pressed) { rgblight_mode(1); }
                                    ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
 | 
 | 
 | 
make[1]: *** [builddefs/common_rules.mk:361: .build/obj_ergodox_ez_base_vim/quantum/keymap_introspection.o] Error 1
make[1]: *** Waiting for unfinished jobs....
[...]

Keyboard Used

ergodox_ez

Link to product page (if applicable)

No response

Operating System

Guix System (GNU/Linux)

qmk doctor Output

Ψ QMK Doctor is checking your environment.
Ψ CLI version: 1.1.2
Ψ QMK home: /home/maxim/qmk_firmware
Ψ Detected Linux (Guix System).
Ψ Git branch: master
Ψ Repo version: 0.22.3
Ψ - Latest master: 2023-09-13 13:44:05 -0700 (33d7fa1180) -- Inland MK47 Community Layout Support (#21998)
Ψ - Latest upstream/master: 2023-09-13 18:06:19 -0700 (f4a702e49f) -- Kibou Suisei Layout Addition (#22001)
Ψ - Latest upstream/develop: None
Ψ - Common ancestor with upstream/master: 2023-09-13 13:44:05 -0700 (33d7fa1180) -- Inland MK47 Community Layout Support (#21998)
Ψ - Common ancestor with upstream/develop: None
☒ Can't find arm-none-eabi-gcc in your path.
Would you like to install dependencies? [Y/n] n
⚠ Unknown version for arm-none-eabi-gcc
Ψ Found avr-gcc version 8.5.0
Ψ Found avrdude version 6.3
Ψ Found dfu-programmer version 0.7.2
Ψ Found dfu-util version 0.11
Ψ Submodules are up to date.
Ψ Submodule status:
Ψ - lib/chibios: 2023-04-15 13:48:04 +0000 --  (11edb1610)
Ψ - lib/chibios-contrib: 2023-07-17 11:39:05 +0200 --  (da78eb37)
Ψ - lib/googletest: 2021-06-11 06:37:43 -0700 --  (e2239ee6)
Ψ - lib/lufa: 2022-08-26 12:09:55 +1000 --  (549b97320)
Ψ - lib/vusb: 2022-06-13 09:18:17 +1000 --  (819dbc1)
Ψ - lib/printf: 2022-06-29 23:59:58 +0300 --  (c2e3b4e)
Ψ - lib/pico-sdk: 2023-02-12 20:19:37 +0100 --  (a3398d8)
Ψ - lib/lvgl: 2022-04-11 04:44:53 -0600 --  (e19410f8)
Ψ Major problems detected, please fix these problems before proceeding.
Ψ Check out the FAQ (https://docs.qmk.fm/#/faq_build) or join the QMK Discord (https://discord.gg/Uq7gcHh) for help.

Is AutoHotKey / Karabiner installed

Other keyboard-related software installed

No response

Additional Context

I'm trying to build the firmware files for all the ergodox_ez keyboard to make them available as a package for GNU Guix.

zvecr commented 1 year ago

Given the recent policy change, https://docs.qmk.fm/#/ChangeLog/20230827?id=notable-changes, we wont realistically be fixing the broken user keymaps. Their removal in the next develop cycle would be highly likely.

Apteryks commented 1 year ago

Removing them sounds reasonable, if nobody intends to fix them.

Apteryks commented 1 year ago

Hi! I would perhaps leave this issue open, as the fix in #22102 was fixing one out of the tens of failures. It may be handy to have this list around when pruning broken keymaps before a future release.