Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/jbigkit.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-193031-60809/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/jbigkit.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/jbigkit-2.1-15.an8.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/jbigkit.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-193031-60809/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/jbigkit.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9oKXQB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jbigkit-2.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/jbigkit-2.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jbigkit-2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-jbigkit-2.1-shlib.patch):' Patch #0 (0001-jbigkit-2.1-shlib.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .shlib --fuzz=0 patching file libjbig/Makefile patching file Makefile patching file pbmtools/Makefile Patch #1 (0002-jbigkit-2.0-warnings.patch): + echo 'Patch #1 (0002-jbigkit-2.0-warnings.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .warnings --fuzz=0 patching file pbmtools/pbmtojbg85.c Hunk #1 succeeded at 70 (offset -2 lines). Hunk #2 succeeded at 240 (offset -2 lines). patching file pbmtools/pbmtojbg.c Hunk #1 succeeded at 86 (offset -2 lines). Hunk #2 succeeded at 304 (offset -2 lines). Hunk #3 succeeded at 318 (offset -2 lines). Patch #2 (0003-jbigkit-ldflags.patch): + echo 'Patch #2 (0003-jbigkit-ldflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ldflags --fuzz=0 patching file libjbig/Makefile patching file pbmtools/Makefile Patch #3 (0004-jbigkit-covscan.patch): + echo 'Patch #3 (0004-jbigkit-covscan.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .covscan --fuzz=0 patching file libjbig/jbig.c patching file pbmtools/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gpsfVD + umask 022 + cd /builddir/build/BUILD + cd jbigkit-2.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/make -O -j64 make -C libjbig make[1]: Entering directory '/builddir/build/BUILD/jbigkit-2.1/libjbig' make[1]: Leaving directory '/builddir/build/BUILD/jbigkit-2.1/libjbig' make[1]: Entering directory '/builddir/build/BUILD/jbigkit-2.1/libjbig' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -W -Wall -ansi -pedantic -fPIC -DPIC -c -o jbig.o jbig.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -W -Wall -ansi -pedantic -fPIC -DPIC -c -o jbig_ar.o jbig_ar.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -W -Wall -ansi -pedantic -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libjbig.so.2.1 -o libjbig.so.2.1 jbig.o jbig_ar.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -W -Wall -ansi -pedantic -c -o tstcodec.o tstcodec.c ln -sf libjbig.so.2.1 libjbig.so gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -W -Wall -ansi -pedantic -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tstcodec tstcodec.o -L. -ljbig -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -W -Wall -ansi -pedantic -c -o tstcodec85.o tstcodec85.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -W -Wall -ansi -pedantic -fPIC -DPIC -c -o jbig85.o jbig85.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -W -Wall -ansi -pedantic -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libjbig85.so.2.1 -o libjbig85.so.2.1 jbig85.o jbig_ar.o ln -sf libjbig85.so.2.1 libjbig85.so gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -W -Wall -ansi -pedantic -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tstcodec85 tstcodec85.o libjbig85.so -L. -ljbig85 make[1]: Leaving directory '/builddir/build/BUILD/jbigkit-2.1/libjbig' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make -C pbmtools make[1]: Entering directory '/builddir/build/BUILD/jbigkit-2.1/pbmtools' make[1]: Leaving directory '/builddir/build/BUILD/jbigkit-2.1/pbmtools' make[1]: Entering directory '/builddir/build/BUILD/jbigkit-2.1/pbmtools' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -W -Wall -Wno-unused-result -ansi -pedantic -I../libjbig -c -o pbmtojbg.o pbmtojbg.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -W -Wall -Wno-unused-result -ansi -pedantic -o pbmtojbg pbmtojbg.o -L../libjbig -ljbig -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -W -Wall -Wno-unused-result -ansi -pedantic -I../libjbig -c -o jbgtopbm.o jbgtopbm.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -W -Wall -Wno-unused-result -ansi -pedantic -o jbgtopbm jbgtopbm.o -L../libjbig -ljbig -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -W -Wall -Wno-unused-result -ansi -pedantic -I../libjbig -c -o pbmtojbg85.o pbmtojbg85.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -W -Wall -Wno-unused-result -ansi -pedantic -o pbmtojbg85 pbmtojbg85.o -L../libjbig -ljbig85 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -W -Wall -Wno-unused-result -ansi -pedantic -I../libjbig -c -o jbgtopbm85.o jbgtopbm85.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -W -Wall -Wno-unused-result -ansi -pedantic -o jbgtopbm85 jbgtopbm85.o -L../libjbig -ljbig85 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld make[1]: Leaving directory '/builddir/build/BUILD/jbigkit-2.1/pbmtools' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. Enter 'make test' in order to start some automatic tests. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.senjmu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jbigkit-2.1-15.an8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jbigkit-2.1-15.an8.x86_64 ++ dirname /builddir/build/BUILDROOT/jbigkit-2.1-15.an8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jbigkit-2.1-15.an8.x86_64 + cd jbigkit-2.1 + mkdir -p /builddir/build/BUILDROOT/jbigkit-2.1-15.an8.x86_64/usr/lib64 + mkdir -p /builddir/build/BUILDROOT/jbigkit-2.1-15.an8.x86_64/usr/include + mkdir -p /builddir/build/BUILDROOT/jbigkit-2.1-15.an8.x86_64/usr/bin + mkdir -p /builddir/build/BUILDROOT/jbigkit-2.1-15.an8.x86_64/usr/share/man/man1 + install -p -m0755 libjbig/libjbig.so.2.1 /builddir/build/BUILDROOT/jbigkit-2.1-15.an8.x86_64//usr/lib64 + install -p -m0755 libjbig/libjbig85.so.2.1 /builddir/build/BUILDROOT/jbigkit-2.1-15.an8.x86_64//usr/lib64 + ln -sf libjbig.so.2.1 /builddir/build/BUILDROOT/jbigkit-2.1-15.an8.x86_64//usr/lib64/libjbig.so + ln -sf libjbig85.so.2.1 /builddir/build/BUILDROOT/jbigkit-2.1-15.an8.x86_64//usr/lib64/libjbig85.so + install -p -m0644 libjbig/jbig.h /builddir/build/BUILDROOT/jbigkit-2.1-15.an8.x86_64/usr/include + install -p -m0644 libjbig/jbig85.h /builddir/build/BUILDROOT/jbigkit-2.1-15.an8.x86_64/usr/include + install -p -m0644 libjbig/jbig_ar.h /builddir/build/BUILDROOT/jbigkit-2.1-15.an8.x86_64/usr/include + install -p -m0755 pbmtools/jbgtopbm pbmtools/pbmtojbg /builddir/build/BUILDROOT/jbigkit-2.1-15.an8.x86_64/usr/bin + install -p -m0755 pbmtools/jbgtopbm85 pbmtools/pbmtojbg85 /builddir/build/BUILDROOT/jbigkit-2.1-15.an8.x86_64/usr/bin + install -p -m0644 pbmtools/jbgtopbm.1 pbmtools/pbmtojbg.1 /builddir/build/BUILDROOT/jbigkit-2.1-15.an8.x86_64/usr/share/man/man1 + %generate_compatibility_deps /var/tmp/rpm-tmp.senjmu: line 57: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.senjmu (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.senjmu (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/jbigkit.spec