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/f40-build-783539-132921/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.0m1tt70r:/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.0m1tt70r:/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', '1051b631ed514d64a6fb12c57e7b6d36', '-D', '/var/lib/mock/f40-build-783539-132921/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0m1tt70r:/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=1706227200 Wrote: /builddir/build/SRPMS/python-gphoto2-2.0.0-19.fc40.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/f40-build-783539-132921/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.0m1tt70r:/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.0m1tt70r:/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', 'd47c6420861541838f982e99e66b71cf', '-D', '/var/lib/mock/f40-build-783539-132921/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0m1tt70r:/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=1706227200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iMssQL + 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.XSWPPe + 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 ' + 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 ' + 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 -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 -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' + 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 ' + 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 ‘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 ‘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 ‘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.12/Python.h:95, from src/swig-bi-py3-gp2.5.10/file_wrap.c:152: /usr/include/python3.12/ceval.h:132:37: note: declared here 132 | 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 ‘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 ‘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 ‘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.12/Python.h:95, from src/swig-bi-py3-gp2.5.10/camera_wrap.c:152: /usr/include/python3.12/ceval.h:132:37: note: declared here 132 | 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 ‘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 ‘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 ‘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 ‘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 ‘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.KrTpoi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-gphoto2-2.0.0-19.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-gphoto2-2.0.0-19.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/python-gphoto2-2.0.0-19.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-gphoto2-2.0.0-19.fc40.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 ' + 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 ' + 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 -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 -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' + 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 ' + 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-19.fc40.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.12/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-19.fc40.riscv64/usr/bin/__pycache__ + rm -rf /builddir/build/BUILDROOT/python-gphoto2-2.0.0-19.fc40.riscv64/usr/share/python-gphoto2 + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 2.0.0-19.fc40 --unique-debug-suffix -2.0.0-19.fc40.riscv64 --unique-debug-src-base python-gphoto2-2.0.0-19.fc40.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-19.fc40.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-19.fc40.riscv64/usr/lib64/python3.12 using python3.12 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gphoto2-2.0.0-19.fc40.riscv64/usr/lib/debug/usr/lib64/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: python3-gphoto2-2.0.0-19.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9Xd9ue + umask 022 + cd /builddir/build/BUILD + cd gphoto2-2.0.0 + DOCDIR=/builddir/build/BUILDROOT/python-gphoto2-2.0.0-19.fc40.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-19.fc40.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-19.fc40.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-19.fc40.riscv64/usr/share/doc/python3-gphoto2 + cp -pr /builddir/build/BUILD/gphoto2-2.0.0/examples /builddir/build/BUILDROOT/python-gphoto2-2.0.0-19.fc40.riscv64/usr/share/doc/python3-gphoto2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.EVctcF + umask 022 + cd /builddir/build/BUILD + cd gphoto2-2.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-gphoto2-2.0.0-19.fc40.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-19.fc40.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-19.fc40.riscv64/usr/share/licenses/python3-gphoto2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-gphoto2 = 2.0.0-19.fc40 python3-gphoto2 = 2.0.0-19.fc40 python3-gphoto2(riscv-64) = 2.0.0-19.fc40 python3.12-gphoto2 = 2.0.0-19.fc40 python3.12dist(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.12 rtld(GNU_HASH) Obsoletes: python-gphoto2 < 2.0.0-19.fc40 Processing files: python-gphoto2-debugsource-2.0.0-19.fc40.riscv64 Provides: python-gphoto2-debugsource = 2.0.0-19.fc40 python-gphoto2-debugsource(riscv-64) = 2.0.0-19.fc40 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-19.fc40.riscv64 Provides: debuginfo(build-id) = 18236290dbcd0ca09089f3c8f35bb3f5fd5eccea debuginfo(build-id) = 281a38f91a4d12555a2fa205ad5210b672ea0f1a debuginfo(build-id) = 2a81a4fcd01e718835a683f0334170e013fef28b debuginfo(build-id) = 7b064e1b723eb39c19b1cb461bd6d3578e8dd8db debuginfo(build-id) = 9e16c807ca108731c0cdc267619bc4b7da685405 debuginfo(build-id) = a0108a758e36ed0f70161b1803d66e5e79a0b89e debuginfo(build-id) = b5459368b24791070d30bc280205e241a515de9c debuginfo(build-id) = b90f7b62d3eb06cb5636f68fe22c19b56d2534d4 debuginfo(build-id) = be646bdca7d704a58a3c6c7e8c4bdc888a458730 debuginfo(build-id) = c8d434feaf27bad5688e7362dc73e2e8242b2b15 debuginfo(build-id) = ed3bfbfd00e25fdd5e75d0e6f54f116e315e73d8 python-gphoto2-debuginfo = 2.0.0-19.fc40 python3-gphoto2-debuginfo = 2.0.0-19.fc40 python3-gphoto2-debuginfo(riscv-64) = 2.0.0-19.fc40 python3.12-gphoto2-debuginfo = 2.0.0-19.fc40 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-19.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-gphoto2-2.0.0-19.fc40.riscv64 Wrote: /builddir/build/RPMS/python3-gphoto2-2.0.0-19.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/python-gphoto2-debugsource-2.0.0-19.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/python3-gphoto2-debuginfo-2.0.0-19.fc40.riscv64.rpm Child return code was: 0