Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-giacpy.spec'], chrootPath='/var/lib/mock/f40-build-803739-144314/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-giacpy.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 Package Qt5Xml was not found in the pkg-config search path. Perhaps you should add the directory containing `Qt5Xml.pc' to the PKG_CONFIG_PATH environment variable Package 'Qt5Xml', required by 'virtual:world', not found Package 'Qt5Widgets', required by 'virtual:world', not found Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706227200 Wrote: /builddir/build/SRPMS/python-giacpy-0.7.3-3.fc40.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-giacpy.spec'], chrootPath='/var/lib/mock/f40-build-803739-144314/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-giacpy.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=1706227200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zmgjYq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf giacpy-0.7.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/giacpy-0.7.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd giacpy-0.7.3 + rm -rf /builddir/build/BUILD/giacpy-0.7.3-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/giacpy-0.7.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-giacpy-skip_math_sin.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf giacpy.egg-info ++ grep -rl '/\* Generated by Cython' + rm giacpy/giacpy.cpp giacpy/giacpy2qcas.cpp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.m5lAyo + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 giacpy-0.7.3 + export 'CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DQT_XML_LIB -I/usr/include/qt5/QtXml -I/usr/include/qt5 -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DQT_XML_LIB -I/usr/include/qt5/QtXml -I/usr/include/qt5 -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DQT_XML_LIB -I/usr/include/qt5/QtXml -I/usr/include/qt5 -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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' --enable-qcas '--executable=/usr/bin/python3 -s' /usr/lib64/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /builddir/build/BUILD/giacpy-0.7.3/giacpy/giacpy.pxd tree = Parsing.p_module(s, pxd, full_module_name) warning: giacpy/giacpy.pyx:1659:5: Only extern functions can throw C++ exceptions. warning: giacpy/giacpy.pyx:1696:6: Only extern functions can throw C++ exceptions. warning: giacpy/giacpy.pyx:1719:6: Only extern functions can throw C++ exceptions. warning: giacpy/giacpy.pyx:1744:6: Only extern functions can throw C++ exceptions. Compiling giacpy/giacpy.pyx because it changed. [1/1] Cythonizing giacpy/giacpy.pyx /usr/lib64/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /builddir/build/BUILD/giacpy-0.7.3/giacpy/giacpy2qcas.pxd tree = Parsing.p_module(s, pxd, full_module_name) Compiling giacpy/giacpy2qcas.pyx because it changed. [1/1] Cythonizing giacpy/giacpy2qcas.pyx running build running build_py creating build creating build/lib.linux-riscv64-cpython-312 creating build/lib.linux-riscv64-cpython-312/giacpy copying giacpy/__init__.py -> build/lib.linux-riscv64-cpython-312/giacpy copying giacpy/giacpy.pyi -> build/lib.linux-riscv64-cpython-312/giacpy copying giacpy/GPL-2 -> build/lib.linux-riscv64-cpython-312/giacpy copying giacpy/giacpymisc.h -> build/lib.linux-riscv64-cpython-312/giacpy copying giacpy/giacpy.pxd -> build/lib.linux-riscv64-cpython-312/giacpy running build_ext building 'giacpy.giacpy' extension creating build/temp.linux-riscv64-cpython-312 creating build/temp.linux-riscv64-cpython-312/giacpy gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DQT_XML_LIB -I/usr/include/qt5/QtXml -I/usr/include/qt5 -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore -fPIC -Igiacpy -I. -I/usr/include/python3.12 -c giacpy/giacpy.cpp -o build/temp.linux-riscv64-cpython-312/giacpy/giacpy.o giacpy/giacpy.cpp: In function ‘int __pyx_pymod_exec_giacpy(PyObject*)’: giacpy/giacpy.cpp:230522:30: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without 230522 | static CYTHON_SMALL_CODE int __pyx_pymod_exec_giacpy(PyObject *__pyx_pyinit_module) | ^~~~~~~~~~~~~~~~~~~~~~~ g++ -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DQT_XML_LIB -I/usr/include/qt5/QtXml -I/usr/include/qt5 -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore build/temp.linux-riscv64-cpython-312/giacpy/giacpy.o -L/usr/lib64 -lgiac -o build/lib.linux-riscv64-cpython-312/giacpy/giacpy.cpython-312-riscv64-linux-gnu.so building 'giacpy.giacpy2qcas' extension gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DQT_XML_LIB -I/usr/include/qt5/QtXml -I/usr/include/qt5 -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore -fPIC -Igiacpy -Ilibqcas -I/usr/include/qt5/ -I/usr/include/qt5/QtCore -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtSvg -I/usr/include/python3.12 -c giacpy/giacpy2qcas.cpp -o build/temp.linux-riscv64-cpython-312/giacpy/giacpy2qcas.o g++ -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DQT_XML_LIB -I/usr/include/qt5/QtXml -I/usr/include/qt5 -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore build/temp.linux-riscv64-cpython-312/giacpy/giacpy2qcas.o -L -L/usr/lib64 -lqcas -ldl -lgiac -lgmp -lQt5Svg -lQt5Xml -lQt5Widgets -lQt5Gui -lQt5Core -lpthread -o build/lib.linux-riscv64-cpython-312/giacpy/giacpy2qcas.cpython-312-riscv64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XW14pW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 giacpy-0.7.3 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 install -O1 --skip-build --root /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64 --prefix /usr running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr creating /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib64/python3.12 creating /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib64/python3.12/site-packages creating /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib64/python3.12/site-packages/giacpy copying build/lib.linux-riscv64-cpython-312/giacpy/giacpy2qcas.cpython-312-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib64/python3.12/site-packages/giacpy copying build/lib.linux-riscv64-cpython-312/giacpy/giacpy.pyi -> /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib64/python3.12/site-packages/giacpy copying build/lib.linux-riscv64-cpython-312/giacpy/__init__.py -> /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib64/python3.12/site-packages/giacpy copying build/lib.linux-riscv64-cpython-312/giacpy/giacpy.cpython-312-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib64/python3.12/site-packages/giacpy copying build/lib.linux-riscv64-cpython-312/giacpy/giacpy.pxd -> /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib64/python3.12/site-packages/giacpy copying build/lib.linux-riscv64-cpython-312/giacpy/GPL-2 -> /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib64/python3.12/site-packages/giacpy copying build/lib.linux-riscv64-cpython-312/giacpy/giacpymisc.h -> /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib64/python3.12/site-packages/giacpy byte-compiling /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib64/python3.12/site-packages/giacpy/__init__.py to __init__.cpython-312.pyc writing byte-compilation script '/tmp/tmpa01g7oaz.py' /usr/bin/python3 /tmp/tmpa01g7oaz.py removing /tmp/tmpa01g7oaz.py running install_egg_info running egg_info creating giacpy.egg-info writing giacpy.egg-info/PKG-INFO writing dependency_links to giacpy.egg-info/dependency_links.txt writing top-level names to giacpy.egg-info/top_level.txt writing manifest file 'giacpy.egg-info/SOURCES.txt' reading manifest file 'giacpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'giacpy.egg-info/SOURCES.txt' Copying giacpy.egg-info to /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib64/python3.12/site-packages/giacpy-0.7.3-py3.12.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/bin/__pycache__ + rm -f /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib64/python3.12/site-packages/giacpy/giacpy.cpp + rm -f /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib64/python3.12/site-packages/giacpy/GPL-2 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.7.3-3.fc40 --unique-debug-suffix -0.7.3-3.fc40.riscv64 --unique-debug-src-base python-giacpy-0.7.3-3.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/giacpy-0.7.3 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/python-giacpy-0.7.3-3.fc40.riscv64 28475 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 Bytecompiling .py files below /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib64/python3.12 using python3.12 Bytecompiling .py files below /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib/debug/usr/lib64/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.3CJNxP + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS ~/build/BUILD/giacpy-0.7.3/build/lib.linux-riscv64-cpython-312 ~/build/BUILD/giacpy-0.7.3 + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 giacpy-0.7.3 + pushd build/lib.linux-riscv64-cpython-312 + export PYTHONPATH=/builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib64/python3.12/site-packages + PYTHONPATH=/builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/lib64/python3.12/site-packages + /usr/bin/python3 -m doctest ../../giacpy/giacpy.pyx -v // Giac share root-directory:/usr/share/giac/ // Giac share root-directory:/usr/share/giac/ Added 168 synonyms Evaluation time: 1.93 Evaluation time: 17.07 Trying: from giacpy import giac Expecting nothing ok Trying: x,y,z=giac('x,y,z'); # define some basic giac objects Expecting nothing ok Trying: f=(x+3*y)/(x+z+1)**2 -(x+z+1)**2/(x+3*y) # then we can compute Expecting nothing ok Trying: f.factor() Expecting: (3*y-x**2-2*x*z-x-z**2-2*z-1)*(3*y+x**2+2*x*z+3*x+z**2+2*z+1)/((x+z+1)**2*(3*y+x)) ok Trying: f.normal() Expecting: (-x**4-4*x**3*z-4*x**3-6*x**2*z**2-12*x**2*z-5*x**2+6*x*y-4*x*z**3-12*x*z**2-12*x*z-4*x+9*y**2-z**4-4*z**3-6*z**2-4*z-1)/(x**3+3*x**2*y+2*x**2*z+2*x**2+6*x*y*z+6*x*y+x*z**2+2*x*z+x+3*y*z**2+6*y*z+3*y) ok Trying: from giacpy import * Expecting nothing ok Trying: from giacpy import htmlhelp Expecting nothing ok Trying: from giacpy import * Expecting nothing ok Trying: x=giac('x');f=1/(2+sin(5*x)) Expecting nothing ok Trying: f.int() Expecting: 2/5/sqrt(3)*(atan((-sqrt(3)*sin(5*x)+cos(5*x)+2*sin(5*x)+1)/(sqrt(3)*cos(5*x)+sqrt(3)-2*cos(5*x)+sin(5*x)+2))+5*x/2) ok Trying: f.series(x,0,3) Expecting: 1/2-5/4*x+25/8*x**2-125/48*x**3+x**4*order_size(x) ok Trying: (sqrt(5)+pi).approx(100) Expecting: 5.377660631089582934871817052010779119637787758986631545245841837718337331924013898042449233720899343 ok Trying: from giacpy import giacsettings Expecting nothing ok Trying: from giacpy import * Expecting nothing ok Trying: C=giac('plot(x*sin(x)),x=-3*pi,3*pi') Expecting nothing ok Trying: l=[(C*t*0.1).color(t) for t in range(10)] Expecting nothing ok Trying: A=randvector(200) Expecting nothing ok Trying: C=giac('plot(sin(x)/x),x=-3*pi,3*pi') Expecting nothing ok Trying: l=[(C*t*0.1).color(t) for t in range(10)] Expecting nothing ok Trying: from giacpy import giac,pi Expecting nothing ok Trying: x,y=giac('x,y') Expecting nothing ok Trying: (x+2*y).cos().texpand() Expecting: cos(x)*(2*cos(y)**2-1)-sin(x)*2*cos(y)*sin(y) ok Trying: from giacpy import * Expecting nothing ok Trying: x,y,z=giac('x,y,z') Expecting nothing ok Trying: ((x+2*y/z)*(y+1)**2).diff(y) # compute the partial derivative with respect to y Expecting: 2/z*(y+1)**2+(x+2*y/z)*2*(y+1) ok Trying: f=sum([x[i] for i in range(5)])**15/(y+z);f.coeff(x[0],12) Expecting: (455*(x[1])**3+1365*(x[1])**2*x[2]+1365*(x[1])**2*x[3]+1365*(x[1])**2*x[4]+1365*x[1]*(x[2])**2+2730*x[1]*x[2]*x[3]+2730*x[1]*x[2]*x[4]+1365*x[1]*(x[3])**2+2730*x[1]*x[3]*x[4]+1365*x[1]*(x[4])**2+455*(x[2])**3+1365*(x[2])**2*x[3]+1365*(x[2])**2*x[4]+1365*x[2]*(x[3])**2+2730*x[2]*x[3]*x[4]+1365*x[2]*(x[4])**2+455*(x[3])**3+1365*(x[3])**2*x[4]+1365*x[3]*(x[4])**2+455*(x[4])**3)/(y+z) ok Trying: ((1+I*sqrt(3))**3).normal(); 1+I Expecting: -8 1+i ok Trying: a=giac(2**1024);a.nextprime();(giac(1.234567)).erf().approx(10) Expecting: 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137859 0.9191788641 ok Trying: pi>3.14 ; pi >3.15 ; giac(3)==3 Expecting: True False True ok Trying: x+'1/3' Expecting: x+1/3 ok Trying: x+giac(1)/3 Expecting: x+1/3 ok Trying: x/(1+x) Expecting: x/(1+x) ok Trying: (x+x/3).factor() Expecting: 4*x/3 ok Trying: yyyy=2;giac('yyyy:=1');yyyy Expecting: 1 2 ok Trying: x,y=giac('x,y') Expecting nothing ok Trying: A=giac([[1,2],[3,4]]) # we create a giac matrix from it lines Expecting nothing ok Trying: v=giac([x,y]); v # a giac vector Expecting: [x,y] ok Trying: A*v # matrix product with a vector outputs a vector Expecting: [x+2*y,3*x+4*y] ok Trying: v*v # dot product Expecting: x*x+y*y ok Trying: w=giac([[x],[y]]) Expecting nothing ok Trying: w.transpose()*w # this matrix product makes sense and output a 1x1 matrix. Expecting: matrix[[x*x+y*y]] ok Trying: B1=A; Expecting nothing ok Trying: B1[0,0]=43; B1 # in place affectation changes both B1 and A Expecting: [[43,2],[3,4]] ok Trying: A Expecting: [[43,2],[3,4]] ok Trying: A[0][0]=A[0][0]+1; A # similar as A[0,0]=A[0,0]+1 Expecting: [[44,2],[3,4]] ok Trying: A.pcar(x) # compute the characteristic polynomial of A Expecting: x**2-48*x+170 ok Trying: B2=A.copy() # use copy to create another object Expecting nothing ok Trying: B2[0,0]=55; B2 # here A is not modified Expecting: [[55,2],[3,4]] ok Trying: A Expecting: [[44,2],[3,4]] ok Trying: import giacpy Expecting nothing ok Trying: A=giacpy.table(()); A # create an empty giac table Expecting: table( ) ok Trying: A[2,3]=33; A[0,2]='2/7' # set non zero entries of the sparse matrix Expecting nothing ok Trying: A*A # basic matrix operation are supported with sparse matrices Expecting: table( (0,3) = 66/7 ) ok Trying: D=giacpy.diag([22,3,'1/7']); D # some diagonal matrix Expecting: [[22,0,0],[0,3,0],[0,0,1/7]] ok Trying: giacpy.table(D) # to create a sparse matrix from an ordinary one Expecting: table( (0,0) = 22, (1,1) = 3, (2,2) = 1/7 ) ok Trying: B1=A.matrix(); B1 # convert the sparse matrix to a matrix, but the size is minimal Expecting: [[0,0,2/7,0],[0,0,0,0],[0,0,0,33]] ok Trying: B2=B1.redim(4,4); B2.pmin(x) # so we may need to resize B1 Expecting: x**3 ok Trying: l1=giac(range(10)); l2=[1/(i**2+1) for i in l1] Expecting nothing ok Trying: sum(l2) Expecting: 33054527/16762850 ok Trying: l1+l1 Expecting: [0,2,4,6,8,10,12,14,16,18] ok Trying: l2+l2 Expecting: [1, 1/2, 1/5, 1/10, 1/17, 1/26, 1/37, 1/50, 1/65, 1/82, 1, 1/2, 1/5, 1/10, 1/17, 1/26, 1/37, 1/50, 1/65, 1/82] ok Trying: V=[ [x[i]**j for i in range(8)] for j in range(8)] Expecting nothing ok Trying: giac(V).dim() Expecting: [8,8] ok Trying: dt=det_minor(V).factor(); dt.nops() # 28 factors Expecting: 28 ok Trying: sort(list(dt.op())) Expecting: [x[1]-(x[2]),x[1]-(x[3]),x[1]-(x[4]),x[1]-(x[5]),x[1]-(x[6]),x[1]-(x[7]),x[2]-(x[3]),x[2]-(x[4]),x[2]-(x[5]),x[2]-(x[6]),x[2]-(x[7]),x[3]-(x[4]),x[3]-(x[5]),x[3]-(x[6]),x[3]-(x[7]),x[4]-(x[5]),x[4]-(x[6]),x[4]-(x[7]),x[5]-(x[6]),x[5]-(x[7]),x[6]-(x[7]),x[0]-(x[1]),x[0]-(x[2]),x[0]-(x[3]),x[0]-(x[4]),x[0]-(x[5]),x[0]-(x[6]),x[0]-(x[7])] ok Trying: V=ranm(5,6) % 2; Expecting nothing ok Trying: ker(V).rowdim()+V.rank() Expecting: 6 ok Trying: a=giac(7)%3;a;a%0;7%3 Expecting: 1 % 3 1 1 ok Trying: type(7%3)==type(a);type(a)==type(7%3) Expecting: False False ok Trying: from giacpy import * Expecting nothing ok Trying: x=giac('x') Expecting nothing ok Trying: (1+2*sin(3*x)).solve(x).simplify() Expecting: list[-pi/18,7*pi/18] ok Trying: solve('sin(3*x)>2*sin(x)',x) Expecting: "Unable to find numeric values solving equation. For trigonometric equations this may be solved using assumptions, e.g. assume(x>-pi && x-pi && x2*sin(x)',x) Expecting: list[((x>(-5*pi/6)) and (x<(-pi/6))),((x>0) and (x<(pi/6))),((x>(5*pi/6)) and (x0') Expecting: list[x>0] ok Trying: from giacpy import * Expecting nothing ok Trying: x=giac('x') Expecting nothing ok Trying: f=1/(5+cos(4*x));f.int(x) Expecting: 1/2/(2*sqrt(6))*(atan((-sqrt(6)*sin(4*x)+2*sin(4*x))/(sqrt(6)*cos(4*x)+sqrt(6)-2*cos(4*x)+2))+4*x/2) ok Trying: fMax(f,'x=-0..pi').simplify() Expecting: pi/4,3*pi/4 ok Trying: sum(1/(1+x**2),'x=0..infinity').simplify() Expecting: (pi*exp(pi)**2+pi+exp(pi)**2-1)/(2*exp(pi)**2-2) ok Trying: from giacpy import giacsettings,giac Expecting nothing ok Trying: giacsettings.digits=20;giacsettings.digits Expecting: 20 ok Trying: giac('1/7').approx() Expecting: 0.14285714285714285714 ok Trying: giacsettings.digits=12; Expecting nothing Restoring proba epsilon to 1e-6 from 1e-12 Evaluation time: 0.67 Evaluation time: 3.93 ok Trying: from giacpy import giac,giacsettings Expecting nothing ok Trying: giacsettings.sqrtflag=False;giacsettings.sqrtflag Expecting: False ok Trying: giac('x**2-2').factor() Expecting: x**2-2 ok Trying: giacsettings.sqrtflag=True; Expecting nothing ok Trying: giac('x**2-2').factor() Expecting: (x-sqrt(2))*(x+sqrt(2)) ok Trying: from giacpy import giac,giacsettings Expecting nothing ok Trying: giacsettings.complexflag=False;giacsettings.complexflag Expecting: False ok Trying: giac('x**2+4').factor() Expecting: x**2+4 ok Trying: giacsettings.complexflag=True; Expecting nothing ok Trying: giac('x**2+4').factor() Expecting: (x+2*i)*(x-2*i) ok Trying: from giacpy import giacsettings,giac Expecting nothing ok Trying: giacsettings.eval_level=1 Expecting nothing ok Trying: giac("purge(a):;b:=a;a:=1;b") Expecting: "Done",a,1,a ok Trying: giacsettings.eval_level=25; giacsettings.eval_level Expecting: 25 ok Trying: giac("purge(a):;b:=a;a:=1;b") Expecting: "Done",a,1,1 ok Trying: from giacpy import giacsettings,giac Expecting nothing ok Trying: giacsettings.proba_epsilon=0;giac('proba_epsilon') Expecting: 0.0 ok Trying: giacsettings.proba_epsilon=10^(-13) Expecting nothing ok Trying: giac('proba_epsilon')<10^(-14) Expecting: False ok Trying: from giacpy import giacsettings,giac Expecting nothing ok Trying: giacsettings.epsilon=1e-10 Expecting nothing ok Trying: x=giac('x') Expecting nothing ok Trying: P=giac('1e-11+x+5') Expecting nothing ok Trying: P==x+5 Expecting: False ok Trying: (P.epsilon2zero()).simplify() Expecting: x+5 ok Trying: from giacpy import giac,giacsettings Expecting nothing ok Trying: giacsettings.digits=20;giacsettings.digits Expecting: 20 ok Trying: giac('1/7').approx() Expecting: 0.14285714285714285714 ok Trying: giacsettings.digits=12; Expecting nothing ok Trying: from giacpy import giac,giacsettings Expecting nothing ok Trying: giacsettings.sqrtflag=False;giacsettings.sqrtflag Expecting: False ok Trying: giac('x**2-2').factor() Expecting: x**2-2 ok Trying: giacsettings.sqrtflag=True; Expecting nothing ok Trying: giac('x**2-2').factor() Expecting: (x-sqrt(2))*(x+sqrt(2)) ok Trying: from giacpy import giac,giacsettings Expecting nothing ok Trying: giacsettings.complexflag=False;giacsettings.complexflag Expecting: False ok Trying: giac('x**2+4').factor() Expecting: x**2+4 ok Trying: giacsettings.complexflag=True; Expecting nothing ok Trying: giac('x**2+4').factor() Expecting: (x+2*i)*(x-2*i) ok Trying: from giacpy import giacsettings,purge Expecting nothing ok Trying: giacsettings.eval_level=1 Expecting nothing ok Trying: giac("purge(a):;b:=a;a:=1;b") Expecting: "Done",a,1,a ok Trying: giacsettings.eval_level=25; giacsettings.eval_level Expecting: 25 ok Trying: giac("purge(a):;b:=a;a:=1;b") Expecting: "Done",a,1,1 ok Trying: from giacpy import giacsettings,giac Expecting nothing ok Trying: giacsettings.proba_epsilon=0;giac('proba_epsilon') Expecting: 0.0 ok Trying: giacsettings.proba_epsilon=10**(-15);giac('proba_epsilon')=='1e-15' Expecting: True ok Trying: from giacpy import giac,giacsettings Expecting nothing ok Trying: giacsettings.epsilon=1e-10 Expecting nothing ok Trying: P=giac('1e-11+x+5') Expecting nothing ok Trying: P==x+5 Expecting: False ok Trying: (P.epsilon2zero()).simplify() Expecting: x+5 ok Trying: from giacpy import Pygen Expecting nothing ok Trying: A = Pygen('2+2') Expecting nothing ok Trying: A Expecting: 2+2 ok Trying: A.eval() Expecting: 4 ok Trying: a = giac('2+2') Expecting nothing ok Trying: a Expecting: 4 ok Trying: isinstance(a, Pygen) Expecting: True ok Trying: vide=Pygen() Expecting nothing ok Trying: "giac version dpt: either NULL or seq[]", vide # doctest: +ELLIPSIS Expecting: ('giac version dpt: either NULL or seq[]', ...) ok Trying: l=giac(list(range(10**6)));l[5] #python3 Expecting: 5 ok Trying: l[35:50:7] Expecting: [35,42,49] ok Trying: t=giac(tuple(range(10))) Expecting nothing ok Trying: t[:4:-1] Expecting: 9,8,7,6,5 ok Trying: x=giac('x'); sum([ x[i] for i in range(5)])**3 Expecting: (x[0]+x[1]+x[2]+x[3]+x[4])**3 ok Trying: import giacpy Expecting nothing ok Trying: A=giacpy.ranm(5,10); A[3,7]-A[3][7] Expecting: 0 ok Trying: A.transpose()[8,2]-A[2][8] Expecting: 0 ok Trying: A=giac('[ranm(5,5),ranm(5,5)]') Expecting nothing ok Trying: A[1,2,3]-A[1][2][3] Expecting: 0 ok Trying: l=Pygen() Expecting nothing ok Trying: A=giac([ [ j+2*i for i in range(3)] for j in range(3)]); A Expecting: [[0,2,4],[1,3,5],[2,4,6]] ok Trying: A[1,2]=44;A Expecting: [[0,2,4],[1,3,44],[2,4,6]] ok Trying: A[2][2]=giac(1)/3;A Expecting: [[0,2,4],[1,3,44],[2,4,1/3]] ok Trying: x=giac('x') Expecting nothing ok Trying: A[0,0]=x+1/x; A Expecting: [[x+1/x,2,4],[1,3,44],[2,4,1/3]] ok Trying: A[0]=[-1,-2,-3]; A Expecting: [[-1,-2,-3],[1,3,44],[2,4,1/3]] ok Trying: B=A; A[2,2] Expecting: 1/3 ok Trying: B[2,2]=6 # in place affectation Expecting nothing ok Trying: A[2,2] # so A is also modified Expecting: 6 ok Trying: A.pcar(x) Expecting: x**3-8*x**2-159*x ok Trying: import giacpy Expecting nothing ok Trying: from time import time Expecting nothing ok Trying: A=giacpy.ranm(4000,4000) Expecting nothing ok Trying: t1=time(); A[500][500]=12345;t1=time()-t1 Expecting nothing ok Trying: t2=time(); A[501,501]=54321;t2=time()-t2 Expecting nothing ok Trying: A[500,500],A[501][501] Expecting: (12345, 54321) ok Trying: from time import time Expecting nothing ok Trying: l=giac(range(10**6)) Expecting nothing ok Trying: t=time();l1=[ i for i in l ];t1=time()-t;'time for a list of 10**6 i ',t1 # doctest: +ELLIPSIS Expecting: ('time for a list of 10**6 i ', ...) ok Trying: t=time();l1=[ i+i for i in l ];t2=time()-t;'time for a list of 10**6 i+i ',t2 # doctest: +ELLIPSIS Expecting: ('time for a list of 10**6 i+i ', ...) ok Trying: t=time();l1=[ 1+i for i in l ];t3=time()-t;"time for a list of 10**6 1+i ",t3 # doctest: +ELLIPSIS Expecting: ('time for a list of 10**6 1+i ', ...) ok Trying: t=time();l1=[ i+1 for i in l ];t4=time()-t;"time for a list of 10**6 i+1 ",t4 # doctest: +ELLIPSIS Expecting: ('time for a list of 10**6 i+1 ', ...) ok Trying: a=giac('2*pi') Expecting nothing ok Trying: list(range((a.floor()).__int__())) Expecting: [0, 1, 2, 3, 4, 5] ok Trying: a=giac('pi/4.0') Expecting nothing ok Trying: import math Expecting nothing ok Trying: a=giac(2) Expecting nothing ok Trying: math.sqrt(a) == math.sqrt(2) Expecting: True ok Trying: d=giac('d') Expecting nothing ok Trying: 1+d # Called by Cython>3.0.0 when the type can't handle the non reversed one Expecting: 1+d ok Trying: d=giac('d') Expecting nothing ok Trying: 2-d # Called by Cython>3.0.0 when the type can't handle the non reversed one Expecting: 2-d ok Trying: d=giac('d') Expecting nothing ok Trying: 7*d # Called by Cython>3.0.0 when the type can't handle the non reversed one Expecting: 7*d ok Trying: d=giac('d') Expecting nothing ok Trying: 7/d # Called by Cython>3.0.0 when the type can't handle the non reversed one Expecting: 7/d ok Trying: d=giac('d') Expecting nothing ok Trying: (7**d) # Called by Cython>3.0.0 when the type can't handle the non reversed one Expecting: 7**d ok Trying: 7%giac(3) # Called by Cython>3.0.0 when the type can't handle the non reversed one Expecting: 1 % 3 ok Trying: from giacpy import * Expecting nothing ok Trying: f=giac('(x+y+z+2)**10'); g=f.normal() Expecting nothing ok Trying: from tempfile import NamedTemporaryFile Expecting nothing ok Trying: F=NamedTemporaryFile() # chose a temporary file for a test Expecting nothing ok Trying: Fname=F.name; F.close() # so Fname can be our filename Expecting nothing ok Trying: g.save(Fname) Expecting nothing ok Trying: a=loadgiacgen(Fname) Expecting nothing ok Trying: a.factor() Expecting: (x+y+z+2)**10 ok Trying: F.close() Expecting nothing ok Trying: from giacpy import gcd Expecting nothing ok Trying: C=giac([[1,2]]) Expecting nothing ok Trying: C.redim(2,3) Expecting: [[1,2,0],[0,0,0]] ok Trying: C.redim(2,1) Expecting: [[1,2]] ok Trying: d1=giac('plot(x*sin(x))') Expecting nothing ok Trying: l=giac([(d1*t*0.1).color(t) for t in range(10)]) Expecting nothing ok Trying: d1='A:=point(1+i);t:=element(10..100,1,10);C:=circle(A,t*0.05);M:=element(C);' Expecting nothing ok Trying: from giacpy import giac Expecting nothing ok Trying: giac(3**100) Expecting: 515377520732011331036461129765621272702107522001 ok Trying: giac(-3**100) Expecting: -515377520732011331036461129765621272702107522001 ok Trying: giac(-11**1000) Expecting: -2469932918005826334124088385085221477709733385238396234869182951830739390375433175367866116456946191973803561189036523363533798726571008961243792655536655282201820357872673322901148243453211756020067624545609411212063417307681204817377763465511222635167942816318177424600927358163388910854695041070577642045540560963004207926938348086979035423732739933235077042750354729095729602516751896320598857608367865475244863114521391548985943858154775884418927768284663678512441565517194156946312753546771163991252528017732162399536497445066348868438762510366191040118080751580689254476068034620047646422315123643119627205531371694188794408120267120500325775293645416335230014278578281272863450085145349124727476223298887655183167465713337723258182649072572861625150703747030550736347589416285606367521524529665763903537989935510874657420361426804068643262800901916285076966174176854351055183740078763891951775452021781225066361670593917001215032839838911476044840388663443684517735022039957481918726697789827894303408292584258328090724141496484460001 ok Trying: v=[1,58,1387,17715,131260,578697,1538013,2648041,3687447,4993299,5858116,5979221,5239798,4098561,3176188,1660466,705432] Expecting nothing ok Trying: giac(v)*v Expecting: 175925584603774 ok Trying: giac([v])*(giac([v]).transpose()) Expecting: matrix[[175925584603774]] ok Trying: v=giac('pari()') Expecting nothing ok Trying: if len(v)>200: giac('pari(18446744073709551616)') else: giac('2^64') Expecting: 18446744073709551616 ok Trying: A=giacpy.table(()) Expecting nothing ok Trying: B=giacpy.table([[1]]) Expecting nothing ok Trying: A-B Expecting: table( (0,0) = -1 ) ok Trying: from giacpy import randvector,randseed,srand Expecting nothing ok Trying: a=randvector(50) Expecting nothing ok Trying: randseed(10) Expecting: 10 ok Trying: a=randvector(50) Expecting nothing ok Trying: srand(10) Expecting: 10 ok Trying: a==randvector(50) Expecting: True ok Trying: from giacpy import * Expecting nothing ok Trying: g=texpand('tan(10*a+3*b)') Expecting nothing ok 1 items passed all tests: 233 tests in giacpy.pyx 233 tests in 1 items. 233 passed and 0 failed. Test passed. + popd ~/build/BUILD/giacpy-0.7.3 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-giacpy-0.7.3-3.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wtrTn5 + umask 022 + cd /builddir/build/BUILD + cd giacpy-0.7.3 + DOCDIR=/builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/share/doc/python3-giacpy + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/share/doc/python3-giacpy + cp -pr /builddir/build/BUILD/giacpy-0.7.3/README.txt /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/share/doc/python3-giacpy + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.kQl47u + umask 022 + cd /builddir/build/BUILD + cd giacpy-0.7.3 + LICENSEDIR=/builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/share/licenses/python3-giacpy + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/share/licenses/python3-giacpy + cp -pr /builddir/build/BUILD/giacpy-0.7.3/giacpy/GPL-2 /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64/usr/share/licenses/python3-giacpy + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-giacpy = 0.7.3-3.fc40 python3-giacpy = 0.7.3-3.fc40 python3-giacpy(riscv-64) = 0.7.3-3.fc40 python3.12-giacpy = 0.7.3-3.fc40 python3.12dist(giacpy) = 0.7.3 python3dist(giacpy) = 0.7.3 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: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgiac.so.0()(64bit) libqcas.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) python(abi) = 3.12 rtld(GNU_HASH) Obsoletes: python-giacpy < 0.7.3-3.fc40 python2-giacpy < 0:0.7.3 Processing files: python3-giacpy-devel-0.7.3-3.fc40.riscv64 Provides: python-giacpy-devel = 0.7.3-3.fc40 python3-giacpy-devel = 0.7.3-3.fc40 python3-giacpy-devel(riscv-64) = 0.7.3-3.fc40 python3.12-giacpy-devel = 0.7.3-3.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python-giacpy-debugsource-0.7.3-3.fc40.riscv64 Provides: python-giacpy-debugsource = 0.7.3-3.fc40 python-giacpy-debugsource(riscv-64) = 0.7.3-3.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-giacpy-debuginfo-0.7.3-3.fc40.riscv64 Provides: debuginfo(build-id) = 093e91ed9863eed400733f5c892014fadb4296cd debuginfo(build-id) = fcfbb6f7b93bcc17a81a5680d5d4dcdcf29f92a9 python-giacpy-debuginfo = 0.7.3-3.fc40 python3-giacpy-debuginfo = 0.7.3-3.fc40 python3-giacpy-debuginfo(riscv-64) = 0.7.3-3.fc40 python3.12-giacpy-debuginfo = 0.7.3-3.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-giacpy-debugsource(riscv-64) = 0.7.3-3.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64 Wrote: /builddir/build/RPMS/python3-giacpy-devel-0.7.3-3.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/python3-giacpy-0.7.3-3.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/python3-giacpy-debuginfo-0.7.3-3.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/python-giacpy-debugsource-0.7.3-3.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.88bdNf + umask 022 + cd /builddir/build/BUILD + cd giacpy-0.7.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-giacpy-0.7.3-3.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.OmeG45 + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/giacpy-0.7.3-SPECPARTS + rm -rf giacpy-0.7.3 giacpy-0.7.3.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0