Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/jhead.spec'], timeout=0nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6Dooze:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ae28df165e0d4782bba09543e526018f', '-D', '/var/lib/mock/centos-7-i386/root', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6Dooze:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/jhead.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/jhead-3.03-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/jhead.spec'], timeout=0nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6Dooze:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b1055e5535ed49febde3983128c31a58', '-D', '/var/lib/mock/centos-7-i386/root', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6Dooze:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/jhead.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1J9rui + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jhead-3.03 + /usr/bin/gzip -dc /builddir/build/SOURCES/jhead-3.03.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd jhead-3.03 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (32_crash_in_gpsinfo):' Patch #0 (32_crash_in_gpsinfo): + /usr/bin/cat /builddir/build/SOURCES/32_crash_in_gpsinfo + /usr/bin/patch -p1 --fuzz=0 patching file gpsinfo.c + echo 'Patch #1 (33_fix_908176):' Patch #1 (33_fix_908176): + /usr/bin/cat /builddir/build/SOURCES/33_fix_908176 + /usr/bin/patch -p1 --fuzz=0 patching file gpsinfo.c + echo 'Patch #2 (34_buffer_overflow):' Patch #2 (34_buffer_overflow): + /usr/bin/cat /builddir/build/SOURCES/34_buffer_overflow + /usr/bin/patch -p1 --fuzz=0 patching file jhead.c Hunk #1 succeeded at 677 (offset 7 lines). + echo 'Patch #3 (35_compiler_warning_truncate):' Patch #3 (35_compiler_warning_truncate): + /usr/bin/cat /builddir/build/SOURCES/35_compiler_warning_truncate + /usr/bin/patch -p1 --fuzz=0 patching file jhead.c Hunk #1 succeeded at 657 (offset 7 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cmwj3c + umask 022 + cd /builddir/build/BUILD + cd jhead-3.03 + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c jhead.c -o jhead.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c jpgfile.c -o jpgfile.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c jpgqguess.c -o jpgqguess.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c paths.c -o paths.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c exif.c -o exif.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c iptc.c -o iptc.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c gpsinfo.c -o gpsinfo.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c makernote.c -o makernote.o cc -o jhead ./jhead.o ./jpgfile.o ./jpgqguess.o ./paths.o ./exif.o ./iptc.o ./gpsinfo.o ./makernote.o -lm BUILDSTDERR: ./jhead.o: In function `DoCommand': BUILDSTDERR: /builddir/build/BUILD/jhead-3.03/jhead.c:379: warning: the use of `mktemp' is dangerous, better use `mkstemp' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gyy6C9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jhead-3.03-1.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jhead-3.03-1.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/jhead-3.03-1.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jhead-3.03-1.el7.i386 + cd jhead-3.03 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.03-1.el7.i386//usr/bin + cp -p jhead /builddir/build/BUILDROOT/jhead-3.03-1.el7.i386//usr/bin + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.03-1.el7.i386//usr/share/man/man1/ + cp -p jhead.1 /builddir/build/BUILDROOT/jhead-3.03-1.el7.i386//usr/share/man/man1/ + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/jhead-3.03 extracting debug info from /builddir/build/BUILDROOT/jhead-3.03-1.el7.i386/usr/bin/jhead BUILDSTDERR: dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 379 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: jhead-3.03-1.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.egIIv7 + umask 022 + cd /builddir/build/BUILD + cd jhead-3.03 + DOCDIR=/builddir/build/BUILDROOT/jhead-3.03-1.el7.i386/usr/share/doc/jhead-3.03 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jhead-3.03-1.el7.i386/usr/share/doc/jhead-3.03 + cp -pr readme.txt /builddir/build/BUILDROOT/jhead-3.03-1.el7.i386/usr/share/doc/jhead-3.03 + cp -pr usage.html /builddir/build/BUILDROOT/jhead-3.03-1.el7.i386/usr/share/doc/jhead-3.03 + cp -pr changes.txt /builddir/build/BUILDROOT/jhead-3.03-1.el7.i386/usr/share/doc/jhead-3.03 + exit 0 Provides: jhead = 3.03-1.el7 jhead(x86-32) = 3.03-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libm.so.6 libm.so.6(GLIBC_2.0) rtld(GNU_HASH) Processing files: jhead-debuginfo-3.03-1.el7.i686 Provides: jhead-debuginfo = 3.03-1.el7 jhead-debuginfo(x86-32) = 3.03-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jhead-3.03-1.el7.i386 Wrote: /builddir/build/RPMS/jhead-3.03-1.el7.i686.rpm Wrote: /builddir/build/RPMS/jhead-debuginfo-3.03-1.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.A7roI2 + umask 022 + cd /builddir/build/BUILD + cd jhead-3.03 + /usr/bin/rm -rf /builddir/build/BUILDROOT/jhead-3.03-1.el7.i386 + exit 0 Child return code was: 0