The toolchain build is interrupted at this point:
Code
user@***:~/LibreELEC.tv$ PROJECT=RPi DEVICE=RPi ARCH=arm scripts/clean cmake
CLEAN cmake
* Removing /home/user/LibreELEC.tv/build.LibreELEC-RPi.arm-9.80-devel/build/cmake-3.16.4 ...
user@***:~/LibreELEC.tv$ PROJECT=RPi DEVICE=RPi ARCH=arm scripts/build esp8089
UNPACK cmake
APPLY PATCH (common) packages/devel/cmake/patches/cmake-000-disable-sslv3.patch
patching file Utilities/cmcurl/lib/vtls/openssl.c
Hunk #1 succeeded at 118 with fuzz 2 (offset 10 lines).
patching file Utilities/cmcurl/lib/vtls/openssl.c
Hunk #1 succeeded at 2367 (offset 630 lines).
APPLY PATCH (common) packages/devel/cmake/patches/cmake-001-disable-free-comp-methods.patch
patching file Utilities/cmcurl/lib/vtls/openssl.c
Hunk #1 succeeded at 168 (offset 34 lines).
BUILD cmake (host)
TOOLCHAIN configure
---------------------------------------------
CMake 3.16.4, Copyright 2000-2019 Kitware, Inc. and Contributors
C compiler on this system is: /home/user/LibreELEC.tv/build.LibreELEC-RPi.arm-9.80-devel/toolchain/bin/host-gcc -march=native -O2 -Wall -pipe -I/home/user/LibreELEC.tv/build.LibreELEC-RPi.arm-9.80-devel/toolchain/include -Wno-format-security
---------------------------------------------
Error when bootstrapping CMake:
Cannot find a C++ compiler that supports both C++11 and the specified C++ flags.
Please specify one using environment variable CXX.
The C++ flags are "-march=native -O2 -Wall -pipe -I/home/user/LibreELEC.tv/build.LibreELEC-RPi.arm-9.80-devel/toolchain/include -Wno-format-security".
They can be changed using the environment variable CXXFLAGS.
See cmake_bootstrap.log for compilers attempted.
---------------------------------------------
Log of errors: /home/user/LibreELEC.tv/build.LibreELEC-RPi.arm-9.80-devel/build/cmake-3.16.4/.x86_64-linux-gnu/Bootstrap.cmk/cmake_bootstrap.log
---------------------------------------------
FAILURE: scripts/build cmake:host during configure_host (package.mk)
*********** FAILED COMMAND ***********
../configure --prefix=${TOOLCHAIN} --no-qt-gui --no-system-libs -- -DCMAKE_C_FLAGS="-O2 -Wall -pipe -Wno-format-security" -DCMAKE_CXX_FLAGS="-O2 -Wall -pipe -Wno-format-security" -DCMAKE_EXE_LINKER_FLAGS="${HOST_LDFLAGS}" -DCMAKE_USE_OPENSSL=ON -DBUILD_CursesDialog=0
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/build "${p}" "${PARENT_PKG}"
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/build "${p}" "${PARENT_PKG}"
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/build "${p}" "${PARENT_PKG}"
**************************************
Display More
I have tried scripts/clean cmake (see the top of the screen buffer).
The cmake_bootstrap.log is attached.
JIC, the package.mk is attached, too.
P.S. Total noob here, so anything could be the reason . Please help!