2022-09-20 17:11:36,943 [INFO] {2769477} koji.build.buildroot:551 Running mock as kojibuilder error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body INFO: mock.py version 2.15 starting (python version = 3.9.7, NVR = mock-2.15-1.fc33)... Start: init plugins INFO: selinux disabled Finish: init plugins INFO: Signal handler active Start: run Start: clean chroot Finish: clean chroot Start: chroot init INFO: calling preinit hooks INFO: enabled HW Info plugin Mock Version: 2.15 INFO: Mock Version: 2.15 Start: dnf install Finish: dnf install Finish: chroot init INFO: Installed packages: INFO: libidn2-2.3.3-2.fc37.riscv64 p11-kit-0.24.1-3.fc37.riscv64 audit-libs-3.0.8-1.0.riscv64.fc33.riscv64 rpmautospec-rpm-macros-0.3.0-1.fc37.noarch libarchive-3.5.1-1.fc33.riscv64 openldap-2.6.3-1.2.riscv64.fc37.riscv64 libpkgconf-1.7.3-5.fc33.riscv64 elfutils-default-yama-scope-0.187-7.0.riscv64.fc33.noarch elfutils-libs-0.187-7.0.riscv64.fc33.riscv64 libxcrypt-4.4.28-3.fc37.riscv64 pcre-8.45-1.fc37.2.riscv64 crypto-policies-20220815-1.gite4ed860.fc37.noarch qt5-srpm-macros-5.15.2-1.fc33.noarch pkgconf-1.7.3-5.fc33.riscv64 libeconf-0.4.0-1.fc33.riscv64 krb5-libs-1.19.2-11.fc37.1.riscv64 libfdisk-2.38.1-1.fc37.riscv64 rust-srpm-macros-22-1.fc37.noarch libsemanage-3.4-5.0.riscv64.fc33.riscv64 glibc-2.36-2.fc37.riscv64 xz-libs-5.2.5-10.fc37.riscv64 bash-5.1.16-3.0.riscv64.fc33.riscv64 gmp-6.2.1-3.fc33.riscv64 libcom_err-1.45.6-4.fc33.riscv64 python-srpm-macros-3.11-4.fc37.noarch libgcc-12.1.1-4.1.riscv64.fc33.riscv64 package-notes-srpm-macros-0.4-1.fc33.noarch libssh-config-0.10.4-1.0.riscv64.fc37.noarch systemd-libs-251.4-53.1.riscv64.fc37.riscv64 openssl1.1-1.1.1q-2.0.riscv64.fc37.riscv64 libcap-2.48-5.fc37.riscv64 info-6.7-8.fc33.riscv64 rpm-build-4.18.0-0.beta1.4.2.riscv64.fc33.riscv64 pkgconf-m4-1.7.3-5.fc33.noarch gnat-srpm-macros-4-12.fc33.noarch cpio-2.13-8.fc33.riscv64 libpwquality-1.4.4-2.fc33.riscv64 openldap-compat-2.6.3-1.2.riscv64.fc37.riscv64 fedora-gpg-keys-37-0.6.noarch bzip2-libs-1.0.8-12.fc37.riscv64 util-linux-core-2.38.1-1.fc37.riscv64 efi-srpm-macros-4-2.0.riscv64.fc31.noarch libselinux-3.4-5.0.riscv64.fc33.riscv64 zlib-1.2.12-5.fc37.riscv64 elfutils-0.187-7.0.riscv64.fc33.riscv64 file-libs-5.42-4.fc37.riscv64 glibc-common-2.36-2.fc37.riscv64 openblas-srpm-macros-2-3.0.riscv64.fc29.noarch authselect-1.4.0-3.fc37.riscv64 libnsl2-1.2.0-8.20180605git4a062cf.fc33.riscv64 libsmartcols-2.38.1-1.fc37.riscv64 gdb-minimal-12.1-5.2.riscv64.fc37.riscv64 binutils-2.39-3.fc37.riscv64 authselect-libs-1.4.0-3.fc37.riscv64 openssl-libs-3.0.5-3.0.riscv64.fc37.riscv64 pam-1.5.2-14.fc37.riscv64 rpm-4.18.0-0.beta1.4.2.riscv64.fc33.riscv64 libxml2-2.9.12-4.fc33.riscv64 libmount-2.38.1-1.fc37.riscv64 libsigsegv-2.11-8.fc32.riscv64 fedora-release-common-37-0.12.noarch lua-srpm-macros-1-3.fc33.noarch elfutils-libelf-0.187-7.0.riscv64.fc33.riscv64 grep-3.4-6.fc33.riscv64 lua-libs-5.4.4-4.0.riscv64.fc33.riscv64 jansson-2.13.1-5.fc37.riscv64 guile22-2.2.7-1.fc33.riscv64 glibc-minimal-langpack-2.36-2.fc37.riscv64 libcap-ng-0.8-1.fc33.riscv64 libtasn1-4.16.0-3.0.riscv64.fc33.riscv64 ansible-srpm-macros-1-6.fc33.noarch patch-2.7.6-13.fc33.riscv64 libsepol-3.4-3.0.riscv64.fc33.riscv64 coreutils-9.1-6.fc33.riscv64 libssh-0.10.4-1.0.riscv64.fc37.riscv64 sed-4.8-5.fc33.riscv64 curl-7.85.0-1.fc37.riscv64 ncurses-libs-6.2-3.20200222.fc33.riscv64 pcre2-10.40-1.fc37.1.riscv64 tar-1.34-3.fc37.riscv64 libzstd-1.5.2-3.fc33.riscv64 pkgconf-pkg-config-1.7.3-5.fc33.riscv64 findutils-4.9.0-2.fc37.riscv64 gzip-1.12-2.fc33.riscv64 popt-1.18-2.fc33.riscv64 libdb-5.3.28-53.fc37.riscv64 libtool-ltdl-2.4.7-2.fc33.riscv64 xz-5.2.5-10.fc37.riscv64 rpm-build-libs-4.18.0-0.beta1.4.2.riscv64.fc33.riscv64 rpm-libs-4.18.0-0.beta1.4.2.riscv64.fc33.riscv64 diffutils-3.8-3.fc37.riscv64 which-2.21-35.fc37.riscv64 tzdata-2022c-1.fc37.noarch go-srpm-macros-3.0.15-1.0.riscv64.fc33.noarch libacl-2.3.1-4.0.riscv64.fc33.riscv64 libbrotli-1.0.9-9.fc37.riscv64 fedora-release-37-0.12.noarch fonts-srpm-macros-2.0.5-4.fc33.noarch setup-2.13.7-2.fc33.noarch bzip2-1.0.8-12.fc37.riscv64 readline-8.0-5.fc33.riscv64 util-linux-2.38.1-1.fc37.riscv64 cracklib-2.9.6-27.fc33.riscv64 gc-8.0.4-4.fc33.riscv64 libcurl-7.85.0-1.fc37.riscv64 ghc-srpm-macros-1.5.0-2.0.riscv64.fc33.noarch libuuid-2.38.1-1.fc37.riscv64 keyutils-libs-1.6.1-5.fc37.riscv64 libpsl-0.21.1-2.fc33.riscv64 kernel-srpm-macros-1.0-15.0.riscv64.fc33.noarch ca-certificates-2022.2.54-5.fc37.noarch libblkid-2.38.1-1.fc37.riscv64 redhat-rpm-config-228-1.2.riscv64.fc37.noarch error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body lz4-libs-1.9.3-5.fc37.riscv64 libutempter-1.2.1-2.fc33.riscv64 libevent-2.1.12-7.fc37.rvre0.riscv64 unzip-6.0-49.fc33.riscv64 make-4.3-11.fc37.riscv64 zip-3.0-33.fc37.riscv64 libverto-0.3.0-10.fc33.riscv64 xxhash-libs-0.8.0-3.fc33.riscv64 debugedit-5.0-5.0.riscv64.fc33.riscv64 libgomp-12.1.1-4.1.riscv64.fc33.riscv64 nim-srpm-macros-1-4.0.riscv64.fc30.noarch fedora-release-identity-basic-37-0.12.noarch pcre2-syntax-10.40-1.fc37.1.noarch fedora-repos-37-0.6.noarch p11-kit-trust-0.24.1-3.fc37.riscv64 filesystem-3.18-1.fc33.riscv64 alternatives-1.14-3.fc33.riscv64 gawk-5.1.1-4.0.riscv64.fc33.riscv64 cyrus-sasl-lib-2.1.27-6.fc33.riscv64 libunistring-0.9.10-9.fc33.riscv64 coreutils-common-9.1-6.fc33.riscv64 libatomic-12.1.1-4.1.riscv64.fc33.riscv64 sqlite-libs-3.39.2-2.fc37.riscv64 libattr-2.4.48-10.fc33.riscv64 ocaml-srpm-macros-7-2.fc37.noarch libnghttp2-1.43.0-1.fc33.riscv64 fpc-srpm-macros-1.3-2.fc33.noarch basesystem-11-10.fc33.noarch dwz-0.14-7.0.riscv64.fc33.riscv64 publicsuffix-list-dafsa-20190417-4.fc33.noarch pam-libs-1.5.2-14.fc37.riscv64 ncurses-base-6.2-3.20200222.fc33.noarch libstdc++-12.1.1-4.1.riscv64.fc33.riscv64 perl-srpm-macros-1-46.fc37.rvre0.noarch ed-1.14.2-9.fc33.riscv64 libtirpc-1.2.6-4.rc4.fc33.riscv64 zstd-1.5.2-3.fc33.riscv64 elfutils-debuginfod-client-0.187-7.0.riscv64.fc33.riscv64 mpfr-4.1.0-7.fc33.riscv64 shadow-utils-4.11.1-4.1.riscv64.fc33.riscv64 file-5.42-4.fc37.riscv64 glibc-gconv-extra-2.36-2.fc37.riscv64 libffi-3.1-25.0.riscv64.fc33.riscv64 Finish: run 2022-09-20 17:16:10,943 [INFO] {2769737} koji.build.buildroot:551 Running mock as kojibuilder error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body INFO: mock.py version 2.15 starting (python version = 3.9.7, NVR = mock-2.15-1.fc33)... Start: init plugins INFO: selinux disabled Finish: init plugins INFO: Signal handler active Start: run Start: chroot init INFO: calling preinit hooks INFO: enabled HW Info plugin Mock Version: 2.15 INFO: Mock Version: 2.15 Finish: chroot init INFO: Running in chroot: ['uname -r'] Start: chroot ['uname -r'] 5.18.8-200.0.riscv64.fc33.riscv64 Finish: chroot ['uname -r'] 2022-09-20 17:16:24,366 [INFO] {2769779} koji.build.buildroot:551 Running mock as kojibuilder error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body INFO: mock.py version 2.15 starting (python version = 3.9.7, NVR = mock-2.15-1.fc33)... Start: init plugins INFO: selinux disabled Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/tmp/koji/tasks/884/1230884/local/work/tasks/624/1230624/med-4.1.0-10.fc37.src.rpm) Config(f37-build-638799-70909) Start: chroot init INFO: calling preinit hooks INFO: enabled HW Info plugin Mock Version: 2.15 INFO: Mock Version: 2.15 Finish: chroot init Start: build phase for med-4.1.0-10.fc37.src.rpm Start: build setup for med-4.1.0-10.fc37.src.rpm Finish: build setup for med-4.1.0-10.fc37.src.rpm Start: rpmbuild med-4.1.0-10.fc37.src.rpm Finish: rpmbuild med-4.1.0-10.fc37.src.rpm Finish: build phase for med-4.1.0-10.fc37.src.rpm ERROR: Exception(/tmp/koji/tasks/884/1230884/local/work/tasks/624/1230624/med-4.1.0-10.fc37.src.rpm) Config(f37-build-638799-70909) 4 minutes 10 seconds INFO: Results and/or logs in: /var/lib/mock/f37-build-638799-70909/result ERROR: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/med.spec