Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cpdup.spec'], chrootPath='/var/lib/mock/mageia-8-x86_64-1671885234.886958/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.8y5vtyj5:/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.8y5vtyj5:/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', '232f35709f7b48f9b93dbb3ab76f2498', '-D', '/var/lib/mock/mageia-8-x86_64-1671885234.886958/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8y5vtyj5:/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 x86_64 --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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/cpdup-1.22-1.mga8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/cpdup.spec'], chrootPath='/var/lib/mock/mageia-8-x86_64-1671885234.886958/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.8y5vtyj5:/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.8y5vtyj5:/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', '907237f9109941e5abfbd20cc4b9f21c', '-D', '/var/lib/mock/mageia-8-x86_64-1671885234.886958/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8y5vtyj5:/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 x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jXnsVs + umask 022 + cd /builddir/build/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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 . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QHUl2w + umask 022 + cd /builddir/build/BUILD + cd cpdup-1.22 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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/cpdup.o src/cpdup.c In file included from src/cpdup.c:56: src/cpdup.h:39: warning: "__printflike" redefined 39 | #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 156 | # define __printflike(x, y) __attribute((__format__(__printf__, (x), (y)))) | In file included from src/cpdup.c:56: src/cpdup.h:41: warning: "__aligned" redefined 41 | #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 135 | # define __aligned(x) __attribute__((__aligned__(x))) | In file included from src/cpdup.c:56: src/cpdup.h:42: warning: "__dead2" redefined 42 | #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 111 | # define __dead2 __attribute__((__noreturn__)) | src/cpdup.c: In function 'xrename': src/cpdup.c:1722:50: warning: unused parameter 'flags' [-Wunused-parameter] 1722 | 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] 1745 | 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/hclink.o src/hclink.c In file included from src/hclink.c:9: src/cpdup.h:39: warning: "__printflike" redefined 39 | #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 156 | # define __printflike(x, y) __attribute((__format__(__printf__, (x), (y)))) | In file included from src/hclink.c:9: src/cpdup.h:41: warning: "__aligned" redefined 41 | #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 135 | # define __aligned(x) __attribute__((__aligned__(x))) | In file included from src/hclink.c:9: src/cpdup.h:42: warning: "__dead2" redefined 42 | #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 111 | # define __dead2 __attribute__((__noreturn__)) | src/hclink.c: In function 'rc_badop': src/hclink.c:76:26: warning: unused parameter 'trans' [-Wunused-parameter] 76 | 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 -c -o src/hcproto.o src/hcproto.c In file included from src/hcproto.c:7: src/cpdup.h:39: warning: "__printflike" redefined 39 | #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 156 | # define __printflike(x, y) __attribute((__format__(__printf__, (x), (y)))) | In file included from src/hcproto.c:7: src/cpdup.h:41: warning: "__aligned" redefined 41 | #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 135 | # define __aligned(x) __attribute__((__aligned__(x))) | In file included from src/hcproto.c:7: src/cpdup.h:42: warning: "__dead2" redefined 42 | #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 111 | # define __dead2 __attribute__((__noreturn__)) | src/hcproto.c: In function 'rc_geteuid': src/hcproto.c:1967:50: warning: unused parameter 'head' [-Wunused-parameter] 1967 | 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] 2041 | 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 39 | #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 156 | # define __printflike(x, y) __attribute((__format__(__printf__, (x), (y)))) | In file included from src/md5.c:9: src/cpdup.h:41: warning: "__aligned" redefined 41 | #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 135 | # define __aligned(x) __attribute__((__aligned__(x))) | In file included from src/md5.c:9: src/cpdup.h:42: warning: "__dead2" redefined 42 | #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 111 | # 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/misc.o src/misc.c In file included from src/misc.c:5: src/cpdup.h:39: warning: "__printflike" redefined 39 | #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 156 | # define __printflike(x, y) __attribute((__format__(__printf__, (x), (y)))) | In file included from src/misc.c:5: src/cpdup.h:41: warning: "__aligned" redefined 41 | #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 135 | # define __aligned(x) __attribute__((__aligned__(x))) | In file included from src/misc.c:5: src/cpdup.h:42: warning: "__dead2" redefined 42 | #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 111 | # 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 -o cpdup src/cpdup.o src/hclink.o src/hcproto.o src/md5.o src/misc.o -lssl -lcrypto -lbsd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ebMNGu + umask 022 + cd /builddir/build/BUILD + '[' 1 -eq 1 ']' + '[' /builddir/build/BUILDROOT/cpdup-1.22-1.mga8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cpdup-1.22-1.mga8.x86_64 ++ dirname /builddir/build/BUILDROOT/cpdup-1.22-1.mga8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cpdup-1.22-1.mga8.x86_64 + cd cpdup-1.22 + '[' 1 -eq 1 ']' + mkdir -p /builddir/build/BUILDROOT/cpdup-1.22-1.mga8.x86_64/usr/bin + mkdir -p /builddir/build/BUILDROOT/cpdup-1.22-1.mga8.x86_64/usr/share/man/man1 + cp cpdup-1.22/cpdup /builddir/build/BUILDROOT/cpdup-1.22-1.mga8.x86_64/usr/bin + cp cpdup-1.22/cpdup.1 /builddir/build/BUILDROOT/cpdup-1.22-1.mga8.x86_64/usr/share/man/man1 + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /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-strip-shared /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: cpdup-1.22-1.mga8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6uxw7t + umask 022 + cd /builddir/build/BUILD + cd cpdup-1.22 + DOCDIR=/builddir/build/BUILDROOT/cpdup-1.22-1.mga8.x86_64/usr/share/doc/cpdup + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cpdup-1.22-1.mga8.x86_64/usr/share/doc/cpdup + cp -pr cpdup-1.22/BACKUPS /builddir/build/BUILDROOT/cpdup-1.22-1.mga8.x86_64/usr/share/doc/cpdup + cp -pr cpdup-1.22/PORTING /builddir/build/BUILDROOT/cpdup-1.22-1.mga8.x86_64/usr/share/doc/cpdup + cp -pr cpdup-1.22/README.md /builddir/build/BUILDROOT/cpdup-1.22-1.mga8.x86_64/usr/share/doc/cpdup + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.flPcWu + umask 022 + cd /builddir/build/BUILD + cd cpdup-1.22 + LICENSEDIR=/builddir/build/BUILDROOT/cpdup-1.22-1.mga8.x86_64/usr/share/licenses/cpdup + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cpdup-1.22-1.mga8.x86_64/usr/share/licenses/cpdup + cp -pr cpdup-1.22/LICENSE /builddir/build/BUILDROOT/cpdup-1.22-1.mga8.x86_64/usr/share/licenses/cpdup + RPM_EC=0 ++ jobs -p + exit 0 Provides: cpdup = 1.22-1.mga8 cpdup(x86-64) = 1.22-1.mga8 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.mga8.x86_64 Wrote: /builddir/build/RPMS/cpdup-1.22-1.mga8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UXzQdt + umask 022 + cd /builddir/build/BUILD + cd cpdup-1.22 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cpdup-1.22-1.mga8.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0