Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-gphoto2.spec'], chrootPath='/var/lib/mock/f41-build-822344-153091/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-gphoto2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721347200 Wrote: /builddir/build/SRPMS/python-gphoto2-2.0.0-21.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-gphoto2.spec'], chrootPath='/var/lib/mock/f41-build-822344-153091/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-gphoto2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721347200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.oyVlla + umask 022 + cd /builddir/build/BUILD/python-gphoto2-2.0.0-build + test -d /builddir/build/BUILD/python-gphoto2-2.0.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-gphoto2-2.0.0-build + /usr/bin/rm -rf /builddir/build/BUILD/python-gphoto2-2.0.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-gphoto2-2.0.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-gphoto2-2.0.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UOXMeJ + umask 022 + cd /builddir/build/BUILD/python-gphoto2-2.0.0-build + cd /builddir/build/BUILD/python-gphoto2-2.0.0-build + rm -rf gphoto2-2.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gphoto2-2.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gphoto2-2.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-gphoto2-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -e 1d -i examples/cam-conf-view-gui.py examples/camera-config-gui-oo.py examples/camera-config-gui.py examples/camera-summary-oo.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-oo.py examples/list-cameras.py examples/list-files-oo.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-oo.py examples/wait-for-event.py + chmod -x examples/cam-conf-view-gui.py examples/camera-config-gui-oo.py examples/camera-config-gui.py examples/camera-summary-oo.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-oo.py examples/list-cameras.py examples/list-files-oo.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-oo.py examples/wait-for-event.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0hXwuL + umask 022 + cd /builddir/build/BUILD/python-gphoto2-2.0.0-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 gphoto2-2.0.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 build '--executable=/usr/bin/python3 -sP' /builddir/build/BUILD/python-gphoto2-2.0.0-build/gphoto2-2.0.0/setup.py:77: SyntaxWarning: invalid escape sequence '\d' match = re.match(mod_src_dir + '-gp(\d+\.\d+\.\d+)', name) /builddir/build/BUILD/python-gphoto2-2.0.0-build/gphoto2-2.0.0/setup.py:117: SyntaxWarning: invalid escape sequence '\d' match = re.match('libgphoto2-(\d+\.\d+\.\d+)', name) /builddir/build/BUILD/python-gphoto2-2.0.0-build/gphoto2-2.0.0/setup.py:169: SyntaxWarning: invalid escape sequence '\(' for match in re.finditer('%feature\("docstring"\) (\w+) \"(.+?)\";', src/swig-bi-py3-gp2.5.10/context_wrap.c: In function ‘SWIG_Python_GetSwigThis’: src/swig-bi-py3-gp2.5.10/context_wrap.c:2255:5: warning: ‘PyWeakref_GET_OBJECT’ is deprecated [-Wdeprecated-declarations] 2255 | pyobj = PyWeakref_GET_OBJECT(pyobj); | ^~~~~ In file included from /usr/include/python3.13/weakrefobject.h:39, from /usr/include/python3.13/Python.h:109, from src/swig-bi-py3-gp2.5.10/context_wrap.c:151: /usr/include/python3.13/cpython/weakrefobject.h:45:45: note: declared here 45 | Py_DEPRECATED(3.13) static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) | ^~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5.10/context_wrap.c: In function ‘PyInit__context’: src/swig-bi-py3-gp2.5.10/context_wrap.c:8157:15: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation] 8157 | strncpy(buff, "swig_ptr: ", 10); | ^ src/swig-bi-py3-gp2.5.10/abilities_list_wrap.c: In function ‘SWIG_Python_GetSwigThis’: src/swig-bi-py3-gp2.5.10/abilities_list_wrap.c:2255:5: warning: ‘PyWeakref_GET_OBJECT’ is deprecated [-Wdeprecated-declarations] 2255 | pyobj = PyWeakref_GET_OBJECT(pyobj); | ^~~~~ In file included from /usr/include/python3.13/weakrefobject.h:39, from /usr/include/python3.13/Python.h:109, from src/swig-bi-py3-gp2.5.10/abilities_list_wrap.c:151: /usr/include/python3.13/cpython/weakrefobject.h:45:45: note: declared here 45 | Py_DEPRECATED(3.13) static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) | ^~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5.10/abilities_list_wrap.c: In function ‘PyInit__abilities_list’: src/swig-bi-py3-gp2.5.10/abilities_list_wrap.c:7192:15: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation] 7192 | strncpy(buff, "swig_ptr: ", 10); | ^ src/swig-bi-py3-gp2.5.10/port_log_wrap.c: In function ‘SWIG_Python_GetSwigThis’: src/swig-bi-py3-gp2.5.10/port_log_wrap.c:2255:5: warning: ‘PyWeakref_GET_OBJECT’ is deprecated [-Wdeprecated-declarations] 2255 | pyobj = PyWeakref_GET_OBJECT(pyobj); | ^~~~~ In file included from /usr/include/python3.13/weakrefobject.h:39, from /usr/include/python3.13/Python.h:109, from src/swig-bi-py3-gp2.5.10/port_log_wrap.c:151: /usr/include/python3.13/cpython/weakrefobject.h:45:45: note: declared here 45 | Py_DEPRECATED(3.13) static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) | ^~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5.10/port_log_wrap.c: In function ‘PyInit__port_log’: src/swig-bi-py3-gp2.5.10/port_log_wrap.c:5365:15: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation] 5365 | strncpy(buff, "swig_ptr: ", 10); | ^ src/swig-bi-py3-gp2.5.10/widget_wrap.c: In function ‘SWIG_Python_GetSwigThis’: src/swig-bi-py3-gp2.5.10/widget_wrap.c:2255:5: warning: ‘PyWeakref_GET_OBJECT’ is deprecated [-Wdeprecated-declarations] 2255 | pyobj = PyWeakref_GET_OBJECT(pyobj); | ^~~~~ In file included from /usr/include/python3.13/weakrefobject.h:39, from /usr/include/python3.13/Python.h:109, from src/swig-bi-py3-gp2.5.10/widget_wrap.c:151: /usr/include/python3.13/cpython/weakrefobject.h:45:45: note: declared here 45 | Py_DEPRECATED(3.13) static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) | ^~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5.10/widget_wrap.c: In function ‘PyInit__widget’: src/swig-bi-py3-gp2.5.10/widget_wrap.c:10202:15: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation] 10202 | strncpy(buff, "swig_ptr: ", 10); | ^ src/swig-bi-py3-gp2.5.10/port_info_list_wrap.c: In function ‘SWIG_Python_GetSwigThis’: src/swig-bi-py3-gp2.5.10/port_info_list_wrap.c:2255:5: warning: ‘PyWeakref_GET_OBJECT’ is deprecated [-Wdeprecated-declarations] 2255 | pyobj = PyWeakref_GET_OBJECT(pyobj); | ^~~~~ In file included from /usr/include/python3.13/weakrefobject.h:39, from /usr/include/python3.13/Python.h:109, from src/swig-bi-py3-gp2.5.10/port_info_list_wrap.c:151: /usr/include/python3.13/cpython/weakrefobject.h:45:45: note: declared here 45 | Py_DEPRECATED(3.13) static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) | ^~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5.10/port_info_list_wrap.c: In function ‘PyInit__port_info_list’: src/swig-bi-py3-gp2.5.10/port_info_list_wrap.c:6666:15: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation] 6666 | strncpy(buff, "swig_ptr: ", 10); | ^ src/swig-bi-py3-gp2.5.10/filesys_wrap.c: In function ‘SWIG_Python_GetSwigThis’: src/swig-bi-py3-gp2.5.10/filesys_wrap.c:2255:5: warning: ‘PyWeakref_GET_OBJECT’ is deprecated [-Wdeprecated-declarations] 2255 | pyobj = PyWeakref_GET_OBJECT(pyobj); | ^~~~~ In file included from /usr/include/python3.13/weakrefobject.h:39, from /usr/include/python3.13/Python.h:109, from src/swig-bi-py3-gp2.5.10/filesys_wrap.c:151: /usr/include/python3.13/cpython/weakrefobject.h:45:45: note: declared here 45 | Py_DEPRECATED(3.13) static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) | ^~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5.10/filesys_wrap.c: In function ‘PyInit__filesys’: src/swig-bi-py3-gp2.5.10/filesys_wrap.c:9868:15: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation] 9868 | strncpy(buff, "swig_ptr: ", 10); | ^ src/swig-bi-py3-gp2.5.10/camera_wrap.c: In function ‘SWIG_Python_GetSwigThis’: src/swig-bi-py3-gp2.5.10/camera_wrap.c:2256:5: warning: ‘PyWeakref_GET_OBJECT’ is deprecated [-Wdeprecated-declarations] 2256 | pyobj = PyWeakref_GET_OBJECT(pyobj); | ^~~~~ In file included from /usr/include/python3.13/weakrefobject.h:39, from /usr/include/python3.13/Python.h:109, from src/swig-bi-py3-gp2.5.10/camera_wrap.c:152: /usr/include/python3.13/cpython/weakrefobject.h:45:45: note: declared here 45 | Py_DEPRECATED(3.13) static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) | ^~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5.10/camera_wrap.c: In function ‘PyInit__camera’: src/swig-bi-py3-gp2.5.10/camera_wrap.c:11894:3: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations] 11894 | SWIG_PYTHON_INITIALIZE_THREADS; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.13/Python.h:120: /usr/include/python3.13/ceval.h:114:37: note: declared here 114 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5.10/camera_wrap.c:11651:15: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation] 11651 | strncpy(buff, "swig_ptr: ", 10); | ^ src/swig-bi-py3-gp2.5.10/version_wrap.c: In function ‘SWIG_Python_GetSwigThis’: src/swig-bi-py3-gp2.5.10/version_wrap.c:2255:5: warning: ‘PyWeakref_GET_OBJECT’ is deprecated [-Wdeprecated-declarations] 2255 | pyobj = PyWeakref_GET_OBJECT(pyobj); | ^~~~~ In file included from /usr/include/python3.13/weakrefobject.h:39, from /usr/include/python3.13/Python.h:109, from src/swig-bi-py3-gp2.5.10/version_wrap.c:151: /usr/include/python3.13/cpython/weakrefobject.h:45:45: note: declared here 45 | Py_DEPRECATED(3.13) static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) | ^~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5.10/version_wrap.c: In function ‘PyInit__version’: src/swig-bi-py3-gp2.5.10/version_wrap.c:4814:15: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation] 4814 | strncpy(buff, "swig_ptr: ", 10); | ^ src/swig-bi-py3-gp2.5.10/list_wrap.c: In function ‘SWIG_Python_GetSwigThis’: src/swig-bi-py3-gp2.5.10/list_wrap.c:2255:5: warning: ‘PyWeakref_GET_OBJECT’ is deprecated [-Wdeprecated-declarations] 2255 | pyobj = PyWeakref_GET_OBJECT(pyobj); | ^~~~~ In file included from /usr/include/python3.13/weakrefobject.h:39, from /usr/include/python3.13/Python.h:109, from src/swig-bi-py3-gp2.5.10/list_wrap.c:151: /usr/include/python3.13/cpython/weakrefobject.h:45:45: note: declared here 45 | Py_DEPRECATED(3.13) static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) | ^~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5.10/list_wrap.c: In function ‘PyInit__list’: src/swig-bi-py3-gp2.5.10/list_wrap.c:6517:15: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation] 6517 | strncpy(buff, "swig_ptr: ", 10); | ^ src/swig-bi-py3-gp2.5.10/file_wrap.c: In function ‘SWIG_Python_GetSwigThis’: src/swig-bi-py3-gp2.5.10/file_wrap.c:2256:5: warning: ‘PyWeakref_GET_OBJECT’ is deprecated [-Wdeprecated-declarations] 2256 | pyobj = PyWeakref_GET_OBJECT(pyobj); | ^~~~~ In file included from /usr/include/python3.13/weakrefobject.h:39, from /usr/include/python3.13/Python.h:109, from src/swig-bi-py3-gp2.5.10/file_wrap.c:152: /usr/include/python3.13/cpython/weakrefobject.h:45:45: note: declared here 45 | Py_DEPRECATED(3.13) static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) | ^~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5.10/file_wrap.c: In function ‘PyInit__file’: src/swig-bi-py3-gp2.5.10/file_wrap.c:7474:3: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations] 7474 | SWIG_PYTHON_INITIALIZE_THREADS; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.13/Python.h:120: /usr/include/python3.13/ceval.h:114:37: note: declared here 114 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5.10/file_wrap.c:7245:15: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation] 7245 | strncpy(buff, "swig_ptr: ", 10); | ^ src/swig-bi-py3-gp2.5.10/result_wrap.c: In function ‘SWIG_Python_GetSwigThis’: src/swig-bi-py3-gp2.5.10/result_wrap.c:2255:5: warning: ‘PyWeakref_GET_OBJECT’ is deprecated [-Wdeprecated-declarations] 2255 | pyobj = PyWeakref_GET_OBJECT(pyobj); | ^~~~~ In file included from /usr/include/python3.13/weakrefobject.h:39, from /usr/include/python3.13/Python.h:109, from src/swig-bi-py3-gp2.5.10/result_wrap.c:151: /usr/include/python3.13/cpython/weakrefobject.h:45:45: note: declared here 45 | Py_DEPRECATED(3.13) static inline PyObject* PyWeakref_GET_OBJECT(PyObject *ref_obj) | ^~~~~~~~~~~~~~~~~~~~ src/swig-bi-py3-gp2.5.10/result_wrap.c: In function ‘PyInit__result’: src/swig-bi-py3-gp2.5.10/result_wrap.c:4871:15: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation] 4871 | strncpy(buff, "swig_ptr: ", 10); | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ge38sj + umask 022 + cd /builddir/build/BUILD/python-gphoto2-2.0.0-build + '[' /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-gphoto2-2.0.0-build + mkdir /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 gphoto2-2.0.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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/BUILD/python-gphoto2-2.0.0-build/BUILDROOT --prefix /usr /builddir/build/BUILD/python-gphoto2-2.0.0-build/gphoto2-2.0.0/setup.py:77: SyntaxWarning: invalid escape sequence '\d' match = re.match(mod_src_dir + '-gp(\d+\.\d+\.\d+)', name) /builddir/build/BUILD/python-gphoto2-2.0.0-build/gphoto2-2.0.0/setup.py:117: SyntaxWarning: invalid escape sequence '\d' match = re.match('libgphoto2-(\d+\.\d+\.\d+)', name) /builddir/build/BUILD/python-gphoto2-2.0.0-build/gphoto2-2.0.0/setup.py:169: SyntaxWarning: invalid escape sequence '\(' for match in re.finditer('%feature\("docstring"\) (\w+) \"(.+?)\";', /usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() + rm -rfv /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/bin/__pycache__ + rm -rf /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/share/python-gphoto2 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.0.0-21.fc41 --unique-debug-suffix -2.0.0-21.fc41.riscv64 --unique-debug-src-base python-gphoto2-2.0.0-21.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-gphoto2-2.0.0-build/gphoto2-2.0.0 find-debuginfo: starting Extracting debug info from 11 files DWARF-compressing 11 files sepdebugcrcfix: Updated 11 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/python-gphoto2-2.0.0-21.fc41.riscv64 5655 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 Bytecompiling .py files below /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/lib64/python3.13 using python3.13 Bytecompiling .py files below /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/lib/debug/usr/lib64/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages/gphoto2/__pycache__/port_log.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages/gphoto2/__pycache__/version.cpython-313.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages/gphoto2/__pycache__/file.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages/gphoto2/__pycache__/abilities_list.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages/gphoto2/__pycache__/context.cpython-313.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages/gphoto2/__pycache__/filesys.cpython-313.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages/gphoto2/__pycache__/list.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages/gphoto2/__pycache__/port_info_list.cpython-313.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages/gphoto2/__pycache__/widget.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages/gphoto2/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages/gphoto2/__pycache__/result.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages/gphoto2/__pycache__/camera.cpython-313.pyc: rewriting with normalized contents Scanned 22 directories and 74 files, processed 12 inodes, 12 modified (0 replaced + 12 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/python-gphoto2-2.0.0-build/SPECPARTS/rpm-debuginfo.specpart Processing files: python3-gphoto2-2.0.0-21.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Q4VUbb + umask 022 + cd /builddir/build/BUILD/python-gphoto2-2.0.0-build + cd gphoto2-2.0.0 + DOCDIR=/builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/share/doc/python3-gphoto2 + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/share/doc/python3-gphoto2 + cp -pr /builddir/build/BUILD/python-gphoto2-2.0.0-build/gphoto2-2.0.0/CHANGELOG.txt /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/share/doc/python3-gphoto2 + cp -pr /builddir/build/BUILD/python-gphoto2-2.0.0-build/gphoto2-2.0.0/README.rst /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/share/doc/python3-gphoto2 + cp -pr /builddir/build/BUILD/python-gphoto2-2.0.0-build/gphoto2-2.0.0/examples /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/share/doc/python3-gphoto2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.v8yrAV + umask 022 + cd /builddir/build/BUILD/python-gphoto2-2.0.0-build + cd gphoto2-2.0.0 + LICENSEDIR=/builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/share/licenses/python3-gphoto2 + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/share/licenses/python3-gphoto2 + cp -pr /builddir/build/BUILD/python-gphoto2-2.0.0-build/gphoto2-2.0.0/LICENSE.txt /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT/usr/share/licenses/python3-gphoto2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-gphoto2 = 2.0.0-21.fc41 python3-gphoto2 = 2.0.0-21.fc41 python3-gphoto2(riscv-64) = 2.0.0-21.fc41 python3.13-gphoto2 = 2.0.0-21.fc41 python3.13dist(gphoto2) = 2 python3dist(gphoto2) = 2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgphoto2.so.6()(64bit) libgphoto2_port.so.12()(64bit) libgphoto2_port.so.12(LIBGPHOTO2_5_0)(64bit) python(abi) = 3.13 rtld(GNU_HASH) Obsoletes: python-gphoto2 < 2.0.0-21.fc41 Processing files: python-gphoto2-debugsource-2.0.0-21.fc41.riscv64 Provides: python-gphoto2-debugsource = 2.0.0-21.fc41 python-gphoto2-debugsource(riscv-64) = 2.0.0-21.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-gphoto2-debuginfo-2.0.0-21.fc41.riscv64 Provides: debuginfo(build-id) = 4cd5ff7711065883a63c21a2ede102249398d5ad debuginfo(build-id) = 65214666332e7dd696f364564fb439344b7a54e7 debuginfo(build-id) = 68b79774cea40d1e90b24b6e82867288d6cd487e debuginfo(build-id) = 725f0d57802ab8cb41b85b445968d9d36221e7d1 debuginfo(build-id) = 871e60a1cdfa0044115922e9c45ad4299559ca6d debuginfo(build-id) = 9d472dd523c8e30abb0d9025e9f754ba59aa4db8 debuginfo(build-id) = adfef003ccaadb099c468183243b1e9e5e7adfab debuginfo(build-id) = bd6a33b1eae8105548f1d372601f2f8fdb3456d5 debuginfo(build-id) = c1d004d1c823cd6d1d68129af774f1cf8bda76a9 debuginfo(build-id) = c73c6ec47dbd522db7b4d6748a02a5e1b027b183 debuginfo(build-id) = fe1ee57e642ce02d3016f3027887a781bf05b3b5 python-gphoto2-debuginfo = 2.0.0-21.fc41 python3-gphoto2-debuginfo = 2.0.0-21.fc41 python3-gphoto2-debuginfo(riscv-64) = 2.0.0-21.fc41 python3.13-gphoto2-debuginfo = 2.0.0-21.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-gphoto2-debugsource(riscv-64) = 2.0.0-21.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/python-gphoto2-2.0.0-build/BUILDROOT Wrote: /builddir/build/RPMS/python3-gphoto2-2.0.0-21.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/python-gphoto2-debugsource-2.0.0-21.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/python3-gphoto2-debuginfo-2.0.0-21.fc41.riscv64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.b3eAMf + umask 022 + cd /builddir/build/BUILD/python-gphoto2-2.0.0-build + test -d /builddir/build/BUILD/python-gphoto2-2.0.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-gphoto2-2.0.0-build + rm -rf /builddir/build/BUILD/python-gphoto2-2.0.0-build + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0