Mock Version: 4.1
Mock Version: 4.1
Mock Version: 4.1
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/crash-gcore-command.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-45273-2059/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffff8e90a710>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/crash-gcore-command.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: aarch64
Building for target aarch64
Wrote: /builddir/build/SRPMS/crash-gcore-command-1.6.3-3.ocs23.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/crash-gcore-command.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-45273-2059/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffff8e90a710>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/crash-gcore-command.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.82cmed
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf crash-gcore-1.6.3
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/crash-gcore-command-1.6.3.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd crash-gcore-1.6.3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/crash-gcore-1.6.3-coredump-use-MEMBER_-OFFSET-SIZE-instead-of-GCORE_-O.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/crash-gcore-1.6.3-gcore-defs-remove-definitions-and-initializations-fo.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/crash-gcore-1.6.3-gcore-fix-memory-allocation-failure-during-processin.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/crash-gcore-1.6.3-x86-Fix-failure-of-collecting-vsyscall-mapping-due-t.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/crash-gcore-1.6.3-coredump-fix-segmentation-fault-caused-by-type-misma.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/crash-gcore-1.6.3-elf-fix-warning-message-caused-by-type-mismatch-of-o.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/crash-gcore-1.6.3-coredump-fix-unexpected-truncation-of-generated-core.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/crash-gcore-1.6.3-gcore.mk-fix-mismatch-of-_FILE_OFFSET_BITS-when-buil.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RAJmZh
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd crash-gcore-1.6.3
+ /usr/bin/make -O -j8 V=1 VERBOSE=1 -C src -f gcore.mk
make: Entering directory '/builddir/build/BUILD/crash-gcore-1.6.3/src'
make[1]: Entering directory '/builddir/build/BUILD/crash-gcore-1.6.3/src'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -I/usr/include/crash -I./libgcore -fPIC -DARM64 -DVERSION='"1.6.3"' -DRELEASE_DATE='"7 Dec 2021"' -DPERIOD='"2010, 2011, 2012, 2013, 2014, 2016, 2017, 2018, 2019, 2020, 2021"' -D_SYS_UCONTEXT_H=1 -c -o libgcore/gcore_verbose.o libgcore/gcore_verbose.c
make[1]: Leaving directory '/builddir/build/BUILD/crash-gcore-1.6.3/src'
make[1]: Entering directory '/builddir/build/BUILD/crash-gcore-1.6.3/src'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -I/usr/include/crash -I./libgcore -fPIC -DARM64 -DVERSION='"1.6.3"' -DRELEASE_DATE='"7 Dec 2021"' -DPERIOD='"2010, 2011, 2012, 2013, 2014, 2016, 2017, 2018, 2019, 2020, 2021"' -D_SYS_UCONTEXT_H=1 -c -o libgcore/gcore_elf_struct.o libgcore/gcore_elf_struct.c
make[1]: Leaving directory '/builddir/build/BUILD/crash-gcore-1.6.3/src'
make[1]: Entering directory '/builddir/build/BUILD/crash-gcore-1.6.3/src'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -I/usr/include/crash -I./libgcore -fPIC -DARM64 -DVERSION='"1.6.3"' -DRELEASE_DATE='"7 Dec 2021"' -DPERIOD='"2010, 2011, 2012, 2013, 2014, 2016, 2017, 2018, 2019, 2020, 2021"' -D_SYS_UCONTEXT_H=1 -c -o libgcore/gcore_arm64.o libgcore/gcore_arm64.c
make[1]: Leaving directory '/builddir/build/BUILD/crash-gcore-1.6.3/src'
make[1]: Entering directory '/builddir/build/BUILD/crash-gcore-1.6.3/src'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -I/usr/include/crash -I./libgcore -fPIC -DARM64 -DVERSION='"1.6.3"' -DRELEASE_DATE='"7 Dec 2021"' -DPERIOD='"2010, 2011, 2012, 2013, 2014, 2016, 2017, 2018, 2019, 2020, 2021"' -D_SYS_UCONTEXT_H=1 -c -o libgcore/gcore_coredump_table.o libgcore/gcore_coredump_table.c
make[1]: Leaving directory '/builddir/build/BUILD/crash-gcore-1.6.3/src'
make[1]: Entering directory '/builddir/build/BUILD/crash-gcore-1.6.3/src'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -I/usr/include/crash -I./libgcore -fPIC -DARM64 -DVERSION='"1.6.3"' -DRELEASE_DATE='"7 Dec 2021"' -DPERIOD='"2010, 2011, 2012, 2013, 2014, 2016, 2017, 2018, 2019, 2020, 2021"' -D_SYS_UCONTEXT_H=1 -c -o libgcore/gcore_global_data.o libgcore/gcore_global_data.c
make[1]: Leaving directory '/builddir/build/BUILD/crash-gcore-1.6.3/src'
make[1]: Entering directory '/builddir/build/BUILD/crash-gcore-1.6.3/src'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -I/usr/include/crash -I./libgcore -fPIC -DARM64 -DVERSION='"1.6.3"' -DRELEASE_DATE='"7 Dec 2021"' -DPERIOD='"2010, 2011, 2012, 2013, 2014, 2016, 2017, 2018, 2019, 2020, 2021"' -D_SYS_UCONTEXT_H=1 -c -o libgcore/gcore_coredump.o libgcore/gcore_coredump.c
make[1]: Leaving directory '/builddir/build/BUILD/crash-gcore-1.6.3/src'
make[1]: Entering directory '/builddir/build/BUILD/crash-gcore-1.6.3/src'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -I/usr/include/crash -I./libgcore -fPIC -DARM64 -DVERSION='"1.6.3"' -DRELEASE_DATE='"7 Dec 2021"' -DPERIOD='"2010, 2011, 2012, 2013, 2014, 2016, 2017, 2018, 2019, 2020, 2021"' -D_SYS_UCONTEXT_H=1 -c -o libgcore/gcore_dumpfilter.o libgcore/gcore_dumpfilter.c
make[1]: Leaving directory '/builddir/build/BUILD/crash-gcore-1.6.3/src'
make[1]: Entering directory '/builddir/build/BUILD/crash-gcore-1.6.3/src'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -I/usr/include/crash -I./libgcore -fPIC -DARM64 -DVERSION='"1.6.3"' -DRELEASE_DATE='"7 Dec 2021"' -DPERIOD='"2010, 2011, 2012, 2013, 2014, 2016, 2017, 2018, 2019, 2020, 2021"' -D_SYS_UCONTEXT_H=1 -c -o libgcore/gcore_regset.o libgcore/gcore_regset.c
make[1]: Leaving directory '/builddir/build/BUILD/crash-gcore-1.6.3/src'
make: Leaving directory '/builddir/build/BUILD/crash-gcore-1.6.3/src'
In file included from libgcore/gcore_verbose.c:16:
/usr/include/crash/defs.h:5516:8: error: conflicting types for 'strlcpy'; have 'size_t(char *, char *, size_t)' {aka 'long unsigned int(char *, char *, long unsigned int)'}
 5516 | size_t strlcpy(char *, char *, size_t);
      |        ^~~~~~~
In file included from /usr/include/features.h:503,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/include/crash/defs.h:22:
/usr/include/bits/string_fortified.h:150:1: note: previous definition of 'strlcpy' with type 'size_t(char * restrict,  const char * restrict,  size_t)' {aka 'long unsigned int(char * restrict,  const char * restrict,  long unsigned int)'}
  150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src,
      | ^~~~~
make[1]: *** [gcore.mk:119: libgcore/gcore_verbose.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from libgcore/gcore_elf_struct.c:16:
/usr/include/crash/defs.h:5516:8: error: conflicting types for 'strlcpy'; have 'size_t(char *, char *, size_t)' {aka 'long unsigned int(char *, char *, long unsigned int)'}
 5516 | size_t strlcpy(char *, char *, size_t);
      |        ^~~~~~~
In file included from /usr/include/features.h:503,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/include/crash/defs.h:22:
/usr/include/bits/string_fortified.h:150:1: note: previous definition of 'strlcpy' with type 'size_t(char * restrict,  const char * restrict,  size_t)' {aka 'long unsigned int(char * restrict,  const char * restrict,  long unsigned int)'}
  150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src,
      | ^~~~~
make[1]: *** [gcore.mk:119: libgcore/gcore_elf_struct.o] Error 1
In file included from libgcore/gcore_arm64.c:18:
/usr/include/crash/defs.h:5516:8: error: conflicting types for 'strlcpy'; have 'size_t(char *, char *, size_t)' {aka 'long unsigned int(char *, char *, long unsigned int)'}
 5516 | size_t strlcpy(char *, char *, size_t);
      |        ^~~~~~~
In file included from /usr/include/features.h:503,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/include/crash/defs.h:22:
/usr/include/bits/string_fortified.h:150:1: note: previous definition of 'strlcpy' with type 'size_t(char * restrict,  const char * restrict,  size_t)' {aka 'long unsigned int(char * restrict,  const char * restrict,  long unsigned int)'}
  150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src,
      | ^~~~~
make[1]: *** [gcore.mk:119: libgcore/gcore_arm64.o] Error 1
In file included from libgcore/gcore_coredump_table.c:16:
/usr/include/crash/defs.h:5516:8: error: conflicting types for 'strlcpy'; have 'size_t(char *, char *, size_t)' {aka 'long unsigned int(char *, char *, long unsigned int)'}
 5516 | size_t strlcpy(char *, char *, size_t);
      |        ^~~~~~~
In file included from /usr/include/features.h:503,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/include/crash/defs.h:22:
/usr/include/bits/string_fortified.h:150:1: note: previous definition of 'strlcpy' with type 'size_t(char * restrict,  const char * restrict,  size_t)' {aka 'long unsigned int(char * restrict,  const char * restrict,  long unsigned int)'}
  150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src,
      | ^~~~~
make[1]: *** [gcore.mk:119: libgcore/gcore_coredump_table.o] Error 1
In file included from libgcore/gcore_global_data.c:16:
/usr/include/crash/defs.h:5516:8: error: conflicting types for 'strlcpy'; have 'size_t(char *, char *, size_t)' {aka 'long unsigned int(char *, char *, long unsigned int)'}
 5516 | size_t strlcpy(char *, char *, size_t);
      |        ^~~~~~~
In file included from /usr/include/features.h:503,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/include/crash/defs.h:22:
/usr/include/bits/string_fortified.h:150:1: note: previous definition of 'strlcpy' with type 'size_t(char * restrict,  const char * restrict,  size_t)' {aka 'long unsigned int(char * restrict,  const char * restrict,  long unsigned int)'}
  150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src,
      | ^~~~~
make[1]: *** [gcore.mk:119: libgcore/gcore_global_data.o] Error 1
In file included from libgcore/gcore_coredump.c:16:
/usr/include/crash/defs.h:5516:8: error: conflicting types for 'strlcpy'; have 'size_t(char *, char *, size_t)' {aka 'long unsigned int(char *, char *, long unsigned int)'}
 5516 | size_t strlcpy(char *, char *, size_t);
      |        ^~~~~~~
In file included from /usr/include/features.h:503,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/include/crash/defs.h:22:
/usr/include/bits/string_fortified.h:150:1: note: previous definition of 'strlcpy' with type 'size_t(char * restrict,  const char * restrict,  size_t)' {aka 'long unsigned int(char * restrict,  const char * restrict,  long unsigned int)'}
  150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src,
      | ^~~~~
make[1]: *** [gcore.mk:119: libgcore/gcore_coredump.o] Error 1
In file included from libgcore/gcore_dumpfilter.c:15:
/usr/include/crash/defs.h:5516:8: error: conflicting types for 'strlcpy'; have 'size_t(char *, char *, size_t)' {aka 'long unsigned int(char *, char *, long unsigned int)'}
 5516 | size_t strlcpy(char *, char *, size_t);
      |        ^~~~~~~
In file included from /usr/include/features.h:503,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/include/crash/defs.h:22:
/usr/include/bits/string_fortified.h:150:1: note: previous definition of 'strlcpy' with type 'size_t(char * restrict,  const char * restrict,  size_t)' {aka 'long unsigned int(char * restrict,  const char * restrict,  long unsigned int)'}
  150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src,
      | ^~~~~
make[1]: *** [gcore.mk:119: libgcore/gcore_dumpfilter.o] Error 1
In file included from libgcore/gcore_regset.c:16:
/usr/include/crash/defs.h:5516:8: error: conflicting types for 'strlcpy'; have 'size_t(char *, char *, size_t)' {aka 'long unsigned int(char *, char *, long unsigned int)'}
 5516 | size_t strlcpy(char *, char *, size_t);
      |        ^~~~~~~
In file included from /usr/include/features.h:503,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/include/crash/defs.h:22:
/usr/include/bits/string_fortified.h:150:1: note: previous definition of 'strlcpy' with type 'size_t(char * restrict,  const char * restrict,  size_t)' {aka 'long unsigned int(char * restrict,  const char * restrict,  long unsigned int)'}
  150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src,
      | ^~~~~
make[1]: *** [gcore.mk:119: libgcore/gcore_regset.o] Error 1
make: *** [gcore.mk:111: gcore.so] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.RAJmZh (%build)
    Bad exit status from /var/tmp/rpm-tmp.RAJmZh (%build)
RPM build errors:
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/crash-gcore-command.spec\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/crash-gcore-command.spec