Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-igraph.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1682117518.033539/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 aarch64 --nodeps /builddir/build/SPECS/python-igraph.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-igraph-0.10.4-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-igraph.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1682117518.033539/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 aarch64 --nodeps /builddir/build/SPECS/python-igraph.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-igraph-0.10.4-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-igraph.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1682117518.033539/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 aarch64 --nodeps /builddir/build/SPECS/python-igraph.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wkepw8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf igraph-0.10.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/igraph-0.10.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd igraph-0.10.4 + /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.wjq5bS + umask 022 + cd /builddir/build/BUILD + cd igraph-0.10.4 + 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 -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' running build running build_py creating build creating build/lib.linux-aarch64-3.9 creating build/lib.linux-aarch64-3.9/igraph copying src/igraph/cut.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/adjacency.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/version.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/bipartite.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/summary.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/sparse_matrix.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/automorphisms.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/clustering.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/__init__.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/seq.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/statistics.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/structural.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/basic.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/layout.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/utils.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/community.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/configuration.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/matching.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/formula.py -> build/lib.linux-aarch64-3.9/igraph copying src/igraph/datatypes.py -> build/lib.linux-aarch64-3.9/igraph creating build/lib.linux-aarch64-3.9/igraph/operators copying src/igraph/operators/__init__.py -> build/lib.linux-aarch64-3.9/igraph/operators copying src/igraph/operators/functions.py -> build/lib.linux-aarch64-3.9/igraph/operators copying src/igraph/operators/methods.py -> build/lib.linux-aarch64-3.9/igraph/operators creating build/lib.linux-aarch64-3.9/igraph/remote copying src/igraph/remote/__init__.py -> build/lib.linux-aarch64-3.9/igraph/remote copying src/igraph/remote/gephi.py -> build/lib.linux-aarch64-3.9/igraph/remote creating build/lib.linux-aarch64-3.9/igraph/drawing copying src/igraph/drawing/colors.py -> build/lib.linux-aarch64-3.9/igraph/drawing copying src/igraph/drawing/baseclasses.py -> build/lib.linux-aarch64-3.9/igraph/drawing copying src/igraph/drawing/text.py -> build/lib.linux-aarch64-3.9/igraph/drawing copying src/igraph/drawing/metamagic.py -> build/lib.linux-aarch64-3.9/igraph/drawing copying src/igraph/drawing/__init__.py -> build/lib.linux-aarch64-3.9/igraph/drawing copying src/igraph/drawing/graph.py -> build/lib.linux-aarch64-3.9/igraph/drawing copying src/igraph/drawing/shapes.py -> build/lib.linux-aarch64-3.9/igraph/drawing copying src/igraph/drawing/utils.py -> build/lib.linux-aarch64-3.9/igraph/drawing creating build/lib.linux-aarch64-3.9/igraph/io copying src/igraph/io/random.py -> build/lib.linux-aarch64-3.9/igraph/io copying src/igraph/io/adjacency.py -> build/lib.linux-aarch64-3.9/igraph/io copying src/igraph/io/libraries.py -> build/lib.linux-aarch64-3.9/igraph/io copying src/igraph/io/objects.py -> build/lib.linux-aarch64-3.9/igraph/io copying src/igraph/io/bipartite.py -> build/lib.linux-aarch64-3.9/igraph/io copying src/igraph/io/images.py -> build/lib.linux-aarch64-3.9/igraph/io copying src/igraph/io/__init__.py -> build/lib.linux-aarch64-3.9/igraph/io copying src/igraph/io/utils.py -> build/lib.linux-aarch64-3.9/igraph/io copying src/igraph/io/files.py -> build/lib.linux-aarch64-3.9/igraph/io creating build/lib.linux-aarch64-3.9/igraph/app copying src/igraph/app/shell.py -> build/lib.linux-aarch64-3.9/igraph/app copying src/igraph/app/__init__.py -> build/lib.linux-aarch64-3.9/igraph/app creating build/lib.linux-aarch64-3.9/igraph/drawing/matplotlib copying src/igraph/drawing/matplotlib/matrix.py -> build/lib.linux-aarch64-3.9/igraph/drawing/matplotlib copying src/igraph/drawing/matplotlib/edge.py -> build/lib.linux-aarch64-3.9/igraph/drawing/matplotlib copying src/igraph/drawing/matplotlib/palette.py -> build/lib.linux-aarch64-3.9/igraph/drawing/matplotlib copying src/igraph/drawing/matplotlib/histogram.py -> build/lib.linux-aarch64-3.9/igraph/drawing/matplotlib copying src/igraph/drawing/matplotlib/__init__.py -> build/lib.linux-aarch64-3.9/igraph/drawing/matplotlib copying src/igraph/drawing/matplotlib/graph.py -> build/lib.linux-aarch64-3.9/igraph/drawing/matplotlib copying src/igraph/drawing/matplotlib/polygon.py -> build/lib.linux-aarch64-3.9/igraph/drawing/matplotlib copying src/igraph/drawing/matplotlib/utils.py -> build/lib.linux-aarch64-3.9/igraph/drawing/matplotlib copying src/igraph/drawing/matplotlib/dendrogram.py -> build/lib.linux-aarch64-3.9/igraph/drawing/matplotlib copying src/igraph/drawing/matplotlib/vertex.py -> build/lib.linux-aarch64-3.9/igraph/drawing/matplotlib creating build/lib.linux-aarch64-3.9/igraph/drawing/plotly copying src/igraph/drawing/plotly/edge.py -> build/lib.linux-aarch64-3.9/igraph/drawing/plotly copying src/igraph/drawing/plotly/__init__.py -> build/lib.linux-aarch64-3.9/igraph/drawing/plotly copying src/igraph/drawing/plotly/graph.py -> build/lib.linux-aarch64-3.9/igraph/drawing/plotly copying src/igraph/drawing/plotly/polygon.py -> build/lib.linux-aarch64-3.9/igraph/drawing/plotly copying src/igraph/drawing/plotly/utils.py -> build/lib.linux-aarch64-3.9/igraph/drawing/plotly copying src/igraph/drawing/plotly/vertex.py -> build/lib.linux-aarch64-3.9/igraph/drawing/plotly creating build/lib.linux-aarch64-3.9/igraph/drawing/cairo copying src/igraph/drawing/cairo/plot.py -> build/lib.linux-aarch64-3.9/igraph/drawing/cairo copying src/igraph/drawing/cairo/matrix.py -> build/lib.linux-aarch64-3.9/igraph/drawing/cairo copying src/igraph/drawing/cairo/base.py -> build/lib.linux-aarch64-3.9/igraph/drawing/cairo copying src/igraph/drawing/cairo/edge.py -> build/lib.linux-aarch64-3.9/igraph/drawing/cairo copying src/igraph/drawing/cairo/palette.py -> build/lib.linux-aarch64-3.9/igraph/drawing/cairo copying src/igraph/drawing/cairo/text.py -> build/lib.linux-aarch64-3.9/igraph/drawing/cairo copying src/igraph/drawing/cairo/histogram.py -> build/lib.linux-aarch64-3.9/igraph/drawing/cairo copying src/igraph/drawing/cairo/__init__.py -> build/lib.linux-aarch64-3.9/igraph/drawing/cairo copying src/igraph/drawing/cairo/graph.py -> build/lib.linux-aarch64-3.9/igraph/drawing/cairo copying src/igraph/drawing/cairo/coord.py -> build/lib.linux-aarch64-3.9/igraph/drawing/cairo copying src/igraph/drawing/cairo/polygon.py -> build/lib.linux-aarch64-3.9/igraph/drawing/cairo copying src/igraph/drawing/cairo/utils.py -> build/lib.linux-aarch64-3.9/igraph/drawing/cairo copying src/igraph/drawing/cairo/dendrogram.py -> build/lib.linux-aarch64-3.9/igraph/drawing/cairo copying src/igraph/drawing/cairo/vertex.py -> build/lib.linux-aarch64-3.9/igraph/drawing/cairo running build_ext running build_c_core We are going to build the C core of igraph. Source folder: vendor/source/igraph Build folder: vendor/build/igraph Install folder: vendor/install/igraph igraph uses CMake as the build system. You need to install CMake before compiling igraph. Build failed for the C core of igraph. error: Bad exit status from /var/tmp/rpm-tmp.wjq5bS (%build) Bad exit status from /var/tmp/rpm-tmp.wjq5bS (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-igraph.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 aarch64 --nodeps /builddir/build/SPECS/python-igraph.spec