==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: php-geoip 1.1.1-13 (Wed Feb 12 13:36:22 2025)
==> Retrieving sources...
  -> Found geoip-1.1.1.tgz
  -> Found php8.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    geoip-1.1.1.tgz ... Passed
    php8.patch ... Passed
==> Making package: php-geoip 1.1.1-13 (Wed Feb 12 13:36:46 2025)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (2) geoip-database-20250129-1  geoip-1.6.12-3

Total Download Size:    2.97 MiB
Total Installed Size:  10.50 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 geoip-database-20250129-1-any downloading...
 geoip-1.6.12-3-armv7h downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing geoip-database...
:: By installing geoip-database, you acknowledge and agree to comply
   with the terms of the GeoLite2 End User License Agreement (EULA).

   Review the EULA here: https://www.maxmind.com/en/geolite2/eula
installing geoip...
Optional dependencies for geoip
    geoip-database-extra: city/ASN databases (not needed for country lookups)
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (4) libzip-1.11.2-1  oniguruma-6.9.10-1  php-8.4.3-1
             php-legacy-8.2.27-1

Total Installed Size:  48.15 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 libzip...
installing oniguruma...
installing php...
installing php-legacy...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[?25h==> Retrieving sources...
  -> Found geoip-1.1.1.tgz
  -> Found php8.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting geoip-1.1.1.tgz with bsdtar
==> Starting prepare()...
patching file geoip.c
==> Starting build()...
Configuring for:
PHP Version:             8.4
PHP Api Version:         20240924
Zend Module Api No:      20240924
Zend Extension Api No:   420240924
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking target system type... armv7l-unknown-linux-gnueabihf
checking for gawk... gawk
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
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 cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking how to run the C preprocessor... cc -E
checking for egrep -e... (cached) /usr/bin/grep -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -Wl,-rpath,... yes
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking if debugging is enabled... no
checking if PHP is built with thread safety (ZTS)... no

Configuring extension
checking for geoip support... yes, shared
checking for geoip files in default path... found in /usr
checking for GeoIP_open in -lGeoIP... yes
checking for GeoIP_setup_custom_directory in -lGeoIP... yes
checking for GeoIP_set_charset in -lGeoIP... yes
checking for GeoIP_continent_by_id in -lGeoIP... yes
checking for GeoIP_addr_to_num in -lGeoIP... yes
checking for cc options needed to detect all undeclared functions... none needed
checking whether GEOIP_NETSPEED_EDITION_REV1 is declared... yes
checking whether GEOIP_ACCURACYRADIUS_EDITION is declared... yes
checking for LGPL compatible GeoIP libs... found 1006012

Configuring libtool
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool

Generating files
configure: creating build directories
configure: creating Makefile
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
/bin/sh /build/php-geoip/src/geoip-1.1.1/libtool --tag=CC --mode=compile cc -I. -I/build/php-geoip/src/geoip-1.1.1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_GNU_SOURCE    -DZEND_COMPILE_DL_EXT=1 -c /build/php-geoip/src/geoip-1.1.1/geoip.c -o geoip.lo  -MMD -MF geoip.dep -MT geoip.lo
mkdir .libs
 cc -I. -I/build/php-geoip/src/geoip-1.1.1 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /build/php-geoip/src/geoip-1.1.1/geoip.c -MMD -MF geoip.dep -MT geoip.lo  -fPIC -DPIC -o .libs/geoip.o
/bin/sh /build/php-geoip/src/geoip-1.1.1/libtool --tag=CC --mode=link cc -shared -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_GNU_SOURCE  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now  -o geoip.la -export-dynamic -avoid-version -prefer-pic -module -rpath /build/php-geoip/src/geoip-1.1.1/modules  geoip.lo -lGeoIP
cc -shared  .libs/geoip.o  -lGeoIP  -march=armv7-a -mfloat-abi=hard -mfpu=neon -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,geoip.so -o .libs/geoip.so
creating geoip.la
(cd .libs && rm -f geoip.la && ln -s ../geoip.la geoip.la)
/bin/sh /build/php-geoip/src/geoip-1.1.1/libtool --tag=CC --mode=install cp ./geoip.la /build/php-geoip/src/geoip-1.1.1/modules
cp ./.libs/geoip.so /build/php-geoip/src/geoip-1.1.1/modules/geoip.so
cp ./.libs/geoip.lai /build/php-geoip/src/geoip-1.1.1/modules/geoip.la
PATH="$PATH:/sbin" ldconfig -n /build/php-geoip/src/geoip-1.1.1/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /build/php-geoip/src/geoip-1.1.1/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

Configuring for:
PHP Api Version:         20220829
Zend Module Api No:      20220829
Zend Extension Api No:   420220829
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
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 cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking how to run the C preprocessor... cc -E
checking for egrep -e... (cached) /usr/bin/grep -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -Wl,-rpath,... yes
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking target system type... armv7l-unknown-linux-gnueabihf
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php-legacy/php -I/usr/include/php-legacy/php/main -I/usr/include/php-legacy/php/TSRM -I/usr/include/php-legacy/php/Zend -I/usr/include/php-legacy/php/ext -I/usr/include/php-legacy/php/ext/date/lib
checking for PHP extension directory... /usr/lib/php-legacy/modules
checking for PHP installed headers prefix... /usr/include/php-legacy/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... gawk
checking for geoip support... yes, shared
checking for geoip files in default path... found in /usr
checking for GeoIP_open in -lGeoIP... yes
checking for GeoIP_setup_custom_directory in -lGeoIP... yes
checking for GeoIP_set_charset in -lGeoIP... yes
checking for GeoIP_continent_by_id in -lGeoIP... yes
checking for GeoIP_addr_to_num in -lGeoIP... yes
checking for cc options needed to detect all undeclared functions... none needed
checking whether GEOIP_NETSPEED_EDITION_REV1 is declared... yes
checking whether GEOIP_ACCURACYRADIUS_EDITION is declared... yes
checking for LGPL compatible GeoIP libs... found 1006012
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
/bin/sh /build/php-geoip/src/geoip-1.1.1-php-legacy/libtool --tag=CC --mode=compile cc -I. -I/build/php-geoip/src/geoip-1.1.1-php-legacy -I/build/php-geoip/src/geoip-1.1.1-php-legacy/include -I/build/php-geoip/src/geoip-1.1.1-php-legacy/main -I/build/php-geoip/src/geoip-1.1.1-php-legacy -I/usr/include/php-legacy/php -I/usr/include/php-legacy/php/main -I/usr/include/php-legacy/php/TSRM -I/usr/include/php-legacy/php/Zend -I/usr/include/php-legacy/php/ext -I/usr/include/php-legacy/php/ext/date/lib  -DHAVE_CONFIG_H  -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_GNU_SOURCE    -DZEND_COMPILE_DL_EXT=1 -c /build/php-geoip/src/geoip-1.1.1-php-legacy/geoip.c -o geoip.lo  -MMD -MF geoip.dep -MT geoip.lo
mkdir .libs
 cc -I. -I/build/php-geoip/src/geoip-1.1.1-php-legacy -I/build/php-geoip/src/geoip-1.1.1-php-legacy/include -I/build/php-geoip/src/geoip-1.1.1-php-legacy/main -I/build/php-geoip/src/geoip-1.1.1-php-legacy -I/usr/include/php-legacy/php -I/usr/include/php-legacy/php/main -I/usr/include/php-legacy/php/TSRM -I/usr/include/php-legacy/php/Zend -I/usr/include/php-legacy/php/ext -I/usr/include/php-legacy/php/ext/date/lib -DHAVE_CONFIG_H -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /build/php-geoip/src/geoip-1.1.1-php-legacy/geoip.c -MMD -MF geoip.dep -MT geoip.lo  -fPIC -DPIC -o .libs/geoip.o
/bin/sh /build/php-geoip/src/geoip-1.1.1-php-legacy/libtool --tag=CC --mode=link cc -shared -I/build/php-geoip/src/geoip-1.1.1-php-legacy/include -I/build/php-geoip/src/geoip-1.1.1-php-legacy/main -I/build/php-geoip/src/geoip-1.1.1-php-legacy -I/usr/include/php-legacy/php -I/usr/include/php-legacy/php/main -I/usr/include/php-legacy/php/TSRM -I/usr/include/php-legacy/php/Zend -I/usr/include/php-legacy/php/ext -I/usr/include/php-legacy/php/ext/date/lib  -DHAVE_CONFIG_H  -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_GNU_SOURCE  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now  -o geoip.la -export-dynamic -avoid-version -prefer-pic -module -rpath /build/php-geoip/src/geoip-1.1.1-php-legacy/modules  geoip.lo -lGeoIP
cc -shared  .libs/geoip.o  -lGeoIP  -march=armv7-a -mfloat-abi=hard -mfpu=neon -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,geoip.so -o .libs/geoip.so
creating geoip.la
(cd .libs && rm -f geoip.la && ln -s ../geoip.la geoip.la)
/bin/sh /build/php-geoip/src/geoip-1.1.1-php-legacy/libtool --tag=CC --mode=install cp ./geoip.la /build/php-geoip/src/geoip-1.1.1-php-legacy/modules
cp ./.libs/geoip.so /build/php-geoip/src/geoip-1.1.1-php-legacy/modules/geoip.so
cp ./.libs/geoip.lai /build/php-geoip/src/geoip-1.1.1-php-legacy/modules/geoip.la
PATH="$PATH:/sbin" ldconfig -n /build/php-geoip/src/geoip-1.1.1-php-legacy/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /build/php-geoip/src/geoip-1.1.1-php-legacy/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

==> Entering fakeroot environment...
==> Starting package_php-geoip()...
Installing shared extensions:     /build/php-geoip/pkg/php-geoip/usr/lib/php/modules/
==> 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 "php-geoip"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Starting package_php-legacy-geoip()...
Installing shared extensions:     /build/php-geoip/pkg/php-legacy-geoip/usr/lib/php-legacy/modules/
==> 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 "php-legacy-geoip"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: php-geoip 1.1.1-13 (Wed Feb 12 13:37:34 2025)
==> Cleaning up...