← Back to team overview

kicad-developers team mailing list archive

Build failed in Jenkins: kicad-qa #2238

 

See <http://ci.kicad-pcb.org/job/kicad-qa/2238/changes>

Changes:

[jean-pierre charras] Pcbnew: Fix a crash when reloading python scripts, when Kicad uses

------------------------------------------
Started by an SCM change
Building remotely on debian8 (gcc clang linux) in workspace <http://ci.kicad-pcb.org/job/kicad-qa/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/KiCad/kicad-source-mirror.git # timeout=10
Fetching upstream changes from https://github.com/KiCad/kicad-source-mirror.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress https://github.com/KiCad/kicad-source-mirror.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision a7c4c8c7f20291ad71cca774a008561cbfbf0f9e (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a7c4c8c7f20291ad71cca774a008561cbfbf0f9e
 > git rev-list 35fc1f33615615f94415a8a972bf4dc30487b067 # timeout=10
[kicad-qa] $ /bin/sh -xe /tmp/hudson2283393864917295723.sh
+ cmake --version
cmake version 3.0.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).
+ gcc --version
gcc (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

+ git --version
git version 2.1.4
+ OPTS= -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=ON -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON
+ [ -d passed-qa ]
+ [ -d build ]
+ cd build
+ /usr/bin/cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=ON -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON
-- Kicad install dir: </usr/local>
-- Found Glew: /usr/lib/x86_64-linux-gnu/libGLEW.so
-- Check for installed GLEW -- found
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   context
--   system
-- Check for installed Python Interpreter -- found
-- Python module install path: lib/python2.7/dist-packages
-- wxPython version 3.0 found.
INFO: KICADSG_VERSION_MAJOR = 2
INFO: KICADSG_VERSION_MINOR = 0
INFO: KICADSG_VERSION_PATCH = 0
INFO: KICADSG_VERSION_REVI = 0
-- Configuring done
-- Generating done
-- Build files have been written to: <http://ci.kicad-pcb.org/job/kicad-qa/ws/build>
+ echo CMAKE exit code is 0
CMAKE exit code is 0
+ rm -f pcbnew/pcbnewPYTHON_wrap.cxx
+ env
+ grep -q ^MAKEJOBS=
+ echo The MAKEJOBS variable is empty
The MAKEJOBS variable is empty
+ JOBS=4
+ make -j4 _pcbnew
[  0%] Built target lib-dependencies
[  0%] [  1%] Built target pcb_plot_lexer_source_files
Built target idf3
[  3%] Built target kicad_3dsg
[  3%] Built target specctra_lexer_source_files
[  3%] [  3%] Built target netlist_lexer_source_files
Built target lib_table_lexer_source_files
[  3%] Built target pcb_lexer_source_files
[  3%] [  3%] Built target lib_dxf
Generating version string header
[  3%] -- Using Git to determine build version string.
Built target page_layout_lexer_source_files
-- Found Git: /usr/bin/git (found version "2.1.4") 
[  3%] [ 48%] Built target polygon
Built target bitmaps
-- Git hash: a7c4c8c7f20291ad71cca774a008561cbfbf0f9e
-- Git branch: HEAD
-- Writing <http://ci.kicad-pcb.org/job/kicad-qa/ws/build/kicad_build_version.h> file with version: (2017-01-28 revision a7c4c8c)-HEAD
[ 48%] [ 50%] Built target version_header
Built target gal
Scanning dependencies of target pcbcommon
[ 50%] Building CXX object common/CMakeFiles/pcbcommon.dir/__/pcbnew/specctra_export.cpp.o
Scanning dependencies of target common
[ 50%] [ 50%] [ 50%] Building CXX object common/CMakeFiles/common.dir/build_version.cpp.o
Building CXX object common/CMakeFiles/common.dir/wx_status_popup.cpp.o
Building CXX object common/CMakeFiles/common.dir/tool/tool_base.cpp.o
[ 50%] Building CXX object common/CMakeFiles/common.dir/tool/tool_manager.cpp.o
[ 50%] Building CXX object common/CMakeFiles/common.dir/tool/tool_dispatcher.cpp.o
Linking CXX static library libpcbcommon.a
Linking CXX static library libcommon.a
[ 54%] Built target pcbcommon
[ 61%] Built target 3d-viewer
Scanning dependencies of target pnsrouter
[ 62%] Built target pcad2kicadpcb
[ 62%] [ 62%] [ 62%] Building CXX object pcbnew/router/CMakeFiles/pnsrouter.dir/router_tool.cpp.o
Building CXX object pcbnew/router/CMakeFiles/pnsrouter.dir/pns_kicad_iface.cpp.o
Building CXX object pcbnew/router/CMakeFiles/pnsrouter.dir/pns_tool_base.cpp.o
[ 74%] Built target common
[ 74%] Building CXX object pcbnew/router/CMakeFiles/pnsrouter.dir/length_tuner_tool.cpp.o
[ 74%] Built target github_plugin
Linking CXX static library libpnsrouter.a
[ 77%] Built target pnsrouter
[ 77%] [ 77%] Generating pcbnew_wrap.cxx, pcbnew.py
Swig source
swig_import_helper fixed for <http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew.py>
Scanning dependencies of target _pcbnew
[ 77%] [ 77%] [ 77%] [ 77%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/swig/pcbnew_scripting_helpers.cpp.o
Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/pcbnewPYTHON_wrap.cxx.o
Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/swig/pcbnew_footprint_wizards.cpp.o
Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/swig/python_scripting.cpp.o
[ 77%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/swig/pcbnew_action_plugins.cpp.o
[ 77%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/pcbnew.cpp.o
[ 77%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/autorouter/move_and_route_event_functions.cpp.o
[ 77%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/autorouter/auto_place_footprints.cpp.o
[ 79%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/autorouter/autorout.cpp.o
[ 79%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/autorouter/spread_footprints.cpp.o
[ 79%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/autorouter/solve.cpp.o
[ 79%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/board_commit.cpp.o
[ 79%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/tool_modview.cpp.o
[ 79%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/modview_frame.cpp.o
[ 79%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/pcbframe.cpp.o
[ 79%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/append_board_to_current.cpp.o
[ 79%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/attribut.cpp.o
[ 79%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/board_items_to_polygon_shape_transform.cpp.o
[ 79%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/board_netlist_updater.cpp.o
[ 80%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/block.cpp.o
[ 80%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/block_module_editor.cpp.o
[ 80%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/build_BOM_from_board.cpp.o
[ 80%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/class_pcb_layer_widget.cpp.o
[ 80%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/class_pcb_layer_box_selector.cpp.o
[ 80%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/clean.cpp.o
[ 80%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/controle.cpp.o
[ 80%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dimension.cpp.o
[ 80%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/cross-probing.cpp.o
[ 80%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/deltrack.cpp.o
[ 80%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_copper_zones.cpp.o
[ 80%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_create_array.cpp.o
[ 82%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_design_rules.cpp.o
[ 82%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_display_options.cpp.o
[ 82%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_drc.cpp.o
[ 82%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_edit_module_for_BoardEditor.cpp.o
[ 82%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_edit_module_for_Modedit.cpp.o
[ 82%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_export_idf.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_export_vrml.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_export_step.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_find.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_freeroute_exchange.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_gendrill.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_general_options.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_global_edit_tracks_and_vias.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_global_modules_fields_edition.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_global_pads_edition.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_graphic_items_options.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_graphic_item_properties.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_graphic_item_properties_for_Modedit.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_global_deletion.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_keepout_area_properties.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_modedit_options.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_netlist.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_pcb_text_properties.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_move_exact.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_non_copper_zones_properties.cpp.o
[ 83%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_plot.cpp.o
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_print_for_modedit.cpp.o
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_print_using_printer.cpp.o
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_mask_clearance.cpp.o
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_select_net_from_list.cpp.o
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_track_via_properties.cpp.o
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_update_pcb.cpp.o
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/footprint_wizard.cpp.o
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/footprint_wizard_frame.cpp.o
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/dialogs/dialog_footprint_wizard_list.cpp.o
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/import_dxf/dialog_dxf_import.cpp.o
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/exporters/export_d356.cpp.o
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/exporters/export_gencad.cpp.o
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/footprint_wizard_frame.cpp>: In member function ‘void FOOTPRINT_WIZARD_FRAME::PythonPluginsReload()’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/footprint_wizard_frame.cpp>:732:74: error: invalid conversion from ‘PCB_BASE_FRAME*’ to ‘PCB_EDIT_FRAME*’ [-fpermissive]
         static_cast<PCB_BASE_FRAME*>( Kiway().Player( FRAME_PCB, false ) );
                                                                          ^
[ 85%] Building CXX object pcbnew/CMakeFiles/_pcbnew.dir/exporters/export_idf.cpp.o
pcbnew/CMakeFiles/_pcbnew.dir/build.make:3394: recipe for target 'pcbnew/CMakeFiles/_pcbnew.dir/footprint_wizard_frame.cpp.o' failed
make[3]: *** [pcbnew/CMakeFiles/_pcbnew.dir/footprint_wizard_frame.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:1308: recipe for target 'pcbnew/CMakeFiles/_pcbnew.dir/all' failed
make[2]: *** [pcbnew/CMakeFiles/_pcbnew.dir/all] Error 2
CMakeFiles/Makefile2:1320: recipe for target 'pcbnew/CMakeFiles/_pcbnew.dir/rule' failed
make[1]: *** [pcbnew/CMakeFiles/_pcbnew.dir/rule] Error 2
Makefile:548: recipe for target '_pcbnew' failed
make: *** [_pcbnew] Error 2
Build step 'Execute shell' marked build as failure


Follow ups