Looks like this is related to the version of boost on the build box - it seems that boost didn't add a move constructor to boost::optional until the version *after* that.
Unfortunately that means I can't reproduce it here, so I'm going to have to push a fix I /expect/ to work and hope the build box likes it :\ Apologies for any noise that may occur as a result... On Fri, Mar 24, 2017 at 09:30:10AM -0400, Chris Pavlina wrote: > ...crap. > > I'll have this fixed today. > > > On Fri, Mar 24, 2017 at 02:28:57PM +0100, Miguel Angel Ajo wrote: > > See > > <http://ci.kicad-pcb.org/job/kicad-qa/2492/display/redirect?page=changes> > > > > Changes: > > > > [Chris Pavlina] Add footprint select dropdown to component chooser, serious > > refactoring > > > > ------------------------------------------ > > 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 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 849b3c2a4bf9e48a75aaa8606dafc79c7724b25a > > (refs/remotes/origin/master) > > > git config core.sparsecheckout # timeout=10 > > > git checkout -f 849b3c2a4bf9e48a75aaa8606dafc79c7724b25a > > > git rev-list cc7825d00bb3807c5f55a960af71b446112f6b97 # timeout=10 > > [kicad-qa] $ /bin/sh -xe /tmp/hudson2865488976937515111.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: > > -- system > > -- 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: > > -- system > > -- filesystem > > -- 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%] Built target lib-dependencies > > [ 0%] [ 0%] Built target page_layout_lexer_source_files > > [ 0%] [ 0%] Built target idf3 > > Built target netlist_lexer_source_files > > Generating version string header > > -- Using Git to determine build version string. > > [ 0%] -- Found Git: /usr/bin/git (found version "2.1.4") > > Built target pcb_plot_lexer_source_files > > [ 0%] Built target lib_table_lexer_source_files > > -- Git hash: 849b3c2a4bf9e48a75aaa8606dafc79c7724b25a > > -- Git branch: HEAD > > [ 1%] Built target kicad_3dsg > > -- Writing > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/build/kicad_build_version.h> file > > with version: (2017-03-24 revision 849b3c2)-HEAD > > [ 1%] Built target version_header > > [ 1%] Built target pcb_lexer_source_files > > [ 1%] Built target lib_dxf > > [ 1%] Built target specctra_lexer_source_files > > [ 1%] Built target polygon > > [ 44%] Built target bitmaps > > Scanning dependencies of target gal > > [ 44%] Building CXX object common/CMakeFiles/gal.dir/draw_panel_gal.cpp.o > > Linking CXX static library libgal.a > > [ 47%] Built target gal > > Scanning dependencies of target pcbcommon > > [ 47%] [ 47%] [ 47%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/eda_text.cpp.o > > Building CXX object common/CMakeFiles/pcbcommon.dir/base_screen.cpp.o > > Building CXX object common/CMakeFiles/pcbcommon.dir/class_page_info.cpp.o > > Scanning dependencies of target common > > [ 47%] Building CXX object > > common/CMakeFiles/common.dir/dialog_about/AboutDialog_main.cpp.o > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/common/class_page_info.cpp>: In > > constructor ‘PAGE_INFO::PAGE_INFO(const wxString&, bool)’: > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/common/class_page_info.cpp>:111:62: > > warning: declaration of ‘IsPortrait’ shadows a member of 'this' [-Wshadow] > > PAGE_INFO::PAGE_INFO( const wxString& aType, bool IsPortrait ) > > ^ > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/common/class_page_info.cpp>: In > > member function ‘bool PAGE_INFO::SetType(const wxString&, bool)’: > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/common/class_page_info.cpp>:117:65: > > warning: declaration of ‘IsPortrait’ shadows a member of 'this' [-Wshadow] > > bool PAGE_INFO::SetType( const wxString& aType, bool IsPortrait ) > > ^ > > [ 47%] Building CXX object common/CMakeFiles/pcbcommon.dir/lset.cpp.o > > [ 47%] Building CXX object > > common/CMakeFiles/common.dir/dialogs/dialog_env_var_config.cpp.o > > [ 47%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/basepcbframe.cpp.o > > [ 47%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_board.cpp.o > > [ 47%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_board_connected_item.cpp.o > > [ 47%] Building CXX object > > common/CMakeFiles/common.dir/widgets/footprint_preview_widget.cpp.o > > [ 47%] Building CXX object > > common/CMakeFiles/common.dir/widgets/footprint_select_widget.cpp.o > > [ 47%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_board_design_settings.cpp.o > > [ 47%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_board_item.cpp.o > > [ 47%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_dimension.cpp.o > > In file included from /usr/include/boost/optional.hpp:15:0, > > from > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/math/box2.h>:33, > > from > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/view/view_item.h>:35, > > from > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/base_struct.h>:38, > > from > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/hashtables.h>:28, > > 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/common/widgets/footprint_select_widget.cpp>:20: > > /usr/include/boost/optional/optional.hpp: In instantiation of ‘void > > boost::optional_detail::optional_base<T>::construct(boost::optional_detail::optional_base<T>::argument_type) > > [with T = std::unique_ptr<IO_ERROR>; > > boost::optional_detail::optional_base<T>::argument_type = const > > std::unique_ptr<IO_ERROR>&]’: > > /usr/include/boost/optional/optional.hpp:250:33: required from > > ‘boost::optional_detail::optional_base<T>::optional_base(const > > boost::optional_detail::optional_base<T>&) [with T = > > std::unique_ptr<IO_ERROR>]’ > > /usr/include/boost/optional/optional.hpp:564:76: required from > > ‘boost::optional<T>::optional(const boost::optional<T>&) [with T = > > std::unique_ptr<IO_ERROR>]’ > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/footprint_info.h>:238:34: > > required from here > > /usr/include/boost/optional/optional.hpp:346:8: error: use of deleted > > function ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, > > _Dp>&) [with _Tp = IO_ERROR; _Dp = std::default_delete<IO_ERROR>]’ > > new (m_storage.address()) internal_type(val) ; > > ^ > > In file included from /usr/include/c++/4.9/memory:81:0, > > from > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/make_unique.h>:40, > > from > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/common.h>:48, > > from > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/wxstruct.h>:46, > > from > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/kiway_player.h>:30, > > from > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/dialog_shim.h>:30, > > from > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/common/widgets/footprint_select_widget.cpp>:20: > > /usr/include/c++/4.9/bits/unique_ptr.h:356:7: note: declared here > > unique_ptr(const unique_ptr&) = delete; > > ^ > > common/CMakeFiles/common.dir/build.make:685: recipe for target > > 'common/CMakeFiles/common.dir/widgets/footprint_select_widget.cpp.o' failed > > make[3]: *** > > [common/CMakeFiles/common.dir/widgets/footprint_select_widget.cpp.o] Error 1 > > CMakeFiles/Makefile2:272: recipe for target > > 'common/CMakeFiles/common.dir/all' failed > > make[2]: *** [common/CMakeFiles/common.dir/all] Error 2 > > make[2]: *** Waiting for unfinished jobs.... > > [ 47%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_drawsegment.cpp.o > > [ 47%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_drc_item.cpp.o > > [ 47%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_edge_mod.cpp.o > > [ 47%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_netclass.cpp.o > > [ 47%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_netinfo_item.cpp.o > > [ 48%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_netinfolist.cpp.o > > [ 48%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_marker_pcb.cpp.o > > [ 48%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_mire.cpp.o > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/class_netinfolist.cpp>: In > > member function ‘bool NETINFO_LIST::DeletePad(D_PAD*)’: > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/pcbnew/class_netinfolist.cpp>:158:35: > > warning: declaration of ‘end’ shadows a member of 'this' [-Wshadow] > > std::vector<D_PAD*>::iterator end = m_PadsFullList.end(); > > ^ > > [ 48%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_module.cpp.o > > [ 48%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_pad.cpp.o > > [ 48%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_pad_draw_functions.cpp.o > > [ 48%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_pcb_text.cpp.o > > [ 48%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_text_mod.cpp.o > > [ 48%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_track.cpp.o > > [ 48%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_zone.cpp.o > > [ 48%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/class_zone_settings.cpp.o > > [ 48%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/classpcb.cpp.o > > [ 48%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/convert_drawsegment_list_to_polygon.cpp.o > > [ 48%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/ratsnest_data.cpp.o > > [ 48%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/ratsnest_viewitem.cpp.o > > [ 48%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/collectors.cpp.o > > [ 50%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/netlist_reader.cpp.o > > [ 50%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/legacy_netlist_reader.cpp.o > > [ 50%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/kicad_netlist_reader.cpp.o > > [ 50%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/sel_layer.cpp.o > > [ 50%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/pcb_plot_params.cpp.o > > [ 50%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/io_mgr.cpp.o > > [ 50%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/plugin.cpp.o > > [ 50%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/eagle_plugin.cpp.o > > [ 50%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/legacy_plugin.cpp.o > > [ 50%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/kicad_plugin.cpp.o > > [ 50%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/gpcb_plugin.cpp.o > > [ 50%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/pcb_netlist.cpp.o > > [ 50%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/pcb_plot_params_keywords.cpp.o > > [ 50%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/pcb_keywords.cpp.o > > [ 50%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/pcb_parser.cpp.o > > [ 50%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/fp_lib_table.cpp.o > > [ 51%] Building CXX object > > common/CMakeFiles/pcbcommon.dir/__/pcbnew/pcb_painter.cpp.o > > In file included from /usr/include/boost/optional.hpp:15:0, > > from > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/sync_queue.h>:23, > > from > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/footprint_info.h>:39, > > from > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/common/fp_lib_table.cpp>:30: > > /usr/include/boost/optional/optional.hpp: In instantiation of ‘void > > boost::optional_detail::optional_base<T>::construct(boost::optional_detail::optional_base<T>::argument_type) > > [with T = std::unique_ptr<IO_ERROR>; > > boost::optional_detail::optional_base<T>::argument_type = const > > std::unique_ptr<IO_ERROR>&]’: > > /usr/include/boost/optional/optional.hpp:250:33: required from > > ‘boost::optional_detail::optional_base<T>::optional_base(const > > boost::optional_detail::optional_base<T>&) [with T = > > std::unique_ptr<IO_ERROR>]’ > > /usr/include/boost/optional/optional.hpp:564:76: required from > > ‘boost::optional<T>::optional(const boost::optional<T>&) [with T = > > std::unique_ptr<IO_ERROR>]’ > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/footprint_info.h>:238:34: > > required from here > > /usr/include/boost/optional/optional.hpp:346:8: error: use of deleted > > function ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, > > _Dp>&) [with _Tp = IO_ERROR; _Dp = std::default_delete<IO_ERROR>]’ > > new (m_storage.address()) internal_type(val) ; > > ^ > > In file included from /usr/include/c++/4.9/memory:81:0, > > from > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/make_unique.h>:40, > > from > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/include/common.h>:48, > > from > > <http://ci.kicad-pcb.org/job/kicad-qa/ws/common/fp_lib_table.cpp>:28: > > /usr/include/c++/4.9/bits/unique_ptr.h:356:7: note: declared here > > unique_ptr(const unique_ptr&) = delete; > > ^ > > common/CMakeFiles/pcbcommon.dir/build.make:1134: recipe for target > > 'common/CMakeFiles/pcbcommon.dir/fp_lib_table.cpp.o' failed > > make[3]: *** [common/CMakeFiles/pcbcommon.dir/fp_lib_table.cpp.o] Error 1 > > make[3]: *** Waiting for unfinished jobs.... > > CMakeFiles/Makefile2:556: recipe for target > > 'common/CMakeFiles/pcbcommon.dir/all' failed > > make[2]: *** [common/CMakeFiles/pcbcommon.dir/all] Error 2 > > CMakeFiles/Makefile2:1390: 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 > > > > _______________________________________________ > > Mailing list: https://launchpad.net/~kicad-developers > > Post to : [email protected] > > Unsubscribe : https://launchpad.net/~kicad-developers > > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

