==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: linux-odroid-c2 3.16.85-3 (Mon Jun 30 11:11:24 2025)
==> Retrieving sources...
  -> Found 64c8062a2c3d89d514f92299528e771b5acf726b.tar.gz
  -> Cloning c2_bootini git repo...
Cloning into bare repository '/home/leming/work/linux-odroid-c2/c2_bootini'...
  -> Found 0001-add-extra-errata-843419-build-flags.patch
  -> Found 0002-arm64-Add-audit-support.patch
  -> Found 0003-random-introduce-getrandom-2-system-call.patch
  -> Found 0004-Revert-arm64-compat-wire-up-memfd_create-syscall-for.patch
  -> Found 0005-arm64-Add-__NR_-definitions-for-compat-syscalls.patch
  -> Found 0006-arm64-compat-wire-up-memfd_create-and-getrandom-sysc.patch
  -> Found 0007-arm64-ptrace-add-PTRACE_SET_SYSCALL.patch
  -> Found 0008-arm64-ptrace-allow-tracer-to-skip-a-system-call.patch
  -> Found 0009-asm-generic-add-generic-seccomp.h-for-secure-computi.patch
  -> Found 0010-arm64-add-seccomp-syscall-for-compat-task.patch
  -> Found 0011-arm64-add-SIGSYS-siginfo-for-compat-task.patch
  -> Found 0012-arm64-add-seccomp-support.patch
  -> Found config
  -> Found linux.preset
  -> Found amlogic.service
  -> Found 60-linux.hook
  -> Found 90-linux.hook
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with md5sums...
    64c8062a2c3d89d514f92299528e771b5acf726b.tar.gz ... Passed
    c2_bootini ... Skipped
    0001-add-extra-errata-843419-build-flags.patch ... Passed
    0002-arm64-Add-audit-support.patch ... Passed
    0003-random-introduce-getrandom-2-system-call.patch ... Passed
    0004-Revert-arm64-compat-wire-up-memfd_create-syscall-for.patch ... Passed
    0005-arm64-Add-__NR_-definitions-for-compat-syscalls.patch ... Passed
    0006-arm64-compat-wire-up-memfd_create-and-getrandom-sysc.patch ... Passed
    0007-arm64-ptrace-add-PTRACE_SET_SYSCALL.patch ... Passed
    0008-arm64-ptrace-allow-tracer-to-skip-a-system-call.patch ... Passed
    0009-asm-generic-add-generic-seccomp.h-for-secure-computi.patch ... Passed
    0010-arm64-add-seccomp-syscall-for-compat-task.patch ... Passed
    0011-arm64-add-SIGSYS-siginfo-for-compat-task.patch ... Passed
    0012-arm64-add-seccomp-support.patch ... Passed
    config ... Passed
    linux.preset ... Passed
    amlogic.service ... Passed
    60-linux.hook ... Passed
    90-linux.hook ... Passed
==> Making package: linux-odroid-c2 3.16.85-3 (Mon Jun 30 11:11:34 2025)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (11) docbook-xml-4.5-11  libxslt-1.1.43-2  perl-error-0.17030-1
              perl-mailtools-2.22-1  perl-timedate-2.33-7  zlib-ng-2.2.4-1
              bc-1.08.2-1  docbook-xsl-1.79.2-9  git-2.50.0-1  inetutils-2.6-1
              xmlto-0.0.29-1

Total Installed Size:  76.48 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libxslt...
Optional dependencies for libxslt
    python: Python bindings [installed]
installing xmlto...
installing docbook-xml...
installing docbook-xsl...
installing inetutils...
installing bc...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing zlib-ng...
installing git...
Optional dependencies for git
    git-zsh-completion: upstream zsh completion
    tk: gitk and git gui
    openssh: ssh transport and crypto
    man: show help with `git command --help`
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-io-socket-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-mediawiki-api: git mediawiki support
    perl-datetime-format-iso8601: git mediawiki support
    perl-lwp-protocol-https: git mediawiki https support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4 [installed]
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
:: Running post-transaction hooks...
(1/5) Creating system user accounts...
Creating group 'git' with GID 971.
Creating user 'git' (git daemon user) with UID 971 and GID 971.
Creating group '_talkd' with GID 970.
Creating user '_talkd' (User for legacy talkd server) with UID 970 and GID 970.
(2/5) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/5) Arming ConditionNeedsUpdate...
(4/5) Checking for old perl modules...
(5/5) Updating the info directory file...
[?25h==> Retrieving sources...
  -> Found 64c8062a2c3d89d514f92299528e771b5acf726b.tar.gz
  -> Found 0001-add-extra-errata-843419-build-flags.patch
  -> Found 0002-arm64-Add-audit-support.patch
  -> Found 0003-random-introduce-getrandom-2-system-call.patch
  -> Found 0004-Revert-arm64-compat-wire-up-memfd_create-syscall-for.patch
  -> Found 0005-arm64-Add-__NR_-definitions-for-compat-syscalls.patch
  -> Found 0006-arm64-compat-wire-up-memfd_create-and-getrandom-sysc.patch
  -> Found 0007-arm64-ptrace-add-PTRACE_SET_SYSCALL.patch
  -> Found 0008-arm64-ptrace-allow-tracer-to-skip-a-system-call.patch
  -> Found 0009-asm-generic-add-generic-seccomp.h-for-secure-computi.patch
  -> Found 0010-arm64-add-seccomp-syscall-for-compat-task.patch
  -> Found 0011-arm64-add-SIGSYS-siginfo-for-compat-task.patch
  -> Found 0012-arm64-add-seccomp-support.patch
  -> Found config
  -> Found linux.preset
  -> Found amlogic.service
  -> Found 60-linux.hook
  -> Found 90-linux.hook
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting 64c8062a2c3d89d514f92299528e771b5acf726b.tar.gz with bsdtar
  -> Creating working copy of c2_bootini git repo...
Cloning into 'c2_bootini'...
done.
==> Starting prepare()...
==> Starting build()...
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2536:
In function 'dep_stack_insert',
    inlined from 'sym_check_print_recursive' at scripts/kconfig/symbol.c:1090:3,
    inlined from 'sym_check_deps' at scripts/kconfig/symbol.c:1261:3:
scripts/kconfig/symbol.c:1066:12: warning: storing the address of local variable 'cv_stack' in 'check_top' [-Wdangling-pointer=]
scripts/kconfig/symbol.c: In function 'sym_check_deps':
scripts/kconfig/symbol.c:1087:19: note: 'cv_stack' declared here
scripts/kconfig/symbol.c:1057:4: note: 'check_top' declared here
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/config/kernel.release
  WRAP    arch/arm64/include/generated/asm/bug.h
  WRAP    arch/arm64/include/generated/asm/bugs.h
  WRAP    arch/arm64/include/generated/asm/clkdev.h
  WRAP    arch/arm64/include/generated/asm/checksum.h
  WRAP    arch/arm64/include/generated/asm/cputime.h
  WRAP    arch/arm64/include/generated/asm/delay.h
  WRAP    arch/arm64/include/generated/asm/current.h
  WRAP    arch/arm64/include/generated/asm/div64.h
  WRAP    arch/arm64/include/generated/asm/dma.h
  WRAP    arch/arm64/include/generated/asm/emergency-restart.h
  WRAP    arch/arm64/include/generated/asm/early_ioremap.h
  WRAP    arch/arm64/include/generated/asm/errno.h
  WRAP    arch/arm64/include/generated/asm/ftrace.h
  WRAP    arch/arm64/include/generated/asm/hash.h
  WRAP    arch/arm64/include/generated/asm/hw_irq.h
  WRAP    arch/arm64/include/generated/asm/ioctl.h
  WRAP    arch/arm64/include/generated/asm/ioctls.h
  WRAP    arch/arm64/include/generated/asm/ipcbuf.h
  WRAP    arch/arm64/include/generated/asm/irq_regs.h
  UPD     include/config/kernel.release
  WRAP    arch/arm64/include/generated/asm/kdebug.h
  WRAP    arch/arm64/include/generated/asm/kmap_types.h
  WRAP    arch/arm64/include/generated/asm/kvm_para.h
  WRAP    arch/arm64/include/generated/asm/local.h
  WRAP    arch/arm64/include/generated/asm/local64.h
  WRAP    arch/arm64/include/generated/asm/mcs_spinlock.h
  WRAP    arch/arm64/include/generated/asm/msgbuf.h
  WRAP    arch/arm64/include/generated/asm/mman.h
  WRAP    arch/arm64/include/generated/asm/mutex.h
  WRAP    arch/arm64/include/generated/asm/pci.h
  WRAP    arch/arm64/include/generated/asm/poll.h
  WRAP    arch/arm64/include/generated/asm/preempt.h
  WRAP    arch/arm64/include/generated/asm/resource.h
  WRAP    arch/arm64/include/generated/asm/rwsem.h
  WRAP    arch/arm64/include/generated/asm/scatterlist.h
  WRAP    arch/arm64/include/generated/asm/sections.h
  WRAP    arch/arm64/include/generated/asm/segment.h
  WRAP    arch/arm64/include/generated/asm/sembuf.h
  WRAP    arch/arm64/include/generated/asm/serial.h
  WRAP    arch/arm64/include/generated/asm/shmbuf.h
  WRAP    arch/arm64/include/generated/asm/simd.h
  WRAP    arch/arm64/include/generated/asm/sizes.h
  CHK     include/generated/uapi/linux/version.h
  WRAP    arch/arm64/include/generated/asm/socket.h
  WRAP    arch/arm64/include/generated/asm/sockios.h
  WRAP    arch/arm64/include/generated/asm/swab.h
  WRAP    arch/arm64/include/generated/asm/switch_to.h
  UPD     include/generated/uapi/linux/version.h
  WRAP    arch/arm64/include/generated/asm/termios.h
  WRAP    arch/arm64/include/generated/asm/termbits.h
  WRAP    arch/arm64/include/generated/asm/topology.h
  WRAP    arch/arm64/include/generated/asm/trace_clock.h
  WRAP    arch/arm64/include/generated/asm/types.h
  WRAP    arch/arm64/include/generated/asm/unaligned.h
  WRAP    arch/arm64/include/generated/asm/user.h
  WRAP    arch/arm64/include/generated/asm/vga.h
  WRAP    arch/arm64/include/generated/asm/xor.h
  WRAP    arch/arm64/include/generated/uapi/asm/kvm_para.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  CHK     include/generated/package.h
  UPD     include/generated/package.h
  HOSTCC  scripts/basic/fixdep
  CC      kernel/bounds.s
  GEN     include/generated/bounds.h
  CC      arch/arm64/kernel/asm-offsets.s
  GEN     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/package.h
  HOSTCC  scripts/dtc/checks.o
grep: warning: stray \ before #
  HOSTCC  scripts/dtc/data.o
  CC      scripts/mod/empty.o
  CC      kernel/bounds.s
  HOSTCC  scripts/mod/mk_elfconfig
  HOSTCC  scripts/kallsyms
  GEN     include/generated/bounds.h
  CC      arch/arm64/kernel/asm-offsets.s
  SHIPPED scripts/dtc/dtc-lexer.lex.c
  SHIPPED scripts/dtc/dtc-parser.tab.h
  SHIPPED scripts/dtc/dtc-parser.tab.c
  HOSTCC  scripts/dtc/dtc.o
  HOSTCC  scripts/pnmtologo
  HOSTCC  scripts/conmakehash
  CC      scripts/mod/devicetable-offsets.s
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/dtc/flattree.o
  HOSTCC  scripts/mod/sumversion.o
  GEN     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  HOSTCC  scripts/dtc/fstree.o
  HOSTCC  scripts/dtc/livetree.o
  GEN     scripts/mod/devicetable-offsets.h
  HOSTCC  scripts/bin2c
  HOSTCC  scripts/dtc/srcpos.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/dtc/util.o
  HOSTCC  scripts/recordmcount
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  HOSTCC  scripts/sortextable
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  HOSTLD  scripts/mod/modpost
  HOSTLD  scripts/dtc/dtc
/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x0): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x68): first defined here
collect2: error: ld returned 1 exit status
distcc[5663] ERROR: compile (null) on localhost failed
make[2]: *** [scripts/Makefile.host:127: scripts/dtc/dtc] Error 1
make[1]: *** [scripts/Makefile.build:404: scripts/dtc] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:563: scripts] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/leming/armv8/leming/build