>>> emlog 0.70 Downloading wget --passive-ftp -nd -t 3 -O '/home/autobuild/autobuild/instance-1/output-1/build/.emlog-0.70.tar.gz.wfxgz7/output' 'https://github.com/nicupavel/emlog/archive/emlog-0.70/emlog-0.70.tar.gz' --2023-07-08 22:33:57-- https://github.com/nicupavel/emlog/archive/emlog-0.70/emlog-0.70.tar.gz Resolving github.com (github.com)... 140.82.113.4 Connecting to github.com (github.com)|140.82.113.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/nicupavel/emlog/tar.gz/refs/tags/emlog-0.70 [following] --2023-07-08 22:33:57-- https://codeload.github.com/nicupavel/emlog/tar.gz/refs/tags/emlog-0.70 Resolving codeload.github.com (codeload.github.com)... 140.82.112.9 Connecting to codeload.github.com (codeload.github.com)|140.82.112.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/.emlog-0.70.tar.gz.wfxgz7/output' 0K .......... ......... 387K=0.05s 2023-07-08 22:33:57 (387 KB/s) - '/home/autobuild/autobuild/instance-1/output-1/build/.emlog-0.70.tar.gz.wfxgz7/output' saved [19945] emlog-0.70.tar.gz: OK (sha256: 76082cf981b0865c8a1b300d4641c790a6556461901bbb63700df38300277271) >>> emlog 0.70 Extracting mkdir -p /home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host rsync -a --link-dest=/home/autobuild/autobuild/instance-1/output-1/per-package/host-tar/host/ /home/autobuild/autobuild/instance-1/output-1/per-package/host-tar/host/ /home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host mkdir -p /home/autobuild/autobuild/instance-1/output-1/per-package/emlog/target rsync -a --link-dest=/home/autobuild/autobuild/instance-1/output-1/per-package/host-tar/target/ /home/autobuild/autobuild/instance-1/output-1/per-package/host-tar/target/ /home/autobuild/autobuild/instance-1/output-1/per-package/emlog/target gzip -d -c /home/autobuild/autobuild/instance-1/dl/emlog/emlog-0.70.tar.gz | /home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/tar --strip-components=1 -C /home/autobuild/autobuild/instance-1/output-1/build/emlog-0.70 -xf - >>> emlog 0.70 Patching >>> emlog 0.70 Configuring mkdir -p /home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host rsync -a --link-dest=/home/autobuild/autobuild/instance-1/output-1/per-package/host-skeleton/host/ /home/autobuild/autobuild/instance-1/output-1/per-package/host-skeleton/host/ /home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host rsync -a --link-dest=/home/autobuild/autobuild/instance-1/output-1/per-package/linux/host/ /home/autobuild/autobuild/instance-1/output-1/per-package/linux/host/ /home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host rsync -a --link-dest=/home/autobuild/autobuild/instance-1/output-1/per-package/skeleton/host/ /home/autobuild/autobuild/instance-1/output-1/per-package/skeleton/host/ /home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host rsync -a --link-dest=/home/autobuild/autobuild/instance-1/output-1/per-package/toolchain/host/ /home/autobuild/autobuild/instance-1/output-1/per-package/toolchain/host/ /home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host mkdir -p /home/autobuild/autobuild/instance-1/output-1/per-package/emlog/target rsync -a --link-dest=/home/autobuild/autobuild/instance-1/output-1/per-package/host-skeleton/target/ /home/autobuild/autobuild/instance-1/output-1/per-package/host-skeleton/target/ /home/autobuild/autobuild/instance-1/output-1/per-package/emlog/target rsync -a --link-dest=/home/autobuild/autobuild/instance-1/output-1/per-package/linux/target/ /home/autobuild/autobuild/instance-1/output-1/per-package/linux/target/ /home/autobuild/autobuild/instance-1/output-1/per-package/emlog/target rsync -a --link-dest=/home/autobuild/autobuild/instance-1/output-1/per-package/skeleton/target/ /home/autobuild/autobuild/instance-1/output-1/per-package/skeleton/target/ /home/autobuild/autobuild/instance-1/output-1/per-package/emlog/target rsync -a --link-dest=/home/autobuild/autobuild/instance-1/output-1/per-package/toolchain/target/ /home/autobuild/autobuild/instance-1/output-1/per-package/toolchain/target/ /home/autobuild/autobuild/instance-1/output-1/per-package/emlog/target >>> emlog 0.70 Building /home/autobuild/make/make -j1 -C /home/autobuild/autobuild/instance-1/output-1/build/emlog-0.70 PATH="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin:/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/nios2-buildroot-linux-gnu-gcc-ar" AS="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/nios2-buildroot-linux-gnu-as" LD="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/nios2-buildroot-linux-gnu-ld" NM="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/nios2-buildroot-linux-gnu-gcc-nm" CC="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/nios2-buildroot-linux-gnu-gcc" GCC="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/nios2-buildroot-linux-gnu-gcc" CPP="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/nios2-buildroot-linux-gnu-cpp" CXX="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/nios2-buildroot-linux-gnu-g++" FC="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/nios2-buildroot-linux-gnu-gfortran" F77="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/nios2-buildroot-linux-gnu-gfortran" RANLIB="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/nios2-buildroot-linux-gnu-gcc-ranlib" READELF="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/nios2-buildroot-linux-gnu-readelf" STRIP="/bin/true" OBJCOPY="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/nios2-buildroot-linux-gnu-objcopy" OBJDUMP="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/nios2-buildroot-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/include" LDFLAGS_FOR_BUILD="-L/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/nios2-buildroot-linux-gnu-as" DEFAULT_LINKER="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/nios2-buildroot-linux-gnu-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g1 -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g1 -D_FORTIFY_SOURCE=1" LDFLAGS="" FCFLAGS=" -O1 -g1" FFLAGS=" -O1 -g1" PKG_CONFIG="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/pkg-config" STAGING_DIR="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/nios2-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl nbcat make[1]: Entering directory '/home/autobuild/autobuild/instance-1/output-1/build/emlog-0.70' /home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/nios2-buildroot-linux-gnu-gcc -o nbcat nbcat.c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g1 -D_FORTIFY_SOURCE=1 make[1]: Leaving directory '/home/autobuild/autobuild/instance-1/output-1/build/emlog-0.70' >>> emlog 0.70 Building kernel module(s) PATH="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin:/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/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/per-package/emlog/host/lib/pkgconfig:/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/share/pkgconfig" BR_BINARIES_DIR=/home/autobuild/autobuild/instance-1/output-1/images KCFLAGS=-Wno-attribute-alias /home/autobuild/make/make -j1 -C /home/autobuild/autobuild/instance-1/output-1/build/linux-6.4 HOSTCC="/usr/bin/gcc -O2 -isystem /home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/include -L/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/lib" ARCH=nios2 INSTALL_MOD_PATH=/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/target CROSS_COMPILE="/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/bin/nios2-buildroot-linux-gnu-" WERROR=0 REGENERATE_PARSERS=1 DEPMOD=/home/autobuild/autobuild/instance-1/output-1/per-package/emlog/host/sbin/depmod PWD=/home/autobuild/autobuild/instance-1/output-1/build/emlog-0.70/. M=/home/autobuild/autobuild/instance-1/output-1/build/emlog-0.70/. modules make[1]: Entering directory '/home/autobuild/autobuild/instance-1/output-1/build/linux-6.4' CC [M] /home/autobuild/autobuild/instance-1/output-1/build/emlog-0.70/./emlog.o In file included from ./include/linux/linkage.h:7, from ./include/linux/kernel.h:17, from /home/autobuild/autobuild/instance-1/output-1/build/emlog-0.70/./emlog.c:43: /home/autobuild/autobuild/instance-1/output-1/build/emlog-0.70/./emlog.c: In function ‘emlog_init’: ./include/linux/export.h:27:22: error: passing argument 1 of ‘class_create’ from incompatible pointer type [-Werror=incompatible-pointer-types] 27 | #define THIS_MODULE (&__this_module) | ~^~~~~~~~~~~~~~~ | | | struct module * /home/autobuild/autobuild/instance-1/output-1/build/emlog-0.70/./emlog.c:503:32: note: in expansion of macro ‘THIS_MODULE’ 503 | emlog_class = class_create(THIS_MODULE, 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/emlog-0.70/./emlog.c:45: ./include/linux/device/class.h:230:54: note: expected ‘const char *’ but argument is of type ‘struct module *’ 230 | struct class * __must_check class_create(const char *name); | ~~~~~~~~~~~~^~~~ /home/autobuild/autobuild/instance-1/output-1/build/emlog-0.70/./emlog.c:503:19: error: too many arguments to function ‘class_create’ 503 | emlog_class = class_create(THIS_MODULE, 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/emlog-0.70/./emlog.c:45: ./include/linux/device/class.h:230:29: note: declared here 230 | struct class * __must_check class_create(const char *name); | ^~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:252: /home/autobuild/autobuild/instance-1/output-1/build/emlog-0.70/./emlog.o] Error 1 make[1]: *** [Makefile:2026: /home/autobuild/autobuild/instance-1/output-1/build/emlog-0.70/.] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-1/output-1/build/linux-6.4' make: *** [package/pkg-generic.mk:294: /home/autobuild/autobuild/instance-1/output-1/build/emlog-0.70/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-1/buildroot'