==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: openfortivpn 1.23.1-1 (Fri Mar 14 06:55:17 2025)
==> Retrieving sources...
  -> Cloning openfortivpn git repo...
Cloning into bare repository '/home/leming/work/openfortivpn/openfortivpn'...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    openfortivpn ... Skipped
==> Making package: openfortivpn 1.23.1-1 (Fri Mar 14 06:55:25 2025)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25l:: There are 2 providers available for resolvconf:
:: Repository core
   1) systemd-resolvconf
:: Repository extra
   2) openresolv

Enter a number (default=1): 
resolving dependencies...
looking for conflicting packages...

Packages (4) libnl-3.11.0-1  libpcap-1.10.5-2  ppp-2.5.2-1
             systemd-resolvconf-257.4-1

Total Download Size:   0.28 MiB
Total Installed Size:  7.51 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 ppp-2.5.2-1-aarch64 downloading...
 systemd-resolvconf-257.4-1-aarch64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libnl...
installing libpcap...
installing ppp...
installing systemd-resolvconf...
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
  Skipped: Current root is not booted.
(2/2) 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.48.1-2

Total Installed Size:  44.42 MiB

:: Proceed with installation? [Y/n] 
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 openfortivpn git repo...
Cloning into 'openfortivpn'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:10: installing './compile'
configure.ac:7: installing './install-sh'
configure.ac:7: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'
==> Starting pkgver()...
==> Starting build()...
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 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 whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
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 pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for git... /usr/bin/git
checking for libssl >= 1.0.2 libcrypto >= 1.0.2... yes
checking for pthread_create in -lpthread... yes
checking for forkpty in -lutil... yes
checking for libsystemd... yes
checking for arpa/inet.h... yes
checking for fcntl.h... yes
checking for getopt.h... yes
checking for ifaddrs.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking for pthread.h... yes
checking for strings.h... (cached) yes
checking for sys/ioctl.h... yes
checking for syslog.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/wait.h... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for net/if.h... yes
checking for net/route.h... yes
checking for libutil.h... no
checking for mach/mach.h... no
checking for pty.h... yes
checking for semaphore.h... yes
checking for util.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for struct termios... yes
checking for access... yes
checking for close... yes
checking for connect... yes
checking for execv... yes
checking for _exit... yes
checking for fcntl... yes
checking for fileno... yes
checking for forkpty... yes
checking for freeaddrinfo... yes
checking for freeifaddrs... yes
checking for gai_strerror... yes
checking for getaddrinfo... yes
checking for geteuid... yes
checking for getifaddrs... yes
checking for getopt_long... yes
checking for htons... yes
checking for inet_addr... yes
checking for inet_ntoa... yes
checking for ioctl... yes
checking for isatty... yes
checking for memmem... yes
checking for ntohs... yes
checking for open... yes
checking for openlog... yes
checking for pclose... yes
checking for popen... yes
checking for pthread_cancel... yes
checking for pthread_cond_init... yes
checking for pthread_cond_signal... yes
checking for pthread_cond_wait... yes
checking for pthread_create... yes
checking for pthread_join... yes
checking for pthread_mutexattr_init... yes
checking for pthread_mutex_destroy... yes
checking for pthread_mutex_init... yes
checking for pthread_mutex_lock... yes
checking for pthread_mutex_unlock... yes
checking for pthread_self... yes
checking for pthread_sigmask... yes
checking for read... yes
checking for select... yes
checking for sem_destroy... yes
checking for sem_init... yes
checking for sem_post... yes
checking for sem_wait... yes
checking for setenv... yes
checking for setsockopt... yes
checking for sigaddset... yes
checking for sigemptyset... yes
checking for sleep... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strsignal... yes
checking for strtok_r... yes
checking for syslog... yes
checking for tcgetattr... yes
checking for tcsetattr... yes
checking for usleep... yes
checking for vsyslog... yes
checking for waitpid... yes
checking for write... yes
checking for pthread_mutexattr_setrobust... yes
checking for vdprintf... yes
checking whether rtentry is available and has rt_dst... yes
checking for /proc/net/route... yes
checking for ppp... /usr/sbin/ppp
checking for /usr/sbin/ppp... no
checking for pppd... /usr/bin/pppd
checking for /usr/bin/pppd... yes
configure: HAVE_USR_SBIN_PPP... 0
configure: HAVE_USR_SBIN_PPPD... 1
configure: LEGACY_PPPD... 0
configure: HAVE_PROC_NET_ROUTE... 1
configure: PPP_PATH... /usr/bin/pppd
checking for resolvconf... /usr/bin/resolvconf
configure: RESOLVCONF_PATH... /usr/bin/resolvconf
configure: HAVE_RESOLVCONF... 1
configure: USE_RESOLVCONF... 1
configure: systemdsystemunitdir... /usr/lib/systemd/system
configure: HAVE_SO_BINDTODEVICE... 1
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing timestamp commands
  GEN      doc/openfortivpn.1
  GEN      lib/systemd/system/openfortivpn@.service
  GEN      etc/openfortivpn/config
  CC       src/openfortivpn-config.o
  CC       src/openfortivpn-hdlc.o
  CC       src/openfortivpn-http.o
  CC       src/openfortivpn-io.o
  CC       src/openfortivpn-http_server.o
  CC       src/openfortivpn-ipv4.o
  CC       src/openfortivpn-log.o
  CC       src/openfortivpn-tunnel.o
  CC       src/openfortivpn-main.o
  CC       src/openfortivpn-xml.o
  CC       src/openfortivpn-userinput.o
src/tunnel.c: In function 'ssl_connect':
src/tunnel.c:1100:3: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from src/tunnel.c:36:
/usr/include/openssl/engine.h:358:58: note: declared here
  358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
      |                                                          ^~~~                       
src/tunnel.c:1101:3: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/engine.h:336:61: note: declared here
  336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
      |                                                             ^           
src/tunnel.c:1107:3: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/engine.h:620:57: note: declared here
  620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
      |                                                         ^          
src/tunnel.c:1110:4: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/engine.h:493:57: note: declared here
  493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
      |                                                         ^          
src/tunnel.c:1113:3: warning: 'ENGINE_set_default_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/engine.h:684:57: note: declared here
  684 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_RSA(ENGINE *e);
      |                                                         ^~~~                  
src/tunnel.c:1116:3: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/engine.h:628:57: note: declared here
  628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e);
      |                                                         ^            
src/tunnel.c:1117:3: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/engine.h:493:57: note: declared here
  493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
      |                                                         ^          
src/tunnel.c:1124:3: warning: 'ENGINE_ctrl_cmd' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/engine.h:450:57: note: declared here
  450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name,
      |                                                         ^~~~~~~~~~~~~~~
src/tunnel.c:1136:3: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/engine.h:638:11: note: declared here
  638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id,
      |           ^~~~~~~~~~~~~~~~~~~~~~~
  CCLD     openfortivpn
==> Entering fakeroot environment...
==> Starting package()...
make: Entering directory '/build/openfortivpn/src/openfortivpn'
make[1]: Entering directory '/build/openfortivpn/src/openfortivpn'
 /usr/bin/mkdir -p '/build/openfortivpn/pkg/openfortivpn/usr/bin'
 /usr/bin/mkdir -p '/build/openfortivpn/pkg/openfortivpn/usr/share/openfortivpn'
 /usr/bin/mkdir -p '/build/openfortivpn/pkg/openfortivpn/usr/lib/systemd/system'
 /usr/bin/mkdir -p '/build/openfortivpn/pkg/openfortivpn/usr/share/man/man1'
 /usr/bin/install -c -m 644 etc/openfortivpn/config.template '/build/openfortivpn/pkg/openfortivpn/usr/share/openfortivpn'
 /usr/bin/install -c -m 644 lib/systemd/system/openfortivpn@.service '/build/openfortivpn/pkg/openfortivpn/usr/lib/systemd/system'
  /usr/bin/install -c openfortivpn '/build/openfortivpn/pkg/openfortivpn/usr/bin'
 /usr/bin/install -c -m 644 doc/openfortivpn.1 '/build/openfortivpn/pkg/openfortivpn/usr/share/man/man1'
make  install-data-hook
make[2]: Entering directory '/build/openfortivpn/src/openfortivpn'
if ! test -f /build/openfortivpn/pkg/openfortivpn/etc/openfortivpn/config ; then \
	/usr/bin/mkdir -p /build/openfortivpn/pkg/openfortivpn/etc/openfortivpn ; \
	/usr/bin/install -c -m 600 etc/openfortivpn/config \
		/build/openfortivpn/pkg/openfortivpn/etc/openfortivpn/config ; \
fi
make[2]: Leaving directory '/build/openfortivpn/src/openfortivpn'
make[1]: Leaving directory '/build/openfortivpn/src/openfortivpn'
make: Leaving directory '/build/openfortivpn/src/openfortivpn'
==> 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 "openfortivpn"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: openfortivpn 1.23.1-1 (Fri Mar 14 06:55:49 2025)
==> Cleaning up...