Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpbin.spec'], chrootPath='/var/lib/mock/dist-an23-build-293123-65148/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpbin.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 warning: extra tokens at the end of %endif directive in line 62: %endif # obsolete2 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689897600 Wrote: /builddir/build/SRPMS/python-httpbin-0.7.0-1.an23.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 62: %endif # obsolete2 %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpbin.spec'], chrootPath='/var/lib/mock/dist-an23-build-293123-65148/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpbin.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 warning: extra tokens at the end of %endif directive in line 62: %endif # obsolete2 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fo7Sd2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf httpbin-0.7.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/httpbin-0.7.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd httpbin-0.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Use-Google-s-brotli-module-not-the-brotlipy-one.patch):' Patch #1 (0001-Use-Google-s-brotli-module-not-the-brotlipy-one.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file httpbin/filters.py patching file setup.py Hunk #1 succeeded at 34 (offset 1 line). + chmod ugo-x httpbin/templates/forms-post.html + sed -i -e 's,werkzeug>=0.14.1,werkzeug,g' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iqTtmW + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd httpbin-0.7.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/httpbin copying httpbin/__init__.py -> build/lib/httpbin copying httpbin/core.py -> build/lib/httpbin copying httpbin/filters.py -> build/lib/httpbin copying httpbin/helpers.py -> build/lib/httpbin copying httpbin/structures.py -> build/lib/httpbin copying httpbin/utils.py -> build/lib/httpbin running egg_info creating httpbin.egg-info writing httpbin.egg-info/PKG-INFO writing dependency_links to httpbin.egg-info/dependency_links.txt writing requirements to httpbin.egg-info/requires.txt writing top-level names to httpbin.egg-info/top_level.txt writing manifest file 'httpbin.egg-info/SOURCES.txt' reading manifest file 'httpbin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'README.rst' warning: no files found matching 'requirements.txt' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'httpbin.egg-info/SOURCES.txt' /usr/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'httpbin.templates' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'httpbin.templates' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'httpbin.templates' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'httpbin.templates' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) creating build/lib/httpbin/templates copying httpbin/templates/UTF-8-demo.txt -> build/lib/httpbin/templates /usr/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'httpbin.templates.images' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'httpbin.templates.images' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'httpbin.templates.images' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'httpbin.templates.images' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) copying httpbin/templates/forms-post.html -> build/lib/httpbin/templates copying httpbin/templates/httpbin.1.html -> build/lib/httpbin/templates copying httpbin/templates/index.html -> build/lib/httpbin/templates copying httpbin/templates/moby.html -> build/lib/httpbin/templates copying httpbin/templates/sample.xml -> build/lib/httpbin/templates copying httpbin/templates/trackingscripts.html -> build/lib/httpbin/templates creating build/lib/httpbin/templates/images copying httpbin/templates/images/jackal.jpg -> build/lib/httpbin/templates/images copying httpbin/templates/images/pig_icon.png -> build/lib/httpbin/templates/images copying httpbin/templates/images/svg_logo.svg -> build/lib/httpbin/templates/images copying httpbin/templates/images/wolf_1.webp -> build/lib/httpbin/templates/images + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sYQxWI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch ++ dirname /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd httpbin-0.7.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr creating /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib creating /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10 creating /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages creating /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin copying build/lib/httpbin/__init__.py -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin copying build/lib/httpbin/core.py -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin copying build/lib/httpbin/filters.py -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin copying build/lib/httpbin/helpers.py -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin copying build/lib/httpbin/structures.py -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin copying build/lib/httpbin/utils.py -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin creating /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/templates copying build/lib/httpbin/templates/UTF-8-demo.txt -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/templates copying build/lib/httpbin/templates/forms-post.html -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/templates copying build/lib/httpbin/templates/httpbin.1.html -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/templates copying build/lib/httpbin/templates/index.html -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/templates copying build/lib/httpbin/templates/moby.html -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/templates copying build/lib/httpbin/templates/sample.xml -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/templates copying build/lib/httpbin/templates/trackingscripts.html -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/templates creating /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/templates/images copying build/lib/httpbin/templates/images/jackal.jpg -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/templates/images copying build/lib/httpbin/templates/images/pig_icon.png -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/templates/images copying build/lib/httpbin/templates/images/svg_logo.svg -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/templates/images copying build/lib/httpbin/templates/images/wolf_1.webp -> /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/templates/images byte-compiling /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/core.py to core.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/filters.py to filters.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/helpers.py to helpers.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/structures.py to structures.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin/utils.py to utils.cpython-310.pyc writing byte-compilation script '/tmp/tmpezephx_6.py' /usr/bin/python3 /tmp/tmpezephx_6.py removing /tmp/tmpezephx_6.py running install_egg_info running egg_info writing httpbin.egg-info/PKG-INFO writing dependency_links to httpbin.egg-info/dependency_links.txt writing requirements to httpbin.egg-info/requires.txt writing top-level names to httpbin.egg-info/top_level.txt reading manifest file 'httpbin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'README.rst' warning: no files found matching 'requirements.txt' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'httpbin.egg-info/SOURCES.txt' Copying httpbin.egg-info to /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10/site-packages/httpbin-0.7.0-py3.10.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 0.7.0-1.an23 --unique-debug-suffix -0.7.0-1.an23.noarch --unique-debug-src-base python-httpbin-0.7.0-1.an23.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/httpbin-0.7.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-httpbin-0.7.0-1.an23.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.jLIsMW + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd httpbin-0.7.0 + /usr/bin/python3 test_httpbin.py Traceback (most recent call last): File "/builddir/build/BUILD/httpbin-0.7.0/test_httpbin.py", line 13, in import httpbin File "/builddir/build/BUILD/httpbin-0.7.0/httpbin/__init__.py", line 3, in from .core import * File "/builddir/build/BUILD/httpbin-0.7.0/httpbin/core.py", line 18, in from flask import Flask, Response, request, render_template, redirect, jsonify as flask_jsonify, make_response, url_for, abort ModuleNotFoundError: No module named 'flask' error: Bad exit status from /var/tmp/rpm-tmp.jLIsMW (%check) extra tokens at the end of %endif directive in line 62: %endif # obsolete2 %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) RPM build warnings: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.jLIsMW (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpbin.spec\n', 1)] 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 598, 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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpbin.spec