>>> falcosecurity-libs e5c53d648f3c4694385bbe488e7d47eaa36c229a Downloading wget -nd -t 3 -O '/home/autobuild/autobuild/instance-1/output-1/build/.falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz.5dlrju/output' 'https://github.com/falcosecurity/libs/archive/e5c53d648f3c4694385bbe488e7d47eaa36c229a/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz' --2024-06-16 16:22:32-- https://github.com/falcosecurity/libs/archive/e5c53d648f3c4694385bbe488e7d47eaa36c229a/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving github.com (github.com)... 140.82.114.4 Connecting to github.com (github.com)|140.82.114.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/falcosecurity/libs/tar.gz/e5c53d648f3c4694385bbe488e7d47eaa36c229a [following] --2024-06-16 16:22:33-- https://codeload.github.com/falcosecurity/libs/tar.gz/e5c53d648f3c4694385bbe488e7d47eaa36c229a Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/autobuild/autobuild/instance-1/output-1/build/.falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz.5dlrju/output' 0K .......... .......... .......... .......... .......... 372K 50K .......... .......... .......... .......... .......... 744K 100K .......... .......... .......... .......... .......... 50.9M 150K .......... .......... .......... .......... .......... 756K 200K .......... .......... .......... .......... .......... 58.7M 250K .......... .......... .......... .......... .......... 48.5M 300K .......... .......... .......... .......... .......... 54.4M 350K .......... .......... .......... .......... .......... 775K 400K .......... .......... .......... .......... .......... 49.6M 450K .......... .......... .......... .......... .......... 51.9M 500K .......... .......... .......... .......... .......... 50.8M 550K .......... .......... .......... .......... .......... 68.2M 600K .......... .......... .......... .......... .......... 87.0M 650K .......... .......... .......... .......... .......... 54.5M 700K .......... .......... .......... .......... .......... 66.1M 750K .......... .......... .......... .......... ....... 779K=0.4s 2024-06-16 16:22:33 (1.93 MB/s) - '/home/autobuild/autobuild/instance-1/output-1/build/.falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz.5dlrju/output' saved [816972] falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz: OK (sha256: 80903bc57b7f9c5f24298ecf1531cf66ef571681b4bd1e05f6e4db704ffb380b) >>> falcosecurity-libs e5c53d648f3c4694385bbe488e7d47eaa36c229a Extracting gzip -d -c /home/autobuild/autobuild/instance-1/dl/falcosecurity-libs/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a -xf - >>> falcosecurity-libs e5c53d648f3c4694385bbe488e7d47eaa36c229a Patching Applying 0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch using patch: patching file cmake/modules/grpc.cmake /usr/bin/install -m 0644 /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/Makefile.in /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/Makefile /usr/bin/sed -i -e 's/@KBUILD_FLAGS@//;' /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/Makefile /usr/bin/sed -i -e 's/@DRIVER_NAME@/scap/;' /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/Makefile /usr/bin/install -m 0644 /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/driver_config.h.in /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/driver_config.h /usr/bin/sed -i -e 's/\${PPM_API_CURRENT_VERSION_MAJOR}/1/;' /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/driver_config.h /usr/bin/sed -i -e 's/\${PPM_API_CURRENT_VERSION_MINOR}/0/;' /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/driver_config.h /usr/bin/sed -i -e 's/\${PPM_API_CURRENT_VERSION_PATCH}/0/;' /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/driver_config.h /usr/bin/sed -i -e 's/\${PPM_SCHEMA_CURRENT_VERSION_MAJOR}/1/;' /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/driver_config.h /usr/bin/sed -i -e 's/\${PPM_SCHEMA_CURRENT_VERSION_MINOR}/0/;' /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/driver_config.h /usr/bin/sed -i -e 's/\${PPM_SCHEMA_CURRENT_VERSION_PATCH}/0/;' /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/driver_config.h /usr/bin/sed -i -e 's/\${DRIVER_VERSION}//;' /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/driver_config.h /usr/bin/sed -i -e 's/\${DRIVER_NAME}/scap/;' /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/driver_config.h /usr/bin/sed -i -e 's/\${DRIVER_DEVICE_NAME}/scap/;' /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/driver_config.h /usr/bin/sed -i -e 's/\${GIT_COMMIT}/0.1.1dev/;' /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/driver_config.h >>> falcosecurity-libs e5c53d648f3c4694385bbe488e7d47eaa36c229a Configuring >>> falcosecurity-libs e5c53d648f3c4694385bbe488e7d47eaa36c229a Building >>> falcosecurity-libs e5c53d648f3c4694385bbe488e7d47eaa36c229a Building kernel module(s) GIT_DIR=. PATH="/home/autobuild/autobuild/instance-1/output-1/host/bin:/home/autobuild/autobuild/instance-1/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PKG_CONFIG="/home/autobuild/autobuild/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/autobuild/autobuild/instance-1/output-1/host/lib/pkgconfig:/home/autobuild/autobuild/instance-1/output-1/host/share/pkgconfig" BR_BINARIES_DIR=/home/autobuild/autobuild/instance-1/output-1/images KCFLAGS=-Wno-attribute-alias /usr/bin/make -j1 -C /home/autobuild/autobuild/instance-1/output-1/build/linux-6.9.4 HOSTCC="/home/autobuild/autobuild/instance-1/output-1/host/bin/ccache /usr/bin/gcc -O2 -isystem /home/autobuild/autobuild/instance-1/output-1/host/include -L/home/autobuild/autobuild/instance-1/output-1/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-1/output-1/host/lib" ARCH=arm64 INSTALL_MOD_PATH=/home/autobuild/autobuild/instance-1/output-1/target CROSS_COMPILE="/home/autobuild/autobuild/instance-1/output-1/host/bin/aarch64_be-none-linux-gnu-" WERROR=0 REGENERATE_PARSERS=1 DEPMOD=/home/autobuild/autobuild/instance-1/output-1/host/sbin/depmod INSTALL_MOD_STRIP=1 KERNELDIR=/home/autobuild/autobuild/instance-1/output-1/build/linux-6.9.4 PWD=/home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver M=/home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver modules make[1]: Entering directory '/home/autobuild/autobuild/instance-1/output-1/build/linux-6.9.4' CC [M] /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/main.o /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/main.c:2450:5: warning: no previous prototype for ‘scap_init’ [-Wmissing-prototypes] 2450 | int scap_init(void) | ^~~~~~~~~ In file included from ./arch/arm64/include/asm/alternative.h:9, from ./arch/arm64/include/asm/lse.h:14, from ./arch/arm64/include/asm/cmpxchg.h:14, from ./arch/arm64/include/asm/atomic.h:16, from ./include/linux/atomic.h:7, from ./include/asm-generic/bitops/atomic.h:5, from ./arch/arm64/include/asm/bitops.h:25, from ./include/linux/bitops.h:68, from ./arch/arm64/include/asm/cache.h:40, from ./include/linux/cache.h:6, from ./include/linux/time.h:5, from ./include/linux/compat.h:10, from ./arch/arm64/include/asm/syscall.h:9, from /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/main.c:19: /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/main.c: In function ‘scap_init’: ./include/linux/init.h:180:22: error: passing argument 1 of ‘class_create’ from incompatible pointer type [-Werror=incompatible-pointer-types] 180 | #define THIS_MODULE (&__this_module) | ~^~~~~~~~~~~~~~~ | | | struct module * /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/main.c:2489:36: note: in expansion of macro ‘THIS_MODULE’ 2489 | g_ppm_class = class_create(THIS_MODULE, DRIVER_DEVICE_NAME); | ^~~~~~~~~~~ In file included from ./include/linux/device.h:31, from ./include/linux/cdev.h:8, from /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/main.c:26: ./include/linux/device/class.h:228:54: note: expected ‘const char *’ but argument is of type ‘struct module *’ 228 | struct class * __must_check class_create(const char *name); | ~~~~~~~~~~~~^~~~ /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/main.c:2489:23: error: too many arguments to function ‘class_create’ 2489 | g_ppm_class = class_create(THIS_MODULE, DRIVER_DEVICE_NAME); | ^~~~~~~~~~~~ ./include/linux/device/class.h:228:29: note: declared here 228 | struct class * __must_check class_create(const char *name); | ^~~~~~~~~~~~ /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/main.c:2497:30: error: assignment to ‘char * (*)(const struct device *, umode_t *)’ {aka ‘char * (*)(const struct device *, short unsigned int *)’} from incompatible pointer type ‘char * (*)(struct device *, umode_t *)’ {aka ‘char * (*)(struct device *, short unsigned int *)’} [-Werror=incompatible-pointer-types] 2497 | g_ppm_class->devnode = ppm_devnode; | ^ /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/main.c: At top level: /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/main.c:2608:6: warning: no previous prototype for ‘scap_exit’ [-Wmissing-prototypes] 2608 | void scap_exit(void) | ^~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:244: /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/main.o] Error 1 make[2]: *** [/home/autobuild/autobuild/instance-1/output-1/build/linux-6.9.4/Makefile:1919: /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver] Error 2 make[1]: *** [Makefile:240: __sub-make] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-1/output-1/build/linux-6.9.4' make: *** [package/pkg-generic.mk:284: /home/autobuild/autobuild/instance-1/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-1/buildroot'