>>> php84-pecl-mailparse: Building testing/php84-pecl-mailparse 3.1.8-r0 (using abuild 3.13.0-r5) started Fri, 04 Oct 2024 14:33:37 +0000 >>> php84-pecl-mailparse: Checking sanity of /home/buildozer/aports/testing/php84-pecl-mailparse/APKBUILD... >>> php84-pecl-mailparse: Analyzing dependencies... >>> php84-pecl-mailparse: Installing for build: build-base php84-mbstring php84-dev (1/28) Installing php84-common (8.4.0_rc1-r0) (2/28) Installing oniguruma (6.9.9-r0) (3/28) Installing php84-mbstring (8.4.0_rc1-r0) (4/28) Installing argon2-libs (20190702-r5) (5/28) Installing xz-libs (5.6.3-r0) (6/28) Installing libxml2 (2.12.8-r0) (7/28) Installing php84 (8.4.0_rc1-r0) (8/28) Installing m4 (1.4.19-r3) (9/28) Installing libbz2 (1.0.8-r6) (10/28) Installing perl (5.40.0-r2) (11/28) Installing autoconf (2.72-r0) (12/28) Installing bsd-compat-headers (0.7.2-r6) (13/28) Installing libformw (6.5_p20240601-r1) (14/28) Installing libmenuw (6.5_p20240601-r1) (15/28) Installing libpanelw (6.5_p20240601-r1) (16/28) Installing libncurses++ (6.5_p20240601-r1) (17/28) Installing ncurses-dev (6.5_p20240601-r1) (18/28) Installing libedit-dev (20240808.3.1-r0) (19/28) Installing zlib-dev (1.3.1-r2) (20/28) Installing libpcre2-16 (10.43-r0) (21/28) Installing libpcre2-32 (10.43-r0) (22/28) Installing pcre2-dev (10.43-r0) (23/28) Installing re2c (3.1-r0) (24/28) Installing php84-dev (8.4.0_rc1-r0) (25/28) Installing .makedepends-php84-pecl-mailparse (20241004.143339) (26/28) Installing perl-error (0.17029-r2) (27/28) Installing perl-git (2.46.2-r0) (28/28) Installing git-perl (2.46.2-r0) Executing busybox-1.36.1-r32.trigger OK: 506 MiB in 136 packages >>> php84-pecl-mailparse: Cleaning up srcdir >>> php84-pecl-mailparse: Cleaning up pkgdir >>> php84-pecl-mailparse: Cleaning up tmpdir >>> php84-pecl-mailparse: Fetching https://distfiles.alpinelinux.org/distfiles/edge/php-pecl-mailparse-3.1.8.tgz >>> php84-pecl-mailparse: Fetching https://distfiles.alpinelinux.org/distfiles/edge/php-pecl-mailparse-3.1.8.tgz >>> php84-pecl-mailparse: Checking sha512sums... php-pecl-mailparse-3.1.8.tgz: OK >>> php84-pecl-mailparse: Unpacking /var/cache/distfiles/edge/php-pecl-mailparse-3.1.8.tgz... 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... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking build system type... aarch64-unknown-linux-musl checking host system type... aarch64-unknown-linux-musl checking target system type... aarch64-unknown-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 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 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 whether to enable mailparse support... yes, shared checking libmbfl headers... found in /usr/include/php84/ext/mbstring Configuring libtool checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/aarch64-alpine-linux-musl/bin/ld checking if the linker (/usr/aarch64-alpine-linux-musl/bin/ld) is GNU ld... yes checking for /usr/aarch64-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 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/aarch64-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 whether the g++ linker (/usr/aarch64-alpine-linux-musl/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/aarch64-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... unsupported 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-pecl-mailparse/src/mailparse-3.1.8/libtool --tag=CC --mode=compile gcc -I. -I/home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8 -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 -DZEND_COMPILE_DL_EXT=1 -c /home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8/mailparse.c -o mailparse.lo -MMD -MF mailparse.dep -MT mailparse.lo /bin/sh /home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8/libtool --tag=CC --mode=compile gcc -I. -I/home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8 -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 -DZEND_COMPILE_DL_EXT=1 -c /home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8/php_mailparse_mime.c -o php_mailparse_mime.lo -MMD -MF php_mailparse_mime.dep -MT php_mailparse_mime.lo /bin/sh /home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8/libtool --tag=CC --mode=compile gcc -I. -I/home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8 -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 -DZEND_COMPILE_DL_EXT=1 -c /home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8/php_mailparse_rfc822.c -o php_mailparse_rfc822.lo -MMD -MF php_mailparse_rfc822.dep -MT php_mailparse_rfc822.lo mkdir .libs mkdir .libs mkdir .libs mkdir: can't create directory '.libs': File exists mkdir: can't create directory '.libs': File exists gcc -I. -I/home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8 -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 -DZEND_COMPILE_DL_EXT=1 -c /home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8/mailparse.c -MMD -MF mailparse.dep -MT mailparse.lo -fPIC -DPIC -o .libs/mailparse.o gcc -I. -I/home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8 -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 -DZEND_COMPILE_DL_EXT=1 -c /home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8/php_mailparse_rfc822.c -MMD -MF php_mailparse_rfc822.dep -MT php_mailparse_rfc822.lo -fPIC -DPIC -o .libs/php_mailparse_rfc822.o gcc -I. -I/home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8 -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 -DZEND_COMPILE_DL_EXT=1 -c /home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8/php_mailparse_mime.c -MMD -MF php_mailparse_mime.dep -MT php_mailparse_mime.lo -fPIC -DPIC -o .libs/php_mailparse_mime.o /bin/sh /home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8/libtool --tag=CC --mode=link gcc -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 mailparse.la -export-dynamic -avoid-version -prefer-pic -module -rpath /home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8/modules mailparse.lo php_mailparse_mime.lo php_mailparse_rfc822.lo gcc -shared .libs/mailparse.o .libs/php_mailparse_mime.o .libs/php_mailparse_rfc822.o -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -Wl,-soname -Wl,mailparse.so -o .libs/mailparse.so creating mailparse.la (cd .libs && rm -f mailparse.la && ln -s ../mailparse.la mailparse.la) /bin/sh /home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8/libtool --tag=CC --mode=install cp ./mailparse.la /home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8/modules cp ./.libs/mailparse.so /home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8/modules/mailparse.so cp ./.libs/mailparse.lai /home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8/modules/mailparse.la PATH="$PATH:/sbin" ldconfig -n /home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8/modules ---------------------------------------------------------------------- Libraries have been installed in: /home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8/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.0RC1 ZEND_VERSION: 4.4.0RC1 PHP_OS : Linux - Linux build-edge-aarch64 6.1.90-0-lts #1-Alpine SMP Mon, 06 May 2024 08:14:42 +0000 aarch64 INI actual : /home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8/tmp-php.ini More .INIs : CWD : /home/buildozer/aports/testing/php84-pecl-mailparse/src/mailparse-3.1.8 Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2024-10-04 14:33:43 ===================================================================== TEST 1/28 [tests/001.phpt] PASS Check for mailparse presence [tests/001.phpt] TEST 2/28 [tests/002.phpt] PASS Check stream encoding [tests/002.phpt] TEST 3/28 [tests/003.phpt] PASS Check handling of multiple To headers [tests/003.phpt] TEST 4/28 [tests/004.phpt] PASS Check uudecode_all [tests/004.phpt] TEST 5/28 [tests/005.phpt] PASS Check quoted-printable encoding generates S/MIME safe content [tests/005.phpt] TEST 6/28 [tests/006.phpt] PASS Check extract_part_file [tests/006.phpt] TEST 7/28 [tests/007.phpt] PASS Check RFC822 Conformance [tests/007.phpt] TEST 8/28 [tests/008.phpt] PASS OO API Segfault when opening a file is not possible [tests/008.phpt] TEST 9/28 [tests/009.phpt] PASS Multiple UUE attachments not recognized [tests/009.phpt] TEST 10/28 [tests/010.phpt] PASS Multiple headers not parsed into arra bug #6862 [tests/010.phpt] TEST 11/28 [tests/011.phpt] PASS Check mailparse_determine_best_xfer_encoding [tests/011.phpt] TEST 12/28 [tests/012-stream.phpt] PASS Check mailparse_mimemessage_extract_uue (stream mode) [tests/012-stream.phpt] TEST 13/28 [tests/012-var.phpt] PASS Check mailparse_mimemessage_extract_uue (var mode) [tests/012-var.phpt] TEST 14/28 [tests/012.phpt] PASS Check mailparse_mimemessage_extract_uue (file mode) [tests/012.phpt] TEST 15/28 [tests/013.phpt] PASS Check mailparse_mimemessage_extract_uue [tests/013.phpt] TEST 16/28 [tests/bug001.phpt] PASS mailparse_msg_free causes double free segfault [tests/bug001.phpt] TEST 17/28 [tests/bug73110.phpt] PASS Bug #73110 (Mails with unknown MIME version are treated as plain/text) [tests/bug73110.phpt] TEST 18/28 [tests/bug74223.phpt] PASS Fix #74233 (Parsing multi Content-Disposition causes memory leak) [tests/bug74223.phpt] TEST 19/28 [tests/bug75825.phpt] PASS Bug #75825 (mailparse_uudecode_all doesn't parse multiple files) [tests/bug75825.phpt] TEST 20/28 [tests/bug81403.phpt] ========DIFF======== -- [0]=> array(3) { ["display"]=> 005- string(21) "Smith, Robert \"Bob\"" 005+ string(21) "Smith, Robert \ Bob\ " ["address"]=> string(15) "user@domain.org" ["is_group"]=> -- ========DONE======== XFAIL Bug #81403 (mailparse_rfc822_parse_addresses drops escaped quotes) [tests/bug81403.phpt] XFAIL REASON: Fix reverted see GH-29 and GH-30 TEST 21/28 [tests/bug81422.phpt] PASS Bug #81422 (Potential double-free in mailparse_uudecode_all()) [tests/bug81422.phpt] TEST 22/28 [tests/gh19.phpt] PASS GH issue #19 (Segmentation fault with PHP 8.1 in extract_body using MAILPARSE_EXTRACT_RETURN) [tests/gh19.phpt] TEST 23/28 [tests/gh21.phpt] PASS GH issue #21 (Segmentation fault with mailparse_msg_create()) [tests/gh21.phpt] TEST 24/28 [tests/gh22.phpt] PASS GH issue #22 (Segmentation fault with mailparse_msg_create()) [tests/gh22.phpt] TEST 25/28 [tests/gh24.phpt] PASS GH issue #24 (Segmentation fault with mailparse_msg_create()) [tests/gh24.phpt] TEST 26/28 [tests/gh29.phpt] PASS GH issue #29 Segmentation fault with ISO-2022-JP Subject header [tests/gh29.phpt] TEST 27/28 [tests/gh30.phpt] PASS GH issue #30 Segmentation fault with UTF-8 encoded X-MS-Iris-MetaData header [tests/gh30.phpt] TEST 28/28 [tests/parse_test_messages.phpt] PASS Parse messages in testdata dir [tests/parse_test_messages.phpt] ===================================================================== TIME END 2024-10-04 14:33:43 ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 0 Exts tested : 14 --------------------------------------------------------------------- Number of tests : 28 28 Tests skipped : 0 ( 0.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 0 ( 0.0%) ( 0.0%) Expected fail : 1 ( 3.6%) ( 3.6%) Tests passed : 27 ( 96.4%) ( 96.4%) --------------------------------------------------------------------- Time taken : 0.253 seconds ===================================================================== ===================================================================== EXPECTED FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #81403 (mailparse_rfc822_parse_addresses drops escaped quotes) [tests/bug81403.phpt] XFAIL REASON: Fix reverted see GH-29 and GH-30 ===================================================================== >>> php84-pecl-mailparse: Entering fakeroot... Installing shared extensions: /home/buildozer/aports/testing/php84-pecl-mailparse/pkg/php84-pecl-mailparse/usr/lib/php84/modules/ >>> php84-pecl-mailparse*: Running postcheck for php84-pecl-mailparse >>> php84-pecl-mailparse*: Preparing package php84-pecl-mailparse... >>> php84-pecl-mailparse*: Stripping binaries >>> php84-pecl-mailparse*: Scanning shared objects >>> php84-pecl-mailparse*: Tracing dependencies... php84-mbstring so:libc.musl-aarch64.so.1 >>> php84-pecl-mailparse*: Package size: 104.0 KB >>> php84-pecl-mailparse*: Compressing data... >>> php84-pecl-mailparse*: Create checksum... >>> php84-pecl-mailparse*: Create php84-pecl-mailparse-3.1.8-r0.apk >>> php84-pecl-mailparse: Build complete at Fri, 04 Oct 2024 14:33:43 +0000 elapsed time 0h 0m 6s >>> php84-pecl-mailparse: Cleaning up srcdir >>> php84-pecl-mailparse: Cleaning up pkgdir >>> php84-pecl-mailparse: Uninstalling dependencies... (1/28) Purging .makedepends-php84-pecl-mailparse (20241004.143339) (2/28) Purging php84-mbstring (8.4.0_rc1-r0) (3/28) Purging php84-dev (8.4.0_rc1-r0) (4/28) Purging php84 (8.4.0_rc1-r0) (5/28) Purging php84-common (8.4.0_rc1-r0) (6/28) Purging autoconf (2.72-r0) (7/28) Purging m4 (1.4.19-r3) (8/28) Purging pcre2-dev (10.43-r0) (9/28) Purging libedit-dev (20240808.3.1-r0) (10/28) Purging bsd-compat-headers (0.7.2-r6) (11/28) Purging ncurses-dev (6.5_p20240601-r1) (12/28) Purging libncurses++ (6.5_p20240601-r1) (13/28) Purging libpanelw (6.5_p20240601-r1) (14/28) Purging zlib-dev (1.3.1-r2) (15/28) Purging libpcre2-16 (10.43-r0) (16/28) Purging libpcre2-32 (10.43-r0) (17/28) Purging re2c (3.1-r0) (18/28) Purging argon2-libs (20190702-r5) (19/28) Purging git-perl (2.46.2-r0) (20/28) Purging perl-git (2.46.2-r0) (21/28) Purging perl-error (0.17029-r2) (22/28) Purging perl (5.40.0-r2) (23/28) Purging libbz2 (1.0.8-r6) (24/28) Purging libformw (6.5_p20240601-r1) (25/28) Purging libmenuw (6.5_p20240601-r1) (26/28) Purging libxml2 (2.12.8-r0) (27/28) Purging oniguruma (6.9.9-r0) (28/28) Purging xz-libs (5.6.3-r0) Executing busybox-1.36.1-r32.trigger OK: 440 MiB in 108 packages >>> php84-pecl-mailparse: Updating the testing/aarch64 repository index... >>> php84-pecl-mailparse: Signing the index...