Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/cpdup.spec'], chrootPath='/var/lib/mock/rhel+epel-8-aarch64-1671885235.062680/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hhkcaby_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hhkcaby_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', 'cc95456868844d58a6961ee22bc70065', '-D', '/var/lib/mock/rhel+epel-8-aarch64-1671885235.062680/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hhkcaby_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/cpdup.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/cpdup-1.22-1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/cpdup.spec'], chrootPath='/var/lib/mock/rhel+epel-8-aarch64-1671885235.062680/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hhkcaby_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hhkcaby_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '856ebda43a3545558d20a0dea27e2ce4', '-D', '/var/lib/mock/rhel+epel-8-aarch64-1671885235.062680/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hhkcaby_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/cpdup.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OeugRi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cpdup-1.22 + /usr/bin/mkdir -p cpdup-1.22 + cd cpdup-1.22 + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.22.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lcGSe3 + umask 022 + cd /builddir/build/BUILD + cd cpdup-1.22 + cd cpdup-1.22 + make cc -O -pipe -std=c99 -pedantic -Wall -Wextra -Wlogical-op -Wshadow -Wformat=2 -Wwrite-strings -Wcast-qual -Wcast-align -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -isystem /usr/include/bsd -DLIBBSD_OVERLAY -c -o src/misc.o src/misc.c In file included from src/misc.c:5: src/cpdup.h:39: warning: "__printflike" redefined #define __printflike(a, b) In file included from /usr/include/bsd/sys/param.h:28, from src/cpdup.h:5, from src/misc.c:5: /usr/include/bsd/sys/cdefs.h:156: note: this is the location of the previous definition # define __printflike(x, y) __attribute((__format__(__printf__, (x), (y)))) In file included from src/misc.c:5: src/cpdup.h:41: warning: "__aligned" redefined #define __aligned(n) In file included from /usr/include/bsd/sys/param.h:28, from src/cpdup.h:5, from src/misc.c:5: /usr/include/bsd/sys/cdefs.h:135: note: this is the location of the previous definition # define __aligned(x) __attribute__((__aligned__(x))) In file included from src/misc.c:5: src/cpdup.h:42: warning: "__dead2" redefined #define __dead2 In file included from /usr/include/bsd/sys/param.h:28, from src/cpdup.h:5, from src/misc.c:5: /usr/include/bsd/sys/cdefs.h:111: note: this is the location of the previous definition # define __dead2 __attribute__((__noreturn__)) cc -O -pipe -std=c99 -pedantic -Wall -Wextra -Wlogical-op -Wshadow -Wformat=2 -Wwrite-strings -Wcast-qual -Wcast-align -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -isystem /usr/include/bsd -DLIBBSD_OVERLAY -c -o src/cpdup.o src/cpdup.c In file included from src/cpdup.c:56: src/cpdup.h:39: warning: "__printflike" redefined #define __printflike(a, b) In file included from /usr/include/bsd/sys/param.h:28, from src/cpdup.h:5, from src/cpdup.c:56: /usr/include/bsd/sys/cdefs.h:156: note: this is the location of the previous definition # define __printflike(x, y) __attribute((__format__(__printf__, (x), (y)))) In file included from src/cpdup.c:56: src/cpdup.h:41: warning: "__aligned" redefined #define __aligned(n) In file included from /usr/include/bsd/sys/param.h:28, from src/cpdup.h:5, from src/cpdup.c:56: /usr/include/bsd/sys/cdefs.h:135: note: this is the location of the previous definition # define __aligned(x) __attribute__((__aligned__(x))) In file included from src/cpdup.c:56: src/cpdup.h:42: warning: "__dead2" redefined #define __dead2 In file included from /usr/include/bsd/sys/param.h:28, from src/cpdup.h:5, from src/cpdup.c:56: /usr/include/bsd/sys/cdefs.h:111: note: this is the location of the previous definition # define __dead2 __attribute__((__noreturn__)) src/cpdup.c: In function 'xrename': src/cpdup.c:1722:50: warning: unused parameter 'flags' [-Wunused-parameter] xrename(const char *src, const char *dst, u_long flags __unused) ~~~~~~~^~~~~ src/cpdup.c: In function 'xlink': src/cpdup.c:1745:48: warning: unused parameter 'flags' [-Wunused-parameter] xlink(const char *src, const char *dst, u_long flags __unused) ~~~~~~~^~~~~ cc -O -pipe -std=c99 -pedantic -Wall -Wextra -Wlogical-op -Wshadow -Wformat=2 -Wwrite-strings -Wcast-qual -Wcast-align -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -isystem /usr/include/bsd -DLIBBSD_OVERLAY -c -o src/hcproto.o src/hcproto.c In file included from src/hcproto.c:7: src/cpdup.h:39: warning: "__printflike" redefined #define __printflike(a, b) In file included from /usr/include/bsd/sys/param.h:28, from src/cpdup.h:5, from src/hcproto.c:7: /usr/include/bsd/sys/cdefs.h:156: note: this is the location of the previous definition # define __printflike(x, y) __attribute((__format__(__printf__, (x), (y)))) In file included from src/hcproto.c:7: src/cpdup.h:41: warning: "__aligned" redefined #define __aligned(n) In file included from /usr/include/bsd/sys/param.h:28, from src/cpdup.h:5, from src/hcproto.c:7: /usr/include/bsd/sys/cdefs.h:135: note: this is the location of the previous definition # define __aligned(x) __attribute__((__aligned__(x))) In file included from src/hcproto.c:7: src/cpdup.h:42: warning: "__dead2" redefined #define __dead2 In file included from /usr/include/bsd/sys/param.h:28, from src/cpdup.h:5, from src/hcproto.c:7: /usr/include/bsd/sys/cdefs.h:111: note: this is the location of the previous definition # define __dead2 __attribute__((__noreturn__)) src/hcproto.c: In function 'rc_geteuid': src/hcproto.c:1967:50: warning: unused parameter 'head' [-Wunused-parameter] rc_geteuid(hctransaction_t trans, struct HCHead *head __unused) ~~~~~~~~~~~~~~~^~~~ src/hcproto.c: In function 'rc_getgroups': src/hcproto.c:2041:52: warning: unused parameter 'head' [-Wunused-parameter] rc_getgroups(hctransaction_t trans, struct HCHead *head __unused) ~~~~~~~~~~~~~~~^~~~ cc -O -pipe -std=c99 -pedantic -Wall -Wextra -Wlogical-op -Wshadow -Wformat=2 -Wwrite-strings -Wcast-qual -Wcast-align -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -isystem /usr/include/bsd -DLIBBSD_OVERLAY -c -o src/md5.o src/md5.c In file included from src/md5.c:9: src/cpdup.h:39: warning: "__printflike" redefined #define __printflike(a, b) In file included from /usr/include/bsd/sys/param.h:28, from src/cpdup.h:5, from src/md5.c:9: /usr/include/bsd/sys/cdefs.h:156: note: this is the location of the previous definition # define __printflike(x, y) __attribute((__format__(__printf__, (x), (y)))) In file included from src/md5.c:9: src/cpdup.h:41: warning: "__aligned" redefined #define __aligned(n) In file included from /usr/include/bsd/sys/param.h:28, from src/cpdup.h:5, from src/md5.c:9: /usr/include/bsd/sys/cdefs.h:135: note: this is the location of the previous definition # define __aligned(x) __attribute__((__aligned__(x))) In file included from src/md5.c:9: src/cpdup.h:42: warning: "__dead2" redefined #define __dead2 In file included from /usr/include/bsd/sys/param.h:28, from src/cpdup.h:5, from src/md5.c:9: /usr/include/bsd/sys/cdefs.h:111: note: this is the location of the previous definition # define __dead2 __attribute__((__noreturn__)) cc -O -pipe -std=c99 -pedantic -Wall -Wextra -Wlogical-op -Wshadow -Wformat=2 -Wwrite-strings -Wcast-qual -Wcast-align -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -isystem /usr/include/bsd -DLIBBSD_OVERLAY -c -o src/hclink.o src/hclink.c In file included from src/hclink.c:9: src/cpdup.h:39: warning: "__printflike" redefined #define __printflike(a, b) In file included from /usr/include/bsd/sys/param.h:28, from src/cpdup.h:5, from src/hclink.c:9: /usr/include/bsd/sys/cdefs.h:156: note: this is the location of the previous definition # define __printflike(x, y) __attribute((__format__(__printf__, (x), (y)))) In file included from src/hclink.c:9: src/cpdup.h:41: warning: "__aligned" redefined #define __aligned(n) In file included from /usr/include/bsd/sys/param.h:28, from src/cpdup.h:5, from src/hclink.c:9: /usr/include/bsd/sys/cdefs.h:135: note: this is the location of the previous definition # define __aligned(x) __attribute__((__aligned__(x))) In file included from src/hclink.c:9: src/cpdup.h:42: warning: "__dead2" redefined #define __dead2 In file included from /usr/include/bsd/sys/param.h:28, from src/cpdup.h:5, from src/hclink.c:9: /usr/include/bsd/sys/cdefs.h:111: note: this is the location of the previous definition # define __dead2 __attribute__((__noreturn__)) src/hclink.c: In function 'rc_badop': src/hclink.c:76:26: warning: unused parameter 'trans' [-Wunused-parameter] rc_badop(hctransaction_t trans __unused, struct HCHead *head) ~~~~~~~~~~~~~~~~^~~~~ cc -O -pipe -std=c99 -pedantic -Wall -Wextra -Wlogical-op -Wshadow -Wformat=2 -Wwrite-strings -Wcast-qual -Wcast-align -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -isystem /usr/include/bsd -DLIBBSD_OVERLAY -o cpdup src/misc.o src/cpdup.o src/hcproto.o src/md5.o src/hclink.o -lssl -lcrypto -lbsd + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XqnQNd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cpdup-1.22-1.el8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cpdup-1.22-1.el8.aarch64 ++ dirname /builddir/build/BUILDROOT/cpdup-1.22-1.el8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cpdup-1.22-1.el8.aarch64 + cd cpdup-1.22 + mkdir -p /builddir/build/BUILDROOT/cpdup-1.22-1.el8.aarch64/usr/bin + mkdir -p /builddir/build/BUILDROOT/cpdup-1.22-1.el8.aarch64/usr/share/man/man1 + cp cpdup-1.22/cpdup /builddir/build/BUILDROOT/cpdup-1.22-1.el8.aarch64/usr/bin + cp cpdup-1.22/cpdup.1 /builddir/build/BUILDROOT/cpdup-1.22-1.el8.aarch64/usr/share/man/man1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: cpdup-1.22-1.el8.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ofE05n + umask 022 + cd /builddir/build/BUILD + cd cpdup-1.22 + DOCDIR=/builddir/build/BUILDROOT/cpdup-1.22-1.el8.aarch64/usr/share/doc/cpdup + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cpdup-1.22-1.el8.aarch64/usr/share/doc/cpdup + cp -pr cpdup-1.22/BACKUPS /builddir/build/BUILDROOT/cpdup-1.22-1.el8.aarch64/usr/share/doc/cpdup + cp -pr cpdup-1.22/PORTING /builddir/build/BUILDROOT/cpdup-1.22-1.el8.aarch64/usr/share/doc/cpdup + cp -pr cpdup-1.22/README.md /builddir/build/BUILDROOT/cpdup-1.22-1.el8.aarch64/usr/share/doc/cpdup + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.J4yVoO + umask 022 + cd /builddir/build/BUILD + cd cpdup-1.22 + LICENSEDIR=/builddir/build/BUILDROOT/cpdup-1.22-1.el8.aarch64/usr/share/licenses/cpdup + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cpdup-1.22-1.el8.aarch64/usr/share/licenses/cpdup + cp -pr cpdup-1.22/LICENSE /builddir/build/BUILDROOT/cpdup-1.22-1.el8.aarch64/usr/share/licenses/cpdup + exit 0 Provides: cpdup = 1.22-1.el8 cpdup(aarch-64) = 1.22-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cpdup-1.22-1.el8.aarch64 Wrote: /builddir/build/RPMS/cpdup-1.22-1.el8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TdHWWm + umask 022 + cd /builddir/build/BUILD + cd cpdup-1.22 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cpdup-1.22-1.el8.aarch64 + exit 0 Child return code was: 0