← Back to team overview

kicad-developers team mailing list archive

Build failed in Jenkins: kicad-noscript-fedora20 #423

 

See <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/423/changes>

Changes:

[jean-pierre charras] Dialog exchange modules: add a fp selection from the fp viewer
Fix also an issue on Windows, when using the footprint viewer or the component viewer in modal mode:
Reason: these frames (when run under the Kicad manager) have the Kicad manager as parent, and were built with wxFRAME_FLOAT_ON_PARENT style.
On windows, when the frame with style wxFRAME_FLOAT_ON_PARENT is displayed its parent frame is brought to the foreground, on the top of the calling frame.
and stays displayed when closing the frame in modal mode.
This issue does not happen on unix so we use now wxSTAY_ON_TOP on Windows, and wxFRAME_FLOAT_ON_PARENT on unix to simulate a dialog called by ShowModal.
This is not perfect, but at least it works.

------------------------------------------
Started by upstream project "kicad-full" build number 526
originally caused by:
 Started by an SCM change
Building remotely on fedora21 in workspace <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/>
$ bzr revision-info -d <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/>
info result: bzr revision-info -d <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/> returned 0. Command output: "5804 stambaughw@xxxxxxxxxxx-20150622155327-vueuzuskg3hez0vm
" stderr: ""
[kicad-noscript-fedora20] $ bzr pull --overwrite lp:kicad
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
http://bazaar.launchpad.net/~kicad-product-committers/kicad/product is permanently redirected to http://bazaar.launchpad.net/~kicad-product-committers/kicad/product/changes
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
 M  common/kiway_player.cpp
 M  eeschema/viewlib_frame.cpp
 M  pcbnew/dialogs/dialog_exchange_modules_base.cpp
 M  pcbnew/dialogs/dialog_exchange_modules_base.fbp
 M  pcbnew/dialogs/dialog_exchange_modules_base.h
 M  pcbnew/modview_frame.cpp
 M  pcbnew/xchgmod.cpp
All changes applied successfully.
Now on revision 5805.
[kicad-noscript-fedora20] $ bzr revert
$ bzr revision-info -d <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/>
info result: bzr revision-info -d <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/> returned 0. Command output: "5805 jp.charras@xxxxxxxxxx-20150622172300-2eluaalqa3v0fgnn
" stderr: ""
[kicad-noscript-fedora20] $ bzr log -v -r revid:stambaughw@xxxxxxxxxxx-20150622155327-vueuzuskg3hez0vm..revid:jp.charras@xxxxxxxxxx-20150622172300-2eluaalqa3v0fgnn --long --show-ids
Getting local revision...
$ bzr revision-info -d <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/>
info result: bzr revision-info -d <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/> returned 0. Command output: "5805 jp.charras@xxxxxxxxxx-20150622172300-2eluaalqa3v0fgnn
" stderr: ""
RevisionState revno:5805 revid:jp.charras@xxxxxxxxxx-20150622172300-2eluaalqa3v0fgnn
[kicad-noscript-fedora20] $ /bin/sh -xe /tmp/hudson2221313223497362121.sh
+ OPTS=' -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=OFF -DKICAD_SCRIPTING=OFF -DKICAD_SCRIPTING_MODULES=OFF -DKICAD_SCRIPTING_WXPYTHON=OFF -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-3.0 -DKICAD_USE_WEBKIT=OFF'
+ '[' -d build ']'
+ cd build
+ /usr/bin/cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=OFF -DKICAD_SCRIPTING=OFF -DKICAD_SCRIPTING_MODULES=OFF -DKICAD_SCRIPTING_WXPYTHON=OFF -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-3.0 -DKICAD_USE_WEBKIT=OFF
-- Check for installed OpenGL -- found
-- Found Glew: /usr/lib64/libGLEW.so
-- Check for installed GLEW -- found
-- Check for installed Cairo -- found
-- Bazaar version control system version 2.6.0 found.
-- Kicad Bazaar build version: (2015-06-22 BZR 5805)
-- Configuring done
-- Generating done
-- Build files have been written to: <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/build>
+ rm -f pcbnew/scripting/pcbnewPYTHON_wrap.cxx.o
+ rm -f pcbnew/scripting/pcbnewPYTHON_wrap.cxx
+ make -j4
[  1%] Built target boost
[  1%] [  1%] Built target page_layout_lexer_source_files
Built target netlist_lexer_source_files
[  1%] Built target fp_lib_table_lexer_source_files
[  1%] [  1%] Built target pcb_lexer_source_files
Generating headers containing GLSL source code
[  1%] Headers are up-to-date
[  1%] Built target specctra_lexer_source_files
Built target pcb_plot_lexer_source_files
[  1%] Built target shader_headers
[  1%] [  1%] Built target cmp_library_lexer_source_files
Built target dialog_bom_cfg_lexer_source_files
[  1%] Built target field_template_lexer_source_files
[ 37%] Built target bitmaps
[ 38%] [ 38%] Built target potrace
Built target lib_dxf
[ 38%] Built target pcb_calculator_lexer_source_files
[ 38%] Built target idfcyl
[ 39%] Built target idfrect
[ 39%] Built target idf3
[ 39%] Built target lib-dependencies
[ 40%] Built target dxf2idf
[ 40%] Built target idf2vrml
[ 40%] Built target polygon
[ 41%] Built target gal
[ 45%] Built target pcbcommon
[ 46%] Built target 3d-viewer
Scanning dependencies of target common
[ 48%] Built target pcad2kicadpcb
[ 51%] Built target pnsrouter
[ 51%] Building CXX object common/CMakeFiles/common.dir/build_version.cpp.o
[ 51%] Building CXX object common/CMakeFiles/common.dir/kiway_player.cpp.o
Linking CXX static library libcommon.a
[ 59%] Built target common
Linking CXX shared module _cvpcb.kiface
Linking CXX shared module _gerbview.kiface
Scanning dependencies of target eeschema_kiface
[ 59%] Building CXX object eeschema/CMakeFiles/eeschema_kiface.dir/project_rescue.cpp.o
In file included from /usr/include/c++/4.9.2/vector:64:0,
                 from <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/include/richio.h>:32,
                 from <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/include/base_struct.h>:39,
                 from <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/include/class_drawpanel.h>:35,
                 from <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/eeschema/project_rescue.cpp>:25:
/usr/include/c++/4.9.2/bits/stl_vector.h: In instantiation of ‘class std::vector<RESCUE_CANDIDATE>’:
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/eeschema/project_rescue.cpp>:491:37:   required from here
/usr/include/c++/4.9.2/bits/stl_vector.h:713:7: error: invalid abstract parameter type ‘RESCUE_CANDIDATE’
       resize(size_type __new_size, value_type __x = value_type())
       ^
In file included from <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/eeschema/project_rescue.cpp>:30:0:
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/eeschema/./project_rescue.h>:56:7: note:   because the following virtual functions are pure within ‘RESCUE_CANDIDATE’:
 class RESCUE_CANDIDATE
       ^
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/eeschema/./project_rescue.h>:63:22: note: 	virtual wxString RESCUE_CANDIDATE::GetRequestedName() const
     virtual wxString GetRequestedName() const = 0;
                      ^
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/eeschema/./project_rescue.h>:69:22: note: 	virtual wxString RESCUE_CANDIDATE::GetNewName() const
     virtual wxString GetNewName() const = 0;
                      ^
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/eeschema/./project_rescue.h>:89:22: note: 	virtual wxString RESCUE_CANDIDATE::GetActionDescription() const
     virtual wxString GetActionDescription() const = 0;
                      ^
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/eeschema/./project_rescue.h>:97:18: note: 	virtual bool RESCUE_CANDIDATE::PerformAction(RESCUER*)
     virtual bool PerformAction( RESCUER* aRescuer ) = 0;
                  ^
In file included from <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/boost_root/include/boost/smart_ptr/scoped_array.hpp>:16:0,
                 from <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/boost_root/include/boost/scoped_array.hpp>:14,
                 from <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/boost_root/include/boost/ptr_container/detail/scoped_deleter.hpp>:21,
                 from <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/boost_root/include/boost/ptr_container/detail/reversible_ptr_container.hpp>:21,
                 from <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/boost_root/include/boost/ptr_container/ptr_sequence_adapter.hpp>:20,
                 from <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/boost_root/include/boost/ptr_container/ptr_vector.hpp>:20,
                 from <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/eeschema/./lib_draw_item.h>:38,
                 from <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/eeschema/./class_libentry.h>:34,
                 from <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/eeschema/./class_library.h>:36,
                 from <http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/eeschema/project_rescue.cpp>:26:
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/boost_root/include/boost/checked_delete.hpp>: In instantiation of ‘void boost::checked_delete(T*) [with T = const RESCUE_CANDIDATE]’:
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/boost_root/include/boost/ptr_container/clone_allocator.hpp>:56:27:   required from ‘void boost::delete_clone(const T*) [with T = RESCUE_CANDIDATE]’
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/boost_root/include/boost/ptr_container/clone_allocator.hpp>:74:29:   required from ‘static void boost::heap_clone_allocator::deallocate_clone(const U*) [with U = RESCUE_CANDIDATE]’
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/boost_root/include/boost/ptr_container/detail/reversible_ptr_container.hpp>:126:53:   required from ‘static void boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::null_clone_allocator<allow_null_values>::deallocate_clone(const Ty_*) [with bool allow_null_values = false; Config = boost::ptr_container_detail::sequence_config<RESCUE_CANDIDATE, std::vector<void*, std::allocator<void*> > >; CloneAllocator = boost::heap_clone_allocator; boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::Ty_ = RESCUE_CANDIDATE]’
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/boost_root/include/boost/ptr_container/detail/reversible_ptr_container.hpp>:276:51:   required from ‘static void boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::null_policy_deallocate_clone(const Ty_*) [with Config = boost::ptr_container_detail::sequence_config<RESCUE_CANDIDATE, std::vector<void*, std::allocator<void*> > >; CloneAllocator = boost::heap_clone_allocator; boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::Ty_ = RESCUE_CANDIDATE]’
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/boost_root/include/boost/ptr_container/detail/reversible_ptr_container.hpp>:250:72:   required from ‘void boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::remove(I) [with I = boost::void_ptr_iterator<__gnu_cxx::__normal_iterator<void**, std::vector<void*, std::allocator<void*> > >, RESCUE_CANDIDATE>; Config = boost::ptr_container_detail::sequence_config<RESCUE_CANDIDATE, std::vector<void*, std::allocator<void*> > >; CloneAllocator = boost::heap_clone_allocator]’
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/boost_root/include/boost/ptr_container/detail/reversible_ptr_container.hpp>:582:23:   required from ‘boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::iterator boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::erase(boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::iterator) [with Config = boost::ptr_container_detail::sequence_config<RESCUE_CANDIDATE, std::vector<void*, std::allocator<void*> > >; CloneAllocator = boost::heap_clone_allocator; boost::ptr_container_detail::reversible_ptr_container<Config, CloneAllocator>::iterator = boost::void_ptr_iterator<__gnu_cxx::__normal_iterator<void**, std::vector<void*, std::allocator<void*> > >, RESCUE_CANDIDATE>]’
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/eeschema/project_rescue.cpp>:213:45:   required from here
<http://ci.kicad-pcb.org/job/kicad-noscript-fedora20/ws/boost_root/include/boost/checked_delete.hpp>:34:5: warning: deleting object of abstract class type ‘RESCUE_CANDIDATE’ which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor]
     delete x;
     ^
eeschema/CMakeFiles/eeschema_kiface.dir/build.make:2716: recipe for target 'eeschema/CMakeFiles/eeschema_kiface.dir/project_rescue.cpp.o' failed
make[2]: *** [eeschema/CMakeFiles/eeschema_kiface.dir/project_rescue.cpp.o] Error 1
CMakeFiles/Makefile2:973: 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....
Scanning dependencies of target pcbnew_kiface
[ 63%] Built target gerbview_kiface
[ 63%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/modview_frame.cpp.o
[ 63%] [ 63%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/dialogs/dialog_exchange_modules_base.cpp.o
Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/xchgmod.cpp.o
Linking CXX shared module _pcbnew.kiface
[ 65%] Built target cvpcb_kiface
[ 82%] Built target pcbnew_kiface
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
Build step 'Execute shell' marked build as failure


Follow ups

References