Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-giacpy.spec'], chrootPath='/var/lib/mock/fedora-38-x86_64-1687302541.853376/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jr_rvexq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jr_rvexq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9685e8a029474beb8306804b52cc43f9', '-D', '/var/lib/mock/fedora-38-x86_64-1687302541.853376/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jr_rvexq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} 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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1686614400 Wrote: /builddir/build/SRPMS/python-giacpy-0.7.1-3.fc38.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-giacpy.spec'], chrootPath='/var/lib/mock/fedora-38-x86_64-1687302541.853376/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jr_rvexq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jr_rvexq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '344c5c2682e9431f8d17a6e519831e5d', '-D', '/var/lib/mock/fedora-38-x86_64-1687302541.853376/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jr_rvexq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1686614400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Z2ZMM0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf giacpy-0.7.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/giacpy-0.7.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd giacpy-0.7.1 + /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/giacpy2qcas.cpp giacpy/giacpy.cpp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4cfslp + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 giacpy-0.7.1 + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DQT_XML_LIB -I/usr/include/qt5/QtXml -I/usr/include/qt5 -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB ' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DQT_XML_LIB -I/usr/include/qt5/QtXml -I/usr/include/qt5 -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB ' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DQT_XML_LIB -I/usr/include/qt5/QtXml -I/usr/include/qt5 -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB ' + 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' --enable-qcas '--executable=/usr/bin/python3 -s' /usr/lib64/python3.11/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /builddir/build/BUILD/giacpy-0.7.1/giacpy/giacpy.pxd tree = Parsing.p_module(s, pxd, full_module_name) Compiling giacpy/giacpy.pyx because it changed. [1/1] Cythonizing giacpy/giacpy.pyx /usr/lib64/python3.11/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /builddir/build/BUILD/giacpy-0.7.1/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-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/giacpy copying giacpy/__init__.py -> build/lib.linux-x86_64-cpython-311/giacpy copying giacpy/GPL-2 -> build/lib.linux-x86_64-cpython-311/giacpy copying giacpy/giacpymisc.h -> build/lib.linux-x86_64-cpython-311/giacpy copying giacpy/giacpy.pxd -> build/lib.linux-x86_64-cpython-311/giacpy running build_ext building 'giacpy.giacpy' extension creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-cpython-311/giacpy gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DQT_XML_LIB -I/usr/include/qt5/QtXml -I/usr/include/qt5 -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -fPIC -Igiacpy -I./giacpy -I. -I/usr/include/python3.11 -c giacpy/giacpy.cpp -o build/temp.linux-x86_64-cpython-311/giacpy/giacpy.o g++ -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,-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DQT_XML_LIB -I/usr/include/qt5/QtXml -I/usr/include/qt5 -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB build/temp.linux-x86_64-cpython-311/giacpy/giacpy.o -L/usr/lib64 -lgiac -o build/lib.linux-x86_64-cpython-311/giacpy/giacpy.cpython-311-x86_64-linux-gnu.so building 'giacpy.giacpy2qcas' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DQT_XML_LIB -I/usr/include/qt5/QtXml -I/usr/include/qt5 -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -fPIC -Igiacpy -I./giacpy -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.11 -c giacpy/giacpy2qcas.cpp -o build/temp.linux-x86_64-cpython-311/giacpy/giacpy2qcas.o g++ -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,-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DQT_XML_LIB -I/usr/include/qt5/QtXml -I/usr/include/qt5 -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB build/temp.linux-x86_64-cpython-311/giacpy/giacpy2qcas.o -L -L/usr/lib64 -lqcas -ldl -lgiac -lgmp -lQt5Svg -lQt5Xml -lQt5Widgets -lQt5Gui -lQt5Core -lpthread -o build/lib.linux-x86_64-cpython-311/giacpy/giacpy2qcas.cpython-311-x86_64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.j689y7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 giacpy-0.7.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 install -O1 --skip-build --root /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64 --prefix /usr running install /usr/lib/python3.11/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-giacpy-0.7.1-3.fc38.x86_64/usr creating /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib64/python3.11/site-packages creating /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib64/python3.11/site-packages/giacpy copying build/lib.linux-x86_64-cpython-311/giacpy/giacpy2qcas.cpython-311-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib64/python3.11/site-packages/giacpy copying build/lib.linux-x86_64-cpython-311/giacpy/giacpy.cpython-311-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib64/python3.11/site-packages/giacpy copying build/lib.linux-x86_64-cpython-311/giacpy/giacpy.pxd -> /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib64/python3.11/site-packages/giacpy copying build/lib.linux-x86_64-cpython-311/giacpy/giacpymisc.h -> /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib64/python3.11/site-packages/giacpy copying build/lib.linux-x86_64-cpython-311/giacpy/GPL-2 -> /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib64/python3.11/site-packages/giacpy copying build/lib.linux-x86_64-cpython-311/giacpy/__init__.py -> /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib64/python3.11/site-packages/giacpy byte-compiling /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib64/python3.11/site-packages/giacpy/__init__.py to __init__.cpython-311.pyc writing byte-compilation script '/tmp/tmplkttmhgj.py' /usr/bin/python3 /tmp/tmplkttmhgj.py removing /tmp/tmplkttmhgj.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.1-3.fc38.x86_64/usr/lib64/python3.11/site-packages/giacpy-0.7.1-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/bin/__pycache__ + rm -f /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib64/python3.11/site-packages/giacpy/giacpy.cpp + rm -f /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib64/python3.11/site-packages/giacpy/GPL-2 + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.7.1-3.fc38 --unique-debug-suffix -0.7.1-3.fc38.x86_64 --unique-debug-src-base python-giacpy-0.7.1-3.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/giacpy-0.7.1 extracting debug info from /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib64/python3.11/site-packages/giacpy/giacpy.cpython-311-x86_64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib64/python3.11/site-packages/giacpy/giacpy2qcas.cpython-311-x86_64-linux-gnu.so original debug info size: 12520kB, size after compression: 12072kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 13924 blocks + /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 -j2 Bytecompiling .py files below /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib/debug/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.o6WzV4 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 giacpy-0.7.1 + pushd build/lib.linux-x86_64-cpython-311 ~/build/BUILD/giacpy-0.7.1/build/lib.linux-x86_64-cpython-311 ~/build/BUILD/giacpy-0.7.1 + export PYTHONPATH=/builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib64/python3.11/site-packages + PYTHONPATH=/builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/lib64/python3.11/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.28 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 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: 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: 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: 215 tests in giacpy.pyx 215 tests in 1 items. 215 passed and 0 failed. Test passed. ~/build/BUILD/giacpy-0.7.1 + popd + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-giacpy-0.7.1-3.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uWREx7 + umask 022 + cd /builddir/build/BUILD + cd giacpy-0.7.1 + DOCDIR=/builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/share/doc/python3-giacpy + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/share/doc/python3-giacpy + cp -pr README.txt /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/share/doc/python3-giacpy + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.zIpUtR + umask 022 + cd /builddir/build/BUILD + cd giacpy-0.7.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/share/licenses/python3-giacpy + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/share/licenses/python3-giacpy + cp -pr giacpy/GPL-2 /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64/usr/share/licenses/python3-giacpy + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-giacpy = 0.7.1-3.fc38 python3-giacpy = 0.7.1-3.fc38 python3-giacpy(x86-64) = 0.7.1-3.fc38 python3.11-giacpy = 0.7.1-3.fc38 python3.11dist(giacpy) = 0.7.1 python3dist(giacpy) = 0.7.1 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: libQt5Core.so.5()(64bit) libQt5Core.so.5(Qt_5.15)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(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.11 rtld(GNU_HASH) Obsoletes: python-giacpy < 0.7.1-3.fc38 python2-giacpy < 0:0.7.1 Processing files: python3-giacpy-devel-0.7.1-3.fc38.x86_64 Provides: python-giacpy-devel = 0.7.1-3.fc38 python3-giacpy-devel = 0.7.1-3.fc38 python3-giacpy-devel(x86-64) = 0.7.1-3.fc38 python3.11-giacpy-devel = 0.7.1-3.fc38 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.1-3.fc38.x86_64 Provides: python-giacpy-debugsource = 0.7.1-3.fc38 python-giacpy-debugsource(x86-64) = 0.7.1-3.fc38 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.1-3.fc38.x86_64 Provides: debuginfo(build-id) = 20b7b18d4bf23f84da6ed1a68dc1898c4ba62005 debuginfo(build-id) = 826eadf43a66ac75e944bcc4b22361a6a2836e34 python-giacpy-debuginfo = 0.7.1-3.fc38 python3-giacpy-debuginfo = 0.7.1-3.fc38 python3-giacpy-debuginfo(x86-64) = 0.7.1-3.fc38 python3.11-giacpy-debuginfo = 0.7.1-3.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-giacpy-debugsource(x86-64) = 0.7.1-3.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64 Wrote: /builddir/build/RPMS/python3-giacpy-debuginfo-0.7.1-3.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/python3-giacpy-0.7.1-3.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/python3-giacpy-devel-0.7.1-3.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/python-giacpy-debugsource-0.7.1-3.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lWJfmc + umask 022 + cd /builddir/build/BUILD + cd giacpy-0.7.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-giacpy-0.7.1-3.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.R8qyzH + umask 022 + cd /builddir/build/BUILD + rm -rf giacpy-0.7.1 giacpy-0.7.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0