>>> libplatform a7cd0d5780ed80a4e70480d1650749f29e8a1fb2 Extracting gzip -d -c /tmp/instance-1/dl/libplatform/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2.tar.gz | tar --strip-components=1 -C /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2 -xf - >>> libplatform a7cd0d5780ed80a4e70480d1650749f29e8a1fb2 Patching >>> libplatform a7cd0d5780ed80a4e70480d1650749f29e8a1fb2 Configuring (mkdir -p /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/ && cd /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/ && rm -f CMakeCache.txt && PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/cmake /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/ -DCMAKE_TOOLCHAIN_FILE="/tmp/instance-1/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON ) -- The C compiler identification is GNU 5.3.0 -- The CXX compiler identification is GNU 5.3.0 -- Check for working C compiler: /tmp/instance-1/output-1/host/bin/mips-linux-gnu-gcc -- Check for working C compiler: /tmp/instance-1/output-1/host/bin/mips-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /tmp/instance-1/output-1/host/bin/mips-linux-gnu-g++ -- Check for working CXX compiler: /tmp/instance-1/output-1/host/bin/mips-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for __atomic_fetch_add_4 in atomic -- Looking for __atomic_fetch_add_4 in atomic - found -- Performing Test HAS_BUILTIN_SYNC_ADD_AND_FETCH -- Performing Test HAS_BUILTIN_SYNC_ADD_AND_FETCH - Success -- Performing Test HAS_BUILTIN_SYNC_SUB_AND_FETCH -- Performing Test HAS_BUILTIN_SYNC_SUB_AND_FETCH - Success -- Performing Test HAS_BUILTIN_SYNC_VAL_COMPARE_AND_SWAP -- Performing Test HAS_BUILTIN_SYNC_VAL_COMPARE_AND_SWAP - Success -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2 >>> libplatform a7cd0d5780ed80a4e70480d1650749f29e8a1fb2 Building PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j32 -C /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/ make[1]: Entering directory '/tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2' make[2]: Entering directory '/tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2' make[3]: Entering directory '/tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2' Scanning dependencies of target p8-platform make[3]: Leaving directory '/tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2' make[3]: Entering directory '/tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2' [ 50%] Building CXX object CMakeFiles/p8-platform.dir/src/util/StringUtils.cpp.o /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp: In static member function 'static std::__cxx11::string& StringUtils::TrimLeft(std::__cxx11::string&)': /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp:456:99: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 str.erase(str.begin(), ::find_if(str.begin(), str.end(), [](char s) { return isspace_c(s) == 0; })); ^ /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp:456:100: error: no matching function for call to 'find_if(std::__cxx11::basic_string::iterator, std::__cxx11::basic_string::iterator, StringUtils::TrimLeft(std::__cxx11::string&)::)' str.erase(str.begin(), ::find_if(str.begin(), str.end(), [](char s) { return isspace_c(s) == 0; })); ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/mips-linux-gnu/include/c++/5.3.0/algorithm:62:0, from /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp:43: /tmp/instance-1/output-1/host/opt/ext-toolchain/mips-linux-gnu/include/c++/5.3.0/bits/stl_algo.h:3806:5: note: candidate: template _IIter std::find_if(_IIter, _IIter, _Predicate) find_if(_InputIterator __first, _InputIterator __last, ^ /tmp/instance-1/output-1/host/opt/ext-toolchain/mips-linux-gnu/include/c++/5.3.0/bits/stl_algo.h:3806:5: note: template argument deduction/substitution failed: /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp: In substitution of 'template _IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = __gnu_cxx::__normal_iterator >; _Predicate = StringUtils::TrimLeft(std::__cxx11::string&)::]': /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp:456:100: required from here /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp:456:100: error: template argument for 'template _IIter std::find_if(_IIter, _IIter, _Predicate)' uses local type 'StringUtils::TrimLeft(std::__cxx11::string&)::' str.erase(str.begin(), ::find_if(str.begin(), str.end(), [](char s) { return isspace_c(s) == 0; })); ^ /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp:456:100: error: trying to instantiate 'template _IIter std::find_if(_IIter, _IIter, _Predicate)' /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp: In static member function 'static std::__cxx11::string& StringUtils::TrimRight(std::__cxx11::string&)': /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp:469:88: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 str.erase(::find_if(str.rbegin(), str.rend(), [](char s) { return isspace_c(s) == 0; }).base(), str.end()); ^ /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp:469:89: error: no matching function for call to 'find_if(std::__cxx11::basic_string::reverse_iterator, std::__cxx11::basic_string::reverse_iterator, StringUtils::TrimRight(std::__cxx11::string&)::)' str.erase(::find_if(str.rbegin(), str.rend(), [](char s) { return isspace_c(s) == 0; }).base(), str.end()); ^ In file included from /tmp/instance-1/output-1/host/opt/ext-toolchain/mips-linux-gnu/include/c++/5.3.0/algorithm:62:0, from /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp:43: /tmp/instance-1/output-1/host/opt/ext-toolchain/mips-linux-gnu/include/c++/5.3.0/bits/stl_algo.h:3806:5: note: candidate: template _IIter std::find_if(_IIter, _IIter, _Predicate) find_if(_InputIterator __first, _InputIterator __last, ^ /tmp/instance-1/output-1/host/opt/ext-toolchain/mips-linux-gnu/include/c++/5.3.0/bits/stl_algo.h:3806:5: note: template argument deduction/substitution failed: /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp: In substitution of 'template _IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = std::reverse_iterator<__gnu_cxx::__normal_iterator > >; _Predicate = StringUtils::TrimRight(std::__cxx11::string&)::]': /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp:469:89: required from here /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp:469:89: error: template argument for 'template _IIter std::find_if(_IIter, _IIter, _Predicate)' uses local type 'StringUtils::TrimRight(std::__cxx11::string&)::' str.erase(::find_if(str.rbegin(), str.rend(), [](char s) { return isspace_c(s) == 0; }).base(), str.end()); ^ /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/src/util/StringUtils.cpp:469:89: error: trying to instantiate 'template _IIter std::find_if(_IIter, _IIter, _Predicate)' make[3]: *** [CMakeFiles/p8-platform.dir/build.make:63: CMakeFiles/p8-platform.dir/src/util/StringUtils.cpp.o] Error 1 make[3]: Leaving directory '/tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2' make[2]: *** [CMakeFiles/Makefile2:76: CMakeFiles/p8-platform.dir/all] Error 2 make[2]: Leaving directory '/tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2' make[1]: *** [Makefile:130: all] Error 2 make[1]: Leaving directory '/tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2' make: *** [package/pkg-generic.mk:250: /tmp/instance-1/output-1/build/libplatform-a7cd0d5780ed80a4e70480d1650749f29e8a1fb2/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-1/buildroot'