Mock Version: 3.5
Mock Version: 3.5
Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/mailnag.spec'], chrootPath='/var/lib/mock/f39-build-1623063-38880/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffff85ca5f50>timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/mailnag.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
Building target platforms: noarch
Building for target noarch
setting SOURCE_DATE_EPOCH=1696809600
Wrote: /builddir/build/SRPMS/mailnag-2.2.0-13.fc39.src.rpm
RPM build warnings:
    %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mailnag.spec'], chrootPath='/var/lib/mock/f39-build-1623063-38880/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffff85ca5f50>timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mailnag.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
Building target platforms: noarch
Building for target noarch
setting SOURCE_DATE_EPOCH=1696809600
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6P7Z2t
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf mailnag-2.2.0
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v2.2.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd mailnag-2.2.0
+ rm -rf /builddir/build/BUILD/mailnag-2.2.0-SPECPARTS
+ /usr/bin/mkdir -p /builddir/build/BUILD/mailnag-2.2.0-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (mailnag-pingtest_w_fedora.patch):'
Patch #0 (mailnag-pingtest_w_fedora.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .patch0 --fuzz=0
patching file Mailnag/daemon/conntest.py
Patch #1 (mailnag-deprecated_ssl_wrap.patch):
+ echo 'Patch #1 (mailnag-deprecated_ssl_wrap.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .patch1 --fuzz=0
patching file Mailnag/common/imaplib2.py
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fAUQPe
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/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=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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  '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd mailnag-2.2.0
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-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  '
+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP'
creating build/locale/bg/LC_MESSAGES/mailnag.mo
creating build/locale/ca/LC_MESSAGES/mailnag.mo
creating build/locale/cs/LC_MESSAGES/mailnag.mo
creating build/locale/de/LC_MESSAGES/mailnag.mo
creating build/locale/es/LC_MESSAGES/mailnag.mo
creating build/locale/fr/LC_MESSAGES/mailnag.mo
creating build/locale/gl/LC_MESSAGES/mailnag.mo
creating build/locale/hr/LC_MESSAGES/mailnag.mo
creating build/locale/id/LC_MESSAGES/mailnag.mo
creating build/locale/it/LC_MESSAGES/mailnag.mo
creating build/locale/pl/LC_MESSAGES/mailnag.mo
creating build/locale/pt/LC_MESSAGES/mailnag.mo
creating build/locale/pt_BR/LC_MESSAGES/mailnag.mo
creating build/locale/ru/LC_MESSAGES/mailnag.mo
creating build/locale/sr/LC_MESSAGES/mailnag.mo
creating build/locale/sv/LC_MESSAGES/mailnag.mo
creating build/locale/tr/LC_MESSAGES/mailnag.mo
creating build/locale/uk/LC_MESSAGES/mailnag.mo
creating build/locale/zh_CN/LC_MESSAGES/mailnag.mo
creating build/locale/zh_TW/LC_MESSAGES/mailnag.mo
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zImCsM
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch
++ dirname /builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/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=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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  '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd mailnag-2.2.0
+ rm -rf /builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -fstack-clash-protection -fno-omit-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  '
+ /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch --prefix /usr
/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, pypa/build 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()
/usr/lib/python3.12/site-packages/Mailnag/common/imaplib2.py:2469: SyntaxWarning: invalid escape sequence '\D'
/usr/lib/python3.12/site-packages/Mailnag/common/imaplib2.py:2574: SyntaxWarning: invalid escape sequence '\D'
/usr/lib/python3.12/site-packages/Mailnag/common/imaplib2.py:2588: SyntaxWarning: invalid escape sequence '\S'
/usr/lib/python3.12/site-packages/Mailnag/common/imaplib2.py:2591: SyntaxWarning: invalid escape sequence '\D'
/usr/lib/python3.12/site-packages/Mailnag/backends/imap.py:151: SyntaxWarning: invalid escape sequence '\S'
/usr/lib/python3.12/site-packages/Mailnag/common/imaplib2.py:2469: SyntaxWarning: invalid escape sequence '\D'
/usr/lib/python3.12/site-packages/Mailnag/common/imaplib2.py:2574: SyntaxWarning: invalid escape sequence '\D'
/usr/lib/python3.12/site-packages/Mailnag/common/imaplib2.py:2588: SyntaxWarning: invalid escape sequence '\S'
/usr/lib/python3.12/site-packages/Mailnag/common/imaplib2.py:2591: SyntaxWarning: invalid escape sequence '\D'
/usr/lib/python3.12/site-packages/Mailnag/backends/imap.py:151: SyntaxWarning: invalid escape sequence '\S'
+ rm -rfv /builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch/usr/bin/__pycache__
+ desktop-file-validate /builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch//usr/share/applications/mailnag.desktop
+ desktop-file-validate /builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch//usr/share/applications/mailnag-config.desktop
+ appstream-util validate-relax --nonet /builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch//usr/share/metainfo/mailnag.appdata.xml
/builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch//usr/share/metainfo/mailnag.appdata.xml: OK
+ /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch mailnag
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.2.0-13.fc39 --unique-debug-suffix -2.2.0-13.fc39.noarch --unique-debug-src-base mailnag-2.2.0-13.fc39.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mailnag-2.2.0
find-debuginfo: starting
Extracting debug info from 0 files
Creating .debug symlinks for symlinks to ELF files
find: ‘debug’: No such file or directory
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 -j8
Bytecompiling .py files below /builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch/usr/lib/python3.12 using python3.12
/usr/lib/python3.12/site-packages/Mailnag/backends/imap.py:151: SyntaxWarning: invalid escape sequence '\S'
/usr/lib/python3.12/site-packages/Mailnag/backends/imap.py:151: SyntaxWarning: invalid escape sequence '\S'
/usr/lib/python3.12/site-packages/Mailnag/common/imaplib2.py:2469: SyntaxWarning: invalid escape sequence '\D'
/usr/lib/python3.12/site-packages/Mailnag/common/imaplib2.py:2574: SyntaxWarning: invalid escape sequence '\D'
/usr/lib/python3.12/site-packages/Mailnag/common/imaplib2.py:2588: SyntaxWarning: invalid escape sequence '\S'
/usr/lib/python3.12/site-packages/Mailnag/common/imaplib2.py:2591: SyntaxWarning: invalid escape sequence '\D'
/usr/lib/python3.12/site-packages/Mailnag/common/imaplib2.py:2469: SyntaxWarning: invalid escape sequence '\D'
/usr/lib/python3.12/site-packages/Mailnag/common/imaplib2.py:2574: SyntaxWarning: invalid escape sequence '\D'
/usr/lib/python3.12/site-packages/Mailnag/common/imaplib2.py:2588: SyntaxWarning: invalid escape sequence '\S'
/usr/lib/python3.12/site-packages/Mailnag/common/imaplib2.py:2591: SyntaxWarning: invalid escape sequence '\D'
+ /usr/lib/rpm/redhat/brp-python-hardlink
Processing files: mailnag-2.2.0-13.fc39.noarch
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qLYrAE
+ umask 022
+ cd /builddir/build/BUILD
+ cd mailnag-2.2.0
+ DOCDIR=/builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch/usr/share/doc/mailnag
+ export LC_ALL=
+ LC_ALL=
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch/usr/share/doc/mailnag
+ cp -pr /builddir/build/BUILD/mailnag-2.2.0/AUTHORS /builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch/usr/share/doc/mailnag
+ cp -pr /builddir/build/BUILD/mailnag-2.2.0/LICENSE /builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch/usr/share/doc/mailnag
+ cp -pr /builddir/build/BUILD/mailnag-2.2.0/NEWS /builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch/usr/share/doc/mailnag
+ cp -pr /builddir/build/BUILD/mailnag-2.2.0/README.md /builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch/usr/share/doc/mailnag
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: application() application(mailnag-config.desktop) application(mailnag.desktop) mailnag = 2.2.0-13.fc39 metainfo() metainfo(mailnag.appdata.xml) python3.12dist(mailnag) = 2.2 python3dist(mailnag) = 2.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: /usr/bin/python3 python(abi) = 3.12
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mailnag-2.2.0-13.fc39.noarch
Wrote: /builddir/build/RPMS/mailnag-2.2.0-13.fc39.noarch.rpm
RPM build warnings:
    %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
Child return code was: 0