Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-pygraphviz.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-414499-16306/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-pygraphviz.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1678060800 Wrote: /builddir/build/SRPMS/python-pygraphviz-1.10-1.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-pygraphviz.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-414499-16306/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-pygraphviz.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1678060800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Y529bc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pygraphviz-pygraphviz-1.10 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pygraphviz-1.10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pygraphviz-pygraphviz-1.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + swig -python pygraphviz/graphviz.i + for fil in examples/*.py + sed -i.orig 's,/usr/bin/env python,/usr/bin/python3,' examples/plot_attributes.py + touch -r examples/plot_attributes.py.orig examples/plot_attributes.py + rm examples/plot_attributes.py.orig + for fil in examples/*.py + sed -i.orig 's,/usr/bin/env python,/usr/bin/python3,' examples/plot_miles.py + touch -r examples/plot_miles.py.orig examples/plot_miles.py + rm examples/plot_miles.py.orig + for fil in examples/*.py + sed -i.orig 's,/usr/bin/env python,/usr/bin/python3,' examples/plot_simple.py + touch -r examples/plot_simple.py.orig examples/plot_simple.py + rm examples/plot_simple.py.orig + for fil in examples/*.py + sed -i.orig 's,/usr/bin/env python,/usr/bin/python3,' examples/plot_star.py + touch -r examples/plot_star.py.orig examples/plot_star.py + rm examples/plot_star.py.orig + for fil in examples/*.py + sed -i.orig 's,/usr/bin/env python,/usr/bin/python3,' examples/plot_subgraph.py + touch -r examples/plot_subgraph.py.orig examples/plot_subgraph.py + rm examples/plot_subgraph.py.orig + for fil in examples/*.py + sed -i.orig 's,/usr/bin/env python,/usr/bin/python3,' examples/skip_django_simple.py + touch -r examples/skip_django_simple.py.orig examples/skip_django_simple.py + rm examples/skip_django_simple.py.orig + for fil in examples/*.py + sed -i.orig 's,/usr/bin/env python,/usr/bin/python3,' examples/skip_utf8_encoding.py + touch -r examples/skip_utf8_encoding.py.orig examples/skip_utf8_encoding.py + rm examples/skip_utf8_encoding.py.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.P0go3l + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pygraphviz-pygraphviz-1.10 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/pygraphviz copying pygraphviz/graphviz.py -> build/lib.linux-riscv64-cpython-311/pygraphviz copying pygraphviz/agraph.py -> build/lib.linux-riscv64-cpython-311/pygraphviz copying pygraphviz/__init__.py -> build/lib.linux-riscv64-cpython-311/pygraphviz copying pygraphviz/testing.py -> build/lib.linux-riscv64-cpython-311/pygraphviz copying pygraphviz/scraper.py -> build/lib.linux-riscv64-cpython-311/pygraphviz creating build/lib.linux-riscv64-cpython-311/pygraphviz/tests copying pygraphviz/tests/test_layout.py -> build/lib.linux-riscv64-cpython-311/pygraphviz/tests copying pygraphviz/tests/test_edge_attributes.py -> build/lib.linux-riscv64-cpython-311/pygraphviz/tests copying pygraphviz/tests/test_html.py -> build/lib.linux-riscv64-cpython-311/pygraphviz/tests copying pygraphviz/tests/test_readwrite.py -> build/lib.linux-riscv64-cpython-311/pygraphviz/tests copying pygraphviz/tests/test_graph.py -> build/lib.linux-riscv64-cpython-311/pygraphviz/tests copying pygraphviz/tests/test_unicode.py -> build/lib.linux-riscv64-cpython-311/pygraphviz/tests copying pygraphviz/tests/test_node_attributes.py -> build/lib.linux-riscv64-cpython-311/pygraphviz/tests copying pygraphviz/tests/test_clear.py -> build/lib.linux-riscv64-cpython-311/pygraphviz/tests copying pygraphviz/tests/test_drawing.py -> build/lib.linux-riscv64-cpython-311/pygraphviz/tests copying pygraphviz/tests/test_string.py -> build/lib.linux-riscv64-cpython-311/pygraphviz/tests copying pygraphviz/tests/test_close.py -> build/lib.linux-riscv64-cpython-311/pygraphviz/tests copying pygraphviz/tests/test_repr_mimebundle.py -> build/lib.linux-riscv64-cpython-311/pygraphviz/tests copying pygraphviz/tests/test_subgraph.py -> build/lib.linux-riscv64-cpython-311/pygraphviz/tests copying pygraphviz/tests/test_scraper.py -> build/lib.linux-riscv64-cpython-311/pygraphviz/tests copying pygraphviz/tests/__init__.py -> build/lib.linux-riscv64-cpython-311/pygraphviz/tests copying pygraphviz/tests/test_attribute_defaults.py -> build/lib.linux-riscv64-cpython-311/pygraphviz/tests running egg_info creating pygraphviz.egg-info writing pygraphviz.egg-info/PKG-INFO writing dependency_links to pygraphviz.egg-info/dependency_links.txt writing top-level names to pygraphviz.egg-info/top_level.txt writing manifest file 'pygraphviz.egg-info/SOURCES.txt' reading manifest file 'pygraphviz.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.png' under directory 'doc' warning: no files found matching '*.txt' under directory 'doc' warning: no files found matching '*.css' under directory 'doc' warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '.svn' found anywhere in distribution no previously-included directories found matching 'doc/build' adding license file 'LICENSE' writing manifest file 'pygraphviz.egg-info/SOURCES.txt' copying pygraphviz/graphviz.i -> build/lib.linux-riscv64-cpython-311/pygraphviz copying pygraphviz/graphviz_wrap.c -> build/lib.linux-riscv64-cpython-311/pygraphviz running build_ext building 'pygraphviz._graphviz' extension creating build/temp.linux-riscv64-cpython-311 creating build/temp.linux-riscv64-cpython-311/pygraphviz gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DSWIG_PYTHON_STRICT_BYTE_CHAR -I/usr/include/python3.11 -c pygraphviz/graphviz_wrap.c -o build/temp.linux-riscv64-cpython-311/pygraphviz/graphviz_wrap.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-cpython-311/pygraphviz/graphviz_wrap.o -L/usr/lib64 -lcdt -lcgraph -lgvc -o build/lib.linux-riscv64-cpython-311/pygraphviz/_graphviz.cpython-311-riscv64-linux-gnu.so ++ echo /builddir/build/BUILD/pygraphviz-pygraphviz-1.10/build/lib.linux-riscv64-cpython-311 + /usr/bin/make -O -j8 V=1 VERBOSE=1 -C doc html PYTHONPATH=/builddir/build/BUILD/pygraphviz-pygraphviz-1.10/build/lib.linux-riscv64-cpython-311 make: Entering directory '/builddir/build/BUILD/pygraphviz-pygraphviz-1.10/doc' mkdir -p build touch build/generate-stamp make: Leaving directory '/builddir/build/BUILD/pygraphviz-pygraphviz-1.10/doc' make: Entering directory '/builddir/build/BUILD/pygraphviz-pygraphviz-1.10/doc' #make latex #make -C build/latex all-pdf #cp build/latex/pygraphviz.pdf source/. sphinx-build -b html -d build/doctrees source build/html Running Sphinx v5.0.2 making output directory... done [autosummary] generating autosummary for: contribute.rst, index.rst, install.rst, reference/agraph.rst, reference/api_notes.rst, reference/credits.rst, reference/faq.rst, reference/history.rst, reference/index.rst, reference/legal.rst, reference/news.rst, reference/related.rst, tutorial.rst generating gallery... Using Sphinx-Gallery to convert rst text blocks to markdown for .ipynb files. generating gallery for auto_examples... [ 20%] plot_subgraph.py make: Leaving directory '/builddir/build/BUILD/pygraphviz-pygraphviz-1.10/doc' RPM build errors: Extension error (sphinx_gallery.gen_gallery): Handler for event 'builder-inited' threw an exception (exception: No module named 'matplotlib') make: *** [Makefile:61: html] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.P0go3l (%build) Bad exit status from /var/tmp/rpm-tmp.P0go3l (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/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 riscv64 --nodeps /builddir/build/SPECS/python-pygraphviz.spec