Applying ./patches/0001-base.patch using plaintext: patching file CMakeLists.txt patching file api/mraa/types.h patching file include/mraa_internal.h patching file src/CMakeLists.txt patching file src/i2c/i2c.c patching file src/mraa.c patching file src/uart/uart.c Applying ./patches/0002-add-mips-support.patch using plaintext: patching file include/mips/mediatek.h patching file src/mips/CMakeLists.txt patching file src/mips/mediatek.c patching file src/mips/mips.c Applying ./patches/0003-uart.patch using plaintext: patching file src/uart/uart.c Applying ./patches/0004-fixes.patch using plaintext: patching file src/mips/mediatek.c patching file src/gpio/gpio.c -- The C compiler identification is GNU 7.3.0 -- The CXX compiler identification is GNU 7.3.0 -- Check for working C compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc -- Check for working C compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.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_fa526_gcc-7.3.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-g++ -- Check for working CXX compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.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 -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE INFO - libmraa Version v0.8.1 INFO - Override arch is arm -- Found PythonInterp: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/python2.7 (found suitable version "2.7.18", minimum required is "2.7") INFO - Adding ARM platforms -- Found SWIG: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/swig (found version "3.0.12") -- Found PythonLibs: /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/lib/libpython2.7.so (found suitable version "2.7.18", minimum required is "2.7") CMake Deprecation Warning at /builder/shared-workdir/build/sdk/staging_dir/host/share/cmake-3.11/Modules/UseSWIG.cmake:272 (message): SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead. Call Stack (most recent call first): src/python/CMakeLists.txt:12 (swig_add_module) -- Found Node: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/node INFO - Node version is 8.10.0 INFO - Node using v8 6.2.414.50 CMake Deprecation Warning at /builder/shared-workdir/build/sdk/staging_dir/host/share/cmake-3.11/Modules/UseSWIG.cmake:272 (message): SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead. Call Stack (most recent call first): src/javascript/CMakeLists.txt:17 (swig_add_module) INFO - Using V8 version > 3 so requiring C++11 compiler -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_ASM_COMPILER CMAKE_ASM_COMPILER_ARG1 CMAKE_EXE_LINKER_FLAGS DL_LIBRARY -- Build files have been written to: /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1 make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' Scanning dependencies of target mraa make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' [ 2%] Building C object src/CMakeFiles/mraa.dir/mraa.c.o [ 4%] Building C object src/CMakeFiles/mraa.dir/gpio/gpio.c.o [ 6%] Building C object src/CMakeFiles/mraa.dir/i2c/i2c.c.o [ 9%] Building C object src/CMakeFiles/mraa.dir/pwm/pwm.c.o [ 11%] Building C object src/CMakeFiles/mraa.dir/spi/spi.c.o [ 13%] Building C object src/CMakeFiles/mraa.dir/aio/aio.c.o [ 16%] Building C object src/CMakeFiles/mraa.dir/uart/uart.c.o [ 18%] Building C object src/CMakeFiles/mraa.dir/arm/arm.c.o [ 20%] Building C object src/CMakeFiles/mraa.dir/arm/raspberry_pi.c.o [ 23%] Building C object src/CMakeFiles/mraa.dir/arm/beaglebone.c.o /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/arm/beaglebone.c: In function 'mraa_beaglebone_pwm_init_replace': /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/arm/beaglebone.c:333:51: warning: format '%s' expects a matching 'char *' argument [-Wformat=] syslog(LOG_ERR, "pwm: Failed to open %s for writing, check access rights for user"); ~^ [ 25%] Building C object src/CMakeFiles/mraa.dir/arm/banana.c.o [ 27%] Building C object src/CMakeFiles/mraa.dir/version.c.o [ 30%] Linking C shared library libmraa.so make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' [ 30%] Built target mraa make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' Scanning dependencies of target gen_python-mraa_mraaPYTHON_wrap make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' [ 32%] Swig source make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' [ 32%] Built target gen_python-mraa_mraaPYTHON_wrap make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' Scanning dependencies of target _python-mraa make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' [ 34%] Building CXX object src/python/CMakeFiles/_python-mraa.dir/mraaPYTHON_wrap.cxx.o [ 37%] Building C object src/python/CMakeFiles/_python-mraa.dir/__/mraa.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/Python.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/gpio.h:44, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/aio.h:45, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa.h:31, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/include/mraa_internal_types.h:29, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/include/mraa_internal.h:34, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/mraa.c:44: /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/pyconfig.h:1201:0: warning: "_GNU_SOURCE" redefined #define _GNU_SOURCE 1 /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/mraa.c:26:0: note: this is the location of the previous definition #define _GNU_SOURCE [ 39%] Building C object src/python/CMakeFiles/_python-mraa.dir/__/gpio/gpio.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times [ 41%] Building C object src/python/CMakeFiles/_python-mraa.dir/__/i2c/i2c.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/Python.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/gpio.h:44, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/i2c.h:48, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/i2c/i2c.c:28: /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/pyconfig.h:1245:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/include/stdlib.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/i2c.h:42, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/i2c/i2c.c:28: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/include/features.h:12:0: note: this is the location of the previous definition #define _XOPEN_SOURCE 700 [ 44%] Building C object src/python/CMakeFiles/_python-mraa.dir/__/pwm/pwm.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/Python.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/gpio.h:44, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/aio.h:45, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa.h:31, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/include/mraa_internal_types.h:29, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/include/mraa_internal.h:34, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/pwm/pwm.c:32: /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/pyconfig.h:1245:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/include/stdlib.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/pwm/pwm.c:26: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/include/features.h:12:0: note: this is the location of the previous definition #define _XOPEN_SOURCE 700 [ 46%] Building C object src/python/CMakeFiles/_python-mraa.dir/__/spi/spi.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/Python.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/gpio.h:44, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/aio.h:45, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa.h:31, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/include/mraa_internal_types.h:29, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/include/mraa_internal.h:34, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/spi/spi.c:35: /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/pyconfig.h:1245:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/include/stdlib.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/spi/spi.c:26: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/include/features.h:12:0: note: this is the location of the previous definition #define _XOPEN_SOURCE 700 [ 48%] Building C object src/python/CMakeFiles/_python-mraa.dir/__/aio/aio.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/Python.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/gpio.h:44, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/aio.h:45, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/aio/aio.c:30: /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/pyconfig.h:1245:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/include/stdlib.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/aio/aio.c:26: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/include/features.h:12:0: note: this is the location of the previous definition #define _XOPEN_SOURCE 700 [ 51%] Building C object src/python/CMakeFiles/_python-mraa.dir/__/uart/uart.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/Python.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/gpio.h:44, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/aio.h:45, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa.h:31, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/include/mraa_internal_types.h:29, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/include/mraa_internal.h:34, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/uart/uart.c:35: /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/pyconfig.h:1245:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/include/stdlib.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/uart/uart.c:27: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/include/features.h:12:0: note: this is the location of the previous definition #define _XOPEN_SOURCE 700 [ 53%] Building C object src/python/CMakeFiles/_python-mraa.dir/__/arm/arm.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/Python.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/gpio.h:44, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/aio.h:45, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa.h:31, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/include/mraa_internal_types.h:29, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/include/mraa_internal.h:34, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/arm/arm.c:29: /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/pyconfig.h:1245:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/include/stdlib.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/arm/arm.c:26: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/include/features.h:12:0: note: this is the location of the previous definition #define _XOPEN_SOURCE 700 [ 55%] Building C object src/python/CMakeFiles/_python-mraa.dir/__/arm/raspberry_pi.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/Python.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/gpio.h:44, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/aio.h:45, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa.h:31, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/include/mraa_internal_types.h:29, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/include/mraa_internal.h:34, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/include/arm/raspberry_pi.h:32, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/arm/raspberry_pi.c:32: /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/pyconfig.h:1245:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/include/stdlib.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/arm/raspberry_pi.c:26: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/include/features.h:12:0: note: this is the location of the previous definition #define _XOPEN_SOURCE 700 [ 58%] Building C object src/python/CMakeFiles/_python-mraa.dir/__/arm/beaglebone.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/Python.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/gpio.h:44, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/aio.h:45, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa.h:31, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/include/mraa_internal_types.h:29, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/include/mraa_internal.h:34, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/include/arm/beaglebone.h:32, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/arm/beaglebone.c:32: /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/pyconfig.h:1245:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/include/stdlib.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/arm/beaglebone.c:26: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/include/features.h:12:0: note: this is the location of the previous definition #define _XOPEN_SOURCE 700 /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/arm/beaglebone.c: In function 'mraa_beaglebone_pwm_init_replace': /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/arm/beaglebone.c:333:51: warning: format '%s' expects a matching 'char *' argument [-Wformat=] syslog(LOG_ERR, "pwm: Failed to open %s for writing, check access rights for user"); ~^ [ 60%] Building C object src/python/CMakeFiles/_python-mraa.dir/__/arm/banana.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/Python.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/gpio.h:44, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa/aio.h:45, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/api/mraa.h:31, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/include/mraa_internal_types.h:29, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/arm/banana.c:30: /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/python2.7/pyconfig.h:1245:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/include/stdlib.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/arm/banana.c:26: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_fa526_gcc-7.3.0_musl_eabi/include/features.h:12:0: note: this is the location of the previous definition #define _XOPEN_SOURCE 700 [ 62%] Building C object src/python/CMakeFiles/_python-mraa.dir/__/version.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times [ 65%] Linking CXX shared module _mraa.so make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' [ 65%] Built target _python-mraa make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' Scanning dependencies of target gen_mraajs_mraajsJAVASCRIPT_wrap make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' [ 67%] Swig source make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' [ 67%] Built target gen_mraajs_mraajsJAVASCRIPT_wrap make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' Scanning dependencies of target mraajs make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' [ 69%] Building CXX object src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx.o /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/src/javascript/mraajsJAVASCRIPT_wrap.cxx:171:10: fatal error: node.h: No such file or directory #include ^~~~~~~~ compilation terminated. src/javascript/CMakeFiles/mraajs.dir/build.make:62: recipe for target 'src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx.o' failed make[6]: *** [src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx.o] Error 1 make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' CMakeFiles/Makefile2:294: recipe for target 'src/javascript/CMakeFiles/mraajs.dir/all' failed make[5]: *** [src/javascript/CMakeFiles/mraajs.dir/all] Error 2 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' Makefile:140: recipe for target 'all' failed make[4]: *** [all] Error 2 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1' Makefile:52: recipe for target '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/.built' failed make[3]: *** [/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/libmraa-0.8.1/.built] Error 2 time: package/feeds/packages/libmraa/compile#13.58#1.76#19.16