D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-kapteyn-3.0-6.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.s1WLif + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf kapteyn-3.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/kapteyn-3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd kapteyn-3.0 + rm -rf /home/pterjan/rpmbuild/BUILD/kapteyn-3.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/kapteyn-3.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/python-kapteyn-2.3.1-unbundle-wcslib.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/python-kapteyn-2.3.1-linking.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/python-kapteyn-numpy_NO_DEPRECATED_API-NPY_1_7_API_VERSION.patch + /usr/bin/rm -rf src/wcslib-4.24 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.V0esPg + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd kapteyn-3.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-deprecated-declarations -Wno-cpp' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-deprecated-declarations -Wno-cpp' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' /usr/lib/python3.12/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! dist.fetch_build_eggs(dist.setup_requires) running build Compiling src/wcs.pyx because it changed. Compiling src/ascarray.pyx because it changed. Compiling src/profiles.pyx because it changed. Compiling src/kmpfit.pyx because it changed. [1/4] Cythonizing src/ascarray.pyx [2/4] Cythonizing src/kmpfit.pyx [3/4] Cythonizing src/profiles.pyx [4/4] Cythonizing src/wcs.pyx running build_py creating build creating build/lib.linux-x86_64-cpython-312 creating build/lib.linux-x86_64-cpython-312/kapteyn copying kapteyn/filters.py -> build/lib.linux-x86_64-cpython-312/kapteyn copying kapteyn/interpolation.py -> build/lib.linux-x86_64-cpython-312/kapteyn copying kapteyn/celestial.py -> build/lib.linux-x86_64-cpython-312/kapteyn copying kapteyn/positions.py -> build/lib.linux-x86_64-cpython-312/kapteyn copying kapteyn/_ni_support.py -> build/lib.linux-x86_64-cpython-312/kapteyn copying kapteyn/shapes.py -> build/lib.linux-x86_64-cpython-312/kapteyn copying kapteyn/tabarray.py -> build/lib.linux-x86_64-cpython-312/kapteyn copying kapteyn/rulers.py -> build/lib.linux-x86_64-cpython-312/kapteyn copying kapteyn/maputils.py -> build/lib.linux-x86_64-cpython-312/kapteyn copying kapteyn/__init__.py -> build/lib.linux-x86_64-cpython-312/kapteyn copying kapteyn/doccer.py -> build/lib.linux-x86_64-cpython-312/kapteyn copying kapteyn/wcsgrat.py -> build/lib.linux-x86_64-cpython-312/kapteyn copying kapteyn/mplutil.py -> build/lib.linux-x86_64-cpython-312/kapteyn creating build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/idl14.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/pastel.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/alex.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/green.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/sunbow.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/stairs8.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/isophot.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/sunbow2.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/idl12.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/smooth.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/rainbow.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/stairs9.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/light.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/halley.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/ramp.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/rainbow5.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/manycol.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/idl15.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/random4.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/red.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/real.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/staircase.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/random2.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/idl4.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/rainbow3.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/color.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/pseudo2.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/random1.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/flag.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/idl5.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/lnspiral.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/idl11.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/idl6.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/idl2.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/kester.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/random.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/heat.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/mousse.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/blulut.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/rainbow1.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/ronekers.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/blue.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/rainbow2.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/standard.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/pseudo1.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/backgr.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/aips.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/rainbow4.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/random3.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/bw.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut copying kapteyn/lut/ikon.lut -> build/lib.linux-x86_64-cpython-312/kapteyn/lut running build_ext building 'wcs' extension creating build/temp.linux-x86_64-cpython-312 creating build/temp.linux-x86_64-cpython-312/src gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-deprecated-declarations -Wno-cpp -fPIC -Isrc -I/usr/include/wcslib -I/usr/lib64/python3.12/site-packages/numpy/core/include -I/usr/include/python3.12 -c src/eterms.c -o build/temp.linux-x86_64-cpython-312/src/eterms.o gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-deprecated-declarations -Wno-cpp -fPIC -Isrc -I/usr/include/wcslib -I/usr/lib64/python3.12/site-packages/numpy/core/include -I/usr/include/python3.12 -c src/wcs.c -o build/temp.linux-x86_64-cpython-312/src/wcs.o src/wcs.c: In function ‘__pyx_pymod_exec_wcs’: src/wcs.c:35437:3: error: returning ‘void *’ from a function with return type ‘int’ makes integer from pointer without a cast [-Wint-conversion] 35437 | import_array(); | ^~~~~~~~~~~~ error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.V0esPg (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.V0esPg (%build) I: [iurt_root_command] ERROR: chroot