Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pam_usb.spec'], chrootPath='/var/lib/mock/751447-fedora-rawhide-x86_64-1525725176.509649/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '77bff1b26ac448d09aebd099046126c4', '-D', '/var/lib/mock/751447-fedora-rawhide-x86_64-1525725176.509649/root', '-a', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pam_usb.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': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: bogus date in %changelog: Mon May 07 2017 Didier Fabert 0.5.0-26 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/pam_usb-0.5.0-26.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pam_usb.spec'], chrootPath='/var/lib/mock/751447-fedora-rawhide-x86_64-1525725176.509649/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd1a7e677067648e09fc260a4d1b0f122', '-D', '/var/lib/mock/751447-fedora-rawhide-x86_64-1525725176.509649/root', '-a', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pam_usb.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': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: bogus date in %changelog: Mon May 07 2017 Didier Fabert 0.5.0-26 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XWKCnU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf aluzzardi-pam_usb-6a30dff + /usr/bin/gzip -dc /builddir/build/SOURCES/aluzzardi-pam_usb-0.5.0-25-g6a30dff.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd aluzzardi-pam_usb-6a30dff + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (pam_usb-mangling-shebang.patch): + echo 'Patch #0 (pam_usb-mangling-shebang.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tools/pamusb-agent patching file tools/pamusb-conf Patch #1 (pam_usb-empty-debugfile.patch): + echo 'Patch #1 (pam_usb-empty-debugfile.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uFh9hn + umask 022 + cd /builddir/build/BUILD + cd aluzzardi-pam_usb-6a30dff + make -j2 gcc -c -Wall -fPIC `pkg-config --cflags libxml-2.0` `pkg-config --cflags dbus-1` -g src/conf.c -o src/conf.o gcc -c -Wall -fPIC `pkg-config --cflags libxml-2.0` `pkg-config --cflags dbus-1` -g src/mem.c -o src/mem.o gcc -c -Wall -fPIC `pkg-config --cflags libxml-2.0` `pkg-config --cflags dbus-1` -g src/log.c -o src/log.o gcc -c -Wall -fPIC `pkg-config --cflags libxml-2.0` `pkg-config --cflags dbus-1` -g src/xpath.c -o src/xpath.o gcc -c -Wall -fPIC `pkg-config --cflags libxml-2.0` `pkg-config --cflags dbus-1` -g src/hal.c -o src/hal.o gcc -c -Wall -fPIC `pkg-config --cflags libxml-2.0` `pkg-config --cflags dbus-1` -g src/pad.c -o src/pad.o gcc -c -Wall -fPIC `pkg-config --cflags libxml-2.0` `pkg-config --cflags dbus-1` -g src/volume.c -o src/volume.o BUILDSTDERR: src/pad.c: In function 'pusb_pad_open_device': BUILDSTDERR: src/pad.c:43:33: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: snprintf(path, PATH_MAX, "%s/%s", mnt_point, opts->device_pad_directory); BUILDSTDERR: ^ BUILDSTDERR: src/pad.c:43:2: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 BUILDSTDERR: snprintf(path, PATH_MAX, "%s/%s", mnt_point, opts->device_pad_directory); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pad.c:55:33: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] BUILDSTDERR: snprintf(path, PATH_MAX, "%s/%s/%s.%s.pad", mnt_point, BUILDSTDERR: ^ BUILDSTDERR: src/pad.c:55:2: note: 'snprintf' output 8 or more bytes (assuming 4166) into a destination of size 4096 BUILDSTDERR: snprintf(path, PATH_MAX, "%s/%s/%s.%s.pad", mnt_point, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: opts->device_pad_directory, user, opts->hostname); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pad.c: In function 'pusb_pad_open_system': BUILDSTDERR: src/pad.c:84:33: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: snprintf(path, PATH_MAX, "%s/%s", user_ent->pw_dir, BUILDSTDERR: ^ BUILDSTDERR: src/pad.c:84:2: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 BUILDSTDERR: snprintf(path, PATH_MAX, "%s/%s", user_ent->pw_dir, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: opts->system_pad_directory); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/pad.c:106:33: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] BUILDSTDERR: snprintf(path, PATH_MAX, "%s/%s/%s.pad", user_ent->pw_dir, BUILDSTDERR: ^ BUILDSTDERR: src/pad.c:106:2: note: 'snprintf' output 7 or more bytes (assuming 8197) into a destination of size 4096 BUILDSTDERR: snprintf(path, PATH_MAX, "%s/%s/%s.pad", user_ent->pw_dir, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: opts->system_pad_directory, device_name); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -Wall -fPIC `pkg-config --cflags libxml-2.0` `pkg-config --cflags dbus-1` -g src/local.c -o src/local.o gcc -c -Wall -fPIC `pkg-config --cflags libxml-2.0` `pkg-config --cflags dbus-1` -g src/device.c -o src/device.o gcc -c -Wall -fPIC `pkg-config --cflags libxml-2.0` `pkg-config --cflags dbus-1` -g src/pam.c -o src/pam.o gcc -c -Wall -fPIC `pkg-config --cflags libxml-2.0` `pkg-config --cflags dbus-1` -g src/pamusb-check.c -o src/pamusb-check.o gcc -o pam_usb.so -shared src/conf.o src/mem.o src/log.o src/xpath.o src/hal.o src/pad.o src/volume.o src/local.o src/device.o src/pam.o `pkg-config --libs libxml-2.0` `pkg-config --libs dbus-1` gcc -o pamusb-check src/conf.o src/mem.o src/log.o src/xpath.o src/hal.o src/pad.o src/volume.o src/local.o src/device.o src/pamusb-check.o `pkg-config --libs libxml-2.0` `pkg-config --libs dbus-1` + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8lW84Q + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64 + cd aluzzardi-pam_usb-6a30dff + rm -rf /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/usr/lib64/security + make DESTDIR=/builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64 install mkdir -p /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/etc /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/usr/share/doc/pamusb /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/usr/bin /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/lib/security install -m755 pam_usb.so /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/lib/security install -m755 pamusb-check tools/pamusb-conf tools/pamusb-agent /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/usr/bin install -b -m644 doc/pamusb.conf /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/etc install -m644 doc/CONFIGURATION.md /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/usr/share/doc/pamusb install -m644 doc/pamusb-conf.1.gz doc/pamusb-agent.1.gz doc/pamusb-check.1.gz /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/usr/share/man/man1 + mv /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/lib/security/pam_usb.so /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/usr/lib64/security/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.5.0-26.fc29 --unique-debug-suffix -0.5.0-26.fc29.x86_64 --unique-debug-src-base pam_usb-0.5.0-26.fc29.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/aluzzardi-pam_usb-6a30dff extracting debug info from /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/usr/bin/pamusb-check extracting debug info from /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/usr/lib64/security/pam_usb.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 93 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: pam_usb-0.5.0-26.fc29.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.byjDRl + umask 022 + cd /builddir/build/BUILD + cd aluzzardi-pam_usb-6a30dff + DOCDIR=/builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/usr/share/doc/pam_usb + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/usr/share/doc/pam_usb + cp -pr COPYING /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/usr/share/doc/pam_usb + cp -pr ChangeLog /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/usr/share/doc/pam_usb + cp -pr README.md /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64/usr/share/doc/pam_usb + exit 0 Provides: config(pam_usb) = 0.5.0-26.fc29 pam_usb = 0.5.0-26.fc29 pam_usb(x86-64) = 0.5.0-26.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python2 libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libdbus-1.so.3()(64bit) libdbus-1.so.3(LIBDBUS_1_3)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) rtld(GNU_HASH) Processing files: pam_usb-debugsource-0.5.0-26.fc29.x86_64 Provides: pam_usb-debugsource = 0.5.0-26.fc29 pam_usb-debugsource(x86-64) = 0.5.0-26.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pam_usb-debuginfo-0.5.0-26.fc29.x86_64 Provides: debuginfo(build-id) = 63feb3463d395a079898c84e7963b862123deb52 debuginfo(build-id) = e157d02901c252b64a232c887a1af45a08220cdd pam_usb-debuginfo = 0.5.0-26.fc29 pam_usb-debuginfo(x86-64) = 0.5.0-26.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pam_usb-debugsource(x86-64) = 0.5.0-26.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64 Wrote: /builddir/build/RPMS/pam_usb-0.5.0-26.fc29.x86_64.rpm Wrote: /builddir/build/RPMS/pam_usb-debugsource-0.5.0-26.fc29.x86_64.rpm Wrote: /builddir/build/RPMS/pam_usb-debuginfo-0.5.0-26.fc29.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GAEQ6Q + umask 022 + cd /builddir/build/BUILD + cd aluzzardi-pam_usb-6a30dff + rm -rf /builddir/build/BUILDROOT/pam_usb-0.5.0-26.fc29.x86_64 + exit 0 Child return code was: 0