[OpenWrt-Devel] Multi build failures using today's master

Koen Vandeputte koen.vandeputte at ncentric.com
Mon Jul 30 06:18:23 EDT 2018



On 2018-07-30 11:46, Koen Vandeputte wrote:
> Hi All,
>
> I started building today's master this morning for 7 different 
> targets, and most of them failed. (some 4.9 and some 4.14 kernels)
>
>
> On ar71xx (Rocket M5) :    (Added Rafał in CC as I noticed he worked 
> on this)
>
>
> touch 
> /mnt/ramdisk/koen/firmware/builds/generic_rocketm/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/linux-4.9.111/.configured
> rm -f 
> /mnt/ramdisk/koen/firmware/builds/generic_rocketm/build_dir/target-mips_24kc_musl/root-ar71xx/init
> make -C 
> /mnt/ramdisk/koen/firmware/builds/generic_rocketm/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/linux-4.9.111 
> HOSTCFLAGS="-O2 
> -I/mnt/ramdisk/koen/firmware/builds/generic_rocketm/staging_dir/host/include 
> -Wall -Wmissing-prototypes -Wstrict-prototypes" 
> CROSS_COMPILE="mips-openwrt-linux-musl-" ARCH="mips" 
> KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" 
> KBUILD_BUILD_TIMESTAMP="Mon Jul 30 06:39:52 2018" 
> KBUILD_BUILD_VERSION="0" 
> HOST_LOADLIBES="-L/mnt/ramdisk/koen/firmware/builds/generic_rocketm/staging_dir/host/lib" 
> CONFIG_SHELL="bash" V=''  cmd_syscalls= KERNELRELEASE=4.9.111 
> CC="ccache_cc" all modules
> make[5]: Entering directory 
> '/mnt/ramdisk/koen/firmware/builds/generic_rocketm/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/linux-4.9.111'
>   CHK     include/config/kernel.release
>   CHK     include/generated/uapi/linux/version.h
>   CHK     include/generated/utsrelease.h
>   CHK     include/generated/bounds.h
>   CHK     include/generated/timeconst.h
>   CHK     include/generated/asm-offsets.h
>   CALL    scripts/checksyscalls.sh
>   CHK     include/generated/compile.h
>   LD      drivers/mtd/mtd.o
>   CC      drivers/mtd/redboot.o
> drivers/mtd/redboot.c:306:34: error: array type has incomplete element 
> type 'struct of_device_id'
>  static const struct of_device_id redboot_parser_of_match_table[] = {
>                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/mtd/redboot.c:307:4: error: field name not in record or union 
> initializer
>   { .compatible = "redhat,redboot-partitions" },
>     ^
> drivers/mtd/redboot.c:307:4: note: (near initialization for 
> 'redboot_parser_of_match_table')
> drivers/mtd/redboot.c:306:34: warning: 'redboot_parser_of_match_table' 
> defined but not used [-Wunused-variable]
>  static const struct of_device_id redboot_parser_of_match_table[] = {
>                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> scripts/Makefile.build:296: recipe for target 'drivers/mtd/redboot.o' 
> failed
> make[7]: *** [drivers/mtd/redboot.o] Error 1
> scripts/Makefile.build:547: recipe for target 'drivers/mtd' failed
> make[6]: *** [drivers/mtd] Error 2
> Makefile:1006: recipe for target 'drivers' failed
> make[5]: *** [drivers] Error 2
> make[5]: Leaving directory 
> '/mnt/ramdisk/koen/firmware/builds/generic_rocketm/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/linux-4.9.111'
> Makefile:24: recipe for target 
> '/mnt/ramdisk/koen/firmware/builds/generic_rocketm/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/linux-4.9.111/.image' 
> failed
> make[4]: *** 
> [/mnt/ramdisk/koen/firmware/builds/generic_rocketm/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/linux-4.9.111/.image] 
> Error 2
> make[4]: Leaving directory 
> '/mnt/ramdisk/koen/firmware/builds/generic_rocketm/target/linux/ar71xx'
> Makefile:13: recipe for target 'install' failed
> make[3]: *** [install] Error 2
> make[3]: Leaving directory 
> '/mnt/ramdisk/koen/firmware/builds/generic_rocketm/target/linux'
> Command exited with non-zero status 2
> time: target/linux/install#2.88#1.22#8.03
> target/Makefile:23: recipe for target 'target/linux/install' failed
> make[2]: *** [target/linux/install] Error 2
> make[2]: Leaving directory 
> '/mnt/ramdisk/koen/firmware/builds/generic_rocketm'
> target/Makefile:19: recipe for target 
> '/mnt/ramdisk/koen/firmware/builds/generic_rocketm/staging_dir/target-mips_24kc_musl/stamp/.target_install' 
> failed
> make[1]: *** 
> [/mnt/ramdisk/koen/firmware/builds/generic_rocketm/staging_dir/target-mips_24kc_musl/stamp/.target_install] 
> Error 2
> make[1]: Leaving directory 
> '/mnt/ramdisk/koen/firmware/builds/generic_rocketm'
> /mnt/ramdisk/koen/firmware/builds/generic_rocketm/include/toplevel.mk:216: 
> recipe for target 'world' failed
> make: *** [world] Error 2
>
>
>
>
> On ar71xx (gl-mifi) and imx6 when using ath10k-ct:
>
>
> make CONFIG_ATH10K=m CONFIG_ATH10K_PCI=m CONFIG_ATH10K_AHB=m  -C 
> "/mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/linux-4.9.111" 
> HOSTCFLAGS="-O2 
> -I/mnt/ramdisk/koen/firmware/builds/generic_glmifi/staging_dir/host/include 
> -I/mnt/ramdisk/koen/firmware/builds/generic_glmifi/staging_dir/hostpkg/include 
> -I/mnt/ramdisk/koen/firmware/builds/generic_glmifi/staging_dir/target-mips_24kc_musl/host/include 
> -Wall -Wmissing-prototypes -Wstrict-prototypes" 
> CROSS_COMPILE="mips-openwrt-linux-musl-" ARCH="mips" 
> KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" 
> KBUILD_BUILD_TIMESTAMP="Mon Jul 30 06:39:52 2018" 
> KBUILD_BUILD_VERSION="0" 
> HOST_LOADLIBES="-L/mnt/ramdisk/koen/firmware/builds/generic_glmifi/staging_dir/host/lib" 
> CONFIG_SHELL="bash" V=''  cmd_syscalls= KERNELRELEASE=4.9.111 
> SUBDIRS="/mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/ath10k-ct-2018-05-30-127f9818/ath10k"-4.13"" 
> NOSTDINC_FLAGS="-I/mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/ath10k-ct-2018-05-30-127f9818 
> -I/mnt/ramdisk/koen/firmware/builds/generic_glmifi/staging_dir/target-mips_24kc_musl/usr/include/mac80211-backport/uapi 
> -I/mnt/ramdisk/koen/firmware/builds/generic_glmifi/staging_dir/target-mips_24kc_musl/usr/include/mac80211-backport 
> -I/mnt/ramdisk/koen/firmware/builds/generic_glmifi/staging_dir/target-mips_24kc_musl/usr/include/mac80211/uapi 
> -I/mnt/ramdisk/koen/firmware/builds/generic_glmifi/staging_dir/target-mips_24kc_musl/usr/include/mac80211 
> -include backport/autoconf.h -include backport/backport.h 
> -DCONFIG_ATH10K_AHB -DSTANDALONE_CT" modules
> make[4]: Entering directory 
> '/mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/linux-4.9.111'
>   CC [M] 
> /mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/ath10k-ct-2018-05-30-127f9818/ath10k-4.13/wmi.o
> In file included from 
> /mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/ath10k-ct-2018-05-30-127f9818/ath10k-4.13/core.h:32:0,
>                  from 
> /mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/ath10k-ct-2018-05-30-127f9818/ath10k-4.13/wmi.c:22:
> /mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/ath10k-ct-2018-05-30-127f9818/ath10k-4.13/wmi.h:7088:2: 
> warning: #warning Please enable ATH10K-DEBUGFS kernel option for 
> optimal support for CT firmware. [-Wcpp]
>  #warning Please enable ATH10K-DEBUGFS kernel option for optimal 
> support for CT firmware.
>   ^~~~~~~
> /mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/ath10k-ct-2018-05-30-127f9818/ath10k-4.13/wmi.c: 
> In function 'ath10k_dfs_radar_report':
> /mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/ath10k-ct-2018-05-30-127f9818/ath10k-4.13/wmi.c:3993:7: 
> error: too few arguments to function 'ar->dfs_detector->add_pulse'
>   if (!ar->dfs_detector->add_pulse(ar->dfs_detector, &pe)) {
>        ^~
> scripts/Makefile.build:296: recipe for target 
> '/mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/ath10k-ct-2018-05-30-127f9818/ath10k-4.13/wmi.o' 
> failed
> make[5]: *** 
> [/mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/ath10k-ct-2018-05-30-127f9818/ath10k-4.13/wmi.o] 
> Error 1
> Makefile:1506: recipe for target 
> '_module_/mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/ath10k-ct-2018-05-30-127f9818/ath10k-4.13' 
> failed
> make[4]: *** 
> [_module_/mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/ath10k-ct-2018-05-30-127f9818/ath10k-4.13] 
> Error 2
> make[4]: Leaving directory 
> '/mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/linux-4.9.111'
> Makefile:96: recipe for target 
> '/mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/ath10k-ct-2018-05-30-127f9818/.built' 
> failed
> make[3]: *** 
> [/mnt/ramdisk/koen/firmware/builds/generic_glmifi/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/ath10k-ct-2018-05-30-127f9818/.built] 
> Error 2
> make[3]: Leaving directory 
> '/mnt/ramdisk/koen/firmware/builds/generic_glmifi/package/kernel/ath10k-ct'
> Command exited with non-zero status 2
> time: package/kernel/ath10k-ct/compile#0.76#0.29#1.65
> package/Makefile:107: recipe for target 
> 'package/kernel/ath10k-ct/compile' failed
> make[2]: *** [package/kernel/ath10k-ct/compile] Error 2
> make[2]: Leaving directory 
> '/mnt/ramdisk/koen/firmware/builds/generic_glmifi'
> package/Makefile:103: recipe for target 
> '/mnt/ramdisk/koen/firmware/builds/generic_glmifi/staging_dir/target-mips_24kc_musl/stamp/.package_compile' 
> failed
> make[1]: *** 
> [/mnt/ramdisk/koen/firmware/builds/generic_glmifi/staging_dir/target-mips_24kc_musl/stamp/.package_compile] 
> Error 2
> make[1]: Leaving directory 
> '/mnt/ramdisk/koen/firmware/builds/generic_glmifi'
> /mnt/ramdisk/koen/firmware/builds/generic_glmifi/include/toplevel.mk:216: 
> recipe for target 'world' failed
> make: *** [world] Error 2
>
>
Caused by "2dcd955aea (mac80211: backport and update patches for 
ath10k)" which updates regular ath10k, but not the CT flavor.
Reverting it fixes ath10k-ct build.


>
> Thanks,
>
> Koen
>


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list