Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-gphoto2.spec'], chrootPath='/var/lib/mock/f41-build-812703-148420/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m1sms7db:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m1sms7db:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'a27f6c3991fd4fa08d1754328cae5745', '-D', '/var/lib/mock/f41-build-812703-148420/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m1sms7db:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1717718400 Wrote: /builddir/build/SRPMS/python-gphoto2-2.0.0-20.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-gphoto2.spec'], chrootPath='/var/lib/mock/f41-build-812703-148420/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m1sms7db:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m1sms7db:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'fc1cf7f67eb241098add03e7b1aadf6c', '-D', '/var/lib/mock/f41-build-812703-148420/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m1sms7db:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1717718400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pFIJ8S + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/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 + rm -rf /builddir/build/BUILD/gphoto2-2.0.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/gphoto2-2.0.0-SPECPARTS + /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.sRpwkG + umask 022 + cd /builddir/build/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-errors -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-errors -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/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/gphoto2-2.0.0/setup.py:117: SyntaxWarning: invalid escape sequence '\d' match = re.match('libgphoto2-(\d+\.\d+\.\d+)', name) /builddir/build/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/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/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/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/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/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/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/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); | ^ 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); | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SNGPYq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-gphoto2-2.0.0-20.fc41.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-gphoto2-2.0.0-20.fc41.riscv64 ++ dirname /builddir/build/BUILDROOT/python-gphoto2-2.0.0-20.fc41.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-gphoto2-2.0.0-20.fc41.riscv64 + 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-errors -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-errors -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-gphoto2-2.0.0-20.fc41.riscv64 --prefix /usr /builddir/build/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/gphoto2-2.0.0/setup.py:117: SyntaxWarning: invalid escape sequence '\d' match = re.match('libgphoto2-(\d+\.\d+\.\d+)', name) /builddir/build/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/BUILDROOT/python-gphoto2-2.0.0-20.fc41.riscv64/usr/bin/__pycache__ + rm -rf /builddir/build/BUILDROOT/python-gphoto2-2.0.0-20.fc41.riscv64/usr/share/python-gphoto2 + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 2.0.0-20.fc41 --unique-debug-suffix -2.0.0-20.fc41.riscv64 --unique-debug-src-base python-gphoto2-2.0.0-20.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/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-20.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 -j64 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gphoto2-2.0.0-20.fc41.riscv64/usr/lib64/python3.13 using python3.13 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gphoto2-2.0.0-20.fc41.riscv64/usr/lib/debug/usr/lib64/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: python3-gphoto2-2.0.0-20.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0zafpF + umask 022 + cd /builddir/build/BUILD + cd gphoto2-2.0.0 + DOCDIR=/builddir/build/BUILDROOT/python-gphoto2-2.0.0-20.fc41.riscv64/usr/share/doc/python3-gphoto2 + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gphoto2-2.0.0-20.fc41.riscv64/usr/share/doc/python3-gphoto2 + cp -pr /builddir/build/BUILD/gphoto2-2.0.0/CHANGELOG.txt /builddir/build/BUILDROOT/python-gphoto2-2.0.0-20.fc41.riscv64/usr/share/doc/python3-gphoto2 + cp -pr /builddir/build/BUILD/gphoto2-2.0.0/README.rst /builddir/build/BUILDROOT/python-gphoto2-2.0.0-20.fc41.riscv64/usr/share/doc/python3-gphoto2 + cp -pr /builddir/build/BUILD/gphoto2-2.0.0/examples /builddir/build/BUILDROOT/python-gphoto2-2.0.0-20.fc41.riscv64/usr/share/doc/python3-gphoto2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.E06oJC + umask 022 + cd /builddir/build/BUILD + cd gphoto2-2.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-gphoto2-2.0.0-20.fc41.riscv64/usr/share/licenses/python3-gphoto2 + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gphoto2-2.0.0-20.fc41.riscv64/usr/share/licenses/python3-gphoto2 + cp -pr /builddir/build/BUILD/gphoto2-2.0.0/LICENSE.txt /builddir/build/BUILDROOT/python-gphoto2-2.0.0-20.fc41.riscv64/usr/share/licenses/python3-gphoto2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-gphoto2 = 2.0.0-20.fc41 python3-gphoto2 = 2.0.0-20.fc41 python3-gphoto2(riscv-64) = 2.0.0-20.fc41 python3.13-gphoto2 = 2.0.0-20.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-20.fc41 Processing files: python-gphoto2-debugsource-2.0.0-20.fc41.riscv64 Provides: python-gphoto2-debugsource = 2.0.0-20.fc41 python-gphoto2-debugsource(riscv-64) = 2.0.0-20.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-20.fc41.riscv64 Provides: debuginfo(build-id) = 06fca498d6205faa257dd4b0181f761d171b226e debuginfo(build-id) = 2745d436a032090d8a584c1331e5a2504a752fdf debuginfo(build-id) = 28177aaad50104e0c6626e4a92331c9b4071c481 debuginfo(build-id) = 2affaec6fbbc32128493787628c187f10c84f9b9 debuginfo(build-id) = 3ad28095ec0138a21fbf47ceaae91a662322e2c1 debuginfo(build-id) = 9c5910e0824cd3bcf9cb664542391e8ef32703bc debuginfo(build-id) = a6658b7abca3e56256f5e2feedcc93815a8ef9fc debuginfo(build-id) = b70518037a790b7869b1bb219a48b5ee6028dad5 debuginfo(build-id) = c581060410b57d58cb6d7e8b201010e5ed9343cc debuginfo(build-id) = e145c2f2883a22f1c8ee251de8efa50b6537b5ea debuginfo(build-id) = f90612e9b5d6adca29173e9c6bf1dde262455271 python-gphoto2-debuginfo = 2.0.0-20.fc41 python3-gphoto2-debuginfo = 2.0.0-20.fc41 python3-gphoto2-debuginfo(riscv-64) = 2.0.0-20.fc41 python3.13-gphoto2-debuginfo = 2.0.0-20.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-20.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-gphoto2-2.0.0-20.fc41.riscv64 Wrote: /builddir/build/RPMS/python3-gphoto2-2.0.0-20.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/python-gphoto2-debugsource-2.0.0-20.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/python3-gphoto2-debuginfo-2.0.0-20.fc41.riscv64.rpm Child return code was: 0