==> Making package: slic3r-prusa3d-git 1.31.2.r5.gd530bdb-1 (Wed Nov 2 21:00:59 CET 2016) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating Slic3r git repo... Fetching origin -> Found Move-Slic3r-data-to-usr-share-slic3r.patch -> Found slic3r.desktop ==> Validating source files with md5sums... Slic3r ... Skipped Move-Slic3r-data-to-usr-share-slic3r.patch ... Passed slic3r.desktop ... Passed ==> Extracting sources... -> Creating working copy of Slic3r git repo... Cloning into 'Slic3r'... done. ==> Starting prepare()... patching file lib/Slic3r.pm ==> Starting pkgver()... ==> Removing existing $pkgdir/ directory... ==> Starting build()... Slic3r will be built with GUI support cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Slic3r-XS' version '0.01' Building Slic3r-XS Processing XS typemap files... Generating main XS file... cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C cc -I/usr/lib/perl5/core_perl/CORE -fPIC -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xc++ -Isrc/libslic3r -Isrc/glew/include -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_GLIBCXX_USE_C99 -DHAS_BOOL -DNOGDI -DSLIC3RXS -DBOOST_ASIO_DISABLE_KQUEUE -DSLIC3R_GUI -DUNICODE -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -DBOOST_LIBS -DNDEBUG -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -std=c++11 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -o src/libslic3r/PolylineCollection.o src/libslic3r/PolylineCollection.cpp src/libslic3r/PolylineCollection.cpp: In static member function 'static Slic3r::Polylines Slic3r::PolylineCollection::chained_path(Slic3r::Polylines&&, bool)': src/libslic3r/PolylineCollection.cpp:89:40: error: '__gnu_cxx::__alloc_traits >::value_type {aka class Slic3r::Polyline}' has no member named 'empty' return (src.empty() || src.front().empty()) ? ^~~~~ src/libslic3r/PolylineCollection.cpp:91:80: error: call of overloaded 'chained_path_from(std::remove_reference&>::type, Slic3r::Point, bool&)' is ambiguous chained_path_from(std::move(src), src.front().first_point(), no_reverse); ^ src/libslic3r/PolylineCollection.cpp:49:11: note: candidate: static Slic3r::Polylines Slic3r::PolylineCollection::chained_path_from(Slic3r::Polylines&&, Slic3r::Point, bool) Polylines PolylineCollection::chained_path_from( ^~~~~~~~~~~~~~~~~~ In file included from src/libslic3r/PolylineCollection.cpp:1:0: src/libslic3r/PolylineCollection.hpp:26:19: note: candidate: static Slic3r::Polylines Slic3r::PolylineCollection::chained_path_from(Slic3r::Polylines, Slic3r::Point, bool) static Polylines chained_path_from(Polylines src, Point start_near, bool no_reverse = false); ^~~~~~~~~~~~~~~~~ src/libslic3r/PolylineCollection.cpp: In static member function 'static Slic3r::Polylines Slic3r::PolylineCollection::chained_path_from(Slic3r::Polylines, Slic3r::Point, bool)': src/libslic3r/PolylineCollection.cpp:95:68: error: call of overloaded 'chained_path_from(std::remove_reference&>::type, Slic3r::Point&, bool&)' is ambiguous return chained_path_from(std::move(src), start_near, no_reverse); ^ src/libslic3r/PolylineCollection.cpp:49:11: note: candidate: static Slic3r::Polylines Slic3r::PolylineCollection::chained_path_from(Slic3r::Polylines&&, Slic3r::Point, bool) Polylines PolylineCollection::chained_path_from( ^~~~~~~~~~~~~~~~~~ src/libslic3r/PolylineCollection.cpp:93:11: note: candidate: static Slic3r::Polylines Slic3r::PolylineCollection::chained_path_from(Slic3r::Polylines, Slic3r::Point, bool) Polylines PolylineCollection::chained_path_from(Polylines src, Point start_near, bool no_reverse) ^~~~~~~~~~~~~~~~~~ src/libslic3r/PolylineCollection.cpp: In static member function 'static Slic3r::Polylines Slic3r::PolylineCollection::chained_path(Slic3r::Polylines, bool)': src/libslic3r/PolylineCollection.cpp:99:40: error: '__gnu_cxx::__alloc_traits >::value_type {aka class Slic3r::Polyline}' has no member named 'empty' return (src.empty() || src.front().empty()) ? ^~~~~ src/libslic3r/PolylineCollection.cpp:101:80: error: call of overloaded 'chained_path_from(std::remove_reference&>::type, Slic3r::Point, bool&)' is ambiguous chained_path_from(std::move(src), src.front().first_point(), no_reverse); ^ src/libslic3r/PolylineCollection.cpp:49:11: note: candidate: static Slic3r::Polylines Slic3r::PolylineCollection::chained_path_from(Slic3r::Polylines&&, Slic3r::Point, bool) Polylines PolylineCollection::chained_path_from( ^~~~~~~~~~~~~~~~~~ src/libslic3r/PolylineCollection.cpp:93:11: note: candidate: static Slic3r::Polylines Slic3r::PolylineCollection::chained_path_from(Slic3r::Polylines, Slic3r::Point, bool) Polylines PolylineCollection::chained_path_from(Polylines src, Point start_near, bool no_reverse) ^~~~~~~~~~~~~~~~~~ error building src/libslic3r/PolylineCollection.o from 'src/libslic3r/PolylineCollection.cpp' at /usr/share/perl5/core_perl/ExtUtils/CBuilder/Base.pm line 174. ==> ERROR: A failure occurred in build(). Aborting...