>>> php83-pecl-uploadprogress: Building community/php83-pecl-uploadprogress 2.0.2-r1 (using abuild 3.14.1-r1) started Sat, 09 Nov 2024 13:49:11 +0000
>>> php83-pecl-uploadprogress: Validating /home/buildozer/aports/community/php83-pecl-uploadprogress/APKBUILD...
>>> php83-pecl-uploadprogress: Analyzing dependencies...
>>> php83-pecl-uploadprogress: Installing for build: build-base php83-common php83-dev
(1/26) Installing php83-common (8.3.13-r0)
(2/26) Installing argon2-libs (20190702-r5)
(3/26) Installing xz-libs (5.6.3-r0)
(4/26) Installing libxml2 (2.13.4-r3)
(5/26) Installing php83 (8.3.13-r0)
(6/26) Installing m4 (1.4.19-r3)
(7/26) Installing libbz2 (1.0.8-r6)
(8/26) Installing perl (5.40.0-r3)
(9/26) Installing autoconf (2.72-r0)
(10/26) Installing bsd-compat-headers (0.7.2-r6)
(11/26) Installing libformw (6.5_p20241006-r2)
(12/26) Installing libmenuw (6.5_p20241006-r2)
(13/26) Installing libpanelw (6.5_p20241006-r2)
(14/26) Installing libncurses++ (6.5_p20241006-r2)
(15/26) Installing ncurses-dev (6.5_p20241006-r2)
(16/26) Installing libedit-dev (20240808.3.1-r0)
(17/26) Installing zlib-dev (1.3.1-r2)
(18/26) Installing libpcre2-16 (10.43-r0)
(19/26) Installing libpcre2-32 (10.43-r0)
(20/26) Installing pcre2-dev (10.43-r0)
(21/26) Installing re2c (3.1-r0)
(22/26) Installing php83-dev (8.3.13-r0)
(23/26) Installing .makedepends-php83-pecl-uploadprogress (20241109.134929)
(24/26) Installing perl-error (0.17029-r2)
(25/26) Installing perl-git (2.46.2-r0)
(26/26) Installing git-perl (2.46.2-r0)
Executing busybox-1.37.0-r6.trigger
OK: 317 MiB in 127 packages
>>> php83-pecl-uploadprogress: Cleaning up srcdir
>>> php83-pecl-uploadprogress: Cleaning up pkgdir
>>> php83-pecl-uploadprogress: Cleaning up tmpdir
>>> php83-pecl-uploadprogress: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/php-pecl-uploadprogress-2.0.2.tar.gz
Connecting to distfiles.alpinelinux.org (172.105.82.32:443)
saving to '/var/cache/distfiles/v3.21/php-pecl-uploadprogress-2.0.2.tar.gz.part'
php-pecl-uploadprogr 100% |********************************| 19969  0:00:00 ETA
'/var/cache/distfiles/v3.21/php-pecl-uploadprogress-2.0.2.tar.gz.part' saved
>>> php83-pecl-uploadprogress: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/php-pecl-uploadprogress-2.0.2.tar.gz
>>> php83-pecl-uploadprogress: Checking sha512sums...
php-pecl-uploadprogress-2.0.2.tar.gz: OK
>>> php83-pecl-uploadprogress: Unpacking /var/cache/distfiles/v3.21/php-pecl-uploadprogress-2.0.2.tar.gz...
Configuring for:
PHP Api Version:         20230831
Zend Module Api No:      20230831
Zend Extension Api No:   420230831
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 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 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/php83 -I/usr/include/php83/main -I/usr/include/php83/TSRM -I/usr/include/php83/Zend -I/usr/include/php83/ext -I/usr/include/php83/ext/date/lib
checking for PHP extension directory... /usr/lib/php83/modules
checking for PHP installed headers prefix... /usr/include/php83
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 whether to enable uploadprogress functions... yes, shared
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/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/libtool --tag=CC --mode=compile gcc -I. -I/home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2 -I/home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/include -I/home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/main -I/home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2 -I/usr/include/php83 -I/usr/include/php83/main -I/usr/include/php83/TSRM -I/usr/include/php83/Zend -I/usr/include/php83/ext -I/usr/include/php83/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/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/uploadprogress.c -o uploadprogress.lo  -MMD -MF uploadprogress.dep -MT uploadprogress.lo
mkdir .libs
 gcc -I. -I/home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2 -I/home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/include -I/home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/main -I/home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2 -I/usr/include/php83 -I/usr/include/php83/main -I/usr/include/php83/TSRM -I/usr/include/php83/Zend -I/usr/include/php83/ext -I/usr/include/php83/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/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/uploadprogress.c -MMD -MF uploadprogress.dep -MT uploadprogress.lo  -fPIC -DPIC -o .libs/uploadprogress.o
/home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/uploadprogress.c: In function 'uploadprogress_php_rfc1867_file':
/home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/uploadprogress.c:213:80: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=]
  213 |                         "upload_id=%s\nfieldname=%s\nfilename=%s\ntime_start=%ld\n"
      |                                                                              ~~^
      |                                                                                |
      |                                                                                long int
      |                                                                              %lld
......
  220 |                         progress->time_start,
      |                         ~~~~~~~~~~~~~~~~~~~~                                    
      |                                 |
      |                                 time_t {aka long long int}
/home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/uploadprogress.c:213:25: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=]
  213 |                         "upload_id=%s\nfieldname=%s\nfilename=%s\ntime_start=%ld\n"
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......
  221 |                         progress->time_last,
      |                         ~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 time_t {aka long long int}
/home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/uploadprogress.c:214:42: note: format string is defined here
  214 |                             "time_last=%ld\nspeed_average=%u\nspeed_last=%u\n"
      |                                        ~~^
      |                                          |
      |                                          long int
      |                                        %lld
/bin/sh /home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/libtool --tag=CC --mode=link gcc -shared -I/home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/include -I/home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/main -I/home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2 -I/usr/include/php83 -I/usr/include/php83/main -I/usr/include/php83/TSRM -I/usr/include/php83/Zend -I/usr/include/php83/ext -I/usr/include/php83/ext/date/lib  -DHAVE_CONFIG_H  -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE  -Wl,--as-needed,-O1,--sort-common  -o uploadprogress.la -export-dynamic -avoid-version -prefer-pic -module -rpath /home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/modules  uploadprogress.lo 
gcc -shared  .libs/uploadprogress.o   -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-soname -Wl,uploadprogress.so -o .libs/uploadprogress.so
creating uploadprogress.la
(cd .libs && rm -f uploadprogress.la && ln -s ../uploadprogress.la uploadprogress.la)
/bin/sh /home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/libtool --tag=CC --mode=install cp ./uploadprogress.la /home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/modules
cp ./.libs/uploadprogress.so /home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/modules/uploadprogress.so
cp ./.libs/uploadprogress.lai /home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/modules/uploadprogress.la
PATH="$PATH:/sbin" ldconfig -n /home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.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/php83 
PHP_SAPI    : cli
PHP_VERSION : 8.3.13
ZEND_VERSION: 4.3.13
PHP_OS      : Linux - Linux build-3-21-armv7 6.1.90-0-lts #1-Alpine SMP Mon, 06 May 2024 08:14:42 +0000 armv8l
INI actual  : /home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2/tmp-php.ini
More .INIs  :   
CWD         : /home/buildozer/aports/community/php83-pecl-uploadprogress/src/uploadprogress-2.0.2
Extra dirs  : 
VALGRIND    : Not used
=====================================================================
TIME START 2024-11-09 13:49:32
=====================================================================
TEST 1/21 [tests/bug58318.phpt]
PASS uploadprogress_get_info - Filename containing spaces (bug #58318) [tests/bug58318.phpt] 
TEST 2/21 [tests/uploadprogress_get_contents_basic.phpt]
PASS uploadprogress_get_contents - Returns contents of uploading file [tests/uploadprogress_get_contents_basic.phpt] 
TEST 3/21 [tests/uploadprogress_get_contents_error001.phpt]
PASS uploadprogress_get_contents - Warns when function is disabled [tests/uploadprogress_get_contents_error001.phpt] 
TEST 4/21 [tests/uploadprogress_get_contents_error002.phpt]
SKIP uploadprogress_get_contents - Warns when too few arguments [tests/uploadprogress_get_contents_error002.phpt] reason: test not valid on PHP 8
TEST 5/21 [tests/uploadprogress_get_contents_error003.phpt]
PASS uploadprogress_get_contents - Warns when maxlength is less than zero [tests/uploadprogress_get_contents_error003.phpt] 
TEST 6/21 [tests/uploadprogress_get_contents_error004.phpt]
PASS uploadprogress_get_contents - Warns when too few arguments [tests/uploadprogress_get_contents_error004.phpt] 
TEST 7/21 [tests/uploadprogress_get_contents_variation001.phpt]
PASS uploadprogress_get_contents - When contents template is empty [tests/uploadprogress_get_contents_variation001.phpt] 
TEST 8/21 [tests/uploadprogress_get_contents_variation002.phpt]
PASS uploadprogress_get_contents - File contents not found [tests/uploadprogress_get_contents_variation002.phpt] 
TEST 9/21 [tests/uploadprogress_get_contents_variation003.phpt]
PASS uploadprogress_get_contents - Returns contents of file up to maxlen [tests/uploadprogress_get_contents_variation003.phpt] 
TEST 10/21 [tests/uploadprogress_get_contents_variation004.phpt]
PASS uploadprogress_get_contents - Returns empty string for empty file [tests/uploadprogress_get_contents_variation004.phpt] 
TEST 11/21 [tests/uploadprogress_get_contents_variation005.phpt]
PASS uploadprogress_get_contents - Template without replacement assumes directory [tests/uploadprogress_get_contents_variation005.phpt] 
TEST 12/21 [tests/uploadprogress_get_contents_variation006.phpt]
PASS uploadprogress_get_contents - When contents file cannot be read [tests/uploadprogress_get_contents_variation006.phpt] 
TEST 13/21 [tests/uploadprogress_get_info_basic.phpt]
PASS uploadprogress_get_info - Returns info for uploading file [tests/uploadprogress_get_info_basic.phpt] 
TEST 14/21 [tests/uploadprogress_get_info_error001.phpt]
SKIP uploadprogress_get_info - Warns when too few arguments [tests/uploadprogress_get_info_error001.phpt] reason: test not valid on PHP 8
TEST 15/21 [tests/uploadprogress_get_info_error002.phpt]
PASS uploadprogress_get_info - File info not found [tests/uploadprogress_get_info_error002.phpt] 
TEST 16/21 [tests/uploadprogress_get_info_error003.phpt]
PASS uploadprogress_get_info - When filename template is empty [tests/uploadprogress_get_info_error003.phpt] 
TEST 17/21 [tests/uploadprogress_get_info_error004.phpt]
PASS uploadprogress_get_info - Warns when too few arguments [tests/uploadprogress_get_info_error004.phpt] 
TEST 18/21 [tests/uploadprogress_get_info_variation001.phpt]
PASS uploadprogress_get_info - Template without replacement assumes directory [tests/uploadprogress_get_info_variation001.phpt] 
TEST 19/21 [tests/uploadprogress_get_info_variation002.phpt]
PASS uploadprogress_get_info - When empty template and identifier [tests/uploadprogress_get_info_variation002.phpt] 
TEST 20/21 [tests/uploadprogress_get_info_variation003.phpt]
PASS uploadprogress_get_info - When info file cannot be read [tests/uploadprogress_get_info_variation003.phpt] 
TEST 21/21 [tests/uploadprogress_get_info_variation004.phpt]
PASS uploadprogress_get_info - Trims whitespace around keys and values [tests/uploadprogress_get_info_variation004.phpt] 
=====================================================================
TIME END 2024-11-09 13:49:32

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

Number of tests :    21                19
Tests skipped   :     2 (  9.5%) --------
Tests warned    :     0 (  0.0%) (  0.0%)
Tests failed    :     0 (  0.0%) (  0.0%)
Tests passed    :    19 ( 90.5%) (100.0%)
---------------------------------------------------------------------
Time taken      :     0 seconds
=====================================================================

uploadprogress

uploadprogress support => enabled
Version => 2.0.2

Directive => Local Value => Master Value
uploadprogress.file.filename_template => /tmp/upt_%s.txt => /tmp/upt_%s.txt
uploadprogress.file.contents_template => /tmp/upload_contents_%s => /tmp/upload_contents_%s
uploadprogress.get_contents => 0 => 0
>>> php83-pecl-uploadprogress: Entering fakeroot...
Installing shared extensions:     /home/buildozer/aports/community/php83-pecl-uploadprogress/pkg/php83-pecl-uploadprogress/usr/lib/php83/modules/
>>> php83-pecl-uploadprogress-doc*: Running split function doc...
'usr/share/doc' -> '/home/buildozer/aports/community/php83-pecl-uploadprogress/pkg/php83-pecl-uploadprogress-doc/usr/share/doc'
>>> php83-pecl-uploadprogress-doc*: Preparing subpackage php83-pecl-uploadprogress-doc...
>>> php83-pecl-uploadprogress-doc*: Running postcheck for php83-pecl-uploadprogress-doc
>>> php83-pecl-uploadprogress*: Running postcheck for php83-pecl-uploadprogress
>>> php83-pecl-uploadprogress*: Preparing package php83-pecl-uploadprogress...
>>> php83-pecl-uploadprogress*: Stripping binaries
>>> php83-pecl-uploadprogress-doc*: Scanning shared objects
>>> php83-pecl-uploadprogress*: Scanning shared objects
>>> php83-pecl-uploadprogress-doc*: Tracing dependencies...
>>> php83-pecl-uploadprogress-doc*: Package size: 25.0 KB
>>> php83-pecl-uploadprogress-doc*: Compressing data...
>>> php83-pecl-uploadprogress-doc*: Create checksum...
>>> php83-pecl-uploadprogress-doc*: Create php83-pecl-uploadprogress-doc-2.0.2-r1.apk
>>> php83-pecl-uploadprogress*: Tracing dependencies...
	php83-common
	so:libc.musl-armv7.so.1
>>> php83-pecl-uploadprogress*: Package size: 13.3 KB
>>> php83-pecl-uploadprogress*: Compressing data...
>>> php83-pecl-uploadprogress*: Create checksum...
>>> php83-pecl-uploadprogress*: Create php83-pecl-uploadprogress-2.0.2-r1.apk
>>> php83-pecl-uploadprogress: Build complete at Sat, 09 Nov 2024 13:49:33 +0000 elapsed time 0h 0m 22s
>>> php83-pecl-uploadprogress: Cleaning up srcdir
>>> php83-pecl-uploadprogress: Cleaning up pkgdir
>>> php83-pecl-uploadprogress: Uninstalling dependencies...
(1/26) Purging .makedepends-php83-pecl-uploadprogress (20241109.134929)
(2/26) Purging php83-dev (8.3.13-r0)
(3/26) Purging php83 (8.3.13-r0)
(4/26) Purging php83-common (8.3.13-r0)
(5/26) Purging autoconf (2.72-r0)
(6/26) Purging m4 (1.4.19-r3)
(7/26) Purging pcre2-dev (10.43-r0)
(8/26) Purging libedit-dev (20240808.3.1-r0)
(9/26) Purging bsd-compat-headers (0.7.2-r6)
(10/26) Purging ncurses-dev (6.5_p20241006-r2)
(11/26) Purging libncurses++ (6.5_p20241006-r2)
(12/26) Purging libpanelw (6.5_p20241006-r2)
(13/26) Purging zlib-dev (1.3.1-r2)
(14/26) Purging libpcre2-16 (10.43-r0)
(15/26) Purging libpcre2-32 (10.43-r0)
(16/26) Purging re2c (3.1-r0)
(17/26) Purging argon2-libs (20190702-r5)
(18/26) Purging git-perl (2.46.2-r0)
(19/26) Purging perl-git (2.46.2-r0)
(20/26) Purging perl-error (0.17029-r2)
(21/26) Purging perl (5.40.0-r3)
(22/26) Purging libbz2 (1.0.8-r6)
(23/26) Purging libformw (6.5_p20241006-r2)
(24/26) Purging libmenuw (6.5_p20241006-r2)
(25/26) Purging libxml2 (2.13.4-r3)
(26/26) Purging xz-libs (5.6.3-r0)
Executing busybox-1.37.0-r6.trigger
OK: 271 MiB in 101 packages
>>> php83-pecl-uploadprogress: Updating the community/armv7 repository index...
>>> php83-pecl-uploadprogress: Signing the index...