>>> falcosecurity-libs e5c53d648f3c4694385bbe488e7d47eaa36c229a Downloading wget -nd -t 3 --no-check-certificate -O '/home/autobuild/autobuild/instance-2/output-1/build/.falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz.FvgfjY/output' 'https://github.com/falcosecurity/libs/archive/e5c53d648f3c4694385bbe488e7d47eaa36c229a/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz' --2024-08-24 00:26:51-- 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.112.4 Connecting to github.com (github.com)|140.82.112.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/falcosecurity/libs/tar.gz/e5c53d648f3c4694385bbe488e7d47eaa36c229a [following] --2024-08-24 00:26:51-- https://codeload.github.com/falcosecurity/libs/tar.gz/e5c53d648f3c4694385bbe488e7d47eaa36c229a Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/autobuild/autobuild/instance-2/output-1/build/.falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz.FvgfjY/output' 0K .......... .......... .......... .......... .......... 408K 50K .......... .......... .......... .......... .......... 819K 100K .......... .......... .......... .......... .......... 103M 150K .......... .......... .......... .......... .......... 1.22M 200K .......... .......... .......... .......... .......... 2.31M 250K .......... .......... .......... .......... .......... 90.3M 300K .......... .......... .......... .......... .......... 94.6M 350K .......... .......... .......... .......... .......... 1.25M 400K .......... .......... .......... .......... .......... 2.37M 450K .......... .......... .......... .......... .......... 84.3M 500K .......... .......... .......... .......... .......... 68.0M 550K .......... .......... .......... .......... .......... 95.0M 600K .......... .......... .......... .......... .......... 166M 650K .......... .......... .......... .......... .......... 66.5M 700K .......... .......... .......... .......... .......... 155M 750K .......... .......... .......... .......... ....... 1.25M=0.3s 2024-08-24 00:26:52 (2.25 MB/s) - '/home/autobuild/autobuild/instance-2/output-1/build/.falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz.FvgfjY/output' saved [816972] falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz: OK (sha256: 80903bc57b7f9c5f24298ecf1531cf66ef571681b4bd1e05f6e4db704ffb380b) >>> falcosecurity-libs e5c53d648f3c4694385bbe488e7d47eaa36c229a Extracting gzip -d -c /home/autobuild/autobuild/instance-2/dl/falcosecurity-libs/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-2/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-2/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/Makefile.in /home/autobuild/autobuild/instance-2/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/Makefile /usr/bin/sed -i -e 's/@KBUILD_FLAGS@//;' /home/autobuild/autobuild/instance-2/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/Makefile /usr/bin/sed -i -e 's/@DRIVER_NAME@/scap/;' /home/autobuild/autobuild/instance-2/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/Makefile /usr/bin/install -m 0644 /home/autobuild/autobuild/instance-2/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/driver_config.h.in /home/autobuild/autobuild/instance-2/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-2/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-2/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-2/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-2/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-2/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-2/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/driver_config.h /usr/bin/sed -i -e 's/\${DRIVER_VERSION}//;' /home/autobuild/autobuild/instance-2/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/driver_config.h /usr/bin/sed -i -e 's/\${DRIVER_NAME}/scap/;' /home/autobuild/autobuild/instance-2/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/driver_config.h /usr/bin/sed -i -e 's/\${DRIVER_DEVICE_NAME}/scap/;' /home/autobuild/autobuild/instance-2/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-2/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-2/output-1/host/bin:/home/autobuild/autobuild/instance-2/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-2/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-2/output-1/host/lib/pkgconfig:/home/autobuild/autobuild/instance-2/output-1/host/share/pkgconfig" BR_BINARIES_DIR=/home/autobuild/autobuild/instance-2/output-1/images KCFLAGS=-Wno-attribute-alias /usr/bin/make -j1 -C /home/autobuild/autobuild/instance-2/output-1/build/linux-6.10.6 HOSTCC="/usr/bin/gcc -O2 -isystem /home/autobuild/autobuild/instance-2/output-1/host/include -L/home/autobuild/autobuild/instance-2/output-1/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-2/output-1/host/lib" ARCH=arm64 INSTALL_MOD_PATH=/home/autobuild/autobuild/instance-2/output-1/target CROSS_COMPILE="/home/autobuild/autobuild/instance-2/output-1/host/bin/aarch64_be-none-linux-gnu-" WERROR=0 REGENERATE_PARSERS=1 DEPMOD=/home/autobuild/autobuild/instance-2/output-1/host/sbin/depmod INSTALL_MOD_STRIP=1 KERNELDIR=/home/autobuild/autobuild/instance-2/output-1/build/linux-6.10.6 PWD=/home/autobuild/autobuild/instance-2/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver M=/home/autobuild/autobuild/instance-2/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver modules make[1]: Entering directory '/home/autobuild/autobuild/instance-2/output-1/build/linux-6.10.6' CC [M] /home/autobuild/autobuild/instance-2/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/main.o /home/autobuild/autobuild/instance-2/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/main.c: In function ‘drop_nostate_event’: /home/autobuild/autobuild/instance-2/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/main.c:1491:22: error: implicit declaration of function ‘fd_is_open’; did you mean ‘finish_open’? [-Werror=implicit-function-declaration] 1491 | !fd_is_open(close_fd, fdt) | ^~~~~~~~~~ | finish_open /home/autobuild/autobuild/instance-2/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/main.c: At top level: /home/autobuild/autobuild/instance-2/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:63, 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-2/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/main.c:19: /home/autobuild/autobuild/instance-2/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-2/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-2/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-2/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-2/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-2/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/main.c: At top level: /home/autobuild/autobuild/instance-2/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-2/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/driver/main.o] Error 1 make[2]: *** [/home/autobuild/autobuild/instance-2/output-1/build/linux-6.10.6/Makefile:1934: /home/autobuild/autobuild/instance-2/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-2/output-1/build/linux-6.10.6' make: *** [package/pkg-generic.mk:290: /home/autobuild/autobuild/instance-2/output-1/build/falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-2/buildroot'