kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #38359
Build failed in Jenkins: kicad-qa #4889
See <http://ci.kicad-pcb.org/job/kicad-qa/4889/display/redirect?page=changes>
Changes:
[Maciej Suminski] BOM plugins refactor
[Maciej Suminski] Populate BOM plugins list if the list is empty
------------------------------------------
Started by an SCM change
Building remotely on debian8 (clang gcc 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 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 2ee2d9014a3a9478880a7e8cd4a8790038deebde (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 2ee2d9014a3a9478880a7e8cd4a8790038deebde
Commit message: "Populate BOM plugins list if the list is empty"
> git rev-list --no-walk 240051fb269a1cedabc2cb9d73b0ed976570770e # timeout=10
[kicad-qa] $ /bin/sh -xe /tmp/jenkins3737154139459620752.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+deb8u1) 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
+ OPTS= -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=ON -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON -DBUILD_SHARED_LIBS:BOOL=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 -DBUILD_SHARED_LIBS:BOOL=ON
-- KiCad install dir: </usr/local>
-- Check for installed GLEW -- found
-- Boost version: 1.55.0
-- Check for installed Python Interpreter -- found
-- Python module install path: lib/python2.7/dist-packages
-- Found wxPython 3.0.1.1/gtk2 (wxWidgets 3.0.1.1)
-- Found wxWidgets: -L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_gtk2u_gl-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_stc-3.0 (found suitable version "3.0.2", minimum required is "3.0.1.1")
-- Found wxPython.h in /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0/wx/wxPython
-- S3DSG version: 2.0.0
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- unit_test_framework
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- unit_test_framework
-- Found wxWidgets: -L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_gtk2u_gl-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_stc-3.0 (found suitable version "3.0.2", minimum required is "3.0.0")
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- unit_test_framework
-- 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
+ + grep -q ^MAKEJOBS=
env
+ echo The MAKEJOBS variable is empty
The MAKEJOBS variable is empty
+ JOBS=4
+ make -j4 pcbnew_python_module
[ 0%] [ 0%] Built target page_layout_lexer_source_files
Generating version string header
[ 0%] Built target idf3
-- Using Git to determine build version string.
-- Found Git: /usr/bin/git (found version "2.1.4")
[ 1%] Built target lib_table_lexer_source_files
[ 1%] Built target netlist_lexer_source_files
[ 4%] Built target gal
[ 4%] Built target legacy_wx
[ 4%] Built target pcb_lexer_source_files
[ 6%] Built target kicad_3dsg
[ 6%] Built target pcb_plot_lexer_source_files
[ 6%] Built target lib_dxf
[ 8%] Built target connectivity
[ 8%] Built target polygon
[ 8%] Built target specctra_lexer_source_files
-- Writing <http://ci.kicad-pcb.org/job/kicad-qa/ws/build/kicad_build_version.h> file with version: (6.0.0-rc1-dev-1220-g2ee2d90)
[ 8%] Built target version_header
[ 12%] Built target pcbcommon
[ 53%] Built target bitmaps
[ 54%] Built target pcad2kicadpcb
[ 60%] Built target 3d-viewer
Scanning dependencies of target common
[ 60%] Building CXX object common/CMakeFiles/common.dir/build_version.cpp.o
[ 82%] Built target pcbnew_kiface_objects
Linking CXX static library libcommon.a
[ 97%] Built target common
[ 97%] Built target github_plugin
[100%] Built target pnsrouter
Linking CXX shared module _pcbnew.kiface
[100%] Built target pcbnew_kiface
[100%] Creating python's pcbnew native module _pcbnew.so for command line use.
[100%] Built target pcbnew_python_module
+ make -j4
[ 0%] [ 0%] Built target page_layout_lexer_source_files
Generating version string header
[ 2%] Built target gal
-- Using Git to determine build version string.
[ 3%] Built target lib_table_lexer_source_files
-- Found Git: /usr/bin/git (found version "2.1.4")
[ 3%] Built target netlist_lexer_source_files
[ 3%] Built target legacy_gal
[ 3%] Built target legacy_wx
[ 3%] Built target pcb_lexer_source_files
[ 3%] Built target pcb_plot_lexer_source_files
[ 5%] Built target kicad_3dsg
[ 5%] Built target polygon
[ 35%] Built target bitmaps
-- Not updating <http://ci.kicad-pcb.org/job/kicad-qa/ws/build/kicad_build_version.h>
[ 35%] Built target version_header
[ 35%] Built target dialog_bom_cfg_lexer_source_files
[ 35%] Built target lib_dxf
[ 35%] [ 35%] Built target field_template_lexer_source_files
Built target cmp_library_lexer_source_files
[ 35%] Built target idf3
[ 36%] Built target connectivity
[ 36%] Built target specctra_lexer_source_files
[ 37%] Built target potrace
[ 37%] Built target pcb_calculator_lexer_source_files
[ 37%] Built target dxf2idf
[ 38%] Built target idfcyl
[ 38%] [ 38%] Built target unit_test_utils
Built target idfrect
[ 40%] Built target s3d_plugin_vrml
[ 43%] Built target pcbcommon
[ 44%] Built target pcad2kicadpcb
[ 56%] Built target common
[ 56%] Built target github_plugin
[ 60%] Built target 3d-viewer
[ 62%] Built target pnsrouter
Linking CXX shared module _gerbview.kiface
Linking CXX shared module _pl_editor.kiface
[ 78%] Built target pcbnew_kiface_objects
Linking CXX executable bitmap2component
Scanning dependencies of target eeschema_kiface
[ 78%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/dialogs/dialog_bom.cpp.o
[ 78%] Built target bitmap2component
[ 78%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/bom_plugins.cpp.o
<http://ci.kicad-pcb.org/job/kicad-qa/ws/eeschema/bom_plugins.cpp>: In constructor ‘BOM_PLUGIN::BOM_PLUGIN(const wxString&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/eeschema/bom_plugins.cpp>:31:84: error: no matching function for call to ‘std::runtime_error::runtime_error(wxString)’
throw std::runtime_error( _( "Cannot open plugin " ) + aFile.ToStdString() );
^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/eeschema/bom_plugins.cpp>:31:84: note: candidates are:
In file included from /usr/include/c++/4.9/array:38:0,
from /usr/include/c++/4.9/tuple:39,
from /usr/include/c++/4.9/functional:55,
from /usr/include/c++/4.9/memory:79,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/eeschema/bom_plugins.h>:32,
from <http://ci.kicad-pcb.org/job/kicad-qa/ws/eeschema/bom_plugins.cpp>:25:
/usr/include/c++/4.9/stdexcept:119:5: note: std::runtime_error::runtime_error(const string&)
runtime_error(const string& __arg);
^
/usr/include/c++/4.9/stdexcept:119:5: note: no known conversion for argument 1 from ‘wxString’ to ‘const string& {aka const std::basic_string<char>&}’
/usr/include/c++/4.9/stdexcept:112:9: note: std::runtime_error::runtime_error(const std::runtime_error&)
class runtime_error : public exception
^
/usr/include/c++/4.9/stdexcept:112:9: note: no known conversion for argument 1 from ‘wxString’ to ‘const std::runtime_error&’
eeschema/CMakeFiles/eeschema_kiface.dir/build.make:2049: recipe for target 'eeschema/CMakeFiles/eeschema_kiface.dir/bom_plugins.cpp.o' failed
make[2]: *** [eeschema/CMakeFiles/eeschema_kiface.dir/bom_plugins.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Linking CXX shared module _pcb_calculator.kiface
<http://ci.kicad-pcb.org/job/kicad-qa/ws/eeschema/dialogs/dialog_bom.cpp>: In member function ‘BOM_PLUGIN* DIALOG_BOM::selectedPlugin()’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/eeschema/dialogs/dialog_bom.cpp>:197:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( idx < 0 || idx >= m_plugins.size() )
^
[ 79%] Built target pl_editor_kiface
Linking CXX shared module libs3d_plugin_idf.so
[ 81%] Built target pcb_calculator_kiface
CMakeFiles/Makefile2:1017: recipe for target 'eeschema/CMakeFiles/eeschema_kiface.dir/all' failed
make[1]: *** [eeschema/CMakeFiles/eeschema_kiface.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX executable kicad
[ 81%] Built target s3d_plugin_idf
[ 84%] Built target gerbview_kiface
[ 84%] Built target kicad
Makefile:147: recipe for target 'all' failed
make: *** [all] Error 2
Build step 'Execute shell' marked build as failure
Follow ups