← Back to team overview

kicad-developers team mailing list archive

Build failed in Jenkins: kicad-qa #3623

 

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

Changes:

[Maciej Suminski] Fix constant naming conflict in KI_DIALOG

------------------------------------------
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 918ac567e5878af19038e8dbf2703b15f219f29e (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 918ac567e5878af19038e8dbf2703b15f219f29e
Commit message: "Fix constant naming conflict in KI_DIALOG"
 > git rev-list --no-walk 8a8b062d8e833d1dfa5c8694f78f199fa2ea2fba # timeout=10
[kicad-qa] $ /bin/sh -xe /tmp/jenkins6143164427287572658.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>
-- 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
-- wxPython version 3.0 found.
-- 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
-- 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
+ env
+ grep -q ^MAKEJOBS=
+ echo The MAKEJOBS variable is empty
The MAKEJOBS variable is empty
+ JOBS=4
+ make -j4 pcbnew_python_module
[  0%] Built target lib_table_lexer_source_files
[  0%] Built target idf3
[  2%] Built target kicad_3dsg
[  2%] Built target pcb_plot_lexer_source_files
[  2%] Built target netlist_lexer_source_files
[  2%] Built target pcb_lexer_source_files
[  2%] Built target page_layout_lexer_source_files
[  2%] Generating version string header
[  2%] -- Using Git to determine build version string.
Built target lib_dxf
-- Found Git: /usr/bin/git (found version "2.1.4") 
[  2%] Built target specctra_lexer_source_files
[  2%] Built target polygon
[ 46%] -- Writing <http://ci.kicad-pcb.org/job/kicad-qa/ws/build/kicad_build_version.h> file with version: (5.0-dev-4138-g918ac56)
Built target bitmaps
[ 46%] Built target version_header
Scanning dependencies of target gal
[ 46%] [ 46%] [ 46%] Building CXX object common/CMakeFiles/gal.dir/draw_panel_gal.cpp.o
Building CXX object common/CMakeFiles/gal.dir/gal/opengl/cached_container_ram.cpp.o
Building CXX object common/CMakeFiles/gal.dir/gal/opengl/vertex_manager.cpp.o
Scanning dependencies of target pcbcommon
[ 46%] Building CXX object common/CMakeFiles/pcbcommon.dir/__/pcbnew/pcb_base_frame.cpp.o
[ 46%] Building CXX object common/CMakeFiles/gal.dir/gal/opengl/gpu_manager.cpp.o
[ 46%] Building CXX object common/CMakeFiles/gal.dir/gal/opengl/utils.cpp.o
[ 46%] Building CXX object common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_edge_mod.cpp.o
[ 46%] Building CXX object common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_module.cpp.o
Linking CXX static library libgal.a
[ 49%] Built target gal
Scanning dependencies of target common
[ 49%] Building CXX object common/CMakeFiles/common.dir/dialogs/dialog_env_var_config.cpp.o
[ 49%] Building CXX object common/CMakeFiles/pcbcommon.dir/__/pcbnew/pcb_draw_panel_gal.cpp.o
[ 49%] Building CXX object common/CMakeFiles/pcbcommon.dir/__/pcbnew/pcb_parser.cpp.o
[ 49%] Building CXX object common/CMakeFiles/common.dir/block_commande.cpp.o
[ 49%] Building CXX object common/CMakeFiles/pcbcommon.dir/__/pcbnew/sel_layer.cpp.o
[ 49%] Building CXX object common/CMakeFiles/common.dir/build_version.cpp.o
[ 50%] Building CXX object common/CMakeFiles/common.dir/confirm.cpp.o
[ 50%] Building CXX object common/CMakeFiles/common.dir/copy_to_clipboard.cpp.o
[ 50%] Building CXX object common/CMakeFiles/common.dir/draw_frame.cpp.o
Linking CXX static library libpcbcommon.a
In file included from /usr/include/c++/4.9/bits/hashtable.h:35:0,
                 from /usr/include/c++/4.9/unordered_map:47,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/hashtables.h>:103,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/dialog_shim.h>:29,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/../common/dialogs/dialog_display_info_HTML_base.h>:14,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/html_messagebox.h>:34,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/common/confirm.cpp>:35:
/usr/include/c++/4.9/bits/hashtable_policy.h: In instantiation of ‘struct std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> >’:
/usr/include/c++/4.9/type_traits:134:12:   required from ‘struct std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > >’
/usr/include/c++/4.9/type_traits:145:38:   required from ‘struct std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
/usr/include/c++/4.9/bits/unordered_map.h:100:66:   required from ‘class std::unordered_map<KI_DIALOG::TYPE, wxString>’
<http://ci.kicad-pcb.org/job/kicad-qa/ws/common/confirm.cpp>:72:46:   required from here
/usr/include/c++/4.9/bits/hashtable_policy.h:85:33: error: no match for call to ‘(const std::hash<KI_DIALOG::TYPE>) (const KI_DIALOG::TYPE&)’
  noexcept(declval<const _Hash&>()(declval<const _Key&>()))>
                                 ^
In file included from /usr/include/c++/4.9/bits/move.h:57:0,
                 from /usr/include/c++/4.9/bits/stl_pair.h:59,
                 from /usr/include/c++/4.9/bits/stl_algobase.h:64,
                 from /usr/include/c++/4.9/bits/char_traits.h:39,
                 from /usr/include/c++/4.9/string:40,
                 from /usr/include/wx-3.0/wx/stringimpl.h:66,
                 from /usr/include/wx-3.0/wx/unichar.h:15,
                 from /usr/include/wx-3.0/wx/strvararg.h:22,
                 from /usr/include/wx-3.0/wx/string.h:46,
                 from /usr/include/wx-3.0/wx/stockitem.h:16,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/common/confirm.cpp>:30:
/usr/include/c++/4.9/type_traits: In instantiation of ‘struct std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’:
/usr/include/c++/4.9/bits/unordered_map.h:100:66:   required from ‘class std::unordered_map<KI_DIALOG::TYPE, wxString>’
<http://ci.kicad-pcb.org/job/kicad-qa/ws/common/confirm.cpp>:72:46:   required from here
/usr/include/c++/4.9/type_traits:145:38: error: ‘value’ is not a member of ‘std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > >’
     : public integral_constant<bool, !_Pp::value>
                                      ^
In file included from /usr/include/c++/4.9/unordered_map:48:0,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/hashtables.h>:103,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/dialog_shim.h>:29,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/../common/dialogs/dialog_display_info_HTML_base.h>:14,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/html_messagebox.h>:34,
                 from <http://ci.kicad-pcb.org/job/kicad-qa/ws/common/confirm.cpp>:35:
/usr/include/c++/4.9/bits/unordered_map.h: In instantiation of ‘class std::unordered_map<KI_DIALOG::TYPE, wxString>’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/common/confirm.cpp>:72:46:   required from here
/usr/include/c++/4.9/bits/unordered_map.h:100:66: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       typedef __umap_hashtable<_Key, _Tp, _Hash, _Pred, _Alloc>  _Hashtable;
                                                                  ^
/usr/include/c++/4.9/bits/unordered_map.h:107:45: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       typedef typename _Hashtable::key_type key_type;
                                             ^
/usr/include/c++/4.9/bits/unordered_map.h:108:47: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       typedef typename _Hashtable::value_type value_type;
                                               ^
/usr/include/c++/4.9/bits/unordered_map.h:109:48: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       typedef typename _Hashtable::mapped_type mapped_type;
                                                ^
/usr/include/c++/4.9/bits/unordered_map.h:110:43: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       typedef typename _Hashtable::hasher hasher;
                                           ^
/usr/include/c++/4.9/bits/unordered_map.h:111:46: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       typedef typename _Hashtable::key_equal key_equal;
                                              ^
/usr/include/c++/4.9/bits/unordered_map.h:112:51: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       typedef typename _Hashtable::allocator_type allocator_type;
                                                   ^
/usr/include/c++/4.9/bits/unordered_map.h:117:45: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       typedef typename _Hashtable::pointer  pointer;
                                             ^
/usr/include/c++/4.9/bits/unordered_map.h:118:50: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       typedef typename _Hashtable::const_pointer const_pointer;
                                                  ^
/usr/include/c++/4.9/bits/unordered_map.h:119:47: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       typedef typename _Hashtable::reference  reference;
                                               ^
/usr/include/c++/4.9/bits/unordered_map.h:120:52: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       typedef typename _Hashtable::const_reference const_reference;
                                                    ^
/usr/include/c++/4.9/bits/unordered_map.h:121:46: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       typedef typename _Hashtable::iterator  iterator;
                                              ^
/usr/include/c++/4.9/bits/unordered_map.h:122:51: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       typedef typename _Hashtable::const_iterator const_iterator;
                                                   ^
/usr/include/c++/4.9/bits/unordered_map.h:123:51: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       typedef typename _Hashtable::local_iterator local_iterator;
                                                   ^
/usr/include/c++/4.9/bits/unordered_map.h:124:57: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       typedef typename _Hashtable::const_local_iterator const_local_iterator;
                                                         ^
/usr/include/c++/4.9/bits/unordered_map.h:125:47: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       typedef typename _Hashtable::size_type  size_type;
                                               ^
/usr/include/c++/4.9/bits/unordered_map.h:126:52: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       typedef typename _Hashtable::difference_type difference_type;
                                                    ^
/usr/include/c++/4.9/bits/unordered_map.h:242:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       operator=(initializer_list<value_type> __l)
       ^
/usr/include/c++/4.9/bits/unordered_map.h:340:2: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
  emplace(_Args&&... __args)
  ^
/usr/include/c++/4.9/bits/unordered_map.h:392:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       insert(const value_type& __x)
       ^
/usr/include/c++/4.9/bits/unordered_map.h:399:2: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
  insert(_Pair&& __x)
  ^
/usr/include/c++/4.9/bits/unordered_map.h:459:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       insert(initializer_list<value_type> __l)
       ^
/usr/include/c++/4.9/bits/unordered_map.h:604:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       equal_range(const key_type& __x)
       ^
/usr/include/c++/4.9/bits/unordered_map.h:608:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<KI_DIALOG::TYPE> >, std::__detail::__is_noexcept_hash<KI_DIALOG::TYPE, std::hash<KI_DIALOG::TYPE> > > >’
       equal_range(const key_type& __x) const
       ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/common/confirm.cpp>: In member function ‘KI_DIALOG& KI_DIALOG::Type(KI_DIALOG::TYPE)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/common/confirm.cpp>:75:5: error: too many initializers for ‘const std::unordered_map<KI_DIALOG::TYPE, wxString>’
     };
     ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/common/confirm.cpp>:80:5: error: too many initializers for ‘const std::unordered_map<KI_DIALOG::TYPE, wxString>’
     };
     ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/common/confirm.cpp>:92:49: error: ‘const class std::unordered_map<KI_DIALOG::TYPE, wxString>’ has no member named ‘at’
                 wxArtProvider::GetBitmap( icons.at( aType ), wxART_CMN_DIALOG ) );
                                                 ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/common/confirm.cpp>:97:28: error: ‘const class std::unordered_map<KI_DIALOG::TYPE, wxString>’ has no member named ‘at’
         SetTitle( stdTitle.at( aType ) );
                            ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/common/confirm.cpp>: In constructor ‘DIALOG_MULTI_OPTIONS::DIALOG_MULTI_OPTIONS(wxWindow*, const wxString&, const wxString&, const wxArrayString&)’:
<http://ci.kicad-pcb.org/job/kicad-qa/ws/common/confirm.cpp>:417:19: warning: declaration of ‘selectAll’ shadows a member of 'this' [-Wshadow]
         wxButton* selectAll = new wxButton( this, wxID_ANY, _( "Select All" ) );
                   ^
<http://ci.kicad-pcb.org/job/kicad-qa/ws/common/confirm.cpp>:419:19: warning: declaration of ‘unselectAll’ shadows a member of 'this' [-Wshadow]
         wxButton* unselectAll = new wxButton( this, wxID_ANY, _( "Unselect All" ) );
                   ^
[ 56%] Built target pcbcommon
[ 61%] Built target 3d-viewer
common/CMakeFiles/common.dir/build.make:1720: recipe for target 'common/CMakeFiles/common.dir/confirm.cpp.o' failed
make[3]: *** [common/CMakeFiles/common.dir/confirm.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 63%] Built target pcad2kicadpcb
CMakeFiles/Makefile2:240: recipe for target 'common/CMakeFiles/common.dir/all' failed
make[2]: *** [common/CMakeFiles/common.dir/all] Error 2
CMakeFiles/Makefile2:1414: recipe for target 'pcbnew/CMakeFiles/pcbnew_python_module.dir/rule' failed
make[1]: *** [pcbnew/CMakeFiles/pcbnew_python_module.dir/rule] Error 2
Makefile:574: recipe for target 'pcbnew_python_module' failed
make: *** [pcbnew_python_module] Error 2
Build step 'Execute shell' marked build as failure


Follow ups

References