>>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Downloading wget --passive-ftp -nd -t 3 -O '/nvmedata/autobuild/instance-16/output-1/build/.rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz.HlGJBv/output' 'https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz' --2022-07-25 05:48:10-- https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz 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/abperiasamy/rtl8812AU_8821AU_linux/tar.gz/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 [following] --2022-07-25 05:48:10-- https://codeload.github.com/abperiasamy/rtl8812AU_8821AU_linux/tar.gz/4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Resolving codeload.github.com (codeload.github.com)... 140.82.114.9 Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/nvmedata/autobuild/instance-16/output-1/build/.rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz.HlGJBv/output' 0K .......... .......... .......... .......... .......... 488K 50K .......... .......... .......... .......... .......... 967K 100K .......... .......... .......... .......... .......... 22.6M 150K .......... .......... .......... .......... .......... 96.0M 200K .......... .......... .......... .......... .......... 1004K 250K .......... .......... .......... .......... .......... 72.1M 300K .......... .......... .......... .......... .......... 146M 350K .......... .......... .......... .......... .......... 115M 400K .......... .......... .......... .......... .......... 1005K 450K .......... .......... .......... .......... .......... 190M 500K .......... .......... .......... .......... .......... 196M 550K .......... .......... .......... .......... .......... 91.8M 600K .......... .......... .......... .......... .......... 61.4M 650K .......... .......... .......... .......... .......... 72.2M 700K .......... .......... .......... .......... .......... 121M 750K .......... .......... .......... .......... .......... 313K 800K .......... .......... .......... .......... .......... 209M 850K .......... .......... .......... .......... .......... 205M 900K .......... .......... .......... .......... .......... 153M 950K .......... .......... .......... .......... .......... 253M 1000K .......... .......... .......... .......... .......... 236M 1050K .......... .......... .......... .......... .......... 167M 1100K .......... .......... .......... .......... .......... 152M 1150K .......... .......... .......... .......... .......... 114M 1200K .......... .......... .......... .......... .......... 113M 1250K .......... .......... .......... .......... .......... 105M 1300K .......... .......... .......... .......... .......... 159M 1350K .......... .......... .......... .......... .......... 96.8M 1400K .......... .......... .......... .......... .......... 92.1M 1450K .......... .......... .......... .......... .......... 89.4M 1500K .......... .......... .......... .......... .......... 1.27M 1550K .......... .......... .......... .......... .......... 106M 1600K .......... .......... .......... .......... .......... 87.1M 1650K .......... .......... .......... .......... .......... 159M 1700K .......... .......... .......... .......... .......... 106M 1750K .......... .......... .......... .......... .......... 123M 1800K .......... .......... .......... .......... .......... 89.3M 1850K .......... .......... .......... .......... .......... 87.5M 1900K .... 58.5M=0.5s 2022-07-25 05:48:11 (3.98 MB/s) - '/nvmedata/autobuild/instance-16/output-1/build/.rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz.HlGJBv/output' saved [1950269] rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz: OK (sha256: 9c8e127dcf2b4d87df546f7f51afdbca0a0561cdba9bcc2689722e1090c46204) >>> rtl8821au 4235b0ec7d7220a6364586d8e25b1e8cb99c36f1 Extracting gzip -d -c /nvmedata/autobuild/instance-16/dl/rtl8821au/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1.tar.gz | tar --strip-components=1 -C /nvmedata/autobuild/instance-16/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-16/output-1/host/bin:/nvmedata/autobuild/instance-16/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/nvmedata/autobuild/instance-16/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-16/output-1/host/lib/pkgconfig:/nvmedata/autobuild/instance-16/output-1/host/share/pkgconfig" BR_BINARIES_DIR=/nvmedata/autobuild/instance-16/output-1/images KCFLAGS=-Wno-attribute-alias /usr/bin/make -j1 -C /nvmedata/autobuild/instance-16/output-1/build/linux-5.17.15 HOSTCC="/usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-16/output-1/host/include -L/nvmedata/autobuild/instance-16/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-16/output-1/host/lib" ARCH=arm64 INSTALL_MOD_PATH=/nvmedata/autobuild/instance-16/output-1/target CROSS_COMPILE="/nvmedata/autobuild/instance-16/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-" WERROR=0 DEPMOD=/nvmedata/autobuild/instance-16/output-1/host/sbin/depmod CONFIG_RTL8812AU_8821AU=m KVER=`MAKEFLAGS='' /usr/bin/make -j1 HOSTCC="/usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-16/output-1/host/include -L/nvmedata/autobuild/instance-16/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-16/output-1/host/lib" ARCH=arm64 INSTALL_MOD_PATH=/nvmedata/autobuild/instance-16/output-1/target CROSS_COMPILE="/nvmedata/autobuild/instance-16/output-1/host/bin/aarch64_be-buildroot-linux-uclibc-" WERROR=0 DEPMOD=/nvmedata/autobuild/instance-16/output-1/host/sbin/depmod -C /nvmedata/autobuild/instance-16/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-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/. M=/nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/. modules make[1]: Entering directory '/nvmedata/autobuild/instance-16/output-1/build/linux-5.17.15' CC [M] /nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.o In file included from /nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /nvmedata/autobuild/instance-16/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-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /nvmedata/autobuild/instance-16/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-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /nvmedata/autobuild/instance-16/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-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/byteorder/little_endian.h:30, from /nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/rtw_byteorder.h:42, from /nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:33, from /nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /nvmedata/autobuild/instance-16/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-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service_linux.h:24, from /nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /nvmedata/autobuild/instance-16/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-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/osdep_service.h:41, from /nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./include/drv_types.h:32, from /nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:22: /nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c: In function ‘rtw_cmd_thread’: /nvmedata/autobuild/instance-16/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-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.c:706:9: note: in expansion of macro ‘thread_exit’ 706 | thread_exit(); | ^~~~~~~~~~~ /nvmedata/autobuild/instance-16/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-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./core/rtw_cmd.o] Error 1 make[1]: *** [Makefile:1831: /nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/.] Error 2 make[1]: Leaving directory '/nvmedata/autobuild/instance-16/output-1/build/linux-5.17.15' make: *** [package/pkg-generic.mk:294: /nvmedata/autobuild/instance-16/output-1/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/.stamp_built] Error 2 make: Leaving directory '/nvmedata/autobuild/instance-16/buildroot'