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 loongarch64 --nodeps /builddir/build/SPECS/xscreensaver.spec'], chrootPath='/var/lib/mock/dist-an8.9-dde-build-349755-70496/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=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/xscreensaver.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/xscreensaver-5.43-1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/xscreensaver.spec'], chrootPath='/var/lib/mock/dist-an8.9-dde-build-349755-70496/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=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/xscreensaver.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.1SxlQb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xscreensaver-5.43 + /usr/bin/gzip -dc /builddir/build/SOURCES/xscreensaver-5.43.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xscreensaver-5.43 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cat + rm -f driver/XScreenSaver_ad.h + find . -name '*.c' -exec chmod ugo-x '{}' ';' + /usr/bin/git init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /builddir/build/BUILD/xscreensaver-5.43/.git/ + /usr/bin/git config user.email xscreensaver-owner@uniontech.com + /usr/bin/git config user.name 'XScreenSaver owners' + /usr/bin/git add . + /usr/bin/git commit -m base -q + echo 'Patch #1 (xscreensaver-5.00b5-sanitize-hacks.patch):' Patch #1 (xscreensaver-5.00b5-sanitize-hacks.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file hacks/barcode.c Hunk #1 succeeded at 118 (offset 1 line). Hunk #2 succeeded at 130 (offset 1 line). Hunk #3 succeeded at 169 (offset 1 line). Hunk #4 succeeded at 185 (offset 1 line). Hunk #5 succeeded at 260 (offset 1 line). Hunk #6 succeeded at 268 (offset 1 line). Hunk #7 succeeded at 326 (offset 1 line). patching file hacks/glx/glsnake.c Hunk #1 succeeded at 539 (offset 4 lines). Hunk #2 succeeded at 564 (offset 4 lines). Hunk #3 succeeded at 999 (offset 4 lines). + /usr/bin/git commit -m ' # sanitize the names of modes in barcode' -a [master f5cf9e2] # sanitize the names of modes in barcode 2 files changed, 6 insertions(+), 16 deletions(-) Patch #21 (xscreensaver-5.35-webcollage-default-nonet.patch): + echo 'Patch #21 (xscreensaver-5.35-webcollage-default-nonet.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file hacks/config/webcollage.xml Hunk #1 succeeded at 30 (offset 2 lines). Hunk #2 succeeded at 51 (offset 2 lines). patching file hacks/webcollage.man + /usr/bin/git commit -m ' # Change webcollage not to access to net # Also see bug 472061' -a [master bbf188c] # Change webcollage not to access to net # Also see bug 472061 2 files changed, 11 insertions(+), 1 deletion(-) Patch #51 (xscreensaver-5.12-test-passwd-segv-tty.patch): + echo 'Patch #51 (xscreensaver-5.12-test-passwd-segv-tty.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file driver/passwd.c Hunk #1 succeeded at 251 (offset 46 lines). + /usr/bin/git commit -m ' # driver/test-passwd tty segfaults' -a [master 3576e4d] # driver/test-passwd tty segfaults 1 file changed, 1 insertion(+), 1 deletion(-) Patch #52 (xscreensaver-5.12-tests-miscfix.patch): + echo 'Patch #52 (xscreensaver-5.12-tests-miscfix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file driver/test-xdpms.c patching file driver/Makefile.in Hunk #1 succeeded at 866 (offset 16 lines). + /usr/bin/git commit -m ' # patch to compile driver/test-xdpms' -a [master 4500649] # patch to compile driver/test-xdpms 2 files changed, 1 insertion(+), 2 deletions(-) + /usr/bin/cat /builddir/build/SOURCES/xscreensaver-5.36-0003-reset_strip-kill-gcc7-Wint-in-bool-context.patch + /usr/bin/git am Applying: reset_strip: kill gcc7 -Wint-in-bool-context + /usr/bin/cat /builddir/build/SOURCES/xscreensaver-5.36-0004-init_crystal-kill-gcc7-Wint-in-bool-context.patch + /usr/bin/git am Applying: init_crystal: kill gcc7 -Wint-in-bool-context + /usr/bin/cat /builddir/build/SOURCES/xscreensaver-5.42-0061-open-new-window-for-man-when-using-gnome-terminal.patch + /usr/bin/git am Applying: open new window for man when using gnome-terminal + /usr/bin/cat /builddir/build/SOURCES/xscreensaver-5.43-0001-glhanoi-fix-malloc-size-shortage.patch + /usr/bin/git am Applying: glhanoi: fix malloc size shortage + for f in driver/XScreenSaver.ad.in hacks/glx/sproingies.man + iconv -f ISO-8859-1 -t UTF-8 driver/XScreenSaver.ad.in + touch -r driver/XScreenSaver.ad.in driver/XScreenSaver.ad.in.tmp + mv driver/XScreenSaver.ad.in.tmp driver/XScreenSaver.ad.in + for f in driver/XScreenSaver.ad.in hacks/glx/sproingies.man + iconv -f ISO-8859-1 -t UTF-8 hacks/glx/sproingies.man + touch -r hacks/glx/sproingies.man hacks/glx/sproingies.man.tmp + mv hacks/glx/sproingies.man.tmp hacks/glx/sproingies.man + /usr/bin/git commit -m ' # change some files to UTF-8' -a [master 7d46a25] # change some files to UTF-8 1 file changed, 1 insertion(+), 1 deletion(-) + change_option driver/XScreenSaver.ad.in captureStderr=False passwdTimeout=0:00:15 grabDesktopImages=False lock=True splash=False ignoreUninstalledPrograms=True 'textProgram=fortune -s' /usr/bin/git commit -m ' # Change some options # For grabDesktopImages, lock, see bug 126809' -a + set +x + silence_hack driver/XScreenSaver.ad.in bsod flag peepers + set +x + /usr/bin/git commit -m ' # Disable the following hacks by default # (disable, not remove)' -a [master 217f14d] # Disable the following hacks by default # (disable, not remove) 1 file changed, 9 insertions(+), 9 deletions(-) ++ echo 1.an8 ++ sed -e '/IGNORE THIS/s|\.[a-z][a-z0-9].*$||' + eval sed -i.ver -e ''\''s|version' '[45].[0-9a-z][0-9a-z]*|version' '5.43-1.an8|'\''' driver/XScreenSaver.ad.in ++ sed -i.ver -e 's|version [45].[0-9a-z][0-9a-z]*|version 5.43-1.an8|' driver/XScreenSaver.ad.in ++ LANG=C ++ LC_ALL=C ++ date -u +%d-%b-%Y + eval sed -i.date -e ''\''s|[0-9].*-.*-20[0-9][0-9]|24-Jan-2024|g'\''' driver/XScreenSaver.ad.in ++ sed -i.date -e 's|[0-9].*-.*-20[0-9][0-9]|24-Jan-2024|g' driver/XScreenSaver.ad.in ++ LANG=C ++ LC_ALL=C ++ date -u +%d-%b-%Y ++ echo 1.an8 ++ sed -e '/IGNORE THIS/s|\.[a-zA-Z][a-zA-Z0-9].*$||' + eval sed -i.ver -e ''\''s|([0-9].*-.*-20[0-9][0-9])|(24-Jan-2024)|g'\''' -e ''\''s|\(5.[0-9][0-9]\)[a-z][0-9][0-9]*|\1|'\''' -e ''\''s|5.[0-9][0-9]|5.43-1.an8|'\''' utils/version.h ++ sed -i.ver -e 's|([0-9].*-.*-20[0-9][0-9])|(24-Jan-2024)|g' -e 's|\(5.[0-9][0-9]\)[a-z][0-9][0-9]*|\1|' -e 's|5.[0-9][0-9]|5.43-1.an8|' utils/version.h + /usr/bin/git commit -m ' # Record time, EVR' -a [master 11eb0e8] # Record time, EVR 2 files changed, 3 insertions(+), 3 deletions(-) ++ find hacks -name Makefile.in + for f in `find hacks -name Makefile.in` + sed -i.mansuf -e '/^mansuffix/s|6|6x|' hacks/images/Makefile.in + for f in `find hacks -name Makefile.in` + sed -i.mansuf -e '/^mansuffix/s|6|6x|' hacks/glx/Makefile.in + for f in `find hacks -name Makefile.in` + sed -i.mansuf -e '/^mansuffix/s|6|6x|' hacks/Makefile.in + /usr/bin/git commit -m ' # Move man entry to 6x (bug 197741)' -a [master 580c5c5] # Move man entry to 6x (bug 197741) 2 files changed, 2 insertions(+), 2 deletions(-) + sed -i.manentry -e 's@man %s@man 6x %s 2>/dev/null || man 1 %s @' driver/XScreenSaver.ad.in + /usr/bin/git commit -m ' # Search first 6x entry, next 1 entry for man pages' -a [master 95d3156] # Search first 6x entry, next 1 entry for man pages 1 file changed, 2 insertions(+), 2 deletions(-) + '[' -x /usr/share/libtool/config.guess ']' + /usr/bin/git commit -m ' # Fix for desktop-file-utils 0.14+' -a On branch master Untracked files: (use "git add ..." to include in what will be committed) driver/XScreenSaver.ad.in.date driver/XScreenSaver.ad.in.hack driver/XScreenSaver.ad.in.manentry driver/XScreenSaver.ad.in.opts driver/XScreenSaver.ad.in.ver hacks/Makefile.in.mansuf hacks/glx/Makefile.in.mansuf hacks/images/Makefile.in.mansuf utils/version.h.ver nothing added to commit but untracked files present (use "git add" to track) Nothing changed + echo 'Nothing changed' + sed -i.test -e 's|test-apm[ \t][ \t]*t|t|' driver/Makefile.in + /usr/bin/git commit -m ' # Disable (don'\''t build) some tests # apm: doesn'\''t compile # mlstring: causes OOM - need check again' -a [master a72a9c0] # Disable (don't build) some tests # apm: doesn't compile # mlstring: causes OOM - need check again 1 file changed, 1 insertion(+), 1 deletion(-) + sed -i.delay -e 's| delay = 1| delay = 3|' driver/test-fade.c + /usr/bin/git commit -m ' # test-fade: give more time between fading' -a [master 0134b98] # test-fade: give more time between fading 1 file changed, 1 insertion(+), 1 deletion(-) + sed -i.delay -e 's|60 \* 15|20|' driver/test-grab.c + /usr/bin/git commit -m ' # test-grab: testing time too long, setting time 15 min -> 20 sec' -a [master 996a73f] # test-grab: testing time too long, setting time 15 min -> 20 sec 1 file changed, 1 insertion(+), 1 deletion(-) + aclocal aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' + autoconf + autoheader + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.n8Y1Lg + umask 022 + cd /builddir/build/BUILD + cd xscreensaver-5.43 ++ sh ./config.guess ./config.guess: unable to guess system type This script (version 2018-03-08), has failed to recognize the operating system you are using. If your script is old, overwrite *all* copies of config.guess and config.sub with the latest versions from: https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess and https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub If ./config.guess has already been updated, send the following data and any information you think might be pertinent to config-patches@gnu.org to provide the necessary information to handle your system. config.guess timestamp = 2018-03-08 uname -m = loongarch64 uname -r = 4.19.190-6.5.an8.loongarch64 uname -s = Linux uname -v = #1 SMP Thu Jan 5 19:50:44 CST 2023 /usr/bin/uname -p = loongarch64 /bin/uname -X = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = loongarch64 /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = "loongarch64" UNAME_RELEASE = "4.19.190-6.5.an8.loongarch64" UNAME_SYSTEM = "Linux" UNAME_VERSION = "#1 SMP Thu Jan 5 19:50:44 CST 2023" + archdir= error: Bad exit status from /var/tmp/rpm-tmp.n8Y1Lg (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.n8Y1Lg (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/xscreensaver.spec\n', 1)] 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 598, 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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/xscreensaver.spec