Source: php-uploadprogress
Version: 2.0.2+1.1.4-8
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-p...@lists.alioth.debian.org
Usertags: php8.4

Hi,

During a test rebuild, php-uploadprogress was found to fail to build with
php8.4 8.4.0~beta4-1 available in experimental.

There are intentions to transition to php8.4 for trixie, please see #1074180.

To reproduce this locally, you need to install php8.4 and php-defaults from
experimental on an unstable system or build chroot.

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/build-8.4'
> 
> Build complete.
> Don't forget to run 'make test'.
> 
> 
> =====================================================================
> PHP         : /usr/bin/php8.4 
> PHP_SAPI    : cli
> PHP_VERSION : 8.4.0beta4
> ZEND_VERSION: 4.4.0-dev
> PHP_OS      : Linux - Linux php-rebuilds-unstable 6.1.0-25-amd64 #1 SMP 
> PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64
> INI actual  : /<<PKGBUILDDIR>>/build-8.4/tmp-php.ini
> More .INIs  :   
> CWD         : /<<PKGBUILDDIR>>/build-8.4
> Extra dirs  : 
> VALGRIND    : Not used
> =====================================================================
> TIME START 2024-09-18 17:44:51
> =====================================================================
> 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]
> FAIL 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-09-18 17:44:51
> 
> =====================================================================
> TEST RESULT SUMMARY
> ---------------------------------------------------------------------
> Exts skipped    :     0
> Exts tested     :    16
> ---------------------------------------------------------------------
> 
> Number of tests :    21                19
> Tests skipped   :     2 (  9.5%) --------
> Tests warned    :     0 (  0.0%) (  0.0%)
> Tests failed    :     1 (  4.8%) (  5.3%)
> Tests passed    :    18 ( 85.7%) ( 94.7%)
> ---------------------------------------------------------------------
> Time taken      : 0.231 seconds
> =====================================================================
> 
> =====================================================================
> FAILED TEST SUMMARY
> ---------------------------------------------------------------------
> uploadprogress_get_info - When info file cannot be read 
> [tests/uploadprogress_get_info_variation003.phpt]
> =====================================================================
> make[2]: *** [Makefile:130: test] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-8.4'
> dh_auto_test: error: cd build-8.4 && make -j1 test "TESTSUITEFLAGS=-j1 
> --verbose" VERBOSE=1 
> INSTALL_ROOT=/<<BUILDDIR>>/php-uploadprogress-2.0.2\+1.1.4/debian/php8.4-uploadprogress
>  returned exit code 2


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/php8.4-beta/2/php-uploadprogress/php-uploadprogress_2.0.2+1.1.4-8+rebuild1726681453_amd64-2024-09-18T17:44:14Z.build

Reply via email to