D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/python-gphoto2-2.2.1-5.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.gQ28hF + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build + test -d /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VtunHs + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build + rm -rf gphoto2-2.2.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gphoto2-2.2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gphoto2-2.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e '1s/python$/python3/' examples/cam-conf-view-gui.py examples/camera-config-gui.py examples/camera-summary.py examples/capture-image.py examples/choose-camera.py examples/clear-space.py examples/context_with_callbacks.py examples/copy-chunks.py examples/copy-data.py examples/copy-files.py examples/error_handling.py examples/focus-gui.py examples/get-camera-clock.py examples/get-capture-target.py examples/list-cameras.py examples/list-files.py examples/log_events.py examples/preview-image.py examples/read-exif-exifread.py examples/read-exif-gexiv2.py examples/set-camera-clock.py examples/set-capture-target.py examples/time_lapse.py examples/wait-for-event.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zmqbwA + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build + cd gphoto2-2.2.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + : + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + for f in pyproject.toml setup.py setup.cfg + '[' -f pyproject.toml ']' + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.py ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' setup.py + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' setup.py + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' setup.py + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.py + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.py + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' setup.py + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.py + sed -i -e 's/~=/>=/g' setup.py + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.py + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.py + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.cfg ']' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build/gphoto2-2.2.1/.pyproject-builddir + echo -n + 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' + 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' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build/gphoto2-2.2.1/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build/gphoto2-2.2.1/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build/python-gphoto2-2.2.1-5.mga10.x86_64-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.0.2) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.43.0) :177: SyntaxWarning: invalid escape sequence '\(' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.43.0) :177: SyntaxWarning: invalid escape sequence '\(' + cat /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build/python-gphoto2-2.2.1-5.mga10.x86_64-pyproject-buildrequires + rm -rfv gphoto2-2.2.1.dist-info/ removed 'gphoto2-2.2.1.dist-info/LICENSE.txt' removed 'gphoto2-2.2.1.dist-info/top_level.txt' removed 'gphoto2-2.2.1.dist-info/METADATA' removed directory 'gphoto2-2.2.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HfJLNN + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build + cd gphoto2-2.2.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 setup.py build_swig /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build/gphoto2-2.2.1/setup.py:177: SyntaxWarning: invalid escape sequence '\(' for match in re.finditer('%feature\("docstring"\) (\w+) \"(.+?)\";', Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. Deprecated command line option: -py3. Ignored, this option is no longer supported. + mkdir -p /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build/gphoto2-2.2.1/.pyproject-builddir + 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' + 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' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build/gphoto2-2.2.1/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build/gphoto2-2.2.1/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build/gphoto2-2.2.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) :177: SyntaxWarning: invalid escape sequence '\(' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: gphoto2 Building wheel for gphoto2 (pyproject.toml): started Running command Building wheel for gphoto2 (pyproject.toml) :177: SyntaxWarning: invalid escape sequence '\(' src/swig-bi-py3-gp2.5/context_wrap.c: In function ‘_wrap_Context_camera_autodetect’: src/swig-bi-py3-gp2.5/context_wrap.c:4614:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ 4614 | resultobj = SWIG_Python_AppendOutput( | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c:1261:1: note: declared here 1261 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c: In function ‘_wrap_Context_set_idle_func’: src/swig-bi-py3-gp2.5/context_wrap.c:4678:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ 4678 | resultobj = SWIG_Python_AppendOutput(resultobj, | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c:1261:1: note: declared here 1261 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c: In function ‘_wrap_Context_set_error_func’: src/swig-bi-py3-gp2.5/context_wrap.c:4740:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ 4740 | resultobj = SWIG_Python_AppendOutput(resultobj, | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c:1261:1: note: declared here 1261 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c: In function ‘_wrap_Context_set_message_func’: src/swig-bi-py3-gp2.5/context_wrap.c:4802:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ 4802 | resultobj = SWIG_Python_AppendOutput(resultobj, | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c:1261:1: note: declared here 1261 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c: In function ‘_wrap_Context_set_question_func’: src/swig-bi-py3-gp2.5/context_wrap.c:4864:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ 4864 | resultobj = SWIG_Python_AppendOutput(resultobj, | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c:1261:1: note: declared here 1261 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c: In function ‘_wrap_Context_set_cancel_func’: src/swig-bi-py3-gp2.5/context_wrap.c:4926:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ 4926 | resultobj = SWIG_Python_AppendOutput(resultobj, | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c:1261:1: note: declared here 1261 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c: In function ‘_wrap_Context_set_progress_funcs’: src/swig-bi-py3-gp2.5/context_wrap.c:5009:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ 5009 | resultobj = SWIG_Python_AppendOutput(resultobj, | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c:1261:1: note: declared here 1261 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c: In function ‘_wrap_Context_set_status_func’: src/swig-bi-py3-gp2.5/context_wrap.c:5071:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ 5071 | resultobj = SWIG_Python_AppendOutput(resultobj, | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c:1261:1: note: declared here 1261 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c: In function ‘_wrap_gp_context_set_idle_func’: src/swig-bi-py3-gp2.5/context_wrap.c:5186:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ 5186 | resultobj = SWIG_Python_AppendOutput(resultobj, | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c:1261:1: note: declared here 1261 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c: In function ‘_wrap_gp_context_set_progress_funcs’: src/swig-bi-py3-gp2.5/context_wrap.c:5273:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ 5273 | resultobj = SWIG_Python_AppendOutput(resultobj, | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c:1261:1: note: declared here 1261 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c: In function ‘_wrap_gp_context_set_error_func’: src/swig-bi-py3-gp2.5/context_wrap.c:5339:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ 5339 | resultobj = SWIG_Python_AppendOutput(resultobj, | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c:1261:1: note: declared here 1261 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c: In function ‘_wrap_gp_context_set_status_func’: src/swig-bi-py3-gp2.5/context_wrap.c:5405:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ 5405 | resultobj = SWIG_Python_AppendOutput(resultobj, | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c:1261:1: note: declared here 1261 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c: In function ‘_wrap_gp_context_set_question_func’: src/swig-bi-py3-gp2.5/context_wrap.c:5471:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ 5471 | resultobj = SWIG_Python_AppendOutput(resultobj, | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c:1261:1: note: declared here 1261 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c: In function ‘_wrap_gp_context_set_cancel_func’: src/swig-bi-py3-gp2.5/context_wrap.c:5537:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ 5537 | resultobj = SWIG_Python_AppendOutput(resultobj, | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c:1261:1: note: declared here 1261 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c: In function ‘_wrap_gp_context_set_message_func’: src/swig-bi-py3-gp2.5/context_wrap.c:5603:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’ 5603 | resultobj = SWIG_Python_AppendOutput(resultobj, | ^~~~~~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5/context_wrap.c:1261:1: note: declared here 1261 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { | ^~~~~~~~~~~~~~~~~~~~~~~~ error: command '/usr/bin/gcc' failed with exit code 1 error: subprocess-exited-with-error × Building wheel for gphoto2 (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: /usr/bin/python3 /usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build/gphoto2-2.2.1/.pyproject-builddir/tmps6b7torx cwd: /home/pterjan/rpmbuild/BUILD/python-gphoto2-2.2.1-build/gphoto2-2.2.1 Building wheel for gphoto2 (pyproject.toml): finished with status 'error' ERROR: Failed building wheel for gphoto2 Failed to build gphoto2 ERROR: Failed to build one or more wheels error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.HfJLNN (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.HfJLNN (%build) I: [iurt_root_command] ERROR: chroot