← Back to team overview

kicad-developers team mailing list archive

Build failed in Jenkins: kicad-qa #4981

 

See <http://ci.kicad-pcb.org/job/kicad-qa/4981/display/redirect?page=changes>

Changes:

[jeff] Fix debug assert.

------------------------------------------
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 2c53ab3d8c123983ddff11c2a0c1e1f4f1db2ff4 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2c53ab3d8c123983ddff11c2a0c1e1f4f1db2ff4
Commit message: "Fix debug assert."
 > git rev-list --no-walk 63d4afb3eef056968588eb96aafb5f418b6d8cc5 # timeout=10
[kicad-qa] $ /bin/sh -xe /tmp/jenkins4605936902671568812.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 idf3
[  0%] Built target page_layout_lexer_source_files
Generating version string header
-- Using Git to determine build version string.
-- Found Git: /usr/bin/git (found version "2.1.4") 
[  2%] [  2%] Built target gal
[  2%] Built target lib_table_lexer_source_files
Built target netlist_lexer_source_files
[  2%] Built target pcb_lexer_source_files
[  2%] Built target pcb_plot_lexer_source_files
[  2%] [  4%] Built target legacy_wx
Built target kicad_3dsg
[  4%] Built target lib_dxf
[  4%] Built target connectivity
[  4%] Built target specctra_lexer_source_files
[  4%] Built target polygon
[ 46%] Built target bitmaps
[ 52%] Built target pcbcommon
[ 53%] Built target pcad2kicadpcb
[ 59%] Built target 3d-viewer
-- Writing <http://ci.kicad-pcb.org/job/kicad-qa/ws/build/kicad_build_version.h> file with version: (6.0.0-rc1-dev-1374-g2c53ab3)
[ 59%] Built target version_header
[ 59%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcbnew_wrap.cxx.o
Scanning dependencies of target common
[ 59%] Building CXX object common/CMakeFiles/common.dir/build_version.cpp.o
Linking CXX static library libcommon.a
<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>: In function ‘PyObject* _wrap_GetNewConfig(PyObject*, PyObject*)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>:23155:132: error: use of deleted function ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = wxConfigBase; _Dp = std::default_delete<wxConfigBase>]’
   resultobj = SWIG_NewPointerObj((new std::unique_ptr< wxConfigBase >(static_cast< const std::unique_ptr< wxConfigBase >& >(result))), SWIGTYPE_p_std__unique_ptrT_wxConfigBase_t, SWIG_POINTER_OWN |  0 );
                                                                                                                                    ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>:1171:89: note: in definition of macro ‘SWIG_NewPointerObj’
 #define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
                                                                                         ^
In file included from /usr/include/c++/4.9/memory:81:0,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/macros.h>:37,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>:5126:
/usr/include/c++/4.9/bits/unique_ptr.h:356:7: note: declared here
       unique_ptr(const unique_ptr&) = delete;
       ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>: In instantiation of ‘SwigValueWrapper<T>& SwigValueWrapper<T>::operator=(const T&) [with T = std::unique_ptr<wxConfigBase>]’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>:23154:10:   required from here
<http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>:28:73: error: use of deleted function ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = wxConfigBase; _Dp = std::default_delete<wxConfigBase>]’
   SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
                                                                         ^
In file included from /usr/include/c++/4.9/memory:81:0,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/macros.h>:37,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/build/pcbnew/pcbnew_wrap.cxx>:5126:
/usr/include/c++/4.9/bits/unique_ptr.h:356:7: note: declared here
       unique_ptr(const unique_ptr&) = delete;
       ^
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/build.make:6156: recipe for target 'pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcbnew_wrap.cxx.o' failed
make[3]: *** [pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcbnew_wrap.cxx.o] Error 1
CMakeFiles/Makefile2:1524: recipe for target 'pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/all' failed
make[2]: *** [pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 74%] Built target common
CMakeFiles/Makefile2:1620: recipe for target 'pcbnew/CMakeFiles/pcbnew_python_module.dir/rule' failed
make[1]: *** [pcbnew/CMakeFiles/pcbnew_python_module.dir/rule] Error 2
Makefile:636: recipe for target 'pcbnew_python_module' failed
make: *** [pcbnew_python_module] Error 2
Build step 'Execute shell' marked build as failure


Follow ups

References