Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/emacs.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-256741-63662/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -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'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/emacs-26.1-7.an8.1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/emacs.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-256741-63662/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -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'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qeoBsY + 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 Patch #2 (emacs-system-crypto-policies.patch): + echo '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 Patch #3 (emacs-ob-latex-command-injection-vulnerability.patch): + echo 'Patch #3 (emacs-ob-latex-command-injection-vulnerability.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ob-latex-command-injection-vulnerability --fuzz=0 patching file lisp/org/ob-latex.el Hunk #1 succeeded at 148 (offset -70 lines). + autoconf + cp /builddir/build/SOURCES/emacs.desktop etc/emacs.desktop + cp /builddir/build/SOURCES/package-keyring.gpg etc/package-keyring.gpg + 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 ++ sed 's/\.info//g' ++ sort ++ 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 .. + ln -s ../../emacs/26.1/etc/COPYING doc + ln -s ../../emacs/26.1/etc/NEWS doc + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nGD0GC + 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 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.nGD0GC (%build) Bad exit status from /var/tmp/rpm-tmp.nGD0GC (%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: # bash --login -c /usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/emacs.spec