==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: rlwrap 0.46.2-1 (Mon May 12 06:25:31 2025)
==> Retrieving sources...
  -> Cloning rlwrap git repo...
Cloning into bare repository '/home/leming/work/rlwrap/rlwrap'...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    rlwrap ... Skipped
==> Validating source files with b2sums...
    rlwrap ... Skipped
==> Making package: rlwrap 0.46.2-1 (Mon May 12 06:25:39 2025)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (2) python-ptyprocess-0.7.0-8  python-pexpect-4.9.0-4

Total Download Size:   0.12 MiB
Total Installed Size:  0.72 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 python-pexpect-4.9.0-4-any downloading...
 python-ptyprocess-0.7.0-8-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing python-ptyprocess...
installing python-pexpect...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (4) perl-error-0.17030-1  perl-mailtools-2.22-1  perl-timedate-2.33-7
             git-2.49.0-1

Total Download Size:    7.65 MiB
Total Installed Size:  44.55 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 git-2.49.0-1-aarch64 downloading...
 perl-mailtools-2.22-1-any downloading...
 perl-timedate-2.33-7-any downloading...
 perl-error-0.17030-1-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing git...
Optional dependencies for git
    git-zsh-completion: upstream zsh completion
    tk: gitk and git gui
    openssh: ssh transport and crypto
    man: show help with `git command --help`
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-io-socket-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-mediawiki-api: git mediawiki support
    perl-datetime-format-iso8601: git mediawiki support
    perl-lwp-protocol-https: git mediawiki https support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4 [installed]
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group 'git' with GID 971.
Creating user 'git' (git daemon user) with UID 971 and GID 971.
(2/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/4) Arming ConditionNeedsUpdate...
(4/4) Checking for old perl modules...
[?25h==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of rlwrap git repo...
Cloning into 'rlwrap'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory tools
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:92: installing 'tools/compile'
configure.ac:32: installing 'tools/config.guess'
configure.ac:32: installing 'tools/config.sub'
configure.ac:34: installing 'tools/install-sh'
configure.ac:34: installing 'tools/missing'
parallel-tests: installing 'tools/test-driver'
src/Makefile.am: installing 'tools/depcomp'
autoreconf: Leaving directory '.'
==> Starting build()...
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking whether make sets $(MAKE)... (cached) yes
checking whether build environment is sane... yes
checking whether make supports the include directive... yes (GNU style)
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for perl... /usr/bin/perl
checking for strip... strip
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for errno.h... yes
checking for fcntl.h... yes
checking for libgen.h... yes
checking for libutil.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sched.h... yes
checking for sys/file.h... yes
checking for sys/ioctl.h... yes
checking for sys/wait.h... (cached) yes
checking for sys/resource.h... yes
checking for stddef.h... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking for time.h... yes
checking for sys/time.h... yes
checking for getopt.h... yes
checking for regex.h... yes
checking for curses.h... yes
checking for stropts.h... no
checking for termcap.h... yes
checking for util.h... no
checking for stdarg.h... yes
checking for term.h... yes
checking for ncurses/term.h... no
checking for gcc options needed to detect all undeclared functions... none needed
checking whether PROC_PIDVNODEPATHINFO is declared... no
checking whether procstat_open_sysctl is declared... no
checking whether procstat_getprocs is declared... no
checking whether procstat_getfiles is declared... no
checking whether STAILQ_FOREACH is declared... no
checking argument type of tputs putc function... int
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for getopt_long... yes
checking for basename... yes
checking for dirname... yes
checking for flock... yes
checking for getopt_long... (cached) yes
checking for isastream... no
checking for mkstemps... yes
checking for pselect... yes
checking for putenv... yes
checking for readlink... yes
checking for sched_yield... yes
checking for setenv... yes
checking for setitimer... yes
checking for setsid... yes
checking for setrlimit... yes
checking for sigaction... yes
checking for snprintf... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for strnlen... yes
checking for system... yes
checking for openpty in -lutil... yes
checking for openpty... yes
checking for getpty... no
checking for grantpt... yes
checking for unlockpt... yes
checking for getpt... 
checking for pty/tty type... checking for pty.h... yes
OPENPTY
configure: checking for pty ranges
checking for tgetent... no
checking for tgetent in -ltinfo... yes
checking for readline in -lreadline... yes
checking for tigetnum... yes
checking for readline/readline.h... yes
checking for egrep -e... /usr/bin/grep -E
checking whether your readline headers and library know about rl_set_screen_size... yes
checking whether your readline headers and library know about rl_basic_quote_characters... yes
checking whether your readline headers and library know about rl_variable_value... yes
checking whether your readline headers and library know about rl_readline_version... yes
checking whether your readline headers and library know about rl_executing_keyseq... yes
checking whether the private symbol _rl_horizontal_scroll_mode is visble in your readline libs... yes
Will rlwrap find command's working directory under /proc/<commands pid>/cwd? let's see...
checking for /proc/1080/cwd/configure.ac... yes
checking whether we can find command line under <opt_proc_mountpoint>/<pid>/cmdline and mirror it by overwriting our own *argv (this may take a few secs)... yes


checking that generated files are newer than configure... done
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating filters/Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating doc/rlwrap.man
config.status: creating config.h
config.status: executing depfiles commands

Now do:
    make (or gmake)  to build rlwrap
    make check       for instructions how to test it
    make install     to install it

make  all-recursive
make[1]: Entering directory '/build/rlwrap/src/rlwrap'
Making all in doc
make[2]: Entering directory '/build/rlwrap/src/rlwrap/doc'
sed -e 's#@DATADIR@#/usr/share#'  rlwrap.man > rlwrap.1
make[2]: Leaving directory '/build/rlwrap/src/rlwrap/doc'
Making all in src
make[2]: Entering directory '/build/rlwrap/src/rlwrap/src'
gcc -DHAVE_CONFIG_H -I. -I..    -DDATADIR=\"/usr/share\"  -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
gcc -DHAVE_CONFIG_H -I. -I..    -DDATADIR=\"/usr/share\"  -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -MT signals.o -MD -MP -MF .deps/signals.Tpo -c -o signals.o signals.c
gcc -DHAVE_CONFIG_H -I. -I..    -DDATADIR=\"/usr/share\"  -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -MT readline.o -MD -MP -MF .deps/readline.Tpo -c -o readline.o readline.c
gcc -DHAVE_CONFIG_H -I. -I..    -DDATADIR=\"/usr/share\"  -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -MT pty.o -MD -MP -MF .deps/pty.Tpo -c -o pty.o pty.c
gcc -DHAVE_CONFIG_H -I. -I..    -DDATADIR=\"/usr/share\"  -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -MT completion.o -MD -MP -MF .deps/completion.Tpo -c -o completion.o completion.c
gcc -DHAVE_CONFIG_H -I. -I..    -DDATADIR=\"/usr/share\"  -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -MT term.o -MD -MP -MF .deps/term.Tpo -c -o term.o term.c
gcc -DHAVE_CONFIG_H -I. -I..    -DDATADIR=\"/usr/share\"  -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -MT ptytty.o -MD -MP -MF .deps/ptytty.Tpo -c -o ptytty.o ptytty.c
gcc -DHAVE_CONFIG_H -I. -I..    -DDATADIR=\"/usr/share\"  -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c
mv -f .deps/ptytty.Tpo .deps/ptytty.Po
gcc -DHAVE_CONFIG_H -I. -I..    -DDATADIR=\"/usr/share\"  -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -MT string_utils.o -MD -MP -MF .deps/string_utils.Tpo -c -o string_utils.o string_utils.c
mv -f .deps/pty.Tpo .deps/pty.Po
gcc -DHAVE_CONFIG_H -I. -I..    -DDATADIR=\"/usr/share\"  -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -MT malloc_debug.o -MD -MP -MF .deps/malloc_debug.Tpo -c -o malloc_debug.o malloc_debug.c
mv -f .deps/term.Tpo .deps/term.Po
gcc -DHAVE_CONFIG_H -I. -I..    -DDATADIR=\"/usr/share\"  -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -MT multibyte.o -MD -MP -MF .deps/multibyte.Tpo -c -o multibyte.o multibyte.c
mv -f .deps/signals.Tpo .deps/signals.Po
gcc -DHAVE_CONFIG_H -I. -I..    -DDATADIR=\"/usr/share\"  -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -MT filter.o -MD -MP -MF .deps/filter.Tpo -c -o filter.o filter.c
mv -f .deps/completion.Tpo .deps/completion.Po
mv -f .deps/utils.Tpo .deps/utils.Po
mv -f .deps/readline.Tpo .deps/readline.Po
mv -f .deps/main.Tpo .deps/main.Po
mv -f .deps/malloc_debug.Tpo .deps/malloc_debug.Po
mv -f .deps/multibyte.Tpo .deps/multibyte.Po
mv -f .deps/filter.Tpo .deps/filter.Po
mv -f .deps/string_utils.Tpo .deps/string_utils.Po
gcc -DDATADIR=\"/usr/share\"  -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -o rlwrap main.o signals.o readline.o pty.o completion.o term.o ptytty.o utils.o string_utils.o malloc_debug.o multibyte.o filter.o  -lutil   -lreadline -ltinfo
make[2]: Leaving directory '/build/rlwrap/src/rlwrap/src'
Making all in filters
make[2]: Entering directory '/build/rlwrap/src/rlwrap/filters'
pod2man --section=3pm RlwrapFilter.pm > RlwrapFilter.3pm
make[2]: Leaving directory '/build/rlwrap/src/rlwrap/filters'
make[2]: Entering directory '/build/rlwrap/src/rlwrap'
make[2]: Leaving directory '/build/rlwrap/src/rlwrap'
make[1]: Leaving directory '/build/rlwrap/src/rlwrap'
==> Entering fakeroot environment...
==> Starting package()...
Making install in doc
make[1]: Entering directory '/build/rlwrap/src/rlwrap/doc'
make[2]: Entering directory '/build/rlwrap/src/rlwrap/doc'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/build/rlwrap/pkg/rlwrap/usr/share/man/man1'
 /usr/bin/install -c -m 644 rlwrap.1 '/build/rlwrap/pkg/rlwrap/usr/share/man/man1'
make[2]: Leaving directory '/build/rlwrap/src/rlwrap/doc'
make[1]: Leaving directory '/build/rlwrap/src/rlwrap/doc'
Making install in src
make[1]: Entering directory '/build/rlwrap/src/rlwrap/src'
make[2]: Entering directory '/build/rlwrap/src/rlwrap/src'
make[2]: Nothing to be done for 'install-data-am'.
 /usr/bin/mkdir -p '/build/rlwrap/pkg/rlwrap/usr/bin'
  /usr/bin/install -c rlwrap '/build/rlwrap/pkg/rlwrap/usr/bin'
make[2]: Leaving directory '/build/rlwrap/src/rlwrap/src'
make[1]: Leaving directory '/build/rlwrap/src/rlwrap/src'
Making install in filters
make[1]: Entering directory '/build/rlwrap/src/rlwrap/filters'
make[2]: Entering directory '/build/rlwrap/src/rlwrap/filters'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/build/rlwrap/pkg/rlwrap/usr/share/man/man3'
 /usr/bin/install -c -m 644 RlwrapFilter.3pm '/build/rlwrap/pkg/rlwrap/usr/share/man/man3'
make[2]: Leaving directory '/build/rlwrap/src/rlwrap/filters'
make[1]: Leaving directory '/build/rlwrap/src/rlwrap/filters'
make[1]: Entering directory '/build/rlwrap/src/rlwrap'
make[2]: Entering directory '/build/rlwrap/src/rlwrap'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/build/rlwrap/pkg/rlwrap/usr/share/rlwrap'
 /usr/bin/mkdir -p '/build/rlwrap/pkg/rlwrap/usr/share/rlwrap/filters'
 /usr/bin/install -c -m 644  filters/README filters/RlwrapFilter.pm filters/RlwrapFilter.3pm filters/count_in_prompt filters/pipeto filters/logger filters/null filters/unbackspace filters/pipeline filters/ftp_filter filters/handle_hotkeys filters/history_format filters/simple_macro filters/template filters/scrub_prompt filters/paint_prompt filters/censor_passwords filters/listing filters/paint_prompt.py filters/handle_hotkeys.py filters/logger.py filters/pipeto.py filters/rlwrapfilter.py filters/null.py filters/censor_passwords.py filters/edit_history filters/count_in_prompt.py filters/ftp_filter.py filters/debug_null filters/handle_sigwinch filters/outfilter filters/makefilter filters/dissect_prompt '/build/rlwrap/pkg/rlwrap/usr/share/rlwrap/filters'
 /usr/bin/mkdir -p '/build/rlwrap/pkg/rlwrap/usr/share/rlwrap/completions'
 /usr/bin/install -c -m 644  completions/testclient completions/coqtop '/build/rlwrap/pkg/rlwrap/usr/share/rlwrap/completions'
make  install-data-hook
make[3]: Entering directory '/build/rlwrap/src/rlwrap'
chmod a+x /build/rlwrap/pkg/rlwrap/usr/share/rlwrap/filters/* 
make[3]: Leaving directory '/build/rlwrap/src/rlwrap'
make[2]: Leaving directory '/build/rlwrap/src/rlwrap'
make[1]: Leaving directory '/build/rlwrap/src/rlwrap'
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "rlwrap"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: rlwrap 0.46.2-1 (Mon May 12 06:26:01 2025)
==> Cleaning up...