>>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Downloading wget --passive-ftp -nd -t 3 -O '/nvmedata/autobuild/instance-8/output-1/build/.rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz.PHstxZ/output' 'https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz' --2022-08-24 15:11:08-- https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz Resolving github.com (github.com)... 140.82.113.3 Connecting to github.com (github.com)|140.82.113.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/abperiasamy/rtl8812AU_8821AU_linux/tar.gz/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 [following] --2022-08-24 15:11:08-- https://codeload.github.com/abperiasamy/rtl8812AU_8821AU_linux/tar.gz/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 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: '/nvmedata/autobuild/instance-8/output-1/build/.rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz.PHstxZ/output' 0K .......... .......... .......... .......... .......... 497K 50K .......... .......... .......... .......... .......... 959K 100K .......... .......... .......... .......... .......... 56.2M 150K .......... .......... .......... .......... .......... 977K 200K .......... .......... .......... .......... .......... 41.3M 250K .......... .......... .......... .......... .......... 104M 300K .......... .......... .......... .......... .......... 1.04M 350K .......... .......... .......... .......... .......... 14.6M 400K .......... .......... .......... .......... .......... 164M 450K .......... .......... .......... .......... .......... 118M 500K .......... .......... .......... .......... .......... 166M 550K .......... .......... .......... .......... .......... 153M 600K .......... .......... .......... .......... .......... 52.3M 650K .......... .......... .......... .......... .......... 1.08M 700K .......... .......... .......... .......... .......... 155M 750K .......... .......... .......... .......... .......... 23.5M 800K .......... .......... .......... .......... .......... 43.9M 850K .......... .......... .......... .......... .......... 98.4M 900K .......... .......... .......... .......... .......... 129M 950K .......... .......... .......... .......... .......... 953K 1000K .......... .......... .......... .......... .......... 72.6M 1050K .......... .......... .......... .......... .......... 83.2M 1100K .......... .......... .......... .......... .......... 98.3M 1150K .......... .......... .......... .......... .......... 156M 1200K .......... .......... .......... .......... .......... 156M 1250K .......... .......... .......... .......... .......... 1.15M 1300K .......... .......... .......... .......... .......... 86.8M 1350K .......... .......... .......... .......... .......... 74.3M 1400K .......... .......... .......... .......... .......... 80.3M 1450K .......... .......... .......... .......... .......... 97.2M 1500K .......... .......... .......... .......... .......... 92.1M 1550K .......... .......... .......... .......... .......... 46.0M 1600K .......... .......... .......... .......... .......... 90.5M 1650K .......... .......... .......... .......... .......... 89.5M 1700K .......... .......... .......... .......... .......... 85.2M 1750K .......... .......... .......... .......... .......... 95.7M 1800K .......... .......... .......... .......... .......... 91.9M 1850K .......... .......... .......... .......... .......... 95.2M 1900K .... 14.1M=0.4s 2022-08-24 15:11:09 (4.50 MB/s) - '/nvmedata/autobuild/instance-8/output-1/build/.rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz.PHstxZ/output' saved [1950269] rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz: OK (sha256: 9c8e127dcf2b4d87df546f7f51afdbca0a0561cdba9bcc2689722e1090c46204) >>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Extracting gzip -d -c /nvmedata/autobuild/instance-8/dl/rtl8821au/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz | tar --strip-components=1 -C /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 -xf - >>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Patching Applying 0001-Fix-implicit-fallthrough-comments-for-kernel-5.3.patch using patch: patching file core/rtw_mlme_ext.c Applying 0002-Fix-kernel-5.3-driver-crashes-from-aircrack-ng-rtl88.patch using patch: patching file os_dep/linux/rtw_cfgvendor.c Applying 0003-Fix-using-sprintf-for-extending-string-which-causes-.patch using patch: patching file core/rtw_mp.c patching file os_dep/linux/ioctl_linux.c Applying 0004-rename-sha256_state-to-rtl_sha256_state-to-avoid-nam.patch using patch: patching file core/rtw_security.c patching file include/rtw_security.h Applying 0005-disable-rtw_mgmt_frame_register-on-kernel-5.8.0.patch using patch: patching file os_dep/linux/ioctl_cfg80211.c Applying 0006-rtw_proc-convert-file_operations-to-proc_ops-for-5.6.patch using patch: patching file os_dep/linux/rtw_proc.c >>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Configuring >>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Building >>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Building kernel module(s) PATH="/nvmedata/autobuild/instance-8/output-1/host/bin:/nvmedata/autobuild/instance-8/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/nvmedata/autobuild/instance-8/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="/nvmedata/autobuild/instance-8/output-1/host/lib/pkgconfig:/nvmedata/autobuild/instance-8/output-1/host/share/pkgconfig" BR_BINARIES_DIR=/nvmedata/autobuild/instance-8/output-1/images KCFLAGS=-Wno-attribute-alias /usr/bin/make -j1 -C /nvmedata/autobuild/instance-8/output-1/build/linux-5.17.15 HOSTCC="/usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-8/output-1/host/include -L/nvmedata/autobuild/instance-8/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-8/output-1/host/lib" ARCH=arm64 INSTALL_MOD_PATH=/nvmedata/autobuild/instance-8/output-1/target CROSS_COMPILE="/nvmedata/autobuild/instance-8/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-" WERROR=0 DEPMOD=/nvmedata/autobuild/instance-8/output-1/host/sbin/depmod CONFIG_RTL8812AU_8821AU=m KVER=`MAKEFLAGS='' /usr/bin/make -j1 HOSTCC="/usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-8/output-1/host/include -L/nvmedata/autobuild/instance-8/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-8/output-1/host/lib" ARCH=arm64 INSTALL_MOD_PATH=/nvmedata/autobuild/instance-8/output-1/target CROSS_COMPILE="/nvmedata/autobuild/instance-8/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-" WERROR=0 DEPMOD=/nvmedata/autobuild/instance-8/output-1/host/sbin/depmod -C /nvmedata/autobuild/instance-8/output-1/build/linux-5.17.15 --no-print-directory -s kernelrelease 2>/dev/null` USER_EXTRA_CFLAGS="-DCONFIG_BIG_ENDIAN -Wno-error" PWD=/nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/. M=/nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/. modules make[1]: Entering directory '/nvmedata/autobuild/instance-8/output-1/build/linux-5.17.15' CC [M] /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.o In file included from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:25:2: error: #error "Shall be CONFIG_LITTLE_ENDIAN or CONFIG_BIG_ENDIAN, but not both!\n" 25 | #error "Shall be CONFIG_LITTLE_ENDIAN or CONFIG_BIG_ENDIAN, but not both!\n" | ^~~~~ In file included from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/swab.h:115:29: error: conflicting types for ‘__fswab16’; have ‘const __u16(__u16)’ {aka ‘const short unsigned int(short unsigned int)’} 115 | __inline static const __u16 __fswab16(__u16 x) | ^~~~~~~~~ In file included from ./include/linux/swab.h:5, from ./include/uapi/linux/byteorder/big_endian.h:14, from ./include/linux/byteorder/big_endian.h:5, from ./arch/arm64/include/uapi/asm/byteorder.h:21, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:28, from ./include/linux/bitops.h:33, from ./arch/arm64/include/asm/cache.h:60, from ./include/linux/cache.h:6, from ./include/linux/printk.h:9, from ./include/asm-generic/bug.h:22, from ./arch/arm64/include/asm/bug.h:26, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./arch/arm64/include/asm/preempt.h:5, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: ./include/uapi/linux/swab.h:48:41: note: previous definition of ‘__fswab16’ with type ‘__u16(__u16)’ {aka ‘short unsigned int(short unsigned int)’} 48 | static inline __attribute_const__ __u16 __fswab16(__u16 val) | ^~~~~~~~~ In file included from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/swab.h:123:29: error: conflicting types for ‘__fswab32’; have ‘const __u32(__u32)’ {aka ‘const unsigned int(unsigned int)’} 123 | __inline static const __u32 __fswab32(__u32 x) | ^~~~~~~~~ In file included from ./include/linux/swab.h:5, from ./include/uapi/linux/byteorder/big_endian.h:14, from ./include/linux/byteorder/big_endian.h:5, from ./arch/arm64/include/uapi/asm/byteorder.h:21, from ./include/asm-generic/bitops/le.h:6, from ./arch/arm64/include/asm/bitops.h:28, from ./include/linux/bitops.h:33, from ./arch/arm64/include/asm/cache.h:60, from ./include/linux/cache.h:6, from ./include/linux/printk.h:9, from ./include/asm-generic/bug.h:22, from ./arch/arm64/include/asm/bug.h:26, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./arch/arm64/include/asm/preempt.h:5, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:55, from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: ./include/uapi/linux/swab.h:57:41: note: previous definition of ‘__fswab32’ with type ‘__u32(__u32)’ {aka ‘unsigned int(unsigned int)’} 57 | static inline __attribute_const__ __u32 __fswab32(__u32 val) | ^~~~~~~~~ In file included from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c: In function ‘rtw_cmd_thread’: /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:166:23: error: implicit declaration of function ‘complete_and_exit’ [-Werror=implicit-function-declaration] 166 | #define thread_exit() complete_and_exit(NULL, 0) | ^~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:706:9: note: in expansion of macro ‘thread_exit’ 706 | thread_exit(); | ^~~~~~~~~~~ /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:708:1: error: control reaches end of non-void function [-Werror=return-type] 708 | } | ^ cc1: all warnings being treated as errors make[2]: *** [scripts/Makefile.build:288: /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.o] Error 1 make[1]: *** [Makefile:1831: /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/.] Error 2 make[1]: Leaving directory '/nvmedata/autobuild/instance-8/output-1/build/linux-5.17.15' make: *** [package/pkg-generic.mk:294: /nvmedata/autobuild/instance-8/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/.stamp_built] Error 2 make: Leaving directory '/nvmedata/autobuild/instance-8/buildroot'