11:25:49: Starting: "/snap/bin/cmake" --build . --target all -- -j6 [ 1%] Built target metadata [ 2%] Built target lemon [ 2%] Built target dxflib_qcad [ 2%] Built target libcontext [ 2%] Built target delaunator [ 2%] Built target clipper [ 2%] Built target nanosvg [ 2%] Built target markdown_lib [ 3%] Built target potrace [ 3%] Built target othermath [ 3%] Built target tinyspline_lib [ 3%] Generating version string header [ 4%] Built target sexpr [ 4%] Creating image archive build-kicad-Desktop-Debug/resources/images.tar.gz [ 4%] Built target idfcyl [ 4%] Built target kiplatform -- Found Git: /usr/bin/git (found version "2.17.1") -- Using Git to determine build version string. [ 4%] Built target idfrect [ 6%] Built target kicad_3dsg [ 7%] Built target kicad2step_lib [ 8%] Built target kimath [ 8%] Built target bitmap_archive [ 8%] Built target s3d_plugin_oce [ 8%] Built target kicad2step [ 8%] Built target idf3 [ 9%] Built target dxf2idf [ 10%] Built target idf2vrml [ 13%] Built target s3d_plugin_vrml -- Writing build-kicad-Desktop-Debug/kicad_build_version.h file with version: (5.99.0-10784-gb5b76eedf7) [ 13%] Built target version_header [ 16%] Built target gal Consolidate compiler generated dependencies of target common [ 16%] Building CXX object common/CMakeFiles/common.dir/build_version.cpp.o [ 16%] Linking CXX static library libcommon.a [ 34%] Built target common [ 34%] Built target scripting [ 34%] Linking CXX shared module _kipython.kiface [ 34%] Built target connectivity [ 34%] Linking CXX executable bitmap2component [ 34%] Linking CXX shared module _pl_editor.kiface [ 37%] Built target gerbview_kiface_objects [ 37%] Linking CXX shared module _pcb_calculator.kiface [ 53%] Built target eeschema_kiface_objects [ 53%] Linking CXX shared module libs3d_plugin_idf.so Consolidate compiler generated dependencies of target pcbcommon [ 53%] Building CXX object common/CMakeFiles/pcbcommon.dir/__/pcbnew/netlist_reader/kicad_netlist_reader.cpp.o [ 53%] Built target s3d_plugin_idf [ 53%] Building CXX object common/CMakeFiles/pcbcommon.dir/__/pcbnew/plugins/kicad/pcb_parser.cpp.o /opt/kicad/pcbnew/netlist_reader/kicad_netlist_reader.cpp: In member function ‘void KICAD_NETLIST_PARSER::parseNet()’: /opt/kicad/pcbnew/netlist_reader/kicad_netlist_reader.cpp:241:22: error: ‘T_pinfunction’ was not declared in this scope case T_pinfunction: ^~~~~~~~~~~~~ /opt/kicad/pcbnew/netlist_reader/kicad_netlist_reader.cpp:241:22: note: suggested alternative: ‘pin_function’ case T_pinfunction: ^~~~~~~~~~~~~ pin_function /opt/kicad/pcbnew/netlist_reader/kicad_netlist_reader.cpp:247:22: error: ‘T_pintype’ was not declared in this scope case T_pintype: ^~~~~~~~~ /opt/kicad/pcbnew/netlist_reader/kicad_netlist_reader.cpp:247:22: note: suggested alternative: ‘pin_type’ case T_pintype: ^~~~~~~~~ pin_type /opt/kicad/pcbnew/netlist_reader/kicad_netlist_reader.cpp: In member function ‘void KICAD_NETLIST_PARSER::parseComponent()’: /opt/kicad/pcbnew/netlist_reader/kicad_netlist_reader.cpp:371:14: error: ‘T_property’ was not declared in this scope case T_property: ^~~~~~~~~~ /opt/kicad/pcbnew/netlist_reader/kicad_netlist_reader.cpp:371:14: note: suggested alternative: ‘wxPGProperty’ case T_property: ^~~~~~~~~~ wxPGProperty /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp: In member function ‘FP_3DMODEL* PCB_PARSER::parse3DModel()’: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:446:14: error: ‘T_opacity’ was not declared in this scope case T_opacity: ^~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp: In member function ‘BOARD_ITEM* PCB_PARSER::Parse()’: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:537:10: error: ‘T_footprint’ was not declared in this scope case T_footprint: ^~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp: In member function ‘BOARD* PCB_PARSER::parseBOARD_unchecked()’: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:590:21: error: ‘T_paper’ was not declared in this scope token = T_paper; ^~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:598:14: error: ‘T_paper’ was not declared in this scope case T_paper: ^~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:614:14: error: ‘T_property’ was not declared in this scope case T_property: ^~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:614:14: note: suggested alternative: ‘wxPGProperty’ case T_property: ^~~~~~~~~~ wxPGProperty /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:632:14: error: ‘T_gr_rect’ was not declared in this scope case T_gr_rect: ^~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:651:14: error: ‘T_footprint’ was not declared in this scope case T_footprint: ^~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:669:14: error: ‘T_group’ was not declared in this scope case T_group: ^~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:669:14: note: suggested alternative: ‘getgroups’ case T_group: ^~~~~~~ getgroups In file included from /usr/include/wx-3.0/wx/defs.h:734, from /usr/include/wx-3.0/wx/fileconf.h:15, from /opt/kicad/include/common.h:38, from /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:31: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp: In member function ‘void PCB_PARSER::parsePAGE_INFO()’: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:964:89: error: ‘T_paper’ was not declared in this scope wxCHECK_RET( ( CurTok() == T_page && m_requiredVersion <= 20200119 ) || CurTok() == T_paper, ^~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp: In member function ‘void PCB_PARSER::parseBoardStackup()’: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1201:18: error: ‘T_copper_finish’ was not declared in this scope case T_copper_finish: ^~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1207:18: error: ‘T_edge_plating’ was not declared in this scope case T_edge_plating: ^~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1213:18: error: ‘T_dielectric_constraints’ was not declared in this scope case T_dielectric_constraints: ^~~~~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1213:18: note: suggested alternative: ‘dielectric_idx’ case T_dielectric_constraints: ^~~~~~~~~~~~~~~~~~~~~~~~ dielectric_idx /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1219:18: error: ‘T_edge_connector’ was not declared in this scope case T_edge_connector: ^~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1225:35: error: ‘T_bevelled’ was not declared in this scope else if( token == T_bevelled ) ^~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1231:18: error: ‘T_castellated_pads’ was not declared in this scope case T_castellated_pads: ^~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1293:30: error: ‘T_addsublayer’ was not declared in this scope if( token == T_addsublayer ) ^~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1305:26: error: ‘T_type’ was not declared in this scope case T_type: ^~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1305:26: note: suggested alternative: ‘wctype’ case T_type: ^~~~~~ wctype /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1328:26: error: ‘T_material’ was not declared in this scope case T_material: ^~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1334:26: error: ‘T_epsilon_r’ was not declared in this scope case T_epsilon_r: ^~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1340:26: error: ‘T_loss_tangent’ was not declared in this scope case T_loss_tangent: ^~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1346:26: error: ‘T_color’ was not declared in this scope case T_color: ^~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1346:26: note: suggested alternative: ‘wxColor’ case T_color: ^~~~~~~ wxColor /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp: In member function ‘void PCB_PARSER::parseSetup()’: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1638:14: error: ‘T_stackup’ was not declared in this scope case T_stackup: ^~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1638:14: note: suggested alternative: ‘obstack’ case T_stackup: ^~~~~~~~~ obstack /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1677:14: error: ‘T_clearance_min’ was not declared in this scope case T_clearance_min: ^~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1701:14: error: ‘T_via_min_annulus’ was not declared in this scope case T_via_min_annulus: ^~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1713:14: error: ‘T_through_hole_min’ was not declared in this scope case T_through_hole_min: ^~~~~~~~~~~~~~~~~~ common/CMakeFiles/pcbcommon.dir/build.make:727: recipe for target 'common/CMakeFiles/pcbcommon.dir/__/pcbnew/netlist_reader/kicad_netlist_reader.cpp.o' failed make[2]: *** [common/CMakeFiles/pcbcommon.dir/__/pcbnew/netlist_reader/kicad_netlist_reader.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1726:14: error: ‘T_hole_to_hole_min’ was not declared in this scope case T_hole_to_hole_min: ^~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1783:14: error: ‘T_user_diff_pair’ was not declared in this scope case T_user_diff_pair: ^~~~~~~~~~~~~~~~ [ 53%] Linking CXX executable kicad /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1838:14: error: ‘T_defaults’ was not declared in this scope case T_defaults: ^~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1838:14: note: suggested alternative: ‘parseDefaults’ case T_defaults: ^~~~~~~~~~ parseDefaults /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1920:14: error: ‘T_max_error’ was not declared in this scope case T_max_error: ^~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1920:14: note: suggested alternative: ‘wxPerror’ case T_max_error: ^~~~~~~~~~~ wxPerror /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1926:14: error: ‘T_filled_areas_thickness’ was not declared in this scope case T_filled_areas_thickness: // Note: legacy (early 5.99) token ^~~~~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp: In member function ‘void PCB_PARSER::parseDefaults(BOARD_DESIGN_SETTINGS&)’: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1967:14: error: ‘T_edge_clearance’ was not declared in this scope case T_edge_clearance: ^~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1973:14: error: ‘T_copper_line_width’ was not declared in this scope case T_copper_line_width: ^~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1978:14: error: ‘T_copper_text_dims’ was not declared in this scope case T_copper_text_dims: ^~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1982:14: error: ‘T_courtyard_line_width’ was not declared in this scope case T_courtyard_line_width: ^~~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1987:14: error: ‘T_edge_cuts_line_width’ was not declared in this scope case T_edge_cuts_line_width: ^~~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1992:14: error: ‘T_silk_line_width’ was not declared in this scope case T_silk_line_width: ^~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:1997:14: error: ‘T_silk_text_dims’ was not declared in this scope case T_silk_text_dims: ^~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2001:14: error: ‘T_fab_layers_line_width’ was not declared in this scope case T_fab_layers_line_width: ^~~~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2006:14: error: ‘T_fab_layers_text_dims’ was not declared in this scope case T_fab_layers_text_dims: ^~~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2010:14: error: ‘T_other_layers_line_width’ was not declared in this scope case T_other_layers_line_width: ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2015:14: error: ‘T_other_layers_text_dims’ was not declared in this scope case T_other_layers_text_dims: ^~~~~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2019:14: error: ‘T_dimension_units’ was not declared in this scope case T_dimension_units: ^~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2025:14: error: ‘T_dimension_precision’ was not declared in this scope case T_dimension_precision: ^~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp: In member function ‘void PCB_PARSER::parseDefaultTextDims(BOARD_DESIGN_SETTINGS&, int)’: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2063:14: error: ‘T_keep_upright’ was not declared in this scope case T_keep_upright: ^~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/defs.h:734, from /usr/include/wx-3.0/wx/fileconf.h:15, from /opt/kicad/include/common.h:38, from /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:31: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp: In member function ‘PCB_SHAPE* PCB_PARSER::parsePCB_SHAPE()’: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2187:30: error: ‘T_gr_rect’ was not declared in this scope CurTok() == T_gr_rect || CurTok() == T_gr_line || CurTok() == T_gr_poly, NULL, ^~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2292:10: error: ‘T_gr_rect’ was not declared in this scope case T_gr_rect: ^~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2438:22: error: ‘T_solid’ was not declared in this scope case T_solid: ^~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp: In member function ‘DIMENSION_BASE* PCB_PARSER::parseDIMENSION()’: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2601:22: error: ‘T_type’ was not declared in this scope if( token != T_type ) ^~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2601:22: note: suggested alternative: ‘wctype’ if( token != T_type ) ^~~~~~ wctype /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2606:14: error: ‘T_aligned’ was not declared in this scope case T_aligned: ^~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2606:14: note: suggested alternative: ‘signed’ case T_aligned: ^~~~~~~~~ signed /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2610:14: error: ‘T_orthogonal’ was not declared in this scope case T_orthogonal: ^~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2614:14: error: ‘T_leader’ was not declared in this scope case T_leader: ^~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2614:14: note: suggested alternative: ‘reader’ case T_leader: ^~~~~~~~ reader /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2686:14: error: ‘T_height’ was not declared in this scope case T_height: ^~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2686:14: note: suggested alternative: ‘daylight’ case T_height: ^~~~~~~~ daylight /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2697:14: error: ‘T_orientation’ was not declared in this scope case T_orientation: ^~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2697:14: note: suggested alternative: ‘wxOrientation’ case T_orientation: ^~~~~~~~~~~~~ wxOrientation /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2710:14: error: ‘T_format’ was not declared in this scope case T_format: ^~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2719:22: error: ‘T_prefix’ was not declared in this scope case T_prefix: ^~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2719:22: note: suggested alternative: ‘profil’ case T_prefix: ^~~~~~~~ profil /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2725:22: error: ‘T_suffix’ was not declared in this scope case T_suffix: ^~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2731:22: error: ‘T_units’ was not declared in this scope case T_units: ^~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2740:22: error: ‘T_units_format’ was not declared in this scope case T_units_format: ^~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2749:22: error: ‘T_precision’ was not declared in this scope case T_precision: ^~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2754:22: error: ‘T_override_value’ was not declared in this scope case T_override_value: ^~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2761:22: error: ‘T_suppress_zeroes’ was not declared in this scope case T_suppress_zeroes: ^~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2773:14: error: ‘T_style’ was not declared in this scope case T_style: ^~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2790:22: error: ‘T_arrow_length’ was not declared in this scope case T_arrow_length: ^~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2795:22: error: ‘T_text_position_mode’ was not declared in this scope case T_text_position_mode: ^~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2804:22: error: ‘T_extension_height’ was not declared in this scope case T_extension_height: ^~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2813:22: error: ‘T_extension_offset’ was not declared in this scope case T_extension_offset: ^~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2818:22: error: ‘T_keep_text_aligned’ was not declared in this scope case T_keep_text_aligned: ^~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2822:22: error: ‘T_text_frame’ was not declared in this scope case T_text_frame: ^~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/defs.h:734, from /usr/include/wx-3.0/wx/fileconf.h:15, from /opt/kicad/include/common.h:38, from /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:31: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp: In member function ‘FOOTPRINT* PCB_PARSER::parseFOOTPRINT_unchecked(wxArrayString*)’: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:2996:54: error: ‘T_footprint’ was not declared in this scope wxCHECK_MSG( CurTok() == T_module || CurTok() == T_footprint, NULL, ^~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:3045:14: error: ‘T_generator’ was not declared in this scope case T_generator: ^~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:3112:14: error: ‘T_property’ was not declared in this scope case T_property: ^~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:3112:14: note: suggested alternative: ‘wxPGProperty’ case T_property: ^~~~~~~~~~ wxPGProperty /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:3178:22: error: ‘T_through_hole’ was not declared in this scope case T_through_hole: ^~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:3186:22: error: ‘T_board_only’ was not declared in this scope case T_board_only: ^~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:3186:22: note: suggested alternative: ‘m_board’ case T_board_only: ^~~~~~~~~~~~ m_board /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:3190:22: error: ‘T_exclude_from_pos_files’ was not declared in this scope case T_exclude_from_pos_files: ^~~~~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:3194:22: error: ‘T_exclude_from_bom’ was not declared in this scope case T_exclude_from_bom: ^~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:3252:14: error: ‘T_fp_rect’ was not declared in this scope case T_fp_rect: ^~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:3289:14: error: ‘T_group’ was not declared in this scope case T_group: ^~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:3289:14: note: suggested alternative: ‘getgroups’ case T_group: ^~~~~~~ getgroups In file included from /usr/include/wx-3.0/wx/defs.h:734, from /usr/include/wx-3.0/wx/fileconf.h:15, from /opt/kicad/include/common.h:38, from /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:31: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp: In member function ‘FP_SHAPE* PCB_PARSER::parseFP_SHAPE()’: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:3431:30: error: ‘T_fp_rect’ was not declared in this scope CurTok() == T_fp_rect || CurTok() == T_fp_line || CurTok() == T_fp_poly, NULL, ^~~~~~~~~ [ 53%] Built target bitmap2component /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:3546:10: error: ‘T_fp_rect’ was not declared in this scope case T_fp_rect: ^~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:3688:22: error: ‘T_solid’ was not declared in this scope case T_solid: ^~~~~~~ [ 54%] Built target qa_utils Consolidate compiler generated dependencies of target eeschema_kiface [ 54%] Linking CXX shared module _eeschema.kiface [ 54%] Built target scripting_kiface [ 54%] Linking CXX shared module _gerbview.kiface /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp: In member function ‘PAD* PCB_PARSER::parsePAD(FOOTPRINT*)’: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:3976:14: error: ‘T_pinfunction’ was not declared in this scope case T_pinfunction: ^~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:3976:14: note: suggested alternative: ‘wxEventFunction’ case T_pinfunction: ^~~~~~~~~~~~~ wxEventFunction /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:3982:14: error: ‘T_pintype’ was not declared in this scope case T_pintype: ^~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4034:14: error: ‘T_chamfer_ratio’ was not declared in this scope case T_chamfer_ratio: ^~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4053:22: error: ‘T_top_left’ was not declared in this scope case T_top_left: ^~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4057:22: error: ‘T_top_right’ was not declared in this scope case T_top_right: ^~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4061:22: error: ‘T_bottom_left’ was not declared in this scope case T_bottom_left: ^~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4065:22: error: ‘T_bottom_right’ was not declared in this scope case T_bottom_right: ^~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4084:14: error: ‘T_property’ was not declared in this scope case T_property: ^~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4084:14: note: suggested alternative: ‘wxPGProperty’ case T_property: ^~~~~~~~~~ wxPGProperty /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4092:22: error: ‘T_pad_prop_bga’ was not declared in this scope case T_pad_prop_bga: ^~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4096:22: error: ‘T_pad_prop_fiducial_glob’ was not declared in this scope case T_pad_prop_fiducial_glob: ^~~~~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4100:22: error: ‘T_pad_prop_fiducial_loc’ was not declared in this scope case T_pad_prop_fiducial_loc: ^~~~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4104:22: error: ‘T_pad_prop_testpoint’ was not declared in this scope case T_pad_prop_testpoint: ^~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4108:22: error: ‘T_pad_prop_castellated’ was not declared in this scope case T_pad_prop_castellated: ^~~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4112:22: error: ‘T_pad_prop_heatsink’ was not declared in this scope case T_pad_prop_heatsink: ^~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4170:22: error: ‘T_gr_rect’ was not declared in this scope case T_gr_rect: ^~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4199:14: error: ‘T_remove_unused_layers’ was not declared in this scope case T_remove_unused_layers: ^~~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4204:14: error: ‘T_keep_end_layers’ was not declared in this scope case T_keep_end_layers: ^~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/defs.h:734, from /usr/include/wx-3.0/wx/fileconf.h:15, from /opt/kicad/include/common.h:38, from /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:31: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp: In member function ‘void PCB_PARSER::parseGROUP(BOARD_ITEM*)’: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4309:30: error: ‘T_group’ was not declared in this scope wxCHECK_RET( CurTok() == T_group, ^~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4309:30: note: suggested alternative: ‘getgroups’ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4334:18: error: ‘T_id’ was not declared in this scope if( token != T_id ) ^~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4334:18: note: suggested alternative: ‘void’ if( token != T_id ) ^~~~ void /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4346:18: error: ‘T_members’ was not declared in this scope if( token != T_members ) ^~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp: In member function ‘ARC* PCB_PARSER::parseARC()’: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4395:14: error: ‘T_mid’ was not declared in this scope case T_mid: ^~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp: In member function ‘VIA* PCB_PARSER::parseVIA()’: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4602:14: error: ‘T_remove_unused_layers’ was not declared in this scope case T_remove_unused_layers: ^~~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4607:14: error: ‘T_keep_end_layers’ was not declared in this scope case T_keep_end_layers: ^~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4630:14: error: ‘T_free’ was not declared in this scope case T_free: ^~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4630:14: note: suggested alternative: ‘free’ case T_free: ^~~~~~ free /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp: In member function ‘ZONE* PCB_PARSER::parseZONE(BOARD_ITEM_CONTAINER*)’: /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4787:14: error: ‘T_filled_areas_thickness’ was not declared in this scope case T_filled_areas_thickness: ^~~~~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4844:22: error: ‘T_hatch_thickness’ was not declared in this scope case T_hatch_thickness: ^~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4849:22: error: ‘T_hatch_gap’ was not declared in this scope case T_hatch_gap: ^~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4854:22: error: ‘T_hatch_orientation’ was not declared in this scope case T_hatch_orientation: ^~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4854:22: note: suggested alternative: ‘wxPrintOrientation’ case T_hatch_orientation: ^~~~~~~~~~~~~~~~~~~ wxPrintOrientation /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4859:22: error: ‘T_hatch_smoothing_level’ was not declared in this scope case T_hatch_smoothing_level: ^~~~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4864:22: error: ‘T_hatch_smoothing_value’ was not declared in this scope case T_hatch_smoothing_value: ^~~~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4869:22: error: ‘T_hatch_border_algorithm’ was not declared in this scope case T_hatch_border_algorithm: ^~~~~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4879:22: error: ‘T_hatch_min_hole_area’ was not declared in this scope case T_hatch_min_hole_area: ^~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4930:22: error: ‘T_island_removal_mode’ was not declared in this scope case T_island_removal_mode: ^~~~~~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:4939:22: error: ‘T_island_area_min’ was not declared in this scope case T_island_area_min: ^~~~~~~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:5004:22: error: ‘T_footprints’ was not declared in this scope case T_footprints: ^~~~~~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:5004:22: note: suggested alternative: ‘inFootprint’ case T_footprints: ^~~~~~~~~~~~ inFootprint /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:5068:30: error: ‘T_island’ was not declared in this scope if( token == T_island ) ^~~~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:5068:30: note: suggested alternative: ‘island’ if( token == T_island ) ^~~~~~~~ island /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:5139:14: error: ‘T_name’ was not declared in this scope case T_name: ^~~~~~ /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:5139:14: note: suggested alternative: In file included from /opt/kicad/include/template_fieldnames.h:30, from /opt/kicad/pcbnew/plugins/kicad/pcb_parser.cpp:56: build-kicad-Desktop-Debug/common/template_fieldnames_lexer.h:43:9: note: ‘T_name’ T_name, ^~~~~~ [ 56%] Built target pcb_calculator_kiface [ 56%] Linking CXX executable pcb_calculator common/CMakeFiles/pcbcommon.dir/build.make:881: recipe for target 'common/CMakeFiles/pcbcommon.dir/__/pcbnew/plugins/kicad/pcb_parser.cpp.o' failed make[2]: *** [common/CMakeFiles/pcbcommon.dir/__/pcbnew/plugins/kicad/pcb_parser.cpp.o] Error 1 CMakeFiles/Makefile2:1912: recipe for target 'common/CMakeFiles/pcbcommon.dir/all' failed make[1]: *** [common/CMakeFiles/pcbcommon.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 59%] Built target pl_editor_kiface [ 60%] Built target pcb_calculator [ 61%] Built target kicad [ 61%] Built target gerbview_kiface [ 61%] Built target eeschema_kiface Makefile:165: recipe for target 'all' failed make: *** [all] Error 2 11:26:40: The process "/snap/bin/cmake" exited with code 2. Error while building/deploying project kicad (kit: Desktop) When executing step "Build"