>>> php81-pecl-zstd: Building community/php81-pecl-zstd 0.13.2-r0 (using abuild 3.12.0-r0) started Mon, 15 Jan 2024 23:36:55 +0000 >>> php81-pecl-zstd: Checking sanity of /home/buildozer/aports/community/php81-pecl-zstd/APKBUILD... >>> php81-pecl-zstd: Analyzing dependencies... >>> php81-pecl-zstd: Installing for build: build-base php81-common php81-dev php81-pecl-apcu zstd-dev php81-openssl (1/30) Installing php81-common (8.1.27-r0) (2/30) Installing argon2-libs (20190702-r5) (3/30) Installing xz-libs (5.4.5-r0) (4/30) Installing libxml2 (2.11.6-r0) (5/30) Installing php81 (8.1.27-r0) (6/30) Installing m4 (1.4.19-r3) (7/30) Installing libbz2 (1.0.8-r6) (8/30) Installing perl (5.38.2-r0) (9/30) Installing autoconf (2.71-r2) (10/30) Installing bsd-compat-headers (0.7.2-r5) (11/30) Installing libformw (6.4_p20231125-r0) (12/30) Installing libmenuw (6.4_p20231125-r0) (13/30) Installing libpanelw (6.4_p20231125-r0) (14/30) Installing libncurses++ (6.4_p20231125-r0) (15/30) Installing ncurses-dev (6.4_p20231125-r0) (16/30) Installing libedit-dev (20230828.3.1-r3) (17/30) Installing zlib-dev (1.3-r2) (18/30) Installing libpcre2-16 (10.42-r2) (19/30) Installing libpcre2-32 (10.42-r2) (20/30) Installing pcre2-dev (10.42-r2) (21/30) Installing re2c (3.1-r0) (22/30) Installing php81-dev (8.1.27-r0) (23/30) Installing php81-pecl-apcu (5.1.23-r0) (24/30) Installing zstd (1.5.5-r8) (25/30) Installing zstd-dev (1.5.5-r8) (26/30) Installing php81-openssl (8.1.27-r0) (27/30) Installing .makedepends-php81-pecl-zstd (20240115.233656) (28/30) Installing perl-error (0.17029-r2) (29/30) Installing perl-git (2.43.0-r0) (30/30) Installing git-perl (2.43.0-r0) Executing busybox-1.36.1-r15.trigger OK: 322 MiB in 133 packages >>> php81-pecl-zstd: Cleaning up srcdir >>> php81-pecl-zstd: Cleaning up pkgdir >>> php81-pecl-zstd: Cleaning up tmpdir >>> php81-pecl-zstd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19//php-pecl-zstd-0.13.2.tgz >>> php81-pecl-zstd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19//php-pecl-zstd-0.13.2.tgz >>> php81-pecl-zstd: Checking sha512sums... php-pecl-zstd-0.13.2.tgz: OK >>> php81-pecl-zstd: Unpacking /var/cache/distfiles/php-pecl-zstd-0.13.2.tgz... Configuring for: PHP Api Version: 20210902 Zend Module Api No: 20210902 Zend Extension Api No: 420210902 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 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 gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking how to run the C preprocessor... gcc -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... armv8l-unknown-linux-musleabihf checking host system type... armv8l-unknown-linux-musleabihf checking target system type... armv8l-unknown-linux-musleabihf checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php81 -I/usr/include/php81/main -I/usr/include/php81/TSRM -I/usr/include/php81/Zend -I/usr/include/php81/ext -I/usr/include/php81/ext/date/lib checking for PHP extension directory... /usr/lib/php81/modules checking for PHP installed headers prefix... /usr/include/php81 checking if debug is enabled... no checking if zts is enabled... no checking for gawk... no checking for nawk... no checking for awk... awk checking if awk is broken... no checking PHP version... 8.1.27 checking whether to enable zstd support... yes, shared checking whether to use system zstd library... yes checking for pkg-config... /usr/bin/pkg-config checking for libzstd... from pkgconfig: version 1.5.5 checking for APCu includes... APCu in /usr/include/php81 checking whether to enable coverage support... no checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/armv7-alpine-linux-musleabihf/bin/ld checking if the linker (/usr/armv7-alpine-linux-musleabihf/bin/ld) is GNU ld... yes checking for /usr/armv7-alpine-linux-musleabihf/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... 98304 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/armv7-alpine-linux-musleabihf/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 whether the g++ linker (/usr/armv7-alpine-linux-musleabihf/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... checking if g++ static flag works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/armv7-alpine-linux-musleabihf/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... unsupported configure: patching config.h.in configure: creating ./config.status config.status: creating config.h /bin/sh /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/libtool --mode=compile gcc -I. -I/home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2 -I/home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/include -I/home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/main -I/home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2 -I/usr/include/php81 -I/usr/include/php81/main -I/usr/include/php81/TSRM -I/usr/include/php81/Zend -I/usr/include/php81/ext -I/usr/include/php81/ext/date/lib -DHAVE_CONFIG_H -Os -fstack-clash-protection -Wformat -Werror=format-security -DZEND_COMPILE_DL_EXT=1 -c /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/zstd.c -o zstd.lo -MMD -MF zstd.dep -MT zstd.lo mkdir .libs gcc -I. -I/home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2 -I/home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/include -I/home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/main -I/home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2 -I/usr/include/php81 -I/usr/include/php81/main -I/usr/include/php81/TSRM -I/usr/include/php81/Zend -I/usr/include/php81/ext -I/usr/include/php81/ext/date/lib -DHAVE_CONFIG_H -Os -fstack-clash-protection -Wformat -Werror=format-security -DZEND_COMPILE_DL_EXT=1 -c /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/zstd.c -MMD -MF zstd.dep -MT zstd.lo -fPIC -DPIC -o .libs/zstd.o In file included from /usr/include/php81/Zend/zend_types.h:25, from /usr/include/php81/Zend/zend.h:27, from /usr/include/php81/main/php.h:31, from /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/zstd.c:28: /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/zstd.c: In function 'zif_zstd_compress': /usr/include/php81/Zend/zend_API.h:1646:59: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] 1646 | if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, _i))) { \ /usr/include/php81/Zend/zend_portability.h:338:52: note: in definition of macro 'UNEXPECTED' 338 | # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) | ^~~~~~~~~ /usr/include/php81/Zend/zend_API.h:1653:9: note: in expansion of macro 'Z_PARAM_LONG_EX' 1653 | Z_PARAM_LONG_EX(dest, _dummy, 0, 0) | ^~~~~~~~~~~~~~~ /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/zstd.c:145:9: note: in expansion of macro 'Z_PARAM_LONG' 145 | Z_PARAM_LONG(level) | ^~~~~~~~~~~~ In file included from /usr/include/php81/main/php.h:35: /usr/include/php81/Zend/zend_API.h:1947:74: note: expected 'zend_long *' {aka 'int *'} but argument is of type 'long int *' 1947 | static zend_always_inline bool zend_parse_arg_long(zval *arg, zend_long *dest, bool *is_null, bool check_null, uint32_t arg_num) | ~~~~~~~~~~~^~~~ /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/zstd.c: In function 'zif_zstd_compress_dict': /usr/include/php81/Zend/zend_API.h:1646:59: warning: passing argument 2 of 'zend_parse_arg_long' from incompatible pointer type [-Wincompatible-pointer-types] 1646 | if (UNEXPECTED(!zend_parse_arg_long(_arg, &dest, &is_null, check_null, _i))) { \ /usr/include/php81/Zend/zend_portability.h:338:52: note: in definition of macro 'UNEXPECTED' 338 | # define UNEXPECTED(condition) __builtin_expect(!!(condition), 0) | ^~~~~~~~~ /usr/include/php81/Zend/zend_API.h:1653:9: note: in expansion of macro 'Z_PARAM_LONG_EX' 1653 | Z_PARAM_LONG_EX(dest, _dummy, 0, 0) | ^~~~~~~~~~~~~~~ /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/zstd.c:287:9: note: in expansion of macro 'Z_PARAM_LONG' 287 | Z_PARAM_LONG(level) | ^~~~~~~~~~~~ /usr/include/php81/Zend/zend_API.h:1947:74: note: expected 'zend_long *' {aka 'int *'} but argument is of type 'long int *' 1947 | static zend_always_inline bool zend_parse_arg_long(zval *arg, zend_long *dest, bool *is_null, bool check_null, uint32_t arg_num) | ~~~~~~~~~~~^~~~ /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/zstd.c: In function 'zstd_apc_unserializer': /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/zstd.c:908:45: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] 908 | "Error at offset %ld of %ld bytes", | ~~^ | | | long int | %d 909 | (zend_long) (tmp - (unsigned char*) var), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/zstd.c:908:52: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int' [-Wformat=] 908 | "Error at offset %ld of %ld bytes", | ~~^ | | | long int | %d 909 | (zend_long) (tmp - (unsigned char*) var), 910 | (zend_long) var_len); | ~~~~~~~~~~~~~~~~~~~ | | | int /bin/sh /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/libtool --mode=link gcc -shared -I/home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/include -I/home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/main -I/home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2 -I/usr/include/php81 -I/usr/include/php81/main -I/usr/include/php81/TSRM -I/usr/include/php81/Zend -I/usr/include/php81/ext -I/usr/include/php81/ext/date/lib -DHAVE_CONFIG_H -Os -fstack-clash-protection -Wformat -Werror=format-security -Wl,--as-needed,-O1,--sort-common -o zstd.la -export-dynamic -avoid-version -prefer-pic -module -rpath /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/modules zstd.lo -lzstd gcc -shared .libs/zstd.o -lzstd -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-soname -Wl,zstd.so -o .libs/zstd.so creating zstd.la (cd .libs && rm -f zstd.la && ln -s ../zstd.la zstd.la) /bin/sh /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/libtool --mode=install cp ./zstd.la /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/modules cp ./.libs/zstd.so /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/modules/zstd.so cp ./.libs/zstd.lai /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/modules/zstd.la PATH="$PATH:/sbin" ldconfig -n /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/modules ---------------------------------------------------------------------- Libraries have been installed in: /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/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/php81 PHP_SAPI : cli PHP_VERSION : 8.1.27 ZEND_VERSION: 4.1.27 PHP_OS : Linux - Linux build-3-19-armv7 6.1.36-0-lts #1-Alpine SMP Wed, 28 Jun 2023 15:27:12 +0000 armv8l INI actual : /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2/tmp-php.ini More .INIs : CWD : /home/buildozer/aports/community/php81-pecl-zstd/src/zstd-0.13.2 Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2024-01-15 23:36:59 ===================================================================== TEST 1/27 [tests/001.phpt] PASS zstd_compress(): basic functionality [tests/001.phpt] TEST 2/27 [tests/002.phpt] SKIP zstd_compress(): error conditions [tests/002.phpt] reason: requires PHP <8.0 TEST 3/27 [tests/002_b.phpt] PASS zstd_compress(): error conditions [tests/002_b.phpt] TEST 4/27 [tests/003.phpt] PASS zstd_compress(): variation [tests/003.phpt] TEST 5/27 [tests/004.phpt] PASS zstd_uncompress(): basic functionality [tests/004.phpt] TEST 6/27 [tests/005.phpt] SKIP zstd_uncompress(): error conditions [tests/005.phpt] reason: requires PHP < 8.0 TEST 7/27 [tests/005_b.phpt] PASS zstd_uncompress(): error conditions [tests/005_b.phpt] TEST 8/27 [tests/006.phpt] PASS unexpected exiting when uncompress the wrong format data [tests/006.phpt] TEST 9/27 [tests/007.phpt] PASS namespace: Zstd\compress()/uncompress() [tests/007.phpt] TEST 10/27 [tests/008.phpt] SKIP zstd_compress(): compress level [tests/008.phpt] reason: needs libzstd 1.3.3 or older TEST 11/27 [tests/009.phpt] PASS zstd_compress(): compress level [tests/009.phpt] TEST 12/27 [tests/010.phpt] PASS zstd_uncompress(): streaming archive [tests/010.phpt] TEST 13/27 [tests/011.phpt] PASS compress level constants [tests/011.phpt] TEST 14/27 [tests/alias.phpt] PASS alias functionality [tests/alias.phpt] TEST 15/27 [tests/apcu_serializer.phpt] PASS APCu serializer registration [tests/apcu_serializer.phpt] TEST 16/27 [tests/dictionary.phpt] PASS zstd_compress_dict(): basic functionality [tests/dictionary.phpt] TEST 17/27 [tests/dictionary_01.phpt] PASS zstd_compress_dict(): compress level [tests/dictionary_01.phpt] TEST 18/27 [tests/info.phpt] PASS phpinfo() displays zstd info [tests/info.phpt] TEST 19/27 [tests/streams_1.phpt] PASS compress.zstd streams basic [tests/streams_1.phpt] TEST 20/27 [tests/streams_2.phpt] PASS compress.zstd streams and compatibility [tests/streams_2.phpt] TEST 21/27 [tests/streams_3.phpt] PASS compress.zstd streams and big file [tests/streams_3.phpt] TEST 22/27 [tests/streams_4.phpt] PASS compress.zstd streams with file functions [tests/streams_4.phpt] TEST 23/27 [tests/streams_5.phpt] PASS compress.zstd streams with dictionary [tests/streams_5.phpt] TEST 24/27 [tests/streams_6.phpt] PASS compress.zstd read online stream [tests/streams_6.phpt] TEST 25/27 [tests/streams_7.phpt] PASS compress.zstd read online stream denied [tests/streams_7.phpt] TEST 26/27 [tests/streams_8.phpt] PASS compress.zstd use include_path [tests/streams_8.phpt] TEST 27/27 [tests/streams_9.phpt] PASS compress.zstd streams with file functions, using append mode [tests/streams_9.phpt] ===================================================================== TIME END 2024-01-15 23:37:00 ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 0 Exts tested : 15 --------------------------------------------------------------------- Number of tests : 27 24 Tests skipped : 3 ( 11.1%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 0 ( 0.0%) ( 0.0%) Tests passed : 24 ( 88.9%) (100.0%) --------------------------------------------------------------------- Time taken : 1 seconds ===================================================================== >>> php81-pecl-zstd: Entering fakeroot... Installing shared extensions: /home/buildozer/aports/community/php81-pecl-zstd/pkg/php81-pecl-zstd/usr/lib/php81/modules/ Installing header files: /home/buildozer/aports/community/php81-pecl-zstd/pkg/php81-pecl-zstd/usr/include/php81/ >>> php81-pecl-zstd*: Running postcheck for php81-pecl-zstd >>> php81-pecl-zstd*: Preparing package php81-pecl-zstd... >>> php81-pecl-zstd*: Stripping binaries >>> php81-pecl-zstd*: Scanning shared objects >>> php81-pecl-zstd*: Tracing dependencies... php81-common so:libc.musl-armv7.so.1 so:libzstd.so.1 >>> php81-pecl-zstd*: Package size: 76.0 KB >>> php81-pecl-zstd*: Compressing data... >>> php81-pecl-zstd*: Create checksum... >>> php81-pecl-zstd*: Create php81-pecl-zstd-0.13.2-r0.apk >>> php81-pecl-zstd: Build complete at Mon, 15 Jan 2024 23:37:00 +0000 elapsed time 0h 0m 5s >>> php81-pecl-zstd: Cleaning up srcdir >>> php81-pecl-zstd: Cleaning up pkgdir >>> php81-pecl-zstd: Uninstalling dependencies... (1/30) Purging .makedepends-php81-pecl-zstd (20240115.233656) (2/30) Purging php81-dev (8.1.27-r0) (3/30) Purging php81 (8.1.27-r0) (4/30) Purging autoconf (2.71-r2) (5/30) Purging m4 (1.4.19-r3) (6/30) Purging pcre2-dev (10.42-r2) (7/30) Purging libedit-dev (20230828.3.1-r3) (8/30) Purging bsd-compat-headers (0.7.2-r5) (9/30) Purging ncurses-dev (6.4_p20231125-r0) (10/30) Purging libncurses++ (6.4_p20231125-r0) (11/30) Purging libpanelw (6.4_p20231125-r0) (12/30) Purging zlib-dev (1.3-r2) (13/30) Purging libpcre2-16 (10.42-r2) (14/30) Purging libpcre2-32 (10.42-r2) (15/30) Purging re2c (3.1-r0) (16/30) Purging php81-pecl-apcu (5.1.23-r0) (17/30) Purging zstd-dev (1.5.5-r8) (18/30) Purging zstd (1.5.5-r8) (19/30) Purging php81-openssl (8.1.27-r0) (20/30) Purging php81-common (8.1.27-r0) (21/30) Purging argon2-libs (20190702-r5) (22/30) Purging git-perl (2.43.0-r0) (23/30) Purging perl-git (2.43.0-r0) (24/30) Purging perl-error (0.17029-r2) (25/30) Purging perl (5.38.2-r0) (26/30) Purging libbz2 (1.0.8-r6) (27/30) Purging libformw (6.4_p20231125-r0) (28/30) Purging libmenuw (6.4_p20231125-r0) (29/30) Purging libxml2 (2.11.6-r0) (30/30) Purging xz-libs (5.4.5-r0) Executing busybox-1.36.1-r15.trigger OK: 271 MiB in 103 packages >>> php81-pecl-zstd: Updating the community/armv7 repository index... >>> php81-pecl-zstd: Signing the index...