Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/kernel.spec'], chrootPath='/var/lib/mock/kernel-4.18.0-305.10.2.el7-20210723204256-20865/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1005) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/kernel.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/kernel-4.18.0-305.10.2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/kernel.spec'], chrootPath='/var/lib/mock/kernel-4.18.0-305.10.2.el7-20210723204256-20865/root'shell=Falseuid=1005env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/kernel.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ye7CHj + umask 022 + cd /builddir/build/BUILD + source scl_source enable devtoolset-8 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/devtoolset-8 +++ cat /etc/scl/conf/devtoolset-8 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled devtoolset-8 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/devtoolset-8/enable ++ source /opt/rh/devtoolset-8/enable +++ export PATH=/opt/rh/devtoolset-8/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/devtoolset-8/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export MANPATH=/opt/rh/devtoolset-8/root/usr/share/man: +++ MANPATH=/opt/rh/devtoolset-8/root/usr/share/man: +++ export INFOPATH=/opt/rh/devtoolset-8/root/usr/share/info +++ INFOPATH=/opt/rh/devtoolset-8/root/usr/share/info +++ export PCP_DIR=/opt/rh/devtoolset-8/root +++ PCP_DIR=/opt/rh/devtoolset-8/root +++ export PERL5LIB=/opt/rh/devtoolset-8/root//usr/lib64/perl5/vendor_perl:/opt/rh/devtoolset-8/root/usr/lib/perl5:/opt/rh/devtoolset-8/root//usr/share/perl5/vendor_perl +++ PERL5LIB=/opt/rh/devtoolset-8/root//usr/lib64/perl5/vendor_perl:/opt/rh/devtoolset-8/root/usr/lib/perl5:/opt/rh/devtoolset-8/root//usr/share/perl5/vendor_perl ++++ rpm --eval '%{_libdir}' +++ rpmlibdir=/usr/lib64 +++ '[' /usr/lib64 '!=' /usr/ ']' +++ rpmlibdir32=:/opt/rh/devtoolset-8/root/usr/lib +++ export LD_LIBRARY_PATH=/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib +++ export LD_LIBRARY_PATH=/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib:/opt/rh/devtoolset-8/root/usr/lib64/dyninst:/opt/rh/devtoolset-8/root/usr/lib/dyninst:/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib:/opt/rh/devtoolset-8/root/usr/lib64/dyninst:/opt/rh/devtoolset-8/root/usr/lib/dyninst:/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib +++ pythonvers= +++ export PYTHONPATH=/opt/rh/devtoolset-8/root/usr/lib64/python/site-packages:/opt/rh/devtoolset-8/root/usr/lib/python/site-packages +++ PYTHONPATH=/opt/rh/devtoolset-8/root/usr/lib64/python/site-packages:/opt/rh/devtoolset-8/root/usr/lib/python/site-packages +++ export PKG_CONFIG_PATH=/opt/rh/devtoolset-8/root/usr/lib64/pkgconfig::/usr/lib/pkgconfig:/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/devtoolset-8/root/usr/lib64/pkgconfig::/usr/lib/pkgconfig:/usr/share/pkgconfig ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=devtoolset-8 ' ++ X_SCLS='devtoolset-8 ' ++ _i=1 ++ '[' 1 -lt 1 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + source scl_source enable llvm-toolset-7.0 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z false ']' ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/llvm-toolset-7.0 +++ cat /etc/scl/conf/llvm-toolset-7.0 ++ _scl_prefix= ++ '[' 1 -ne 0 ']' Can't read /etc/scl/conf/llvm-toolset-7.0, llvm-toolset-7.0 is probably not installed. ++ echo 'Can'\''t read /etc/scl/conf/llvm-toolset-7.0, llvm-toolset-7.0 is probably not installed.' ++ return 1 + : + patch_command='patch -p1 -F1 -s' + cd /builddir/build/BUILD + rm -rf kernel-4.18.0-305.10.2.el8_4 + /usr/bin/mkdir -p kernel-4.18.0-305.10.2.el8_4 + cd kernel-4.18.0-305.10.2.el8_4 + /usr/bin/xz -dc /builddir/build/SOURCES/linux-4.18.0-305.10.2.el8_4.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -v /builddir/build/SOURCES/centos.pem linux-4.18.0-305.10.2.el8_4/certs/rhel.pem '/builddir/build/SOURCES/centos.pem' -> 'linux-4.18.0-305.10.2.el8_4/certs/rhel.pem' + mv linux-4.18.0-305.10.2.el8_4 linux-4.18.0-305.10.2.el7.noarch + cd linux-4.18.0-305.10.2.el7.noarch + ApplyOptionalPatch debrand-single-cpu.patch + local patch=debrand-single-cpu.patch + shift + '[' '!' -f /builddir/build/SOURCES/debrand-single-cpu.patch ']' ++ wc -l /builddir/build/SOURCES/debrand-single-cpu.patch ++ awk '{print $1}' + local C=11 + '[' 11 -gt 9 ']' + ApplyPatch debrand-single-cpu.patch + local patch=debrand-single-cpu.patch + shift + '[' '!' -f /builddir/build/SOURCES/debrand-single-cpu.patch ']' Patch1000: debrand-single-cpu.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch debrand-rh_taint.patch + local patch=debrand-rh_taint.patch + shift + '[' '!' -f /builddir/build/SOURCES/debrand-rh_taint.patch ']' ++ wc -l /builddir/build/SOURCES/debrand-rh_taint.patch ++ awk '{print $1}' + local C=81 + '[' 81 -gt 9 ']' + ApplyPatch debrand-rh_taint.patch + local patch=debrand-rh_taint.patch + shift + '[' '!' -f /builddir/build/SOURCES/debrand-rh_taint.patch ']' Patch1001: debrand-rh_taint.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch debrand-rh-i686-cpu.patch + local patch=debrand-rh-i686-cpu.patch + shift + '[' '!' -f /builddir/build/SOURCES/debrand-rh-i686-cpu.patch ']' ++ awk '{print $1}' ++ wc -l /builddir/build/SOURCES/debrand-rh-i686-cpu.patch + local C=11 + '[' 11 -gt 9 ']' + ApplyPatch debrand-rh-i686-cpu.patch + local patch=debrand-rh-i686-cpu.patch + shift + '[' '!' -f /builddir/build/SOURCES/debrand-rh-i686-cpu.patch ']' Patch1002: debrand-rh-i686-cpu.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch linux-kernel-test.patch + local patch=linux-kernel-test.patch + shift + '[' '!' -f /builddir/build/SOURCES/linux-kernel-test.patch ']' ++ wc -l /builddir/build/SOURCES/linux-kernel-test.patch ++ awk '{print $1}' + local C=0 + '[' 0 -gt 9 ']' + chmod +x scripts/checkpatch.pl + mv COPYING COPYING-4.18.0 + touch .scmversion + '[' -L configs ']' + rm -f configs + mkdir configs + cd configs + cp /builddir/build/SOURCES/kernel-aarch64-debug.config /builddir/build/SOURCES/kernel-aarch64.config /builddir/build/SOURCES/kernel-ppc64le-debug.config /builddir/build/SOURCES/kernel-ppc64le.config /builddir/build/SOURCES/kernel-s390x-debug.config /builddir/build/SOURCES/kernel-s390x-zfcpdump.config /builddir/build/SOURCES/kernel-s390x.config /builddir/build/SOURCES/kernel-x86_64-debug.config /builddir/build/SOURCES/kernel-x86_64.config . + cp /builddir/build/SOURCES/generate_all_configs.sh . + VERSION=4.18.0 + NAME=kernel + ./generate_all_configs.sh + openssl x509 -inform der -in /builddir/build/SOURCES/centos-ldup.x509 -out rheldup3.pem + openssl x509 -inform der -in /builddir/build/SOURCES/centos-kpatch.x509 -out rhelkpatch1.pem + cat rheldup3.pem rhelkpatch1.pem + for i in '*.config' + sed -i 's@CONFIG_SYSTEM_TRUSTED_KEYS=""@CONFIG_SYSTEM_TRUSTED_KEYS="certs/rhel.pem"@' kernel-4.18.0-aarch64-debug.config + for i in '*.config' + sed -i 's@CONFIG_SYSTEM_TRUSTED_KEYS=""@CONFIG_SYSTEM_TRUSTED_KEYS="certs/rhel.pem"@' kernel-4.18.0-aarch64.config + for i in '*.config' + sed -i 's@CONFIG_SYSTEM_TRUSTED_KEYS=""@CONFIG_SYSTEM_TRUSTED_KEYS="certs/rhel.pem"@' kernel-4.18.0-ppc64le-debug.config + for i in '*.config' + sed -i 's@CONFIG_SYSTEM_TRUSTED_KEYS=""@CONFIG_SYSTEM_TRUSTED_KEYS="certs/rhel.pem"@' kernel-4.18.0-ppc64le.config + for i in '*.config' + sed -i 's@CONFIG_SYSTEM_TRUSTED_KEYS=""@CONFIG_SYSTEM_TRUSTED_KEYS="certs/rhel.pem"@' kernel-4.18.0-s390x-debug.config + for i in '*.config' + sed -i 's@CONFIG_SYSTEM_TRUSTED_KEYS=""@CONFIG_SYSTEM_TRUSTED_KEYS="certs/rhel.pem"@' kernel-4.18.0-s390x-zfcpdump.config + for i in '*.config' + sed -i 's@CONFIG_SYSTEM_TRUSTED_KEYS=""@CONFIG_SYSTEM_TRUSTED_KEYS="certs/rhel.pem"@' kernel-4.18.0-s390x.config + for i in '*.config' + sed -i 's@CONFIG_SYSTEM_TRUSTED_KEYS=""@CONFIG_SYSTEM_TRUSTED_KEYS="certs/rhel.pem"@' kernel-4.18.0-x86_64-debug.config + for i in '*.config' + sed -i 's@CONFIG_SYSTEM_TRUSTED_KEYS=""@CONFIG_SYSTEM_TRUSTED_KEYS="certs/rhel.pem"@' kernel-4.18.0-x86_64.config + cp /builddir/build/SOURCES/process_configs.sh . + ./process_configs.sh -w -c kernel 4.18.0 Processing /builddir/build/BUILD/kernel-4.18.0-305.10.2.el8_4/linux-4.18.0-305.10.2.el7.noarch/configs/kernel-4.18.0-aarch64-debug.config ... done Processing /builddir/build/BUILD/kernel-4.18.0-305.10.2.el8_4/linux-4.18.0-305.10.2.el7.noarch/configs/kernel-4.18.0-aarch64.config ... done Processing /builddir/build/BUILD/kernel-4.18.0-305.10.2.el8_4/linux-4.18.0-305.10.2.el7.noarch/configs/kernel-4.18.0-ppc64le-debug.config ... done Processing /builddir/build/BUILD/kernel-4.18.0-305.10.2.el8_4/linux-4.18.0-305.10.2.el7.noarch/configs/kernel-4.18.0-ppc64le.config ... done Processing /builddir/build/BUILD/kernel-4.18.0-305.10.2.el8_4/linux-4.18.0-305.10.2.el7.noarch/configs/kernel-4.18.0-s390x-debug.config ... done Processing /builddir/build/BUILD/kernel-4.18.0-305.10.2.el8_4/linux-4.18.0-305.10.2.el7.noarch/configs/kernel-4.18.0-s390x-zfcpdump.config ... done Processing /builddir/build/BUILD/kernel-4.18.0-305.10.2.el8_4/linux-4.18.0-305.10.2.el7.noarch/configs/kernel-4.18.0-s390x.config ... done Processing /builddir/build/BUILD/kernel-4.18.0-305.10.2.el8_4/linux-4.18.0-305.10.2.el7.noarch/configs/kernel-4.18.0-x86_64-debug.config ... done Processing /builddir/build/BUILD/kernel-4.18.0-305.10.2.el8_4/linux-4.18.0-305.10.2.el7.noarch/configs/kernel-4.18.0-x86_64.config ... done Processed config files are in /builddir/build/BUILD/kernel-4.18.0-305.10.2.el8_4/linux-4.18.0-305.10.2.el7.noarch/configs + cd .. + find . '(' -name '*.orig' -o -name '*~' ')' -exec rm -f '{}' ';' + find . -name .gitignore -exec rm -f '{}' ';' + cd .. + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nl7Xss + umask 022 + cd /builddir/build/BUILD + cd kernel-4.18.0-305.10.2.el8_4 + source scl_source enable devtoolset-8 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/devtoolset-8 +++ cat /etc/scl/conf/devtoolset-8 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled devtoolset-8 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/devtoolset-8/enable ++ source /opt/rh/devtoolset-8/enable +++ export PATH=/opt/rh/devtoolset-8/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/devtoolset-8/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export MANPATH=/opt/rh/devtoolset-8/root/usr/share/man: +++ MANPATH=/opt/rh/devtoolset-8/root/usr/share/man: +++ export INFOPATH=/opt/rh/devtoolset-8/root/usr/share/info +++ INFOPATH=/opt/rh/devtoolset-8/root/usr/share/info +++ export PCP_DIR=/opt/rh/devtoolset-8/root +++ PCP_DIR=/opt/rh/devtoolset-8/root +++ export PERL5LIB=/opt/rh/devtoolset-8/root//usr/lib64/perl5/vendor_perl:/opt/rh/devtoolset-8/root/usr/lib/perl5:/opt/rh/devtoolset-8/root//usr/share/perl5/vendor_perl +++ PERL5LIB=/opt/rh/devtoolset-8/root//usr/lib64/perl5/vendor_perl:/opt/rh/devtoolset-8/root/usr/lib/perl5:/opt/rh/devtoolset-8/root//usr/share/perl5/vendor_perl ++++ rpm --eval '%{_libdir}' +++ rpmlibdir=/usr/lib64 +++ '[' /usr/lib64 '!=' /usr/ ']' +++ rpmlibdir32=:/opt/rh/devtoolset-8/root/usr/lib +++ export LD_LIBRARY_PATH=/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib +++ export LD_LIBRARY_PATH=/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib:/opt/rh/devtoolset-8/root/usr/lib64/dyninst:/opt/rh/devtoolset-8/root/usr/lib/dyninst:/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib:/opt/rh/devtoolset-8/root/usr/lib64/dyninst:/opt/rh/devtoolset-8/root/usr/lib/dyninst:/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib +++ pythonvers= +++ export PYTHONPATH=/opt/rh/devtoolset-8/root/usr/lib64/python/site-packages:/opt/rh/devtoolset-8/root/usr/lib/python/site-packages +++ PYTHONPATH=/opt/rh/devtoolset-8/root/usr/lib64/python/site-packages:/opt/rh/devtoolset-8/root/usr/lib/python/site-packages +++ export PKG_CONFIG_PATH=/opt/rh/devtoolset-8/root/usr/lib64/pkgconfig::/usr/lib/pkgconfig:/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/devtoolset-8/root/usr/lib64/pkgconfig::/usr/lib/pkgconfig:/usr/share/pkgconfig ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=devtoolset-8 ' ++ X_SCLS='devtoolset-8 ' ++ _i=1 ++ '[' 1 -lt 1 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + source scl_source enable llvm-toolset-7.0 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z false ']' ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/llvm-toolset-7.0 +++ cat /etc/scl/conf/llvm-toolset-7.0 ++ _scl_prefix= ++ '[' 1 -ne 0 ']' Can't read /etc/scl/conf/llvm-toolset-7.0, llvm-toolset-7.0 is probably not installed. ++ echo 'Can'\''t read /etc/scl/conf/llvm-toolset-7.0, llvm-toolset-7.0 is probably not installed.' ++ return 1 + : + rm -rf /builddir/build/BUILDROOT/kernel-4.18.0-305.10.2.el7.noarch + mkdir -p /builddir/build/BUILDROOT/kernel-4.18.0-305.10.2.el7.noarch/boot + mkdir -p /builddir/build/BUILDROOT/kernel-4.18.0-305.10.2.el7.noarch/usr/libexec + cd linux-4.18.0-305.10.2.el7.noarch + make htmldocs Documentation/Makefile:24: The 'sphinx-build' command was not found. Make sure you have Sphinx installed and in PATH, or set the SPHINXBUILD make variable to point to the full path of the 'sphinx-build' executable. Detected OS: CentOS Linux release 7.9.2009 (Core). NOTE: On this distro, Sphinx and TexLive shipped versions are incompatible with doc build. So, use Sphinx via a Python virtual environment. This script can't install a TexLive version that would provide PDF. Warning: better to also install "convert". You should run: sudo yum install -y ImageMagick sudo ln -sf /usr/bin/sphinx-build-3 /usr/bin/sphinx-build Needed package dependencies are met. SKIP Sphinx include/config/auto.conf target. Documentation/Makefile:24: The 'sphinx-build' command was not found. Make sure you have Sphinx installed and in PATH, or set the SPHINXBUILD make variable to point to the full path of the 'sphinx-build' executable. Detected OS: CentOS Linux release 7.9.2009 (Core). NOTE: On this distro, Sphinx and TexLive shipped versions are incompatible with doc build. So, use Sphinx via a Python virtual environment. This script can't install a TexLive version that would provide PDF. Warning: better to also install "convert". You should run: sudo yum install -y ImageMagick sudo ln -sf /usr/bin/sphinx-build-3 /usr/bin/sphinx-build Needed package dependencies are met. SKIP Sphinx htmldocs target. + chmod -R a=rX Documentation + xargs chmod u+w + find Documentation -type d + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yOujnD + umask 022 + cd /builddir/build/BUILD + cd kernel-4.18.0-305.10.2.el8_4 + source scl_source enable devtoolset-8 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/devtoolset-8 +++ cat /etc/scl/conf/devtoolset-8 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled devtoolset-8 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/devtoolset-8/enable ++ source /opt/rh/devtoolset-8/enable +++ export PATH=/opt/rh/devtoolset-8/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/devtoolset-8/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export MANPATH=/opt/rh/devtoolset-8/root/usr/share/man: +++ MANPATH=/opt/rh/devtoolset-8/root/usr/share/man: +++ export INFOPATH=/opt/rh/devtoolset-8/root/usr/share/info +++ INFOPATH=/opt/rh/devtoolset-8/root/usr/share/info +++ export PCP_DIR=/opt/rh/devtoolset-8/root +++ PCP_DIR=/opt/rh/devtoolset-8/root +++ export PERL5LIB=/opt/rh/devtoolset-8/root//usr/lib64/perl5/vendor_perl:/opt/rh/devtoolset-8/root/usr/lib/perl5:/opt/rh/devtoolset-8/root//usr/share/perl5/vendor_perl +++ PERL5LIB=/opt/rh/devtoolset-8/root//usr/lib64/perl5/vendor_perl:/opt/rh/devtoolset-8/root/usr/lib/perl5:/opt/rh/devtoolset-8/root//usr/share/perl5/vendor_perl ++++ rpm --eval '%{_libdir}' +++ rpmlibdir=/usr/lib64 +++ '[' /usr/lib64 '!=' /usr/ ']' +++ rpmlibdir32=:/opt/rh/devtoolset-8/root/usr/lib +++ export LD_LIBRARY_PATH=/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib +++ export LD_LIBRARY_PATH=/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib:/opt/rh/devtoolset-8/root/usr/lib64/dyninst:/opt/rh/devtoolset-8/root/usr/lib/dyninst:/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib +++ LD_LIBRARY_PATH=/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib:/opt/rh/devtoolset-8/root/usr/lib64/dyninst:/opt/rh/devtoolset-8/root/usr/lib/dyninst:/opt/rh/devtoolset-8/root/usr/lib64:/opt/rh/devtoolset-8/root/usr/lib +++ pythonvers= +++ export PYTHONPATH=/opt/rh/devtoolset-8/root/usr/lib64/python/site-packages:/opt/rh/devtoolset-8/root/usr/lib/python/site-packages +++ PYTHONPATH=/opt/rh/devtoolset-8/root/usr/lib64/python/site-packages:/opt/rh/devtoolset-8/root/usr/lib/python/site-packages +++ export PKG_CONFIG_PATH=/opt/rh/devtoolset-8/root/usr/lib64/pkgconfig::/usr/lib/pkgconfig:/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/devtoolset-8/root/usr/lib64/pkgconfig::/usr/lib/pkgconfig:/usr/share/pkgconfig ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=devtoolset-8 ' ++ X_SCLS='devtoolset-8 ' ++ _i=1 ++ '[' 1 -lt 1 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + source scl_source enable llvm-toolset-7.0 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z false ']' ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/llvm-toolset-7.0 +++ cat /etc/scl/conf/llvm-toolset-7.0 ++ _scl_prefix= ++ '[' 1 -ne 0 ']' Can't read /etc/scl/conf/llvm-toolset-7.0, llvm-toolset-7.0 is probably not installed. ++ echo 'Can'\''t read /etc/scl/conf/llvm-toolset-7.0, llvm-toolset-7.0 is probably not installed.' ++ return 1 + : + cd linux-4.18.0-305.10.2.el7.noarch + docdir=/builddir/build/BUILDROOT/kernel-4.18.0-305.10.2.el7.noarch/usr/share/doc/kernel-doc-4.18.0 + mkdir -p /builddir/build/BUILDROOT/kernel-4.18.0-305.10.2.el7.noarch/usr/share/doc/kernel-doc-4.18.0 + tar xf - -C /builddir/build/BUILDROOT/kernel-4.18.0-305.10.2.el7.noarch/usr/share/doc/kernel-doc-4.18.0 + tar -h -f - --exclude=man '--exclude=.*' -c Documentation + INSTALL_KABI_PATH=/builddir/build/BUILDROOT/kernel-4.18.0-305.10.2.el7.noarch/lib/modules/ + mkdir -p /builddir/build/BUILDROOT/kernel-4.18.0-305.10.2.el7.noarch/lib/modules/ + tar xjvf '%{SOURCE300}' -C /builddir/build/BUILDROOT/kernel-4.18.0-305.10.2.el7.noarch/lib/modules/ tar (child): %{SOURCE300}: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now error: Bad exit status from /var/tmp/rpm-tmp.yOujnD (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.yOujnD (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/kernel.spec