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/zssh.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-161697-58601/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/zssh.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/zssh-1.5c-8.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/zssh.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-161697-58601/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/zssh.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.MHZdFS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zssh-1.5c + /usr/bin/gzip -dc /builddir/build/SOURCES/zssh-1.5c.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd zssh-1.5c + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Remove-build-instruction-about-lrzsz.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-Install-files-into-under-DESTDIR.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-Do-not-symlink-zssh-to-ztelnet.patch + /usr/bin/cat /builddir/build/SOURCES/0004-Use-GNU-openpty-library-for-pty.h.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0005-Do-not-call-strip-in-build-process.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0006-replace-CPPFunction-call-with-rl_completion_func_t.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0007-Fix-typo-in-man-page-zssh.1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0008-Strip-build-date-from-version-string-to-enable-repro.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -fr lrzsz-0.12.20 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kd7s0w + umask 022 + cd /builddir/build/BUILD + cd zssh-1.5c + autoconf configure.in:47: warning: AC_CACHE_VAL(zssh_cc_wall, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from... configure.in:47: the top level + CFLAGS='-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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + 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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking whether to use libreadline for cmd-line editing... yes checking for a BSD-compatible install... /usr/bin/install -c checking for gmake... gmake checking for gtar... gtar checking for gar... ar checking for granlib... ranlib checking for loongarch64-Anolis-linux-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking that the C compiler understands -Wall... yes checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking err.h usability... yes checking err.h presence... yes checking for err.h... yes checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking for sys/cdefs.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking util.h usability... no checking util.h presence... no checking for util.h... no checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking for tgetent in -ltermcap... yes checking which library has the termcap functions... using libtermcap checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking for readline in -lreadline... yes checking for rl_username_completion_function... yes checking whether getpgrp requires zero arguments... yes checking return type of signal handlers... void checking for strdup... yes checking for getpt... yes checking for isastream... yes checking for tcsetpgrp... yes checking for _getpty... no checking for getpseudotty... no checking for grantpt... yes checking for unlockpt... yes checking for openpty... no checking for openpty in -lutil... yes checking for pseudo ttys... /dev/pts and /dev/ptc configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating fake_readline/Makefile config.status: creating test/Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j4 echo '#define ZSSH_VERSION "' `cat VERSION` '"' > version.h gcc -O2 -g -Wall -DHAVE_CONFIG_H -c -o escape_multi.o escape_multi.c gcc -O2 -g -Wall -DHAVE_CONFIG_H -c -o completion.o completion.c gcc -O2 -g -Wall -DHAVE_CONFIG_H -c -o doit.o doit.c gcc -O2 -g -Wall -DHAVE_CONFIG_H -c -o escape.o escape.c gcc -O2 -g -Wall -DHAVE_CONFIG_H -c -o globbing.o globbing.c gcc -O2 -g -Wall -DHAVE_CONFIG_H -c -o main.o main.c gcc -O2 -g -Wall -DHAVE_CONFIG_H -c -o misc.o misc.c gcc -O2 -g -Wall -DHAVE_CONFIG_H -c -o init.o init.c gcc -O2 -g -Wall -DHAVE_CONFIG_H -c -o pc_test_escapes.o pc_test_escapes.c gcc -O2 -g -Wall -DHAVE_CONFIG_H -c -o openpty.o openpty.c openpty.c: In function 'getmaster': openpty.c:37:8: warning: implicit declaration of function 'openpty'; did you mean 'openat'? [-Wimplicit-function-declaration] if (openpty(&gl_master, &gl_slave, gl_slavename, &gl_tt, &gl_win) < 0) ^~~~~~~ openat gcc -O2 -g -Wall -DHAVE_CONFIG_H -c -o signal.o signal.c gcc -O2 -g -Wall -DHAVE_CONFIG_H -c -o quote_removal.o quote_removal.c gcc -O2 -g -Wall -DHAVE_CONFIG_H -c -o tilde_expansion.o tilde_expansion.c gcc -O2 -g -Wall -DHAVE_CONFIG_H -c -o split_words.o split_words.c gcc -O2 -g -Wall -DHAVE_CONFIG_H -c -o util.o util.c gcc -O2 -g -Wall -DHAVE_CONFIG_H -c -o zmodem.o zmodem.c gcc -O2 -g -Wall -DHAVE_CONFIG_H -c -o zmodem_act.o zmodem_act.c gcc -o zssh -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld completion.o doit.o escape.o escape_multi.o globbing.o init.o main.o misc.o openpty.o pc_test_escapes.o quote_removal.o signal.o split_words.o tilde_expansion.o util.o zmodem.o zmodem_act.o -lreadline -ltermcap -lutil ln zssh ztelnet make: [Makefile:73: ztelnet] Error 1 (ignored) + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Y6BitT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64 ++ dirname /builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64 + cd zssh-1.5c + mkdir -p /builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64/usr/bin/ /builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64/usr/share/man/man1/ + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64 'INSTALL=/usr/bin/install -p' #strip zssh /usr/bin/install -p -m 0711 zssh /builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64//usr/bin #ln -f /builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64//usr/bin/zssh /builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64//usr/bin/ztelnet /usr/bin/install -p -m 0644 zssh.1 ztelnet.1 /builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64//usr/share/man/man1 + rm /builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64/usr/share/man/man1/ztelnet.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.5c-8.an8 --unique-debug-suffix -1.5c-8.an8.loongarch64 --unique-debug-src-base zssh-1.5c-8.an8.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/zssh-1.5c extracting debug info from /builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64/usr/bin/zssh /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 110 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: zssh-1.5c-8.an8.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.N1niOW + umask 022 + cd /builddir/build/BUILD + cd zssh-1.5c + DOCDIR=/builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64/usr/share/doc/zssh + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64/usr/share/doc/zssh + cp -pr README /builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64/usr/share/doc/zssh + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.pnS0LN + umask 022 + cd /builddir/build/BUILD + cd zssh-1.5c + LICENSEDIR=/builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64/usr/share/licenses/zssh + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64/usr/share/licenses/zssh + cp -pr COPYING /builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64/usr/share/licenses/zssh + exit 0 Provides: zssh = 1.5c-8.an8 zssh(loongarch-64) = 1.5c-8.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libreadline.so.7()(64bit) libtinfo.so.6()(64bit) libutil.so.1()(64bit) libutil.so.1(GLIBC_2.27)(64bit) Processing files: zssh-debugsource-1.5c-8.an8.loongarch64 Provides: zssh-debugsource = 1.5c-8.an8 zssh-debugsource(loongarch-64) = 1.5c-8.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: zssh-debuginfo-1.5c-8.an8.loongarch64 Provides: debuginfo(build-id) = 54a24125f184eba8112c3d525e5510a54c9f268f zssh-debuginfo = 1.5c-8.an8 zssh-debuginfo(loongarch-64) = 1.5c-8.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: zssh-debugsource(loongarch-64) = 1.5c-8.an8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64 Wrote: /builddir/build/RPMS/zssh-1.5c-8.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/zssh-debugsource-1.5c-8.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/zssh-debuginfo-1.5c-8.an8.loongarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ogdGvq + umask 022 + cd /builddir/build/BUILD + cd zssh-1.5c + /usr/bin/rm -rf /builddir/build/BUILDROOT/zssh-1.5c-8.an8.loongarch64 + exit 0 Child return code was: 0