Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/lynx.spec'], chrootPath='/var/lib/mock/dist-an7-build-62415-34328/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=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.651b0bau:/etc/resolv.conf', '--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.651b0bau:/etc/resolv.conf', '--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', 'f6ae2a96f4e64e1e8f49e448391bd11e', '-D', '/var/lib/mock/dist-an7-build-62415-34328/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.651b0bau:/etc/resolv.conf', '--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 -bs --target aarch64 --nodeps /builddir/build/SPECS/lynx.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/lynx-2.8.8-0.3.dev15.an7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/lynx.spec'], chrootPath='/var/lib/mock/dist-an7-build-62415-34328/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=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.651b0bau:/etc/resolv.conf', '--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.651b0bau:/etc/resolv.conf', '--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', '8e732b7fa04b496f846551d0e4e9a365', '-D', '/var/lib/mock/dist-an7-build-62415-34328/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.651b0bau:/etc/resolv.conf', '--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 -bb --target aarch64 --nodeps /builddir/build/SPECS/lynx.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hShKAv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lynx2-8-8 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/lynx2.8.8dev.15.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd lynx2-8-8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (lynx-2.8.8-redhat.patch):' Patch #0 (lynx-2.8.8-redhat.patch): + /usr/bin/cat /builddir/build/SOURCES/lynx-2.8.8-redhat.patch + /usr/bin/patch -p1 --fuzz=0 patching file lynx.cfg patching file userdefs.h + echo 'Patch #1 (lynx-2.8.8-build.patch):' Patch #1 (lynx-2.8.8-build.patch): + /usr/bin/cat /builddir/build/SOURCES/lynx-2.8.8-build.patch + /usr/bin/patch -p1 --fuzz=0 patching file makefile.in patching file src/makefile.in + echo 'Patch #2 (lynx-CVE-2008-4690.patch):' Patch #2 (lynx-CVE-2008-4690.patch): + /usr/bin/cat /builddir/build/SOURCES/lynx-CVE-2008-4690.patch + /usr/bin/patch -p1 --fuzz=0 patching file CHANGES patching file lynx.cfg Hunk #1 succeeded at 1064 (offset 3 lines). patching file src/LYCgi.c + echo 'Patch #3 (lynx-2.8.8-locale.patch):' Patch #3 (lynx-2.8.8-locale.patch): + /usr/bin/cat /builddir/build/SOURCES/lynx-2.8.8-locale.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/LYMain.c + perl -pi -e 's,^HELPFILE:.*,HELPFILE:file://localhost/usr/share/doc/lynx-2.8.8/lynx_help/lynx_help_main.html,g' lynx.cfg + perl -pi -e 's,^DEFAULT_INDEX_FILE:.*,DEFAULT_INDEX_FILE:http://www.google.com/,g' lynx.cfg + perl -pi -e 's,^#LOCALE_CHARSET:.*,LOCALE_CHARSET:TRUE,' lynx.cfg + perl -pi -e 's,^STARTFILE:.*,STARTFILE:file:/usr/share/doc/HTML/en-US/index.html,' lynx.cfg + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uvzfBq + umask 022 + cd /builddir/build/BUILD + cd lynx2-8-8 ++ pwd + export PATH=/builddir/build/BUILD/lynx2-8-8:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/builddir/build/BUILD/lynx2-8-8:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + cat + chmod 0755 gcc + CFLAGS='-ggdb -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -DNCURSES -DNCURSES_MOUSE_VERSION' + export CFLAGS + CXXFLAGS='-ggdb -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -DNCURSES -DNCURSES_MOUSE_VERSION' + export CXXFLAGS + pkg-config openssl ++ pkg-config --cflags openssl + CPPFLAGS=' ' + export CPPFLAGS ++ pkg-config --libs-only-L openssl + LDFLAGS=' ' + export LDFLAGS + CFLAGS='-ggdb -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -DNCURSES -DNCURSES_MOUSE_VERSION' + export CFLAGS + CXXFLAGS='-ggdb -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -DNCURSES -DNCURSES_MOUSE_VERSION' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS=' ' + export LDFLAGS + '[' 1 == 1 ']' + '[' aarch64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + ./configure --build=aarch64-Anolis-linux --host=aarch64-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 --libdir=/etc --disable-font-switch --enable-addrlist-page --enable-charset-choice --enable-cgi-links --enable-cjk --enable-default-colors --enable-externs --enable-file-upload --enable-internal-links --enable-ipv6 --enable-japanese-utf8 --enable-justify-elts --enable-locale-charset --enable-kbd-layout --enable-libjs --enable-nls --enable-nsl-fork --enable-persistent-cookies --enable-prettysrc --enable-read-eta --enable-scrollbar --enable-source-cache --enable-warnings --with-screen=ncursesw --with-ssl=/usr/lib64 --with-zlib checking build system type... aarch64-Anolis-linux-gnu checking host system type... aarch64-Anolis-linux-gnu checking target system type... aarch64-Anolis-linux-gnu Configuring for linux-gnu checking for DESTDIR... checking for aarch64-Anolis-linux-gcc... no checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking version of gcc... 4.8.5 checking for gcc option to accept ANSI C... none needed checking $CC variable... ok checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets ${MAKE}... yes checking for a BSD compatible install... /usr/bin/install -c checking for bison... no checking for byacc... no checking for tdlint... no checking for lint... no checking for alint... no checking for splint... no checking for lclint... no checking for makeflags variable... checking if filesystem supports mixed-case filenames... yes checking for exctags... no checking for ctags... no checking for exetags... no checking for etags... no checking for ctags... no checking for etags... no checking for aarch64-Anolis-linux-windres... no checking for windres... none checking for aarch64-Anolis-linux-ranlib... no checking for ranlib... ranlib checking for aarch64-Anolis-linux-ar... no checking for ar... ar checking for options to update archives... -curv checking if you want to see long compiling messages... yes checking if you want to check memory-leaks... no checking if you want to enable debug-code... no checking if you want to enable lynx trace code *recommended* ... yes checking if you want verbose trace code... no checking if you want to turn on gcc warnings... yes configure: checking for gcc __attribute__ directives... ... scanf ... printf ... unused ... noreturn checking if this is really Intel C compiler... no checking if this is really Clang C compiler... no configure: checking for gcc warning options... ... -W ... -Wall ... -Wbad-function-cast ... -Wcast-align ... -Wcast-qual ... -Winline ... -Wmissing-declarations ... -Wmissing-prototypes ... -Wnested-externs ... -Wpointer-arith ... -Wshadow ... -Wstrict-prototypes ... -Wundef checking if you want to use dbmalloc for testing... no checking if you want to use dmalloc for testing... no checking $CC variable... ok checking for gcc option to accept ANSI C... -DCC_HAS_PROTOS checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for fseeko... yes checking whether to use struct dirent64... no checking for PATH separator... : checking for msginit... /usr/bin/msginit checking for aarch64-Anolis-linux-ranlib... ranlib checking for ANSI C header files... yes checking for inline... inline 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 for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking for argz.h... yes checking for limits.h... yes checking for locale.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for stpcpy... yes checking for strchr... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for iconv... yes checking if the declaration of iconv() needs const.... no checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking for libintl.h and gettext()... yes checking for dcgettext... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... ca cs da de eo et fi fr hu id it ja nl pt_BR ru sl sv tr uk vi zh_CN zh_TW en checking if we should use included message-library... yes checking for libintl.h... yes checking if you want full utility pathnames... yes checking for system mailer... unknown checking system mail flags... -t -oi checking if we must define _GNU_SOURCE... yes checking if _XOPEN_SOURCE really is set... yes checking if SIGWINCH is defined... yes checking if you want NSS compatible SSL libraries... no checking if you want ssl library... /usr/lib64 checking if you want gnutls support... no checking if you want gnutls-openssl compat... no checking if you want socks library... no checking if you want socks5 library... no checking for network libraries... working... checking for gethostname... yes checking for main in -linet... no checking for socket... yes checking for gethostbyname... yes checking for inet_ntoa... yes checking for gethostbyname... (cached) yes checking for strcasecmp... (cached) yes checking for inet_aton function... yes checking if you want to use pkg-config... yes checking for aarch64-Anolis-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking for dlsym in -ldl... yes checking for X509 support... yes checking whether to enable ipv6... yes checking ipv6 stack type... linux-glibc checking for IPv6 library if required... none checking working getaddrinfo... yes checking for screen type... ncursesw checking for specific curses-directory... no checking for multibyte character support... yes Looking for ncursesw-config checking for aarch64-Anolis-linux-ncursesw6-config... no checking for aarch64-Anolis-linux-ncursesw5-config... no checking for ncursesw6-config... no checking for ncursesw5-config... ncursesw5-config checking if we have identified curses headers... ncursesw/ncurses.h checking for ncursesw/ncurses.h... yes checking for chtype typedef... yes checking if chtype is scalar or struct... scalar checking if you want the wide-curses features... yes checking if color-style code should be used... yes checking for location of style-sheet file... /etc/lynx.lss checking for the default configuration-file... /etc/lynx.cfg checking if htmlized lynx.cfg should be built... no checking if local doc directory should be linked to help page... no checking for MIME library directory... /etc checking if locale-charset selection logic should be used... yes checking if you want only a few charsets... no checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for arpa/inet.h... yes checking for fcntl.h... yes checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/fcntl.h... yes checking for sys/filio.h... no checking for sys/ioctl.h... yes checking for sys/param.h... (cached) yes checking for sys/timeb.h... yes checking for sys/time.h... yes checking for syslog.h... yes checking for termio.h... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for vfork.h... no checking termio.h and termios.h... yes checking for sigaction and structs... yes checking for sys/wait.h... yes checking for union wait... no checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for off_t... (cached) yes checking for pid_t... yes checking for uid_t in sys/types.h... (cached) yes checking for mode_t... yes checking for ssize_t... yes checking for socklen_t... yes checking for long long type... yes checking for tm.tm_gmtoff... yes checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 8 checking for off_t... (cached) yes checking size of off_t... 8 checking for time_t... yes checking size of time_t... 8 checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for unistd.h... (cached) yes checking for vfork.h... (cached) no checking for fork... yes checking for vfork... yes checking for working fork... (cached) yes checking for working vfork... (cached) yes checking if we should use fcntl or ioctl... ioctl checking for broken/missing definition of remove... no checking for lstat... yes checking for atoll... yes checking for ctermid... yes checking for cuserid... yes checking for ftime... yes checking for getcwd... (cached) yes checking for getgroups... yes checking for gettimeofday... yes checking for getuid... (cached) yes checking for mktemp... yes checking for mkdtemp... yes checking for popen... yes checking for putenv... (cached) yes checking for readdir... yes checking for setuid... yes checking for strerror... yes checking for truncate... yes checking for ttyname... yes checking for unsetenv... yes checking for usleep... yes checking for vasprintf... yes checking for waitpid... yes checking for mktime... yes checking for strstr... yes checking for random-integer functions... srandom/random checking for range of random-integers... INT_MAX checking for strstr declaration... yes checking for getgrgid declaration... yes checking for getgrnam declaration... yes checking if TRUE/FALSE are defined... yes checking if external errno is declared... yes checking if external errno exists... no checking if we can set errno... yes checking for setlocale()... yes checking if NGROUPS is defined... yes checking if external sys_nerr is declared... yes