Applying ./patches/010-version.patch using plaintext: patching file 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_cortex-a9+neon_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_cortex-a9+neon_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_cortex-a9+neon_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_cortex-a9+neon_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 -- 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 -- Performing Test HAS_C__Wall -- Performing Test HAS_C__Wall - Success -- Performing Test HAS_C__Werror_main -- Performing Test HAS_C__Werror_main - Success -- Performing Test HAS_C__Wformat -- Performing Test HAS_C__Wformat - Success -- Performing Test HAS_C__Wmain -- Performing Test HAS_C__Wmain - Success -- Performing Test HAS_C__Wuninitialized -- Performing Test HAS_C__Wuninitialized - Success -- Performing Test HAS_C__Winit_self -- Performing Test HAS_C__Winit_self - Success -- Performing Test HAS_C__Werror_implicit -- Performing Test HAS_C__Werror_implicit - Success -- Performing Test HAS_C__Werror_missing_parameter_type -- Performing Test HAS_C__Werror_missing_parameter_type - Success -- Performing Test HAS_CXX__Wall -- Performing Test HAS_CXX__Wall - Success -- Performing Test HAS_CXX__Werror_main -- Performing Test HAS_CXX__Werror_main - Success -- Performing Test HAS_CXX__Wformat -- Performing Test HAS_CXX__Wformat - Success -- Performing Test HAS_CXX__Wmain -- Performing Test HAS_CXX__Wmain - Success -- Performing Test HAS_CXX__Wuninitialized -- Performing Test HAS_CXX__Wuninitialized - Success -- Performing Test HAS_CXX__Winit_self -- Performing Test HAS_CXX__Winit_self - Success -- Performing Test HAS_CXX__Wnon_virtual_dtor -- Performing Test HAS_CXX__Wnon_virtual_dtor - Success -- Performing Test HAS_CXX__Woverloaded_virtual -- Performing Test HAS_CXX__Woverloaded_virtual - Success -- Performing Test HAS_CXX__Wreorder -- Performing Test HAS_CXX__Wreorder - Success -- INFO - libmraa Version v2.0.0 -- INFO - cmake Version 3.15.1 -- INFO - Target arch is armv7 -- Found PythonInterp: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/python2.7 (found suitable version "2.7.18", minimum required is "2.7") -- Found PythonLibs: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/lib/libpython2.7.so (found suitable version "2.7.18", minimum required is "2.7") -- Found PythonInterp: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/python3 (found suitable version "3.7.13", minimum required is "3") -- Found PythonLibs: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/lib/libpython3.7.so (found suitable version "3.7.13", minimum required is "3.7") -- INFO - Adding firmata backend support -- INFO - Adding onewire backend support -- INFO - Adding support for platform ALL -- INFO - Adding support for all platforms -- Found PkgConfig: /builder/shared-workdir/build/sdk/staging_dir/host/bin/pkg-config (found version "0.29.2") INFO - Adding ARM platforms -- Found SWIG: /usr/bin/swig3.0 (found version "3.0.12") -- PYTHON2 attempting to build! CMake Warning (dev) at /builder/shared-workdir/build/sdk/staging_dir/host/share/cmake-3.15/Modules/UseSWIG.cmake:607 (message): Policy CMP0078 is not set: UseSWIG generates standard target names. Run "cmake --help-policy CMP0078" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): src/python/python2/CMakeLists.txt:9 (swig_add_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /builder/shared-workdir/build/sdk/staging_dir/host/share/cmake-3.15/Modules/UseSWIG.cmake:460 (message): Policy CMP0086 is not set: UseSWIG honors SWIG_MODULE_NAME via -module flag. Run "cmake --help-policy CMP0086" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /builder/shared-workdir/build/sdk/staging_dir/host/share/cmake-3.15/Modules/UseSWIG.cmake:702 (SWIG_ADD_SOURCE_TO_MODULE) src/python/python2/CMakeLists.txt:9 (swig_add_library) This warning is for project developers. Use -Wno-dev to suppress it. -- PYTHON3 attempting to build! CMake Warning (dev) at /builder/shared-workdir/build/sdk/staging_dir/host/share/cmake-3.15/Modules/UseSWIG.cmake:607 (message): Policy CMP0078 is not set: UseSWIG generates standard target names. Run "cmake --help-policy CMP0078" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): src/python/python3/CMakeLists.txt:9 (swig_add_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /builder/shared-workdir/build/sdk/staging_dir/host/share/cmake-3.15/Modules/UseSWIG.cmake:460 (message): Policy CMP0086 is not set: UseSWIG honors SWIG_MODULE_NAME via -module flag. Run "cmake --help-policy CMP0086" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /builder/shared-workdir/build/sdk/staging_dir/host/share/cmake-3.15/Modules/UseSWIG.cmake:702 (SWIG_ADD_SOURCE_TO_MODULE) src/python/python3/CMakeLists.txt:9 (swig_add_library) This warning is for project developers. Use -Wno-dev to suppress it. -- INFO - NODE_ROOT_DIR is /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node -- Found Nodejs: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/node (found version "8.16.1") -- Found v8: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/v8.h (found version "6.2.414.77") CMake Warning (dev) at /builder/shared-workdir/build/sdk/staging_dir/host/share/cmake-3.15/Modules/UseSWIG.cmake:607 (message): Policy CMP0078 is not set: UseSWIG generates standard target names. Run "cmake --help-policy CMP0078" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): src/javascript/CMakeLists.txt:27 (swig_add_library) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /builder/shared-workdir/build/sdk/staging_dir/host/share/cmake-3.15/Modules/UseSWIG.cmake:460 (message): Policy CMP0086 is not set: UseSWIG honors SWIG_MODULE_NAME via -module flag. Run "cmake --help-policy CMP0086" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /builder/shared-workdir/build/sdk/staging_dir/host/share/cmake-3.15/Modules/UseSWIG.cmake:702 (SWIG_ADD_SOURCE_TO_MODULE) src/javascript/CMakeLists.txt:27 (swig_add_library) This warning is for project developers. Use -Wno-dev to suppress it. -- INFO - swig Version 3.0.12 -- INFO - CXX compiler Version GNU 7.5.0 -- INFO - Using V8 version > 3 so requiring C++11 compiler -- INFO - install NODE modules to /usr/lib/node_modules/mraa/ -- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) -- Install Google Test to enable additional unit testing -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_ASM_COMPILER CMAKE_ASM_COMPILER_ARG1 DL_LIBRARY -- Build files have been written to: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0 make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' Scanning dependencies of target mraa make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' [ 2%] Building C object src/CMakeFiles/mraa.dir/mraa.c.o /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/mraa.c: In function 'mraa_find_uart_bus_pci': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/mraa.c:1172:50: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 11 [-Wformat-truncation=] snprintf(*dev_name, max_allowable_len, "/dev/%s", namelist[n - 1]->d_name); ^~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/mraa.c:1172:5: note: 'snprintf' output between 6 and 261 bytes into a destination of size 16 snprintf(*dev_name, max_allowable_len, "/dev/%s", namelist[n - 1]->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 4%] Building C object src/CMakeFiles/mraa.dir/gpio/gpio.c.o [ 7%] Building C object src/CMakeFiles/mraa.dir/gpio/gpio_chardev.c.o [ 9%] Building C object src/CMakeFiles/mraa.dir/i2c/i2c.c.o In file included from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/i2c/i2c.c:36:0: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9+neon_gcc-7.5.0_musl_eabi/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^~~~~~~ [ 11%] Building C object src/CMakeFiles/mraa.dir/pwm/pwm.c.o [ 14%] Building C object src/CMakeFiles/mraa.dir/spi/spi.c.o /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/spi/spi.c: In function 'mraa_spi_frequency': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/spi/spi.c:264:108: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Wformat=] syslog(LOG_NOTICE, "spi: Selected speed (%d Hz) is higher than the kernel max allowed speed (%lu Hz)", hz, SPI_IOC_RD_MAX_SPEED_HZ); ~~^ %u [ 16%] Building C object src/CMakeFiles/mraa.dir/aio/aio.c.o [ 19%] Building C object src/CMakeFiles/mraa.dir/uart/uart.c.o [ 21%] Building C object src/CMakeFiles/mraa.dir/led/led.c.o In file included from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/led/led.c:34:0: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9+neon_gcc-7.5.0_musl_eabi/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/led/led.c: In function 'mraa_led_get_brightfd': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/led/led.c:61:33: warning: '%s' directive output may be truncated writing 10 bytes into a region of size between 0 and 63 [-Wformat-truncation=] snprintf(buf, MAX_SIZE, "%s/%s", dev->led_path, "brightness"); ^~ ~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/led/led.c:61:5: note: 'snprintf' output between 12 and 75 bytes into a destination of size 64 snprintf(buf, MAX_SIZE, "%s/%s", dev->led_path, "brightness"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/led/led.c: In function 'mraa_led_read_max_brightness': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/led/led.c:76:33: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 63 [-Wformat-truncation=] snprintf(buf, MAX_SIZE, "%s/%s", dev->led_path, "max_brightness"); ^~ ~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/led/led.c:76:5: note: 'snprintf' output between 16 and 79 bytes into a destination of size 64 snprintf(buf, MAX_SIZE, "%s/%s", dev->led_path, "max_brightness"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/led/led.c: In function 'mraa_led_set_trigger': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/led/led.c:46:33: warning: '%s' directive output may be truncated writing 7 bytes into a region of size between 0 and 63 [-Wformat-truncation=] snprintf(buf, MAX_SIZE, "%s/%s", dev->led_path, "trigger"); ^~ ~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/led/led.c:46:5: note: 'snprintf' output between 9 and 72 bytes into a destination of size 64 snprintf(buf, MAX_SIZE, "%s/%s", dev->led_path, "trigger"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 23%] Building C object src/CMakeFiles/mraa.dir/initio/initio.c.o [ 26%] Building C object src/CMakeFiles/mraa.dir/grovepi/grovepi.c.o [ 28%] Building C object src/CMakeFiles/mraa.dir/firmata/firmata.c.o [ 30%] Building C object src/CMakeFiles/mraa.dir/firmata/firmata_mraa.c.o [ 33%] Building C object src/CMakeFiles/mraa.dir/uart_ow/uart_ow.c.o [ 35%] Building C object src/CMakeFiles/mraa.dir/iio/iio.c.o /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/iio/iio.c: In function 'mraa_iio_get_channel_data': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/iio/iio.c:40:26: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 71 and 81 [-Wformat-truncation=] #define IIO_SYSFS_DEVICE "/sys/bus/iio/devices/" IIO_DEVICE ^ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/iio/iio.c:113:37: note: in expansion of macro 'IIO_SYSFS_DEVICE' snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM "/%s", dev->num, ent->d_name); ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/iio/iio.c:605:80: note: format string is defined here snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM "/%s", dev->num, ent->d_name); ^~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/iio/iio.c:113:13: note: 'snprintf' output between 48 and 313 bytes into a destination of size 128 snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM "/%s", dev->num, ent->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/iio/iio.c: In function 'mraa_iio_get_event_data': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/iio/iio.c:40:26: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 78 and 88 [-Wformat-truncation=] #define IIO_SYSFS_DEVICE "/sys/bus/iio/devices/" IIO_DEVICE ^ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/iio/iio.c:409:41: note: in expansion of macro 'IIO_SYSFS_DEVICE' snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_EVENTS "/%s", dev->num, ent->d_name); ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/iio/iio.c:38:31: note: format string is defined here #define IIO_SCAN_ELEM "scan_elements" ^~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/iio/iio.c:409:17: note: 'snprintf' output between 41 and 306 bytes into a destination of size 128 snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_EVENTS "/%s", dev->num, ent->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/iio/iio.c: In function 'mraa_iio_update_channels': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/iio/iio.c:40:26: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 71 and 81 [-Wformat-truncation=] #define IIO_SYSFS_DEVICE "/sys/bus/iio/devices/" IIO_DEVICE ^ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/iio/iio.c:605:41: note: in expansion of macro 'IIO_SYSFS_DEVICE' snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM "/%s", dev->num, ent->d_name); ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/iio/iio.c:605:80: note: format string is defined here snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM "/%s", dev->num, ent->d_name); ^~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/iio/iio.c:605:17: note: 'snprintf' output between 48 and 313 bytes into a destination of size 128 snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM "/%s", dev->num, ent->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 38%] Building C object src/CMakeFiles/mraa.dir/json/jsonplatform.c.o [ 40%] Building C object src/CMakeFiles/mraa.dir/arm/arm.c.o [ 42%] Building C object src/CMakeFiles/mraa.dir/arm/96boards.c.o [ 45%] Building C object src/CMakeFiles/mraa.dir/arm/raspberry_pi.c.o /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/arm/raspberry_pi.c: In function 'mraa_raspberry_pi': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/arm/raspberry_pi.c:610:49: warning: '%s' directive writing up to 255 bytes into a region of size 48 [-Wformat-overflow=] sprintf(chip_path, "/sys/class/gpio/%s/label", child->d_name); ^~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/arm/raspberry_pi.c:610:13: note: 'sprintf' output between 23 and 278 bytes into a destination of size 64 sprintf(chip_path, "/sys/class/gpio/%s/label", child->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 47%] Building C object src/CMakeFiles/mraa.dir/arm/beaglebone.c.o /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/arm/beaglebone.c: In function 'mraa_beaglebone': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/arm/beaglebone.c:379:18: warning: variable 'uart3_enabled' set but not used [-Wunused-but-set-variable] unsigned int uart3_enabled = 0; ^~~~~~~~~~~~~ [ 50%] Building C object src/CMakeFiles/mraa.dir/arm/phyboard.c.o [ 52%] Building C object src/CMakeFiles/mraa.dir/arm/banana.c.o [ 54%] Building C object src/CMakeFiles/mraa.dir/arm/de_nano_soc.c.o [ 57%] Building C object src/CMakeFiles/mraa.dir/version.c.o [ 59%] Linking C shared library libmraa.so make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' [ 59%] Built target mraa make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' Scanning dependencies of target python2-mraa_swig_compilation make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' [ 61%] Swig compile mraa2.i for python make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' [ 61%] Built target python2-mraa_swig_compilation make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' Scanning dependencies of target _python2-mraa make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' [ 64%] Building CXX object src/python/python2/CMakeFiles/_python2-mraa.dir/CMakeFiles/_python2-mraa.dir/mraa2PYTHON_wrap.cxx.o cc1plus: warning: '-Werror=' argument '-Werror=implicit' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=missing-parameter-type' is not valid for C++ In file included from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/python/python2/CMakeFiles/_python2-mraa.dir/mraa2PYTHON_wrap.cxx:3434:0: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/api/mraa/gpio.hpp: In member function 'mraa::Result mraa::Gpio::useMmap(bool)': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/api/mraa/gpio.hpp:317:77: warning: 'mraa_result_t mraa_gpio_use_mmaped(mraa_gpio_context, mraa_boolean_t)' is deprecated [-Wdeprecated-declarations] return (Result) mraa_gpio_use_mmaped(m_gpio, (mraa_boolean_t) enable); ^ In file included from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/api/mraa/gpio.hpp:27:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/python/python2/CMakeFiles/_python2-mraa.dir/mraa2PYTHON_wrap.cxx:3434: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/api/mraa/gpio.h:279:26: note: declared here DEPRECATED mraa_result_t mraa_gpio_use_mmaped(mraa_gpio_context dev, mraa_boolean_t mmap); ^~~~~~~~~~~~~~~~~~~~ [ 66%] Building C object src/python/python2/CMakeFiles/_python2-mraa.dir/__/mraapy.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_cortex-a9+neon_musl_eabi/usr/include/python2.7/Python.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/python/mraapy.c:26: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/python2.7/pyconfig.h:1249:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9+neon_gcc-7.5.0_musl_eabi/include/syslog.h:8:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/python/mraapy.c:25: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_cortex-a9+neon_gcc-7.5.0_musl_eabi/include/features.h:12:0: note: this is the location of the previous definition #define _XOPEN_SOURCE 700 [ 69%] Linking CXX shared module _mraa.so make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' [ 69%] Built target _python2-mraa make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' Scanning dependencies of target python3-mraa_swig_compilation make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' [ 71%] Swig compile mraa3.i for python make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' [ 71%] Built target python3-mraa_swig_compilation make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' Scanning dependencies of target _python3-mraa make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' [ 73%] Building CXX object src/python/python3/CMakeFiles/_python3-mraa.dir/CMakeFiles/_python3-mraa.dir/mraa3PYTHON_wrap.cxx.o cc1plus: warning: '-Werror=' argument '-Werror=implicit' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=missing-parameter-type' is not valid for C++ In file included from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/python/python3/CMakeFiles/_python3-mraa.dir/mraa3PYTHON_wrap.cxx:3434:0: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/api/mraa/gpio.hpp: In member function 'mraa::Result mraa::Gpio::useMmap(bool)': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/api/mraa/gpio.hpp:317:77: warning: 'mraa_result_t mraa_gpio_use_mmaped(mraa_gpio_context, mraa_boolean_t)' is deprecated [-Wdeprecated-declarations] return (Result) mraa_gpio_use_mmaped(m_gpio, (mraa_boolean_t) enable); ^ In file included from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/api/mraa/gpio.hpp:27:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/python/python3/CMakeFiles/_python3-mraa.dir/mraa3PYTHON_wrap.cxx:3434: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/api/mraa/gpio.h:279:26: note: declared here DEPRECATED mraa_result_t mraa_gpio_use_mmaped(mraa_gpio_context dev, mraa_boolean_t mmap); ^~~~~~~~~~~~~~~~~~~~ [ 76%] Building C object src/python/python3/CMakeFiles/_python3-mraa.dir/__/mraapy.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times [ 78%] Linking CXX shared module _mraa.so make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' [ 78%] Built target _python3-mraa make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' Scanning dependencies of target mraajs_swig_compilation make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' [ 80%] Swig compile mraajs.i for javascript make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' [ 80%] Built target mraajs_swig_compilation make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' Scanning dependencies of target mraajs make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' [ 83%] Building CXX object src/javascript/CMakeFiles/mraajs.dir/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx.o /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:966:27: error: 'WeakCallbackData' in namespace 'v8' does not name a template type void (*dtor) (const v8::WeakCallbackData &data); ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:966:43: error: expected ',' or '...' before '<' token void (*dtor) (const v8::WeakCallbackData &data); ^ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:1014:53: error: 'WeakCallbackData' in namespace 'v8' does not name a template type SWIGRUNTIME void SWIGV8_Proxy_DefaultDtor(const v8::WeakCallbackData &data) { ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:1014:69: error: expected ',' or '...' before '<' token SWIGRUNTIME void SWIGV8_Proxy_DefaultDtor(const v8::WeakCallbackData &data) { ^ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: In function 'void SWIGV8_Proxy_DefaultDtor(int)': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:1015:25: error: 'data' was not declared in this scope SWIGV8_Proxy *proxy = data.GetParameter(); ^~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: In function 'void SWIGV8_SetPrivateData(v8::Handle, void*, swig_type_info*, int)': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:1086:78: error: no matching function for call to 'v8::Persistent::SetWeak(SWIGV8_Proxy*&, void (*&)(int))' cdata->handle.SetWeak(cdata, ((SWIGV8_ClientData*)info->clientdata)->dtor); ^ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/node.h:63:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:171: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/v8.h:546:18: note: candidate: template void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = P; T = v8::Object] V8_INLINE void SetWeak(P* parameter, ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/v8.h:546:18: note: template argument deduction/substitution failed: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:1086:78: note: candidate expects 3 arguments, 2 provided cdata->handle.SetWeak(cdata, ((SWIGV8_ClientData*)info->clientdata)->dtor); ^ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/node.h:63:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:171: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/v8.h:557:18: note: candidate: void v8::PersistentBase::SetWeak() [with T = v8::Object] V8_INLINE void SetWeak(); ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/v8.h:557:18: note: candidate expects 0 arguments, 2 provided /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:1088:58: error: no matching function for call to 'v8::Persistent::SetWeak(SWIGV8_Proxy*&, void (&)(int))' cdata->handle.SetWeak(cdata, SWIGV8_Proxy_DefaultDtor); ^ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/node.h:63:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:171: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/v8.h:546:18: note: candidate: template void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = P; T = v8::Object] V8_INLINE void SetWeak(P* parameter, ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/v8.h:546:18: note: template argument deduction/substitution failed: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:1088:58: note: candidate expects 3 arguments, 2 provided cdata->handle.SetWeak(cdata, SWIGV8_Proxy_DefaultDtor); ^ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/node.h:63:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:171: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/v8.h:557:18: note: candidate: void v8::PersistentBase::SetWeak() [with T = v8::Object] V8_INLINE void SetWeak(); ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/v8.h:557:18: note: candidate expects 0 arguments, 2 provided /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: In function 'int SwigV8Packed_Check(v8::Handle)': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:1242:40: error: 'class v8::Object' has no member named 'GetHiddenValue'; did you mean 'IntegerValue'? v8::Handle flag = objRef->GetHiddenValue(SWIGV8_STRING_NEW("__swig__packed_data__")); ^~~~~~~~~~~~~~ IntegerValue /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: At global scope: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:1292:58: error: 'WeakCallbackData' in namespace 'v8' does not name a template type SWIGRUNTIME void _wrap_SwigV8PackedData_delete(const v8::WeakCallbackData &data) { ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:1292:74: error: expected ',' or '...' before '<' token SWIGRUNTIME void _wrap_SwigV8PackedData_delete(const v8::WeakCallbackData &data) { ^ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: In function 'void _wrap_SwigV8PackedData_delete(int)': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:1293:34: error: 'data' was not declared in this scope v8::Local object = data.GetValue(); ^~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: In function 'v8::Handle SWIGV8_NewPackedObj(void*, size_t, swig_type_info*)': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:1322:8: error: 'class v8::Object' has no member named 'SetHiddenValue'; did you mean 'IntegerValue'? obj->SetHiddenValue(SWIGV8_STRING_NEW("__swig__packed_data__"), SWIGV8_BOOLEAN_NEW(true)); ^~~~~~~~~~~~~~ IntegerValue /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:1346:61: error: no matching function for call to 'v8::Persistent::SetWeak(SwigV8PackedData*&, void (&)(int))' cdata->handle.SetWeak(cdata, _wrap_SwigV8PackedData_delete); ^ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/node.h:63:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:171: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/v8.h:546:18: note: candidate: template void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = P; T = v8::Object] V8_INLINE void SetWeak(P* parameter, ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/v8.h:546:18: note: template argument deduction/substitution failed: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:1346:61: note: candidate expects 3 arguments, 2 provided cdata->handle.SetWeak(cdata, _wrap_SwigV8PackedData_delete); ^ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/node.h:63:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:171: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/v8.h:557:18: note: candidate: void v8::PersistentBase::SetWeak() [with T = v8::Object] V8_INLINE void SetWeak(); ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include/node/v8.h:557:18: note: candidate expects 0 arguments, 2 provided In file included from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:1693:0: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/api/mraa/gpio.hpp: In member function 'mraa::Result mraa::Gpio::useMmap(bool)': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/api/mraa/gpio.hpp:317:77: warning: 'mraa_result_t mraa_gpio_use_mmaped(mraa_gpio_context, mraa_boolean_t)' is deprecated [-Wdeprecated-declarations] return (Result) mraa_gpio_use_mmaped(m_gpio, (mraa_boolean_t) enable); ^ In file included from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/api/mraa/gpio.hpp:27:0, from /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:1693: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/api/mraa/gpio.h:279:26: note: declared here DEPRECATED mraa_result_t mraa_gpio_use_mmaped(mraa_gpio_context dev, mraa_boolean_t mmap); ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: At global scope: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:2016:53: error: 'WeakCallbackData' in namespace 'v8' does not name a template type static void _wrap_delete_uint8Array(const v8::WeakCallbackData &data) { ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:2016:69: error: expected ',' or '...' before '<' token static void _wrap_delete_uint8Array(const v8::WeakCallbackData &data) { ^ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: In function 'void _wrap_delete_uint8Array(int)': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:2017:40: error: 'data' was not declared in this scope v8::Local object = data.GetValue(); ^~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:2017:40: note: suggested alternative: 'atan' v8::Local object = data.GetValue(); ^~~~ atan /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: At global scope: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:6555:47: error: 'WeakCallbackData' in namespace 'v8' does not name a template type static void _wrap_delete_Gpio(const v8::WeakCallbackData &data) { ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:6555:63: error: expected ',' or '...' before '<' token static void _wrap_delete_Gpio(const v8::WeakCallbackData &data) { ^ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: In function 'void _wrap_delete_Gpio(int)': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:6556:40: error: 'data' was not declared in this scope v8::Local object = data.GetValue(); ^~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:6556:40: note: suggested alternative: 'atan' v8::Local object = data.GetValue(); ^~~~ atan /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: At global scope: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:7427:46: error: 'WeakCallbackData' in namespace 'v8' does not name a template type static void _wrap_delete_I2c(const v8::WeakCallbackData &data) { ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:7427:62: error: expected ',' or '...' before '<' token static void _wrap_delete_I2c(const v8::WeakCallbackData &data) { ^ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: In function 'void _wrap_delete_I2c(int)': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:7428:40: error: 'data' was not declared in this scope v8::Local object = data.GetValue(); ^~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:7428:40: note: suggested alternative: 'atan' v8::Local object = data.GetValue(); ^~~~ atan /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: At global scope: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:8221:46: error: 'WeakCallbackData' in namespace 'v8' does not name a template type static void _wrap_delete_Pwm(const v8::WeakCallbackData &data) { ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:8221:62: error: expected ',' or '...' before '<' token static void _wrap_delete_Pwm(const v8::WeakCallbackData &data) { ^ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: In function 'void _wrap_delete_Pwm(int)': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:8222:40: error: 'data' was not declared in this scope v8::Local object = data.GetValue(); ^~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:8222:40: note: suggested alternative: 'atan' v8::Local object = data.GetValue(); ^~~~ atan /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: At global scope: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:8911:46: error: 'WeakCallbackData' in namespace 'v8' does not name a template type static void _wrap_delete_Spi(const v8::WeakCallbackData &data) { ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:8911:62: error: expected ',' or '...' before '<' token static void _wrap_delete_Spi(const v8::WeakCallbackData &data) { ^ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: In function 'void _wrap_delete_Spi(int)': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:8912:40: error: 'data' was not declared in this scope v8::Local object = data.GetValue(); ^~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:8912:40: note: suggested alternative: 'atan' v8::Local object = data.GetValue(); ^~~~ atan /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: At global scope: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:9310:46: error: 'WeakCallbackData' in namespace 'v8' does not name a template type static void _wrap_delete_Aio(const v8::WeakCallbackData &data) { ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:9310:62: error: expected ',' or '...' before '<' token static void _wrap_delete_Aio(const v8::WeakCallbackData &data) { ^ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: In function 'void _wrap_delete_Aio(int)': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:9311:40: error: 'data' was not declared in this scope v8::Local object = data.GetValue(); ^~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:9311:40: note: suggested alternative: 'atan' v8::Local object = data.GetValue(); ^~~~ atan /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: At global scope: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:9618:47: error: 'WeakCallbackData' in namespace 'v8' does not name a template type static void _wrap_delete_Uart(const v8::WeakCallbackData &data) { ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:9618:63: error: expected ',' or '...' before '<' token static void _wrap_delete_Uart(const v8::WeakCallbackData &data) { ^ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: In function 'void _wrap_delete_Uart(int)': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:9619:40: error: 'data' was not declared in this scope v8::Local object = data.GetValue(); ^~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:9619:40: note: suggested alternative: 'atan' v8::Local object = data.GetValue(); ^~~~ atan /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: At global scope: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:10496:46: error: 'WeakCallbackData' in namespace 'v8' does not name a template type static void _wrap_delete_Led(const v8::WeakCallbackData &data) { ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:10496:62: error: expected ',' or '...' before '<' token static void _wrap_delete_Led(const v8::WeakCallbackData &data) { ^ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: In function 'void _wrap_delete_Led(int)': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:10497:40: error: 'data' was not declared in this scope v8::Local object = data.GetValue(); ^~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:10497:40: note: suggested alternative: 'atan' v8::Local object = data.GetValue(); ^~~~ atan /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: In function 'void SWIG_V8_SetModule(void*, swig_module_info*)': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:10875:15: error: 'class v8::Object' has no member named 'SetHiddenValue'; did you mean 'IntegerValue'? global_obj->SetHiddenValue(SWIGV8_STRING_NEW("swig_module_info_data"), mod); ^~~~~~~~~~~~~~ IntegerValue /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx: In function 'swig_module_info* SWIG_V8_GetModule(void*)': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/src/javascript/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx:10881:49: error: 'class v8::Object' has no member named 'GetHiddenValue'; did you mean 'IntegerValue'? v8::Local moduleinfo = global_obj->GetHiddenValue(SWIGV8_STRING_NEW("swig_module_info_data")); ^~~~~~~~~~~~~~ IntegerValue make[6]: *** [src/javascript/CMakeFiles/mraajs.dir/build.make:63: src/javascript/CMakeFiles/mraajs.dir/CMakeFiles/mraajs.dir/mraajsJAVASCRIPT_wrap.cxx.o] Error 1 make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' make[5]: *** [CMakeFiles/Makefile2:480: src/javascript/CMakeFiles/mraajs.dir/all] Error 2 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' make[4]: *** [Makefile:141: all] Error 2 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0' make[3]: *** [Makefile:128: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/mraa-2.0.0/.built] Error 2 time: package/feeds/packages/libmraa/compile#24.10#2.32#31.14