Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-pheweb.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683323697.189827/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-pheweb.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-PheWeb-1.3.16-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-pheweb.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683323697.189827/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-pheweb.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-PheWeb-1.3.16-1.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/python-pheweb.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683323697.189827/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-pheweb.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.euuK28 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PheWeb-1.3.16 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/PheWeb-1.3.16.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd PheWeb-1.3.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wK6Sf8 + umask 022 + cd /builddir/build/BUILD + cd PheWeb-1.3.16 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. warnings.warn( WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. running build running build_py creating build creating build/lib.linux-x86_64-3.9 creating build/lib.linux-x86_64-3.9/pheweb copying pheweb/__init__.py -> build/lib.linux-x86_64-3.9/pheweb copying pheweb/parse_utils.py -> build/lib.linux-x86_64-3.9/pheweb copying pheweb/version.py -> build/lib.linux-x86_64-3.9/pheweb copying pheweb/weetabix.py -> build/lib.linux-x86_64-3.9/pheweb copying pheweb/file_utils.py -> build/lib.linux-x86_64-3.9/pheweb copying pheweb/conf.py -> build/lib.linux-x86_64-3.9/pheweb copying pheweb/utils.py -> build/lib.linux-x86_64-3.9/pheweb copying pheweb/command_line.py -> build/lib.linux-x86_64-3.9/pheweb running egg_info writing PheWeb.egg-info/PKG-INFO writing dependency_links to PheWeb.egg-info/dependency_links.txt writing entry points to PheWeb.egg-info/entry_points.txt writing requirements to PheWeb.egg-info/requires.txt writing top-level names to PheWeb.egg-info/top_level.txt reading manifest file 'PheWeb.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'PheWeb.egg-info/SOURCES.txt' creating build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/__init__.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/add_genes.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/add_rsids.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/augment_phenos.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/best_of_pheno.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/cluster.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/detect_ref.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/download_genes.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/download_genes_from_scratch.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/download_rsids.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/download_rsids_from_scratch.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/gather_pvalues_for_each_gene.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/load_utils.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/make_cpras_rsids_sqlite3.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/make_gene_aliases_sqlite3.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/manhattan.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/matrix.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/parse_input_files.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/pheno_correlation.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/phenotypes.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/process_assoc_files.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/qq.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/read_input_file.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/sites.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/top_hits.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/top_loci.py -> build/lib.linux-x86_64-3.9/pheweb/load copying pheweb/load/wsgi.py -> build/lib.linux-x86_64-3.9/pheweb/load creating build/lib.linux-x86_64-3.9/pheweb/load/cffi copying pheweb/load/cffi/ffibuilder.py -> build/lib.linux-x86_64-3.9/pheweb/load/cffi copying pheweb/load/cffi/x.cpp -> build/lib.linux-x86_64-3.9/pheweb/load/cffi creating build/lib.linux-x86_64-3.9/pheweb/load/phenolist copying pheweb/load/phenolist/__init__.py -> build/lib.linux-x86_64-3.9/pheweb/load/phenolist creating build/lib.linux-x86_64-3.9/pheweb/serve copying pheweb/serve/__init__.py -> build/lib.linux-x86_64-3.9/pheweb/serve copying pheweb/serve/auth.py -> build/lib.linux-x86_64-3.9/pheweb/serve copying pheweb/serve/autocomplete.py -> build/lib.linux-x86_64-3.9/pheweb/serve copying pheweb/serve/run.py -> build/lib.linux-x86_64-3.9/pheweb/serve copying pheweb/serve/server.py -> build/lib.linux-x86_64-3.9/pheweb/serve copying pheweb/serve/server_utils.py -> build/lib.linux-x86_64-3.9/pheweb/serve creating build/lib.linux-x86_64-3.9/pheweb/serve/static copying pheweb/serve/static/common.css -> build/lib.linux-x86_64-3.9/pheweb/serve/static copying pheweb/serve/static/common.js -> build/lib.linux-x86_64-3.9/pheweb/serve/static copying pheweb/serve/static/gene.js -> build/lib.linux-x86_64-3.9/pheweb/serve/static copying pheweb/serve/static/pheno-filter.js -> build/lib.linux-x86_64-3.9/pheweb/serve/static copying pheweb/serve/static/pheno.js -> build/lib.linux-x86_64-3.9/pheweb/serve/static copying pheweb/serve/static/phenotypes.js -> build/lib.linux-x86_64-3.9/pheweb/serve/static copying pheweb/serve/static/region.css -> build/lib.linux-x86_64-3.9/pheweb/serve/static copying pheweb/serve/static/region.js -> build/lib.linux-x86_64-3.9/pheweb/serve/static copying pheweb/serve/static/top_hits.js -> build/lib.linux-x86_64-3.9/pheweb/serve/static copying pheweb/serve/static/variant.js -> build/lib.linux-x86_64-3.9/pheweb/serve/static creating build/lib.linux-x86_64-3.9/pheweb/serve/static/fonts copying pheweb/serve/static/fonts/glyphicons-halflings-regular.svg -> build/lib.linux-x86_64-3.9/pheweb/serve/static/fonts copying pheweb/serve/static/fonts/glyphicons-halflings-regular.ttf -> build/lib.linux-x86_64-3.9/pheweb/serve/static/fonts copying pheweb/serve/static/fonts/glyphicons-halflings-regular.woff -> build/lib.linux-x86_64-3.9/pheweb/serve/static/fonts copying pheweb/serve/static/fonts/glyphicons-halflings-regular.woff2 -> build/lib.linux-x86_64-3.9/pheweb/serve/static/fonts creating build/lib.linux-x86_64-3.9/pheweb/serve/static/vendor copying pheweb/serve/static/vendor/stream_table-1.1.1.min.js -> build/lib.linux-x86_64-3.9/pheweb/serve/static/vendor creating build/lib.linux-x86_64-3.9/pheweb/serve/templates copying pheweb/serve/templates/#pheno.html# -> build/lib.linux-x86_64-3.9/pheweb/serve/templates copying pheweb/serve/templates/about.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates copying pheweb/serve/templates/error.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates copying pheweb/serve/templates/gene.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates copying pheweb/serve/templates/index.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates copying pheweb/serve/templates/layout.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates copying pheweb/serve/templates/pheno-filter.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates copying pheweb/serve/templates/pheno.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates copying pheweb/serve/templates/phenotypes.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates copying pheweb/serve/templates/region.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates copying pheweb/serve/templates/title.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates copying pheweb/serve/templates/top_hits.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates copying pheweb/serve/templates/variant.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates creating build/lib.linux-x86_64-3.9/pheweb/serve/templates/about copying pheweb/serve/templates/about/content.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates/about creating build/lib.linux-x86_64-3.9/pheweb/serve/templates/index copying pheweb/serve/templates/index/below-h1.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates/index copying pheweb/serve/templates/index/below-query.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates/index copying pheweb/serve/templates/index/h1.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates/index creating build/lib.linux-x86_64-3.9/pheweb/serve/templates/pheno copying pheweb/serve/templates/pheno/h1.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates/pheno copying pheweb/serve/templates/pheno/info.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates/pheno creating build/lib.linux-x86_64-3.9/pheweb/serve/templates/region copying pheweb/serve/templates/region/h1.html -> build/lib.linux-x86_64-3.9/pheweb/serve/templates/region running build_ext generating cffi module 'build/temp.linux-x86_64-3.9/pheweb.load.cffi._x.cpp' creating build/temp.linux-x86_64-3.9 building 'pheweb.load.cffi._x' extension creating build/temp.linux-x86_64-3.9/build creating build/temp.linux-x86_64-3.9/build/temp.linux-x86_64-3.9 gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.9 -c build/temp.linux-x86_64-3.9/pheweb.load.cffi._x.cpp -o build/temp.linux-x86_64-3.9/build/temp.linux-x86_64-3.9/pheweb.load.cffi._x.o --std=c++11 build/temp.linux-x86_64-3.9/pheweb.load.cffi._x.cpp:589:10: fatal error: zlib.h: No such file or directory 589 | #include | ^~~~~~~~ compilation terminated. error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /var/tmp/rpm-tmp.wK6Sf8 (%build) Bad exit status from /var/tmp/rpm-tmp.wK6Sf8 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-pheweb.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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 --target x86_64 --nodeps /builddir/build/SPECS/python-pheweb.spec