>>> php84-snappy: Building testing/php84-snappy 0.2.3-r0 (using abuild 3.15.0_rc3-r0) started Fri, 11 Apr 2025 17:05:40 +0000
>>> php84-snappy: Validating /home/buildozer/aports/testing/php84-snappy/APKBUILD...
>>> php84-snappy: Analyzing dependencies...
>>> php84-snappy: Installing for build: build-base php84-common php84-dev php84-pecl-apcu snappy-dev
(1/27) Installing php84-common (8.4.6-r0)
(2/27) Installing argon2-libs (20190702-r5)
(3/27) Installing libxml2 (2.13.7-r1)
(4/27) Installing php84 (8.4.6-r0)
(5/27) Installing m4 (1.4.19-r3)
(6/27) Installing perl (5.40.1-r0)
(7/27) Installing autoconf (2.72-r0)
(8/27) Installing bsd-compat-headers (0.7.2-r6)
(9/27) Installing libformw (6.5_p20250216-r0)
(10/27) Installing libmenuw (6.5_p20250216-r0)
(11/27) Installing libpanelw (6.5_p20250216-r0)
(12/27) Installing libncurses++ (6.5_p20250216-r0)
(13/27) Installing ncurses-dev (6.5_p20250216-r0)
(14/27) Installing libedit-dev (20250104.3.1-r0)
(15/27) Installing zlib-dev (1.3.1-r2)
(16/27) Installing libpcre2-16 (10.43-r1)
(17/27) Installing libpcre2-32 (10.43-r1)
(18/27) Installing pcre2-dev (10.43-r1)
(19/27) Installing re2c (4.1-r0)
(20/27) Installing php84-dev (8.4.6-r0)
(21/27) Installing php84-pecl-apcu (5.1.24-r1)
(22/27) Installing snappy (1.2.2-r0)
(23/27) Installing snappy-dev (1.2.2-r0)
(24/27) Installing .makedepends-php84-snappy (20250411.170541)
(25/27) Installing perl-error (0.17030-r0)
(26/27) Installing perl-git (2.49.0-r0)
(27/27) Installing git-perl (2.49.0-r0)
Executing busybox-1.37.0-r15.trigger
OK: 462 MiB in 145 packages
>>> php84-snappy: Cleaning up srcdir
>>> php84-snappy: Cleaning up pkgdir
>>> php84-snappy: Cleaning up tmpdir
>>> php84-snappy: Fetching https://distfiles.alpinelinux.org/distfiles/edge/php-snappy-0.2.3.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 14863  100 14863    0     0   230k      0 --:--:-- --:--:-- --:--:--  234k
>>> php84-snappy: Fetching https://distfiles.alpinelinux.org/distfiles/edge/php-snappy-0.2.3.tar.gz
>>> php84-snappy: Checking sha512sums...
php-snappy-0.2.3.tar.gz: OK
>>> php84-snappy: Unpacking /var/cache/distfiles/edge/php-snappy-0.2.3.tar.gz...
Configuring for:
PHP Version:             8.4
PHP Api Version:         20240924
Zend Module Api No:      20240924
Zend Extension Api No:   420240924
config.m4:91: warning: The macro 'AC_TRY_COMPILE' is obsolete.
config.m4:91: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
config.m4:91: the top level
config.m4:105: warning: The macro 'AC_TRY_COMPILE' is obsolete.
config.m4:105: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
config.m4:105: the top level
config.m4:147: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete.
config.m4:147: You should run autoupdate.
./lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from...
config.m4:147: the top level
config.m4:148: warning: The macro 'AC_TRY_COMPILE' is obsolete.
config.m4:148: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
config.m4:148: the top level
config.m4:186: warning: AC_C_BIGENDIAN should be used with AC_CONFIG_HEADERS
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... i686-pc-linux-musl
checking host system type... i686-pc-linux-musl
checking target system type... i686-pc-linux-musl
shtool:echo:Warning: unable to determine terminal sequence for bold mode
shtool:echo:Warning: unable to determine terminal sequence for bold mode
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
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) /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/php84 -I/usr/include/php84/main -I/usr/include/php84/TSRM -I/usr/include/php84/Zend -I/usr/include/php84/ext -I/usr/include/php84/ext/date/lib
checking for PHP extension directory... /usr/lib/php84/modules
checking for PHP installed headers prefix... /usr/include/php84
checking if debugging is enabled... no
checking if PHP is built with thread safety (ZTS)... no

Configuring extension
checking PHP version... 8.4.6
checking whether to enable snappy support... yes, shared
checking for snappy header... yes
checking searching for libsnappy... found in /usr
checking for snappy_compress in -lsnappy... yes
checking whether the compiler supports GNU C++... yes
checking whether c++ accepts -g... yes
checking for c++ option to enable C++11 features... none needed
1.2.2
checking for APCu includes... APCu in /usr/include/php84

Configuring libtool
checking for a sed that does not truncate output... /bin/sed
checking for ld used by cc... /usr/i586-alpine-linux-musl/bin/ld
checking if the linker (/usr/i586-alpine-linux-musl/bin/ld) is GNU ld... yes
checking for /usr/i586-alpine-linux-musl/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 dlfcn.h... yes
checking how to run the C++ preprocessor... c++ -E
checking the maximum length of command line arguments... 98304
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/i586-alpine-linux-musl/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
checking for ld used by c++... /usr/i586-alpine-linux-musl/bin/ld
checking if the linker (/usr/i586-alpine-linux-musl/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/i586-alpine-linux-musl/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/i586-alpine-linux-musl/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate

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 /home/buildozer/aports/testing/php84-snappy/src/php-ext-snappy-0.2.3/libtool --tag=CC --mode=compile cc -I. -I/home/buildozer/aports/testing/php84-snappy/src/php-ext-snappy-0.2.3 -I/usr/include/php84 -I/usr/include/php84/main -I/usr/include/php84/TSRM -I/usr/include/php84/Zend -I/usr/include/php84/ext -I/usr/include/php84/ext/date/lib  -DHAVE_CONFIG_H  -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE   -I/usr/include -DZEND_COMPILE_DL_EXT=1 -c /home/buildozer/aports/testing/php84-snappy/src/php-ext-snappy-0.2.3/snappy.c -o snappy.lo  -MMD -MF snappy.dep -MT snappy.lo
mkdir .libs
 cc -I. -I/home/buildozer/aports/testing/php84-snappy/src/php-ext-snappy-0.2.3 -I/usr/include/php84 -I/usr/include/php84/main -I/usr/include/php84/TSRM -I/usr/include/php84/Zend -I/usr/include/php84/ext -I/usr/include/php84/ext/date/lib -DHAVE_CONFIG_H -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include -DZEND_COMPILE_DL_EXT=1 -c /home/buildozer/aports/testing/php84-snappy/src/php-ext-snappy-0.2.3/snappy.c -MMD -MF snappy.dep -MT snappy.lo  -fPIC -DPIC -o .libs/snappy.o
/home/buildozer/aports/testing/php84-snappy/src/php-ext-snappy-0.2.3/snappy.c: In function 'snappy_apc_unserializer':
/home/buildozer/aports/testing/php84-snappy/src/php-ext-snappy-0.2.3/snappy.c:260:45: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=]
  260 |                          "Error at offset %ld of %ld bytes",
      |                                           ~~^
      |                                             |
      |                                             long int
      |                                           %d
  261 |                          (zend_long)(tmp - var), (zend_long)var_len);
      |                          ~~~~~~~~~~~~~~~~~~~~~~
      |                          |
      |                          int
/home/buildozer/aports/testing/php84-snappy/src/php-ext-snappy-0.2.3/snappy.c:260:52: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int' [-Wformat=]
  260 |                          "Error at offset %ld of %ld bytes",
      |                                                  ~~^
      |                                                    |
      |                                                    long int
      |                                                  %d
  261 |                          (zend_long)(tmp - var), (zend_long)var_len);
      |                                                  ~~~~~~~~~~~~~~~~~~
      |                                                  |
      |                                                  int
/bin/sh /home/buildozer/aports/testing/php84-snappy/src/php-ext-snappy-0.2.3/libtool --tag=CC --mode=link cc -shared -I/usr/include/php84 -I/usr/include/php84/main -I/usr/include/php84/TSRM -I/usr/include/php84/Zend -I/usr/include/php84/ext -I/usr/include/php84/ext/date/lib  -DHAVE_CONFIG_H  -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE  -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs  -o snappy.la -export-dynamic -avoid-version -prefer-pic -module -rpath /home/buildozer/aports/testing/php84-snappy/src/php-ext-snappy-0.2.3/modules  snappy.lo -lsnappy
cc -shared  .libs/snappy.o  -lsnappy  -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -Wl,-soname -Wl,snappy.so -o .libs/snappy.so
creating snappy.la
(cd .libs && rm -f snappy.la && ln -s ../snappy.la snappy.la)
/bin/sh /home/buildozer/aports/testing/php84-snappy/src/php-ext-snappy-0.2.3/libtool --tag=CC --mode=install cp ./snappy.la /home/buildozer/aports/testing/php84-snappy/src/php-ext-snappy-0.2.3/modules
cp ./.libs/snappy.so /home/buildozer/aports/testing/php84-snappy/src/php-ext-snappy-0.2.3/modules/snappy.so
cp ./.libs/snappy.lai /home/buildozer/aports/testing/php84-snappy/src/php-ext-snappy-0.2.3/modules/snappy.la
PATH="$PATH:/sbin" ldconfig -n /home/buildozer/aports/testing/php84-snappy/src/php-ext-snappy-0.2.3/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /home/buildozer/aports/testing/php84-snappy/src/php-ext-snappy-0.2.3/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

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'.


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


=====================================================================
PHP         : /usr/bin/php84 
PHP_SAPI    : cli
PHP_VERSION : 8.4.6
ZEND_VERSION: 4.4.6
PHP_OS      : Linux - Linux build-edge-x86 6.6.33-0-lts #1-Alpine SMP PREEMPT_DYNAMIC Thu, 13 Jun 2024 07:49:22 +0000 i686
INI actual  : /home/buildozer/aports/testing/php84-snappy/src/php-ext-snappy-0.2.3/tmp-php.ini
More .INIs  :   
CWD         : /home/buildozer/aports/testing/php84-snappy/src/php-ext-snappy-0.2.3
Extra dirs  : 
VALGRIND    : Not used
=====================================================================
TIME START 2025-04-11 17:05:46
=====================================================================
TEST 1/11 [tests/001.phpt]
PASS Test snappy_compress() function : basic functionality [tests/001.phpt] 
TEST 2/11 [tests/001_b.phpt]
SKIP Test snappy_compress() function : basic functionality [tests/001_b.phpt] reason: Little endian
TEST 3/11 [tests/002.phpt]
SKIP Test snappy_compress() function : error conditions [tests/002.phpt] reason: PHP is too old
TEST 4/11 [tests/002_b.phpt]
PASS Test snappy_compress() function : error conditions [tests/002_b.phpt] 
TEST 5/11 [tests/003.phpt]
PASS Test snappy_compress() function : variation [tests/003.phpt] 
TEST 6/11 [tests/003_b.phpt]
SKIP Test snappy_compress() function : variation [tests/003_b.phpt] reason: Little endian
TEST 7/11 [tests/004.phpt]
PASS Test snappy_uncompress() function : basic functionality [tests/004.phpt] 
TEST 8/11 [tests/005.phpt]
SKIP Test snappy_uncompress() function : error conditions [tests/005.phpt] reason: PHP is too old
TEST 9/11 [tests/005_b.phpt]
PASS Test snappy_uncompress() function : error conditions [tests/005_b.phpt] 
TEST 10/11 [tests/apcu_serializer.phpt]
PASS APCu serializer registration [tests/apcu_serializer.phpt] 
TEST 11/11 [tests/info.phpt]
PASS Test phpinfo() displays snappy info [tests/info.phpt] 
=====================================================================
TIME END 2025-04-11 17:05:46

=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :     0
Exts tested     :    14
---------------------------------------------------------------------

Number of tests :    11                 7
Tests skipped   :     4 ( 36.4%) --------
Tests warned    :     0 (  0.0%) (  0.0%)
Tests failed    :     0 (  0.0%) (  0.0%)
Tests passed    :     7 ( 63.6%) (100.0%)
---------------------------------------------------------------------
Time taken      : 0.121 seconds
=====================================================================

snappy

Snappy support => enabled
Extension Version => 0.2.3
Snappy Version => 1.2.2
Snappy APCu serializer ABI => 0
>>> php84-snappy: Entering fakeroot...
Installing shared extensions:     /home/buildozer/aports/testing/php84-snappy/pkg/php84-snappy//usr/lib/php84/modules/
>>> php84-snappy*: Running postcheck for php84-snappy
>>> php84-snappy*: Preparing package php84-snappy...
>>> php84-snappy*: Stripping binaries
>>> php84-snappy*: Scanning shared objects
>>> php84-snappy*: Tracing dependencies...
	php84-common
	so:libc.musl-x86.so.1
	so:libsnappy.so.1
>>> php84-snappy*: Package size: 13.4 KB
>>> php84-snappy*: Compressing data...
>>> php84-snappy*: Create checksum...
>>> php84-snappy*: Create php84-snappy-0.2.3-r0.apk
>>> php84-snappy: Build complete at Fri, 11 Apr 2025 17:05:46 +0000 elapsed time 0h 0m 6s
>>> php84-snappy: Cleaning up srcdir
>>> php84-snappy: Cleaning up pkgdir
>>> php84-snappy: Uninstalling dependencies...
(1/27) Purging .makedepends-php84-snappy (20250411.170541)
(2/27) Purging php84-dev (8.4.6-r0)
(3/27) Purging php84 (8.4.6-r0)
(4/27) Purging autoconf (2.72-r0)
(5/27) Purging m4 (1.4.19-r3)
(6/27) Purging pcre2-dev (10.43-r1)
(7/27) Purging libedit-dev (20250104.3.1-r0)
(8/27) Purging bsd-compat-headers (0.7.2-r6)
(9/27) Purging ncurses-dev (6.5_p20250216-r0)
(10/27) Purging libncurses++ (6.5_p20250216-r0)
(11/27) Purging libpanelw (6.5_p20250216-r0)
(12/27) Purging zlib-dev (1.3.1-r2)
(13/27) Purging libpcre2-16 (10.43-r1)
(14/27) Purging libpcre2-32 (10.43-r1)
(15/27) Purging re2c (4.1-r0)
(16/27) Purging php84-pecl-apcu (5.1.24-r1)
(17/27) Purging php84-common (8.4.6-r0)
(18/27) Purging snappy-dev (1.2.2-r0)
(19/27) Purging snappy (1.2.2-r0)
(20/27) Purging argon2-libs (20190702-r5)
(21/27) Purging git-perl (2.49.0-r0)
(22/27) Purging perl-git (2.49.0-r0)
(23/27) Purging perl-error (0.17030-r0)
(24/27) Purging perl (5.40.1-r0)
(25/27) Purging libformw (6.5_p20250216-r0)
(26/27) Purging libmenuw (6.5_p20250216-r0)
(27/27) Purging libxml2 (2.13.7-r1)
Executing busybox-1.37.0-r15.trigger
OK: 405 MiB in 118 packages
>>> php84-snappy: Updating the testing/x86 repository index...
>>> php84-snappy: Signing the index...