Mock Version: 5.6
Mock Version: 5.6
Mock Version: 5.6
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ltrace.spec'], chrootPath='/var/lib/mock/f41-build-854341-166808/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 0x3f938ada70>timeout=604800uid=992gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ajt2v8zq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ajt2v8zq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'acd04a193d5e4dae85c6bb318f252971', '-D', '/var/lib/mock/f41-build-854341-166808/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ajt2v8zq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ltrace.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: riscv64
Building for target riscv64
warning: bogus date in %changelog: Fri May 03 2022 Carlos O'Donell <carlos@redhat.com> - 0.7.91-45
setting SOURCE_DATE_EPOCH=1721260800
Wrote: /builddir/build/SRPMS/ltrace-0.7.91-51.fc41.src.rpm
RPM build warnings:
    bogus date in %changelog: Fri May 03 2022 Carlos O'Donell <carlos@redhat.com> - 0.7.91-45
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ltrace.spec'], chrootPath='/var/lib/mock/f41-build-854341-166808/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 0x3f938ada70>timeout=604800uid=992gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ajt2v8zq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ajt2v8zq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0d3bcfb8e3de425c978007e76bd18d49', '-D', '/var/lib/mock/f41-build-854341-166808/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ajt2v8zq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ltrace.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: riscv64
Building for target riscv64
warning: bogus date in %changelog: Fri May 03 2022 Carlos O'Donell <carlos@redhat.com> - 0.7.91-45
setting SOURCE_DATE_EPOCH=1721260800
Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.jKAYtT
+ umask 022
+ cd /builddir/build/BUILD/ltrace-0.7.91-build
+ test -d /builddir/build/BUILD/ltrace-0.7.91-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/ltrace-0.7.91-build
+ /usr/bin/rm -rf /builddir/build/BUILD/ltrace-0.7.91-build
+ /usr/bin/mkdir -p /builddir/build/BUILD/ltrace-0.7.91-build
+ /usr/bin/mkdir -p /builddir/build/BUILD/ltrace-0.7.91-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.P7GbZw
+ umask 022
+ cd /builddir/build/BUILD/ltrace-0.7.91-build
+ cd /builddir/build/BUILD/ltrace-0.7.91-build
+ rm -rf ltrace-0.7.91
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ltrace-0.7.91.tar.bz2
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ltrace-0.7.91
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (ltrace-0.7.91-arm.patch):'
Patch #0 (ltrace-0.7.91-arm.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file ltrace-elf.c
patching file ltrace-elf.h
patching file sysdeps/linux-gnu/arm/arch.h
patching file sysdeps/linux-gnu/arm/fetch.c
patching file sysdeps/linux-gnu/arm/plt.c
patching file sysdeps/linux-gnu/ppc/plt.c
Patch #1 (ltrace-0.7.91-account_execl.patch):
+ echo 'Patch #1 (ltrace-0.7.91-account_execl.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file Makefile.am
patching file common.h
patching file forward.h
patching file handle_event.c
patching file libltrace.c
Hunk #1 succeeded at 31 (offset -1 lines).
patching file options.h
patching file output.c
patching file output.h
patching file proc.h
patching file summary.c
patching file summary.h
patching file testsuite/ltrace.minor/trace-exec.exp
+ echo 'Patch #2 (ltrace-0.7.91-x86_64-irelative.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
Patch #2 (ltrace-0.7.91-x86_64-irelative.patch):
patching file sysdeps/linux-gnu/x86/arch.h
patching file sysdeps/linux-gnu/x86/plt.c
Patch #3 (ltrace-0.7.91-s390-fetch-syscall.patch):
+ echo 'Patch #3 (ltrace-0.7.91-s390-fetch-syscall.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file sysdeps/linux-gnu/s390/fetch.c
Patch #4 (ltrace-0.7.91-s390-irelative.patch):
+ echo 'Patch #4 (ltrace-0.7.91-s390-irelative.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file sysdeps/linux-gnu/s390/arch.h
patching file sysdeps/linux-gnu/s390/plt.c
Patch #5 (ltrace-0.7.91-ppc64-fork.patch):
+ echo 'Patch #5 (ltrace-0.7.91-ppc64-fork.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file sysdeps/linux-gnu/ppc/plt.c
Patch #6 (ltrace-0.7.91-breakpoint-on_install.patch):
+ echo 'Patch #6 (ltrace-0.7.91-breakpoint-on_install.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file breakpoint.h
patching file breakpoints.c
+ echo 'Patch #7 (ltrace-0.7.91-ppc64-unprelink.patch):'
Patch #7 (ltrace-0.7.91-ppc64-unprelink.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file sysdeps/linux-gnu/ppc/arch.h
patching file sysdeps/linux-gnu/ppc/plt.c
Patch #8 (ltrace-0.7.91-man.patch):
+ echo 'Patch #8 (ltrace-0.7.91-man.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file options.c
patching file ltrace.1
Patch #9 (ltrace-0.7.91-cant_open.patch):
+ echo 'Patch #9 (ltrace-0.7.91-cant_open.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file libltrace.c
patching file ltrace-elf.c
Patch #10 (ltrace-0.7.91-aarch64.patch):
+ echo 'Patch #10 (ltrace-0.7.91-aarch64.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file README
patching file configure.ac
Hunk #2 succeeded at 346 (offset -53 lines).
patching file etc/libc.so.conf
Hunk #2 succeeded at 238 (offset -2 lines).
Hunk #3 succeeded at 361 (offset -2 lines).
patching file etc/syscalls.conf
patching file sysdeps/linux-gnu/Makefile.am
patching file sysdeps/linux-gnu/aarch64/Makefile.am
patching file sysdeps/linux-gnu/aarch64/arch.h
patching file sysdeps/linux-gnu/aarch64/fetch.c
patching file sysdeps/linux-gnu/aarch64/plt.c
patching file sysdeps/linux-gnu/aarch64/ptrace.h
patching file sysdeps/linux-gnu/aarch64/regs.c
patching file sysdeps/linux-gnu/aarch64/signalent.h
patching file sysdeps/linux-gnu/aarch64/syscallent.h
patching file sysdeps/linux-gnu/aarch64/trace.c
patching file testsuite/ltrace.main/system_call_params.exp
patching file testsuite/ltrace.main/system_calls.c
patching file testsuite/ltrace.main/system_calls.exp
patching file testsuite/ltrace.minor/trace-clone.c
Patch #11 (ltrace-0.7.2-e_machine.patch):
+ echo 'Patch #11 (ltrace-0.7.2-e_machine.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file proc.c
Hunk #1 succeeded at 220 (offset 26 lines).
Patch #13 (ltrace-0.7.91-ppc64le-support.patch):
+ echo 'Patch #13 (ltrace-0.7.91-ppc64le-support.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file ltrace-elf.c
patching file ltrace-elf.h
patching file sysdeps/linux-gnu/ppc/arch.h
patching file sysdeps/linux-gnu/ppc/fetch.c
patching file sysdeps/linux-gnu/ppc/plt.c
patching file sysdeps/linux-gnu/ppc/trace.c
patching file sysdeps/linux-gnu/ppc/trace.c
patching file configure
Hunk #2 succeeded at 12088 (offset -6 lines).
+ echo 'Patch #14 (ltrace-0.7.91-ppc64le-fixes.patch):'
Patch #14 (ltrace-0.7.91-ppc64le-fixes.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file sysdeps/linux-gnu/ppc/arch.h
patching file sysdeps/linux-gnu/ppc/fetch.c
Patch #15 (ltrace-0.7.91-parser-ws_after_id.patch):
+ echo 'Patch #15 (ltrace-0.7.91-parser-ws_after_id.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file read_config_file.c
Hunk #3 succeeded at 1076 (offset -2 lines).
Hunk #4 succeeded at 1106 (offset -9 lines).
Hunk #5 succeeded at 1127 (offset -8 lines).
patching file testsuite/ltrace.main/parameters2.exp
Patch #16 (ltrace-0.7.91-ppc-bias.patch):
+ echo 'Patch #16 (ltrace-0.7.91-ppc-bias.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file sysdeps/linux-gnu/ppc/plt.c
Patch #17 (ltrace-0.7.91-x86-plt_map.patch):
+ echo 'Patch #17 (ltrace-0.7.91-x86-plt_map.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file sysdeps/linux-gnu/x86/plt.c
Patch #18 (ltrace-0.7.91-x86-unused_label.patch):
+ echo 'Patch #18 (ltrace-0.7.91-x86-unused_label.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file sysdeps/linux-gnu/x86/plt.c
Patch #19 (ltrace-0.7.91-unwind-elfutils.patch):
+ echo 'Patch #19 (ltrace-0.7.91-unwind-elfutils.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file configure.ac
patching file ltrace.1
patching file Makefile.am
patching file options.c
patching file options.h
patching file output.c
patching file proc.c
patching file proc.h
patching file proc.c
Patch #20 (ltrace-0.7.91-multithread-no-f-1.patch):
+ echo 'Patch #20 (ltrace-0.7.91-multithread-no-f-1.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file testsuite/ltrace.main/Makefile.am
patching file testsuite/ltrace.main/main-threaded.c
patching file testsuite/ltrace.main/main-threaded.exp
Patch #21 (ltrace-0.7.91-multithread-no-f-2.patch):
+ echo 'Patch #21 (ltrace-0.7.91-multithread-no-f-2.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file handle_event.c
patching file testsuite/ltrace.main/main-threaded.exp
Patch #22 (ltrace-0.7.91-testsuite-includes.patch):
+ echo 'Patch #22 (ltrace-0.7.91-testsuite-includes.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file testsuite/ltrace.main/filters.exp
patching file testsuite/ltrace.main/main-internal.exp
patching file testsuite/ltrace.main/parameters.c
patching file testsuite/ltrace.main/parameters2.exp
patching file testsuite/ltrace.main/parameters3.exp
patching file testsuite/ltrace.main/system_call_params.exp
patching file testsuite/ltrace.minor/attach-process.exp
patching file testsuite/ltrace.minor/libdl-simple.c
patching file testsuite/ltrace.minor/time-record.c
patching file testsuite/ltrace.minor/trace-clone.c
patching file testsuite/ltrace.minor/trace-fork.c
patching file testsuite/ltrace.torture/vfork-thread.c
Patch #23 (ltrace-0.7.91-testsuite-includes-2.patch):
+ echo 'Patch #23 (ltrace-0.7.91-testsuite-includes-2.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file testsuite/ltrace.main/signals.c
patching file testsuite/ltrace.torture/signals.c
Patch #24 (ltrace-0.7.91-ppc64le-configure.patch):
+ echo 'Patch #24 (ltrace-0.7.91-ppc64le-configure.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file configure.ac
+ echo 'Patch #25 (ltrace-rh1307754.patch):'
Patch #25 (ltrace-rh1307754.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file testsuite/ltrace.main/system_calls.exp
Patch #26 (ltrace-0.7.91-tautology.patch):
+ echo 'Patch #26 (ltrace-0.7.91-tautology.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file filter.c
patching file sysdeps/linux-gnu/proc.c
patching file sysdeps/linux-gnu/x86/fetch.c
patching file sysdeps/linux-gnu/x86/trace.c
patching file value.c
Patch #27 (ltrace-rh1423913.patch):
+ echo 'Patch #27 (ltrace-rh1423913.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file sysdeps/linux-gnu/arm/trace.c
Patch #28 (ltrace-0.7.91-aarch64-params.patch):
+ echo 'Patch #28 (ltrace-0.7.91-aarch64-params.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file sysdeps/linux-gnu/aarch64/fetch.c
patching file testsuite/ltrace.main/system_call_params.exp
Patch #29 (ltrace-0.7.91-null.patch):
+ echo 'Patch #29 (ltrace-0.7.91-null.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file output.c
Patch #30 (ltrace-0.7.91-cet.patch):
+ echo 'Patch #30 (ltrace-0.7.91-cet.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file ltrace-elf.c
patching file ltrace-elf.h
patching file sysdeps/linux-gnu/x86/plt.c
Patch #31 (ltrace-0.7.91-aarch64-headers.patch):
+ echo 'Patch #31 (ltrace-0.7.91-aarch64-headers.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file sysdeps/linux-gnu/aarch64/regs.c
patching file sysdeps/linux-gnu/aarch64/trace.c
Patch #32 (ltrace-rh1225568.patch):
+ echo 'Patch #32 (ltrace-rh1225568.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file testsuite/ltrace.minor/trace-irelative.exp
+ echo 'Patch #33 (ltrace-0.7.91-testsuite-system_call_params.patch):'
Patch #33 (ltrace-0.7.91-testsuite-system_call_params.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file testsuite/Makefile.am
patching file testsuite/Makefile.in
patching file testsuite/ltrace.main/system_call_params.exp
+ echo 'Patch #34 (ltrace-0.7.91-XDG_CONFIG_DIRS.patch):'
Patch #34 (ltrace-0.7.91-XDG_CONFIG_DIRS.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file options.c
patching file options.h
patching file sysdeps/linux-gnu/hooks.c
patching file testsuite/ltrace.main/XDG_CONFIG_DIRS.exp
+ echo 'Patch #35 (ltrace-0.7.91-rh1799619.patch):'
Patch #35 (ltrace-0.7.91-rh1799619.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file expr.c
+ echo 'Patch #36 (ltrace-0.7.91-ppc64le-scv.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
Patch #36 (ltrace-0.7.91-ppc64le-scv.patch):
patching file sysdeps/linux-gnu/ppc/trace.c
+ echo 'Patch #37 (ltrace-0.7.91-W-use-after-free.patch):'
Patch #37 (ltrace-0.7.91-W-use-after-free.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file sysdeps/linux-gnu/ppc/plt.c
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MEpGPv
+ umask 022
+ cd /builddir/build/BUILD/ltrace-0.7.91-build
+ CFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed   -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd ltrace-0.7.91
+ autoreconf -i
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config/autoconf'.
libtoolize: copying file 'config/autoconf/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config/m4'.
libtoolize: copying file 'config/m4/libtool.m4'
libtoolize: copying file 'config/m4/ltoptions.m4'
libtoolize: copying file 'config/m4/ltversion.m4'
configure.ac:55: installing 'config/autoconf/compile'
+ CFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed   -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ '[' x '!=' x ']'
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config/autoconf/config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./config/autoconf/config.guess
++ basename ./config/autoconf/config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/autoconf/config.guess
'/usr/lib/rpm/redhat/config.guess' -> './config/autoconf/config.guess'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config/autoconf/config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config/autoconf/config.sub
++ basename ./config/autoconf/config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/autoconf/config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config/autoconf/config.sub'
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']'
++ find . -name ltmain.sh
+ for i in $(find . -name ltmain.sh)
+ /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./config/autoconf/ltmain.sh
++ grep -q runstatedir=DIR ./configure
++ echo --runstatedir=/run
+ ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --docdir=/usr/share/doc/ltrace
checking build system type... riscv64-redhat-linux-gnu
checking host system type... riscv64-redhat-linux-gnu
checking for riscv64-redhat-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for riscv64-redhat-linux-gnu-file... no
checking for file... file
checking for riscv64-redhat-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for riscv64-redhat-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for riscv64-redhat-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for riscv64-redhat-linux-gnu-strip... no
checking for strip... strip
checking for riscv64-redhat-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for riscv64-redhat-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for vfork.h... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/builddir/build/BUILD/ltrace-0.7.91-build/ltrace-0.7.91/config/autoconf/missing: Unknown `--is-lightweight' option
Try `/builddir/build/BUILD/ltrace-0.7.91-build/ltrace-0.7.91/config/autoconf/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... none
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc option to enable large file support... none needed
checking for elf.h... yes
checking for gelf.h... yes
checking for elf_begin in -lelf... yes
checking for cplus_demangle in -liberty... no
checking for __cxa_demangle in -lsupc++... no
checking for __cxa_demangle in -lstdc++... yes
checking for selinux/selinux.h... yes
checking for security_get_boolean_active in -lselinux... yes
checking for elfutils/libdwfl.h... yes
checking for dwfl_getthread_frames in -ldw... yes
checking whether to use elfutils libdwfl unwinding support... yes
checking for libunwind.h... no
checking for libunwind-ptrace.h... no
checking whether to use libunwind support... no
checking whether elf_begin accepts ELF_C_READ_MMAP... yes
checking whether elf_hash takes a char* argument... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/ioctl.h... yes
checking for sys/param.h... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for uid_t... yes
checking for gid_t... yes
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking size of long... 8
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for alarm... yes
checking for atexit... yes
checking for gettimeofday... yes
checking for memset... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strsignal... yes
checking for strtol... yes
checking for strtoul... yes
checking for open_memstream... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking whether to enable debugging... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sysdeps/Makefile
config.status: creating sysdeps/linux-gnu/Makefile
config.status: creating sysdeps/linux-gnu/aarch64/Makefile
config.status: creating sysdeps/linux-gnu/alpha/Makefile
config.status: creating sysdeps/linux-gnu/arm/Makefile
config.status: creating sysdeps/linux-gnu/cris/Makefile
config.status: creating sysdeps/linux-gnu/ia64/Makefile
config.status: creating sysdeps/linux-gnu/m68k/Makefile
config.status: creating sysdeps/linux-gnu/metag/Makefile
config.status: creating sysdeps/linux-gnu/mips/Makefile
config.status: creating sysdeps/linux-gnu/ppc/Makefile
config.status: creating sysdeps/linux-gnu/s390/Makefile
config.status: creating sysdeps/linux-gnu/sparc/Makefile
config.status: creating sysdeps/linux-gnu/x86/Makefile
config.status: creating testsuite/Makefile
config.status: creating testsuite/ltrace.main/Makefile
config.status: creating testsuite/ltrace.minor/Makefile
config.status: creating testsuite/ltrace.torture/Makefile
config.status: creating config.h
config.status: executing libtool commands
config.status: executing depfiles commands
+ /usr/bin/make -O -j8 V=1 VERBOSE=1
/usr/bin/make  all-recursive
Making all in sysdeps
Making all in linux-gnu
Making all in riscv64
/bin/sh: line 21: cd: riscv64: No such file or directory
make[3]: *** [Makefile:506: all-recursive] Error 1
make[2]: *** [Makefile:397: all-recursive] Error 1
make[1]: *** [Makefile:874: all-recursive] Error 1
make: *** [Makefile:548: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.MEpGPv (%build)
    bogus date in %changelog: Fri May 03 2022 Carlos O'Donell <carlos@redhat.com> - 0.7.91-45
    Bad exit status from /var/tmp/rpm-tmp.MEpGPv (%build)
RPM build warnings:
RPM build errors:
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 0d3bcfb8e3de425c978007e76bd18d49 -D /var/lib/mock/f41-build-854341-166808/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ajt2v8zq:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"\' \'--setenv=PS1=<mock-chroot> \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ltrace.spec\'\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 612, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 0d3bcfb8e3de425c978007e76bd18d49 -D /var/lib/mock/f41-build-854341-166808/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ajt2v8zq:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ltrace.spec'