Applying ./patches/001-version.patch using plaintext: 
patching file CMakeLists.txt

Applying ./patches/002-at42qt1070-id.patch using plaintext: 
patching file src/at42qt1070/at42qt1070.cxx

Applying ./patches/003-link-atomic.patch using plaintext: 
patching file src/nmea_gps/CMakeLists.txt
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-7.5.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc
-- Check for working C compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-7.5.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-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: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-7.5.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-g++
-- Check for working CXX compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-7.5.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at CMakeLists.txt:21 (message):
  Building into sources dir can be risky, prefer other directory


-- Warnings as errors enabled (-Werror), disable with -DWERROR=off
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found PkgConfig: /builder/shared-workdir/build/sdk/staging_dir/host/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'mraa>=2.0.0'
--   No package 'mraa' found
CMake Error at /builder/shared-workdir/build/sdk/staging_dir/host/share/cmake-3.15/Modules/FindPkgConfig.cmake:458 (message):
  A required package was not found
Call Stack (most recent call first):
  /builder/shared-workdir/build/sdk/staging_dir/host/share/cmake-3.15/Modules/FindPkgConfig.cmake:637 (_pkg_check_modules_internal)
  CMakeLists.txt:134 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
See also "/builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/upm-1.7.1/CMakeFiles/CMakeOutput.log".
make[3]: *** [Makefile:411: /builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/upm-1.7.1/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
time: package/feeds/packages/libupm/compile#6.92#1.10#10.37