D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-gmpy-1.17-18.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Jw4h16 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf gmpy-1.17 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gmpy-1.17.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd gmpy-1.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.qFXf2G + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd gmpy-1.17 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + find -name .svn + xargs rm -rf + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_ext building 'gmpy' extension creating build creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/src gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -I./src -I/usr/include -I/usr/include/python3.10 -c src/gmpy.c -o build/temp.linux-x86_64-cpython-310/src/gmpy.o src/gmpy.c:297: warning: "Py_RETURN_NOTIMPLEMENTED" redefined 297 | #define Py_RETURN_NOTIMPLEMENTED\ | In file included from /usr/include/python3.10/Python.h:74, from src/gmpy.c:237: /usr/include/python3.10/object.h:623: note: this is the location of the previous definition 623 | #define Py_RETURN_NOTIMPLEMENTED return Py_NewRef(Py_NotImplemented) | In file included from src/gmpy.c:345: src/mpz_pylong.c: In function 'mpn_pythonhash': src/mpz_pylong.c:225:19: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 225 | if (bit_pos <= 8*sizeof(mp_limb_t)) | ^~ src/gmpy.c: In function 'Pympf_new': src/gmpy.c:914:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] 914 | if(bits < options.minprec) | ^ src/gmpy.c: In function 'PyFloat2Pympf': src/gmpy.c:1179:21: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] 1179 | Py2or3String_AsString(options.fcoform), | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83: /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/gmpy.c:1181:21: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] 1181 | s?Py2or3String_AsString(s):""); | ^ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/gmpy.c: In function 'Pympf_ascii': src/gmpy.c:2325:28: warning: comparison of integer expressions of different signedness: 'mp_exp_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2325 | if(the_exp >= (buflen-isnegative)) | ^~ src/gmpy.c: In function 'anynum2Pympf': src/gmpy.c:2763:80: warning: operand of '?:' changes signedness from 'int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 2763 | (void *)obj, bits, (void *)newob, newob != 0 ? newob->rebits : -1); | ^~ In file included from src/gmpy.c:5845: src/gmpy_mpmath.c: In function 'Pympz_mpmath_normalize': src/gmpy_mpmath.c:57:9: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] 57 | rnd = Py2or3String_AsString(PyTuple_GET_ITEM(args, 5))[0]; | ^~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/gmpy_mpmath.c:117:48: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] 117 | if(mpz_sizeinbase(lower, 2)==shift) { | ^~ src/gmpy_mpmath.c:119:47: warning: comparison of integer expressions of different signedness: 'mp_bitcnt_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] 119 | if(mpz_scan1(lower, 0)==shift-1) { | ^~ src/gmpy_mpmath.c: In function 'Pympz_mpmath_create': src/gmpy_mpmath.c:200:13: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] 200 | rnd = Py2or3String_AsString(PyTuple_GET_ITEM(args, 3)); | ^~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/gmpy_mpmath.c:267:51: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] 267 | if(mpz_sizeinbase(lower->z, 2)==shift) { | ^~ src/gmpy_mpmath.c:269:50: warning: comparison of integer expressions of different signedness: 'mp_bitcnt_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] 269 | if(mpz_scan1(lower->z, 0)==shift-1) { | ^~ src/gmpy_mpmath.c: In function 'do_mpmath_trim': src/gmpy_mpmath.c:403:41: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] 403 | if(mpz_sizeinbase(lower, 2) == shift) { | ^~ src/gmpy_mpmath.c:405:40: warning: comparison of integer expressions of different signedness: 'mp_bitcnt_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] 405 | if(mpz_scan1(lower, 0) == shift-1) { | ^~ src/gmpy_mpmath.c: In function 'Pympz_mpmath_trim': src/gmpy_mpmath.c:450:13: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] 450 | rnd = Py2or3String_AsString(PyTuple_GET_ITEM(args, 3)); | ^~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/gmpy_mpmath.c: In function 'Pympz_mpmath_add': src/gmpy_mpmath.c:486:13: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] 486 | rnd = Py2or3String_AsString(PyTuple_GET_ITEM(args, 5)); | ^~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/gmpy_mpmath.c: In function 'Pympz_mpmath_mult': src/gmpy_mpmath.c:633:13: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] 633 | rnd = Py2or3String_AsString(PyTuple_GET_ITEM(args, 5)); | ^~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/gmpy_mpmath.c: In function 'Pympz_mpmath_div': src/gmpy_mpmath.c:683:13: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] 683 | rnd = Py2or3String_AsString(PyTuple_GET_ITEM(args, 5)); | ^~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ src/gmpy_mpmath.c: In function 'Pympz_mpmath_sqrt': src/gmpy_mpmath.c:790:13: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] 790 | rnd = Py2or3String_AsString(PyTuple_GET_ITEM(args, 3)); | ^~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ creating build/lib.linux-x86_64-cpython-310 gcc -shared -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables build/temp.linux-x86_64-cpython-310/src/gmpy.o -L/usr/lib64 -lgmp -lpython3.10 -o build/lib.linux-x86_64-cpython-310/gmpy.cpython-310-x86_64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rH2M3n + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64 + cd gmpy-1.17 + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py install -O1 --skip-build --root /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64 running install /usr/lib/python3.10/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 /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64/usr creating /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64/usr/lib64 creating /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64/usr/lib64/python3.10 creating /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64/usr/lib64/python3.10/site-packages copying build/lib.linux-x86_64-cpython-310/gmpy.cpython-310-x86_64-linux-gnu.so -> /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64/usr/lib64/python3.10/site-packages writing byte-compilation script '/tmp/tmpnxpqlpqe.py' /usr/bin/python3 /tmp/tmpnxpqlpqe.py removing /tmp/tmpnxpqlpqe.py running install_egg_info running egg_info creating gmpy.egg-info writing gmpy.egg-info/PKG-INFO writing dependency_links to gmpy.egg-info/dependency_links.txt writing top-level names to gmpy.egg-info/top_level.txt writing manifest file 'gmpy.egg-info/SOURCES.txt' reading manifest file 'gmpy.egg-info/SOURCES.txt' writing manifest file 'gmpy.egg-info/SOURCES.txt' Copying gmpy.egg-info to /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64/usr/lib64/python3.10/site-packages/gmpy-1.17-py3.10.egg-info running install_scripts + rm -rfv /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64/usr/bin/__pycache__ + chmod 755 /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64/usr/lib64/python3.10/site-packages/gmpy.cpython-310-x86_64-linux-gnu.so + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.17-18.mga9 --unique-debug-suffix -1.17-18.mga9.x86_64 --unique-debug-src-base python-gmpy-1.17-18.mga9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/gmpy-1.17 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64/usr/lib64/python3.10/site-packages/gmpy.cpython-310-x86_64-linux-gnu.so original debug info size: 436kB, size after compression: 420kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 696 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64/usr/lib64/python3.10 using python3.10 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64/usr/lib/debug/usr/lib64/python3.10 using python3.10 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GgjVsT + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd gmpy-1.17 + '[' 1 -eq 1 ']' ++ ls build/ ++ grep lib + libdir=lib.linux-x86_64-cpython-310 ++ pwd + export PYTHONPATH=/home/pterjan/rpmbuild/BUILD/gmpy-1.17/build/lib.linux-x86_64-cpython-310 + PYTHONPATH=/home/pterjan/rpmbuild/BUILD/gmpy-1.17/build/lib.linux-x86_64-cpython-310 + cd test + /usr/bin/python3 gmpy_test.py Please use 'test3/gmpy_test.py' to test with Python 3.x. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-gmpy-1.17-18.mga9.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yJaQzc + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd gmpy-1.17 + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64/usr/share/doc/python3-gmpy + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64/usr/share/doc/python3-gmpy + cp -pr README /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64/usr/share/doc/python3-gmpy + cp -pr doc/ /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64/usr/share/doc/python3-gmpy + cp -pr test/ /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64/usr/share/doc/python3-gmpy + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-gmpy = 1.17-18.mga9 python3-gmpy = 1.17-18.mga9 python3-gmpy(x86-64) = 1.17-18.mga9 python3.10-gmpy = 1.17-18.mga9 python3.10dist(gmpy) = 1.17 python3dist(gmpy) = 1.17 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgmp.so.10()(64bit) libpython3.10.so.1.0()(64bit) python(abi) = 3.10 Obsoletes: python-gmpy < 1.17-18.mga9 Processing files: python-gmpy-debugsource-1.17-18.mga9.x86_64 Provides: python-gmpy-debugsource = 1.17-18.mga9 python-gmpy-debugsource(x86-64) = 1.17-18.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-gmpy-debuginfo-1.17-18.mga9.x86_64 Provides: debuginfo(build-id) = 921d8ca26f6e965333675e340216d88e99a60c6f python-gmpy-debuginfo = 1.17-18.mga9 python3-gmpy-debuginfo = 1.17-18.mga9 python3-gmpy-debuginfo(x86-64) = 1.17-18.mga9 python3.10-gmpy-debuginfo = 1.17-18.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-gmpy-debugsource(x86-64) = 1.17-18.mga9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/python3-gmpy-1.17-18.mga9.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/python-gmpy-debugsource-1.17-18.mga9.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/python3-gmpy-debuginfo-1.17-18.mga9.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wIsaJc + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd gmpy-1.17 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/python-gmpy-1.17-18.mga9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yLhHct + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf gmpy-1.17 gmpy-1.17.gemspec + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!