Bug 13956

Summary: linux-yocto edgerouter build race (5.4 kernel)
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Richard Purdie <richard.purdie>
Component: kernelAssignee: Bruce Ashfield <bruce.ashfield>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Undecided CC: tom.zanussi
Version: 3.1   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Richard Purdie 2020-06-24 04:28:15 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/111/builds/633

NOTE: Running task 8396 of 8762 (/home/pokybuild/yocto-worker/edgerouter-alt/build/meta/recipes-kernel/linux/linux-yocto_5.4.bb:do_kernel_configcheck)
NOTE: recipe linux-yocto-5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0: task do_kernel_configcheck: Started
NOTE: recipe linux-yocto-5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0: task do_kernel_configcheck: Succeeded
NOTE: Running task 8397 of 8762 (/home/pokybuild/yocto-worker/edgerouter-alt/build/meta/recipes-kernel/linux/linux-yocto_5.4.bb:do_compile)
NOTE: recipe linux-yocto-5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0: task do_compile: Started
ERROR: linux-yocto-5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0 do_compile: oe_runmake failed
ERROR: linux-yocto-5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0 do_compile: Execution of '/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work/edgerouter-poky-linux/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0/temp/run.do_compile.8863' failed with exit code 1:
  GEN     Makefile
scripts/kconfig/conf  --syncconfig Kconfig
  GEN     Makefile
  SYSTBL  arch/mips/include/generated/asm/syscall_table_32_o32.h
  SYSTBL  arch/mips/include/generated/asm/syscall_table_64_n32.h
  SYSTBL  arch/mips/include/generated/asm/syscall_table_64_n64.h
  SYSTBL  arch/mips/include/generated/asm/syscall_table_64_o32.h
  SYSHDR  arch/mips/include/generated/uapi/asm/unistd_n64.h
  SYSHDR  arch/mips/include/generated/uapi/asm/unistd_n32.h
  SYSHDR  arch/mips/include/generated/uapi/asm/unistd_o32.h
  SYSNR   arch/mips/include/generated/uapi/asm/unistd_nr_n32.h
  SYSNR   arch/mips/include/generated/uapi/asm/unistd_nr_n64.h
  SYSNR   arch/mips/include/generated/uapi/asm/unistd_nr_o32.h
  WRAP    arch/mips/include/generated/uapi/asm/bpf_perf_event.h
  WRAP    arch/mips/include/generated/uapi/asm/ipcbuf.h
  HOSTCC  arch/mips/tools/elf-entry
  HOSTCC  scripts/dtc/dtc.o
  HOSTCC  scripts/dtc/flattree.o
  HOSTCC  scripts/dtc/fstree.o
  HOSTCC  scripts/dtc/data.o
  HOSTCC  scripts/dtc/livetree.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/dtc/srcpos.o
  HOSTCC  scripts/dtc/checks.o
  HOSTCC  scripts/dtc/util.o
  LEX     scripts/dtc/dtc-lexer.lex.c
  WRAP    arch/mips/include/generated/asm/current.h
  YACC    scripts/dtc/dtc-parser.tab.[ch]
  WRAP    arch/mips/include/generated/asm/device.h
  WRAP    arch/mips/include/generated/asm/dma-contiguous.h
  UPD     include/config/kernel.release
  WRAP    arch/mips/include/generated/asm/emergency-restart.h
  WRAP    arch/mips/include/generated/asm/export.h
  WRAP    arch/mips/include/generated/asm/irq_work.h
  WRAP    arch/mips/include/generated/asm/local64.h
  WRAP    arch/mips/include/generated/asm/mcs_spinlock.h
  WRAP    arch/mips/include/generated/asm/mm-arch-hooks.h
  UPD     include/generated/uapi/linux/version.h
  WRAP    arch/mips/include/generated/asm/msi.h
  WRAP    arch/mips/include/generated/asm/parport.h
  WRAP    arch/mips/include/generated/asm/percpu.h
  WRAP    arch/mips/include/generated/asm/preempt.h
  WRAP    arch/mips/include/generated/asm/qrwlock.h
  WRAP    arch/mips/include/generated/asm/qspinlock.h
  WRAP    arch/mips/include/generated/asm/sections.h
  WRAP    arch/mips/include/generated/asm/trace_clock.h
  WRAP    arch/mips/include/generated/asm/unaligned.h
  WRAP    arch/mips/include/generated/asm/user.h
  WRAP    arch/mips/include/generated/asm/word-at-a-time.h
  WRAP    arch/mips/include/generated/asm/xor.h
  WRAP    arch/mips/include/generated/asm/simd.h
  UPD     include/generated/utsrelease.h
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  HOSTCC  arch/mips/boot/tools/relocs_32.o
  HOSTCC  arch/mips/boot/tools/relocs_64.o
  HOSTCC  arch/mips/boot/tools/relocs_main.o
  HOSTLD  arch/mips/boot/tools/relocs
  HOSTLD  scripts/dtc/dtc
/usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x20): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [scripts/Makefile.host:116: scripts/dtc/dtc] Error 1
make[1]: *** [/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work-shared/edgerouter/kernel-source/Makefile:1263: scripts_dtc] Error 2
make: *** [/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work-shared/edgerouter/kernel-source/Makefile:179: sub-make] Error 2
WARNING: /home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work/edgerouter-poky-linux/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0/temp/run.do_compile.8863:1 exit 1 from 'exit 1'

ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work/edgerouter-poky-linux/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0/temp/log.do_compile.8863
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: KBUILD_BUILD_TIMESTAMP: Thu Feb 20 13:41:08 UTC 2020
| NOTE: make -j 16 HOSTCC=gcc  -isystem/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work/edgerouter-poky-linux/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work/edgerouter-poky-linux/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0/recipe-sysroot-native/usr/lib                         -L/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work/edgerouter-poky-linux/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work/edgerouter-poky-linux/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work/edgerouter-poky-linux/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0/recipe-sysroot-native/lib                         -Wl,-rpath,/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work/edgerouter-poky-linux/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work/edgerouter-poky-linux/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 HOSTCPP=gcc  -E vmlinux CC=mips64-poky-linux-gcc  -fuse-ld=bfd -fmacro-prefix-map=/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work/edgerouter-poky-linux/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0=/usr/src/debug/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0                      -fdebug-prefix-map=/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work/edgerouter-poky-linux/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0=/usr/src/debug/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0                      -fdebug-prefix-map=/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work/edgerouter-poky-linux/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work/edgerouter-poky-linux/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0/recipe-sysroot-native=  -fdebug-prefix-map=/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work-shared/edgerouter/kernel-source=/usr/src/kernel   LD=mips64-poky-linux-ld.bfd
|   GEN     Makefile
| scripts/kconfig/conf  --syncconfig Kconfig
|   GEN     Makefile
|   SYSTBL  arch/mips/include/generated/asm/syscall_table_32_o32.h
|   SYSTBL  arch/mips/include/generated/asm/syscall_table_64_n32.h
|   SYSTBL  arch/mips/include/generated/asm/syscall_table_64_n64.h
|   SYSTBL  arch/mips/include/generated/asm/syscall_table_64_o32.h
|   SYSHDR  arch/mips/include/generated/uapi/asm/unistd_n64.h
|   SYSHDR  arch/mips/include/generated/uapi/asm/unistd_n32.h
|   SYSHDR  arch/mips/include/generated/uapi/asm/unistd_o32.h
|   SYSNR   arch/mips/include/generated/uapi/asm/unistd_nr_n32.h
|   SYSNR   arch/mips/include/generated/uapi/asm/unistd_nr_n64.h
|   SYSNR   arch/mips/include/generated/uapi/asm/unistd_nr_o32.h
|   WRAP    arch/mips/include/generated/uapi/asm/bpf_perf_event.h
|   WRAP    arch/mips/include/generated/uapi/asm/ipcbuf.h
|   HOSTCC  arch/mips/tools/elf-entry
|   HOSTCC  scripts/dtc/dtc.o
|   HOSTCC  scripts/dtc/flattree.o
|   HOSTCC  scripts/dtc/fstree.o
|   HOSTCC  scripts/dtc/data.o
|   HOSTCC  scripts/dtc/livetree.o
|   HOSTCC  scripts/dtc/treesource.o
|   HOSTCC  scripts/dtc/srcpos.o
|   HOSTCC  scripts/dtc/checks.o
|   HOSTCC  scripts/dtc/util.o
|   LEX     scripts/dtc/dtc-lexer.lex.c
|   WRAP    arch/mips/include/generated/asm/current.h
|   YACC    scripts/dtc/dtc-parser.tab.[ch]
|   WRAP    arch/mips/include/generated/asm/device.h
|   WRAP    arch/mips/include/generated/asm/dma-contiguous.h
|   UPD     include/config/kernel.release
|   WRAP    arch/mips/include/generated/asm/emergency-restart.h
|   WRAP    arch/mips/include/generated/asm/export.h
|   WRAP    arch/mips/include/generated/asm/irq_work.h
|   WRAP    arch/mips/include/generated/asm/local64.h
|   WRAP    arch/mips/include/generated/asm/mcs_spinlock.h
|   WRAP    arch/mips/include/generated/asm/mm-arch-hooks.h
|   UPD     include/generated/uapi/linux/version.h
|   WRAP    arch/mips/include/generated/asm/msi.h
|   WRAP    arch/mips/include/generated/asm/parport.h
|   WRAP    arch/mips/include/generated/asm/percpu.h
|   WRAP    arch/mips/include/generated/asm/preempt.h
|   WRAP    arch/mips/include/generated/asm/qrwlock.h
|   WRAP    arch/mips/include/generated/asm/qspinlock.h
|   WRAP    arch/mips/include/generated/asm/sections.h
|   WRAP    arch/mips/include/generated/asm/trace_clock.h
|   WRAP    arch/mips/include/generated/asm/unaligned.h
|   WRAP    arch/mips/include/generated/asm/user.h
|   WRAP    arch/mips/include/generated/asm/word-at-a-time.h
|   WRAP    arch/mips/include/generated/asm/xor.h
|   WRAP    arch/mips/include/generated/asm/simd.h
|   UPD     include/generated/utsrelease.h
|   HOSTCC  scripts/dtc/dtc-parser.tab.o
|   HOSTCC  scripts/dtc/dtc-lexer.lex.o
|   HOSTCC  arch/mips/boot/tools/relocs_32.o
|   HOSTCC  arch/mips/boot/tools/relocs_64.o
|   HOSTCC  arch/mips/boot/tools/relocs_main.o
|   HOSTLD  arch/mips/boot/tools/relocs
|   HOSTLD  scripts/dtc/dtc
| /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x20): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
| collect2: error: ld returned 1 exit status
| make[2]: *** [scripts/Makefile.host:116: scripts/dtc/dtc] Error 1
| make[1]: *** [/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work-shared/edgerouter/kernel-source/Makefile:1263: scripts_dtc] Error 2
| make: *** [/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work-shared/edgerouter/kernel-source/Makefile:179: sub-make] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work/edgerouter-poky-linux/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0/temp/run.do_compile.8863:1 exit 1 from 'exit 1'
| ERROR: Execution of '/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work/edgerouter-poky-linux/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0/temp/run.do_compile.8863' failed with exit code 1:
|   GEN     Makefile
| scripts/kconfig/conf  --syncconfig Kconfig
|   GEN     Makefile
|   SYSTBL  arch/mips/include/generated/asm/syscall_table_32_o32.h
|   SYSTBL  arch/mips/include/generated/asm/syscall_table_64_n32.h
|   SYSTBL  arch/mips/include/generated/asm/syscall_table_64_n64.h
|   SYSTBL  arch/mips/include/generated/asm/syscall_table_64_o32.h
|   SYSHDR  arch/mips/include/generated/uapi/asm/unistd_n64.h
|   SYSHDR  arch/mips/include/generated/uapi/asm/unistd_n32.h
|   SYSHDR  arch/mips/include/generated/uapi/asm/unistd_o32.h
|   SYSNR   arch/mips/include/generated/uapi/asm/unistd_nr_n32.h
|   SYSNR   arch/mips/include/generated/uapi/asm/unistd_nr_n64.h
|   SYSNR   arch/mips/include/generated/uapi/asm/unistd_nr_o32.h
|   WRAP    arch/mips/include/generated/uapi/asm/bpf_perf_event.h
|   WRAP    arch/mips/include/generated/uapi/asm/ipcbuf.h
|   HOSTCC  arch/mips/tools/elf-entry
|   HOSTCC  scripts/dtc/dtc.o
|   HOSTCC  scripts/dtc/flattree.o
|   HOSTCC  scripts/dtc/fstree.o
|   HOSTCC  scripts/dtc/data.o
|   HOSTCC  scripts/dtc/livetree.o
|   HOSTCC  scripts/dtc/treesource.o
|   HOSTCC  scripts/dtc/srcpos.o
|   HOSTCC  scripts/dtc/checks.o
|   HOSTCC  scripts/dtc/util.o
|   LEX     scripts/dtc/dtc-lexer.lex.c
|   WRAP    arch/mips/include/generated/asm/current.h
|   YACC    scripts/dtc/dtc-parser.tab.[ch]
|   WRAP    arch/mips/include/generated/asm/device.h
|   WRAP    arch/mips/include/generated/asm/dma-contiguous.h
|   UPD     include/config/kernel.release
|   WRAP    arch/mips/include/generated/asm/emergency-restart.h
|   WRAP    arch/mips/include/generated/asm/export.h
|   WRAP    arch/mips/include/generated/asm/irq_work.h
|   WRAP    arch/mips/include/generated/asm/local64.h
|   WRAP    arch/mips/include/generated/asm/mcs_spinlock.h
|   WRAP    arch/mips/include/generated/asm/mm-arch-hooks.h
|   UPD     include/generated/uapi/linux/version.h
|   WRAP    arch/mips/include/generated/asm/msi.h
|   WRAP    arch/mips/include/generated/asm/parport.h
|   WRAP    arch/mips/include/generated/asm/percpu.h
|   WRAP    arch/mips/include/generated/asm/preempt.h
|   WRAP    arch/mips/include/generated/asm/qrwlock.h
|   WRAP    arch/mips/include/generated/asm/qspinlock.h
|   WRAP    arch/mips/include/generated/asm/sections.h
|   WRAP    arch/mips/include/generated/asm/trace_clock.h
|   WRAP    arch/mips/include/generated/asm/unaligned.h
|   WRAP    arch/mips/include/generated/asm/user.h
|   WRAP    arch/mips/include/generated/asm/word-at-a-time.h
|   WRAP    arch/mips/include/generated/asm/xor.h
|   WRAP    arch/mips/include/generated/asm/simd.h
|   UPD     include/generated/utsrelease.h
|   HOSTCC  scripts/dtc/dtc-parser.tab.o
|   HOSTCC  scripts/dtc/dtc-lexer.lex.o
|   HOSTCC  arch/mips/boot/tools/relocs_32.o
|   HOSTCC  arch/mips/boot/tools/relocs_64.o
|   HOSTCC  arch/mips/boot/tools/relocs_main.o
|   HOSTLD  arch/mips/boot/tools/relocs
|   HOSTLD  scripts/dtc/dtc
| /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x20): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
| collect2: error: ld returned 1 exit status
| make[2]: *** [scripts/Makefile.host:116: scripts/dtc/dtc] Error 1
| make[1]: *** [/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work-shared/edgerouter/kernel-source/Makefile:1263: scripts_dtc] Error 2
| make: *** [/home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work-shared/edgerouter/kernel-source/Makefile:179: sub-make] Error 2
| WARNING: /home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/work/edgerouter-poky-linux/linux-yocto/5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0/temp/run.do_compile.8863:1 exit 1 from 'exit 1'
| 
NOTE: recipe linux-yocto-5.4.20+gitAUTOINC+aafb8f095e_f4d7dbafb1-r0: task do_compile: Failed
ERROR: Task (/home/pokybuild/yocto-worker/edgerouter-alt/build/meta/recipes-kernel/linux/linux-yocto_5.4.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 8397 tasks of which 8004 didn't need to be rerun and 1 failed.
NOTE: The errors for this build are stored in /home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/log/error-report/error_report_20200623221817.txt
You can send the errors to a reports server by running:
  send-error-report /home/pokybuild/yocto-worker/edgerouter-alt/build/build/tmp/log/error-report/error_report_20200623221817.txt [-s server]
NOTE: The contents of these logs will be posted in public if you use the above command with the default server. Please ensure you remove any identifying or proprietary information when prompted before sending.

Summary: 1 task failed:
  /home/pokybuild/yocto-worker/edgerouter-alt/build/meta/recipes-kernel/linux/linux-yocto_5.4.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Comment 1 Bruce Ashfield 2020-06-24 06:38:24 UTC
This is the same as bug 13924, I can duplicate the bug if you agree.
Comment 2 Richard Purdie 2020-06-25 02:05:02 UTC
(In reply to comment #1)
> This is the same as bug 13924, I can duplicate the bug if you agree.

*** This bug has been marked as a duplicate of bug 13924 ***