D: [iurt_root_command] chroot warning: extra tokens at the end of %endif directive in line 20: %endif # if with_python3 warning: extra tokens at the end of %endif directive in line 41: %endif # with_python3 warning: extra tokens at the end of %endif directive in line 51: %endif # with_python3 warning: extra tokens at the end of %endif directive in line 57: %endif # with_python3 warning: extra tokens at the end of %endif directive in line 63: %endif # with_python3 warning: extra tokens at the end of %endif directive in line 71: %endif # with_python3 Installing /home/iurt/rpmbuild/SRPMS/python-pyaml-18.11.0-3.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.urOla4 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf pyaml-18.11.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/pyaml-18.11.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pyaml-18.11.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf pyaml.egg-info + find -name '*.py' + xargs sed -i '1s|^#!python|#!/usr/bin/python3|' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.XXpuV2 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd pyaml-18.11.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/pyaml copying pyaml/__init__.py -> build/lib/pyaml copying pyaml/__main__.py -> build/lib/pyaml creating build/lib/pyaml/tests copying pyaml/tests/dump.py -> build/lib/pyaml/tests copying pyaml/tests/__init__.py -> build/lib/pyaml/tests + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.nNbqm3 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64 + cd pyaml-18.11.0 + '[' 1 -eq 1 ']' + /usr/bin/python3 setup.py install --skip-build --root /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64 running install running install_lib creating /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr creating /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr/lib creating /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr/lib/python3.8 creating /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr/lib/python3.8/site-packages creating /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr/lib/python3.8/site-packages/pyaml copying build/lib/pyaml/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr/lib/python3.8/site-packages/pyaml copying build/lib/pyaml/__main__.py -> /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr/lib/python3.8/site-packages/pyaml creating /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr/lib/python3.8/site-packages/pyaml/tests copying build/lib/pyaml/tests/dump.py -> /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr/lib/python3.8/site-packages/pyaml/tests copying build/lib/pyaml/tests/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr/lib/python3.8/site-packages/pyaml/tests byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr/lib/python3.8/site-packages/pyaml/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr/lib/python3.8/site-packages/pyaml/__main__.py to __main__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr/lib/python3.8/site-packages/pyaml/tests/dump.py to dump.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr/lib/python3.8/site-packages/pyaml/tests/__init__.py to __init__.cpython-38.pyc running install_egg_info running egg_info creating pyaml.egg-info writing pyaml.egg-info/PKG-INFO writing dependency_links to pyaml.egg-info/dependency_links.txt writing requirements to pyaml.egg-info/requires.txt writing top-level names to pyaml.egg-info/top_level.txt writing manifest file 'pyaml.egg-info/SOURCES.txt' reading manifest file 'pyaml.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pyaml.egg-info/SOURCES.txt' Copying pyaml.egg-info to /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr/lib/python3.8/site-packages/pyaml-18.11.0-py3.8.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j96 --strict-build-id -m -i --build-id-seed 18.11.0-3.mga8 --unique-debug-suffix -18.11.0-3.mga8.x86_64 --unique-debug-src-base python-pyaml-18.11.0-3.mga8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/pyaml-18.11.0 + /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-python-bytecompile /usr/bin/python3 1 1 Bytecompiling .py files below /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr/lib/python3.8 using /usr/bin/python3.8 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: python3-pyaml-18.11.0-3.mga8.noarch Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.rWBaa4 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd pyaml-18.11.0 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr/share/doc/python3-pyaml + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr/share/doc/python3-pyaml + cp -pr README.rst /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64/usr/share/doc/python3-pyaml + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pyaml = 18.11.0-3.mga8 python3-pyaml = 18.11.0-3.mga8 python3.8-pyaml = 18.11.0-3.mga8 python3.8dist(pyaml) = 18.11 python3dist(pyaml) = 18.11 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.8 python3.8dist(pyyaml) Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64 Wrote: /home/iurt/rpmbuild/RPMS/noarch/python3-pyaml-18.11.0-3.mga8.noarch.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.JpqZn0 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd pyaml-18.11.0 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/python-pyaml-18.11.0-3.mga8.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ohRUC0 + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf pyaml-18.11.0 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!