make[3]: Entering directory '/build/lede-17.01-phase2/mips64_mips64/build/sdk/feeds/packages/libs/libupm' rm -f /build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/target-mips64_mips64_64_musl-1.1.15/stamp/.libupm_installed mkdir -p /build/lede-17.01-phase2/mips64_mips64/build/sdk/build_dir/target-mips64_mips64_64_musl-1.1.15/libupm-0.4.0 (cd /build/lede-17.01-phase2/mips64_mips64/build/sdk/build_dir/target-mips64_mips64_64_musl-1.1.15/libupm-0.4.0; CFLAGS="-Os -pipe -mno-branch-likely -mips64 -mtune=mips64 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -iremap /build/lede-17.01-phase2/mips64_mips64/build/sdk/build_dir/target-mips64_mips64_64_musl-1.1.15/libupm-0.4.0:libupm-0.4.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CXXFLAGS="-Os -pipe -mno-branch-likely -mips64 -mtune=mips64 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -iremap /build/lede-17.01-phase2/mips64_mips64/build/sdk/build_dir/target-mips64_mips64_64_musl-1.1.15/libupm-0.4.0:libupm-0.4.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " LDFLAGS="-L/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/target-mips64_mips64_64_musl-1.1.15/usr/lib -L/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/target-mips64_mips64_64_musl-1.1.15/lib -L/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/toolchain-mips64_mips64_64_gcc-5.4.0_musl-1.1.15/usr/lib -L/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/toolchain-mips64_mips64_64_gcc-5.4.0_musl-1.1.15/lib -znow -zrelro " cmake -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_VERSION=1 -DCMAKE_SYSTEM_PROCESSOR=mips64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_C_COMPILER="/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/host/bin/ccache" -DCMAKE_C_COMPILER_ARG1="mips64-openwrt-linux-musl-gcc" -DCMAKE_CXX_COMPILER="/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/host/bin/ccache" -DCMAKE_CXX_COMPILER_ARG1="mips64-openwrt-linux-musl-g++" -DCMAKE_ASM_COMPILER="/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/host/bin/ccache" -DCMAKE_ASM_COMPILER_ARG1="mips64-openwrt-linux-musl-gcc" -DCMAKE_EXE_LINKER_FLAGS:STRING="-L/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/target-mips64_mips64_64_musl-1.1.15/usr/lib -L/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/target-mips64_mips64_64_musl-1.1.15/lib -L/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/toolchain-mips64_mips64_64_gcc-5.4.0_musl-1.1.15/usr/lib -L/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/toolchain-mips64_mips64_64_gcc-5.4.0_musl-1.1.15/lib -znow -zrelro" -DCMAKE_MODULE_LINKER_FLAGS:STRING="-L/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/target-mips64_mips64_64_musl-1.1.15/usr/lib -L/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/target-mips64_mips64_64_musl-1.1.15/lib -L/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/toolchain-mips64_mips64_64_gcc-5.4.0_musl-1.1.15/usr/lib -L/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/toolchain-mips64_mips64_64_gcc-5.4.0_musl-1.1.15/lib -znow -zrelro -Wl,-Bsymbolic-functions" -DCMAKE_SHARED_LINKER_FLAGS:STRING="-L/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/target-mips64_mips64_64_musl-1.1.15/usr/lib -L/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/target-mips64_mips64_64_musl-1.1.15/lib -L/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/toolchain-mips64_mips64_64_gcc-5.4.0_musl-1.1.15/usr/lib -L/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/toolchain-mips64_mips64_64_gcc-5.4.0_musl-1.1.15/lib -znow -zrelro -Wl,-Bsymbolic-functions" -DCMAKE_AR="/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/toolchain-mips64_mips64_64_gcc-5.4.0_musl-1.1.15/bin/mips64-openwrt-linux-musl-gcc-ar" -DCMAKE_NM="/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/toolchain-mips64_mips64_64_gcc-5.4.0_musl-1.1.15/bin/mips64-openwrt-linux-musl-gcc-nm" -DCMAKE_RANLIB="/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/toolchain-mips64_mips64_64_gcc-5.4.0_musl-1.1.15/bin/mips64-openwrt-linux-musl-gcc-ranlib" -DCMAKE_FIND_ROOT_PATH="/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/target-mips64_mips64_64_musl-1.1.15/usr;/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/toolchain-mips64_mips64_64_gcc-5.4.0_musl-1.1.15" -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_STRIP=: -DCMAKE_INSTALL_PREFIX=/usr -DDL_LIBRARY=/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/target-mips64_mips64_64_musl-1.1.15 -DCMAKE_PREFIX_PATH=/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/target-mips64_mips64_64_musl-1.1.15 -DCMAKE_SKIP_RPATH=TRUE -DBUILDARCH="mips64" -DNODE_EXECUTABLE=/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/target-mips64_mips64_64_musl-1.1.15/host/bin/node -DSWIG_DIR=/build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/target-mips64_mips64_64_musl-1.1.15/host/bin /build/lede-17.01-phase2/mips64_mips64/build/sdk/build_dir/target-mips64_mips64_64_musl-1.1.15/libupm-0.4.0 ) WARNING: building into sources dir can be risky, prefer other directory -- Checking for module 'mraa>=0.8.0' -- CMake Error at /build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/host/share/cmake-3.7/Modules/FindPkgConfig.cmake:415 (message): A required package was not found Call Stack (most recent call first): /build/lede-17.01-phase2/mips64_mips64/build/sdk/staging_dir/host/share/cmake-3.7/Modules/FindPkgConfig.cmake:588 (_pkg_check_modules_internal) CMakeLists.txt:18 (pkg_check_modules) -- Configuring incomplete, errors occurred! See also "/build/lede-17.01-phase2/mips64_mips64/build/sdk/build_dir/target-mips64_mips64_64_musl-1.1.15/libupm-0.4.0/CMakeFiles/CMakeOutput.log". Makefile:78: recipe for target '/build/lede-17.01-phase2/mips64_mips64/build/sdk/build_dir/target-mips64_mips64_64_musl-1.1.15/libupm-0.4.0/.configured_yynyyyyy' failed make[3]: *** [/build/lede-17.01-phase2/mips64_mips64/build/sdk/build_dir/target-mips64_mips64_64_musl-1.1.15/libupm-0.4.0/.configured_yynyyyyy] Error 1 make[3]: Leaving directory '/build/lede-17.01-phase2/mips64_mips64/build/sdk/feeds/packages/libs/libupm'