Mock Version: 5.1.1
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target s390x --nodeps /builddir/build/SPECS/erlang.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1695201861.899896/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 0x3ffb2ad68d0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hafphk7s:/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=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hafphk7s:/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', 'ac8ab4063d6745b9b5d1c5fa7d2c08b5', '-D', '/var/lib/mock/fedora-rawhide-s390x-1695201861.899896/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hafphk7s:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target s390x --nodeps /builddir/build/SPECS/erlang.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
warning: extra tokens at the end of %endif directive in line 141:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 146:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 149:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 158:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 164:  %endif # __with_java
warning: extra tokens at the end of %endif directive in line 168:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 172:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 179:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 192:  %endif # __with_wxwidgets
warning: line 230: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-test_server
warning: extra tokens at the end of %endif directive in line 234:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 270:  %endif # __with_wxwidgets
warning: line 282: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-typer
warning: extra tokens at the end of %endif directive in line 286:  %endif # __with_wxwidgets
warning: line 369: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-appmon
warning: line 370: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-docbuilder
warning: line 371: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-gs
warning: line 372: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-hipe
warning: line 373: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-inviso
warning: line 374: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-ose
warning: line 375: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-otp_mibs
warning: line 378: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-pman
warning: line 379: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-toolbar
warning: line 380: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-tv
warning: line 381: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-webtool
warning: extra tokens at the end of %endif directive in line 397:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 420:  %endif %{__with_examples}
warning: extra tokens at the end of %endif directive in line 452:  %endif # __with_java
warning: extra tokens at the end of %endif directive in line 477:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 501:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 563:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 641:  %endif # __with_sources
warning: extra tokens at the end of %endif directive in line 701:  %endif %{__with_emacs}
warning: line 710: It's not recommended to have unversioned Obsoletes: Obsoletes: emacs-erlang
warning: line 711: It's not recommended to have unversioned Obsoletes: Obsoletes: emacs-erlang-el
warning: extra tokens at the end of %endif directive in line 712:  %endif %{__with_emacs}
warning: extra tokens at the end of %endif directive in line 730:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 787:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 808:  %endif %{__with_emacs}
warning: extra tokens at the end of %endif directive in line 838:  %endif %{__with_emacs}
warning: extra tokens at the end of %endif directive in line 856:  %endif %{__with_examples}
warning: extra tokens at the end of %endif directive in line 932:  %endif # __with_java
warning: extra tokens at the end of %endif directive in line 954:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 1021:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 1047:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 1063:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 1233:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 1251:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 1257:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 1261:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 1264:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 1274:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 1275:  %endif %{__with_examples}
warning: extra tokens at the end of %endif directive in line 1315:  %endif # __with_java
warning: extra tokens at the end of %endif directive in line 1384:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 1411:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 1451:  %endif # __with_wxwidgets
warning: extra tokens at the end of %endif directive in line 1706:  %endif %{__with_emacs}
warning: extra tokens at the end of %endif directive in line 1955:  %endif # __with_wxwidgets
Building target platforms: s390x
Building for target s390x
setting SOURCE_DATE_EPOCH=1689724800
Wrote: /builddir/build/SRPMS/erlang-26.0.2-2.fc40.src.rpm
RPM build warnings:
    extra tokens at the end of %endif directive in line 141:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 146:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 149:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 158:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 164:  %endif # __with_java
    extra tokens at the end of %endif directive in line 168:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 172:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 179:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 192:  %endif # __with_wxwidgets
    line 230: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-test_server
    extra tokens at the end of %endif directive in line 234:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 270:  %endif # __with_wxwidgets
    line 282: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-typer
    extra tokens at the end of %endif directive in line 286:  %endif # __with_wxwidgets
    line 369: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-appmon
    line 370: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-docbuilder
    line 371: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-gs
    line 372: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-hipe
    line 373: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-inviso
    line 374: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-ose
    line 375: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-otp_mibs
    line 378: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-pman
    line 379: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-toolbar
    line 380: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-tv
    line 381: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-webtool
    extra tokens at the end of %endif directive in line 397:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 420:  %endif %{__with_examples}
    extra tokens at the end of %endif directive in line 452:  %endif # __with_java
    extra tokens at the end of %endif directive in line 477:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 501:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 563:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 641:  %endif # __with_sources
    extra tokens at the end of %endif directive in line 701:  %endif %{__with_emacs}
    line 710: It's not recommended to have unversioned Obsoletes: Obsoletes: emacs-erlang
    line 711: It's not recommended to have unversioned Obsoletes: Obsoletes: emacs-erlang-el
    extra tokens at the end of %endif directive in line 712:  %endif %{__with_emacs}
    extra tokens at the end of %endif directive in line 730:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 787:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 808:  %endif %{__with_emacs}
    extra tokens at the end of %endif directive in line 838:  %endif %{__with_emacs}
    extra tokens at the end of %endif directive in line 856:  %endif %{__with_examples}
    extra tokens at the end of %endif directive in line 932:  %endif # __with_java
    extra tokens at the end of %endif directive in line 954:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 1021:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 1047:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 1063:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 1233:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 1251:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 1257:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 1261:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 1264:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 1274:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 1275:  %endif %{__with_examples}
    extra tokens at the end of %endif directive in line 1315:  %endif # __with_java
    extra tokens at the end of %endif directive in line 1384:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 1411:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 1451:  %endif # __with_wxwidgets
    extra tokens at the end of %endif directive in line 1706:  %endif %{__with_emacs}
    extra tokens at the end of %endif directive in line 1955:  %endif # __with_wxwidgets
Child return code was: 0