Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild --nocheck -bs --target loongarch64 --nodeps /builddir/build/SPECS/emacs.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-59641-32452/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=86400uid=986gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ko2a_1g9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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.ko2a_1g9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '01b3bc96b0fa4471a5cd12c728dd9c19', '-D', '/var/lib/mock/dist-an8-loongarch64-build-59641-32452/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ko2a_1g9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '--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 --nocheck -bs --target loongarch64 --nodeps /builddir/build/SPECS/emacs.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'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/emacs-26.1-5.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild --nocheck -bb --target loongarch64 --nodeps /builddir/build/SPECS/emacs.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-59641-32452/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=86400uid=986gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ko2a_1g9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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.ko2a_1g9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'a573da73f57d4088bea25e6ab743861b', '-D', '/var/lib/mock/dist-an8-loongarch64-build-59641-32452/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ko2a_1g9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '--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 --nocheck -bb --target loongarch64 --nodeps /builddir/build/SPECS/emacs.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'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.R16ClB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf emacs-26.1 + /usr/bin/xz -dc /builddir/build/SOURCES/emacs-26.1.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd emacs-26.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (emacs-spellchecker.patch):' Patch #1 (emacs-spellchecker.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .spellchecker --fuzz=0 patching file lisp/textmodes/ispell.el + echo 'Patch #2 (emacs-system-crypto-policies.patch):' Patch #2 (emacs-system-crypto-policies.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .system-crypto-policies --fuzz=0 patching file src/gnutls.c + autoconf + cp /builddir/build/SOURCES/emacs.desktop etc/emacs.desktop + grep -v tetris.elc lisp/Makefile.in + mv lisp/Makefile.in.new lisp/Makefile.in + grep -v pong.elc lisp/Makefile.in + mv lisp/Makefile.in.new lisp/Makefile.in + rm -f lisp/play/tetris.el lisp/play/tetris.elc + rm -f lisp/play/pong.el lisp/play/pong.el + cd info + fs=($(ls *.info)) ++ ls ada-mode.info auth.info autotype.info bovine.info calc.info ccmode.info cl.info dbus.info dired-x.info ebrowse.info ede.info ediff.info edt.info efaq-w32.info efaq.info eieio.info eintr.info elisp.info emacs-gnutls.info emacs-mime.info emacs.info epa.info erc.info ert.info eshell.info eudc.info eww.info flymake.info forms.info gnus.info htmlfontify.info idlwave.info ido.info info.info mairix-el.info message.info mh-e.info newsticker.info nxml-mode.info octave-mode.info org.info pcl-cvs.info pgg.info rcirc.info reftex.info remember.info sasl.info sc.info semantic.info ses.info sieve.info smtpmail.info speedbar.info srecode.info todo-mode.info tramp.info url.info vhdl-mode.info vip.info viper.info widget.info wisent.info woman.info + is=(ada-mode auth autotype bovine calc ccmode cl dbus dired-x ebrowse ede ediff edt efaq-w32 efaq eieio eintr elisp emacs-gnutls emacs-mime emacs epa erc ert eshell eudc eww flymake forms gnus htmlfontify idlwave ido info mairix-el message mh-e newsticker nxml-mode octave-mode org pcl-cvs pgg rcirc reftex remember sasl sc semantic ses sieve smtpmail speedbar srecode todo-mode tramp url vhdl-mode vip viper widget wisent woman) ++ echo ada-mode.info auth.info autotype.info bovine.info calc.info ccmode.info cl.info dbus.info dired-x.info ebrowse.info ede.info ediff.info edt.info efaq-w32.info efaq.info eieio.info eintr.info elisp.info emacs-gnutls.info emacs-mime.info emacs.info epa.info erc.info ert.info eshell.info eudc.info eww.info flymake.info forms.info gnus.info htmlfontify.info idlwave.info ido.info info.info mairix-el.info message.info mh-e.info newsticker.info nxml-mode.info octave-mode.info org.info pcl-cvs.info pgg.info rcirc.info reftex.info remember.info sasl.info sc.info semantic.info ses.info sieve.info smtpmail.info speedbar.info srecode.info todo-mode.info tramp.info url.info vhdl-mode.info vip.info viper.info widget.info wisent.info woman.info ++ sort ++ sed 's/\.info//g' ++ tr -d '\n' + files='ada-mode auth autotype bovine calc ccmode cl dbus dired-x ebrowse ede ediff edt efaq-w32 efaq eieio eintr elisp emacs-gnutls emacs-mime emacs epa erc ert eshell eudc eww flymake forms gnus htmlfontify idlwave ido info mairix-el message mh-e newsticker nxml-mode octave-mode org pcl-cvs pgg rcirc reftex remember sasl sc semantic ses sieve smtpmail speedbar srecode todo-mode tramp url vhdl-mode vip viper widget wisent woman' ++ seq 0 62 + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test ada-mode.info '!=' ada-mode.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test auth.info '!=' auth.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test autotype.info '!=' autotype.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test bovine.info '!=' bovine.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test calc.info '!=' calc.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test ccmode.info '!=' ccmode.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test cl.info '!=' cl.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test dbus.info '!=' dbus.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test dired-x.info '!=' dired-x.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test ebrowse.info '!=' ebrowse.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test ede.info '!=' ede.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test ediff.info '!=' ediff.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test edt.info '!=' edt.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test efaq-w32.info '!=' efaq-w32.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test efaq.info '!=' efaq.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test eieio.info '!=' eieio.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test eintr.info '!=' eintr.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test elisp.info '!=' elisp.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test emacs-gnutls.info '!=' emacs-gnutls.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test emacs-mime.info '!=' emacs-mime.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test emacs.info '!=' emacs.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test epa.info '!=' epa.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test erc.info '!=' erc.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test ert.info '!=' ert.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test eshell.info '!=' eshell.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test eudc.info '!=' eudc.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test eww.info '!=' eww.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test flymake.info '!=' flymake.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test forms.info '!=' forms.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test gnus.info '!=' gnus.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test htmlfontify.info '!=' htmlfontify.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test idlwave.info '!=' idlwave.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test ido.info '!=' ido.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test info.info '!=' info.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test mairix-el.info '!=' mairix-el.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test message.info '!=' message.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test mh-e.info '!=' mh-e.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test newsticker.info '!=' newsticker.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test nxml-mode.info '!=' nxml-mode.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test octave-mode.info '!=' octave-mode.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test org.info '!=' org.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test pcl-cvs.info '!=' pcl-cvs.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test pgg.info '!=' pgg.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test rcirc.info '!=' rcirc.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test reftex.info '!=' reftex.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test remember.info '!=' remember.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test sasl.info '!=' sasl.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test sc.info '!=' sc.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test semantic.info '!=' semantic.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test ses.info '!=' ses.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test sieve.info '!=' sieve.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test smtpmail.info '!=' smtpmail.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test speedbar.info '!=' speedbar.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test srecode.info '!=' srecode.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test todo-mode.info '!=' todo-mode.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test tramp.info '!=' tramp.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test url.info '!=' url.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test vhdl-mode.info '!=' vhdl-mode.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test vip.info '!=' vip.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test viper.info '!=' viper.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test widget.info '!=' widget.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test wisent.info '!=' wisent.info + for i in $(seq 0 $(( ${#fs[*]} - 1 ))) + test woman.info '!=' woman.info + cd .. Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1E9Uds + ln -s ../../emacs/26.1/etc/COPYING doc + ln -s ../../emacs/26.1/etc/NEWS doc + exit 0 + umask 022 + cd /builddir/build/BUILD + cd emacs-26.1 + export 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g' + CFLAGS='-DMAIL_USE_LOCKF -O2 -g' + export 'LDFLAGS= -Wl,-z,relro,-z,now -fpie' + LDFLAGS=' -Wl,-z,relro,-z,now -fpie' + mkdir build-gtk + cd build-gtk + ln -s ../configure . + CFLAGS='-DMAIL_USE_LOCKF -O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS=' -Wl,-z,relro,-z,now -fpie' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no --with-xwidgets --with-modules configure: WARNING: unrecognized options: --disable-dependency-tracking checking for xcrun... no checking for GNU Make... make checking build system type... Invalid configuration `loongarch64-Anolis-linux': machine `loongarch64-Anolis' not recognized configure: error: /bin/sh ../build-aux/config.sub loongarch64-Anolis-linux failed error: Bad exit status from /var/tmp/rpm-tmp.1E9Uds (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.1E9Uds (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M a573da73f57d4088bea25e6ab743861b -D /var/lib/mock/dist-an8-loongarch64-build-59641-32452/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ko2a_1g9:/etc/resolv.conf --bind=/dev/btrfs-control --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 --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 --nocheck -bb --target loongarch64 --nodeps /builddir/build/SPECS/emacs.spec