Source: php-psr
Version: 1.2.0-5
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-psr 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:36:57
> =====================================================================
> TEST 1/49 [tests/PsrCacheCacheException.phpt]
> PASS Psr\Cache\CacheException [tests/PsrCacheCacheException.phpt] 
> TEST 2/49 [tests/PsrCacheCacheItemInterface.phpt]
> PASS Psr\Cache\CacheItemInterface 
> [tests/PsrCacheCacheItemInterface.phpt] 
> TEST 3/49 [tests/PsrCacheCacheItemPoolInterface.phpt]
> PASS Psr\Cache\CacheItemPoolInterface 
> [tests/PsrCacheCacheItemPoolInterface.phpt] 
> TEST 4/49 [tests/PsrCacheInvalidArgumentException.phpt]
> PASS Psr\Cache\InvalidArgumentException 
> [tests/PsrCacheInvalidArgumentException.phpt] 
> TEST 5/49 [tests/PsrContainerContainerExceptionInterface.phpt]
> PASS Psr\Container\ContainerExceptionInterface 
> [tests/PsrContainerContainerExceptionInterface.phpt] 
> TEST 6/49 [tests/PsrContainerContainerInterface.phpt]
> PASS Psr\Container\ContainerInterface 
> [tests/PsrContainerContainerInterface.phpt] 
> TEST 7/49 [tests/PsrContainerNotFoundExceptionInterface.phpt]
> PASS Psr\Container\NotFoundExceptionInterface 
> [tests/PsrContainerNotFoundExceptionInterface.phpt] 
> TEST 8/49 [tests/PsrEventDispatcherEventDispatcherInterface.phpt]
> PASS Psr\EventDispatcher\EventDispatcherInterface 
> [tests/PsrEventDispatcherEventDispatcherInterface.phpt] 
> TEST 9/49 [tests/PsrEventDispatcherListenerProviderInterface.phpt]
> PASS Psr\EventDispatcher\ListenerProviderInterface 
> [tests/PsrEventDispatcherListenerProviderInterface.phpt] 
> TEST 10/49 [tests/PsrEventDispatcherStoppableEventInterface.phpt]
> PASS Psr\EventDispatcher\StoppableEventInterface 
> [tests/PsrEventDispatcherStoppableEventInterface.phpt] 
> TEST 11/49 [tests/PsrHttpClientClientExceptionInterface.phpt]
> PASS Psr\Http\Client\ClientExceptionInterface 
> [tests/PsrHttpClientClientExceptionInterface.phpt] 
> TEST 12/49 [tests/PsrHttpClientClientInterface.phpt]
> PASS Psr\Http\Client\ClientInterface 
> [tests/PsrHttpClientClientInterface.phpt] 
> TEST 13/49 [tests/PsrHttpClientNetworkExceptionInterface.phpt]
> PASS Psr\Http\Client\NetworkExceptionInterface 
> [tests/PsrHttpClientNetworkExceptionInterface.phpt] 
> TEST 14/49 [tests/PsrHttpClientRequestExceptionInterface.phpt]
> PASS Psr\Http\Client\RequestExceptionInterface 
> [tests/PsrHttpClientRequestExceptionInterface.phpt] 
> TEST 15/49 [tests/PsrHttpMessageMessageInterface.phpt]
> PASS Psr\Http\Message\MessageInterface 
> [tests/PsrHttpMessageMessageInterface.phpt] 
> TEST 16/49 [tests/PsrHttpMessageRequestFactoryInterface.phpt]
> PASS Psr\Http\Message\RequestFactoryInterface 
> [tests/PsrHttpMessageRequestFactoryInterface.phpt] 
> TEST 17/49 [tests/PsrHttpMessageRequestInterface.phpt]
> PASS Psr\Http\Message\RequestInterface 
> [tests/PsrHttpMessageRequestInterface.phpt] 
> TEST 18/49 [tests/PsrHttpMessageResponseFactoryInterface.phpt]
> PASS Psr\Http\Message\ResponseFactoryInterface 
> [tests/PsrHttpMessageResponseFactoryInterface.phpt] 
> TEST 19/49 [tests/PsrHttpMessageResponseInterface.phpt]
> PASS Psr\Http\Message\ResponseInterface 
> [tests/PsrHttpMessageResponseInterface.phpt] 
> TEST 20/49 [tests/PsrHttpMessageServerRequestFactoryInterface.phpt]
> PASS Psr\Http\Message\ServerRequestFactoryInterface 
> [tests/PsrHttpMessageServerRequestFactoryInterface.phpt] 
> TEST 21/49 [tests/PsrHttpMessageServerRequestInterface.phpt]
> PASS Psr\Http\Message\ServerRequestInterface 
> [tests/PsrHttpMessageServerRequestInterface.phpt] 
> TEST 22/49 [tests/PsrHttpMessageStreamFactoryInterface.phpt]
> PASS Psr\Http\Message\StreamFactoryInterface 
> [tests/PsrHttpMessageStreamFactoryInterface.phpt] 
> TEST 23/49 [tests/PsrHttpMessageStreamInterface.phpt]
> PASS Psr\Http\Message\StreamInterface 
> [tests/PsrHttpMessageStreamInterface.phpt] 
> TEST 24/49 [tests/PsrHttpMessageUploadedFileFactoryInterface.phpt]
> FAIL Psr\Http\Message\UploadedFileFactoryInterface 
> [tests/PsrHttpMessageUploadedFileFactoryInterface.phpt] 
> TEST 25/49 [tests/PsrHttpMessageUploadedFileInterface.phpt]
> PASS Psr\Http\Message\UploadedFileInterface 
> [tests/PsrHttpMessageUploadedFileInterface.phpt] 
> TEST 26/49 [tests/PsrHttpMessageUriFactoryInterface.phpt]
> PASS Psr\Http\Message\UriFactoryInterface 
> [tests/PsrHttpMessageUriFactoryInterface.phpt] 
> TEST 27/49 [tests/PsrHttpMessageUriInterface.phpt]
> PASS Psr\Http\Message\UriInterface 
> [tests/PsrHttpMessageUriInterface.phpt] 
> TEST 28/49 [tests/PsrHttpServerMiddlewareInterface.phpt]
> PASS Psr\Http\Server\MiddlewareInterface 
> [tests/PsrHttpServerMiddlewareInterface.phpt] 
> TEST 29/49 [tests/PsrHttpServerRequestHandlerInterface.phpt]
> PASS Psr\Http\Server\RequestHandlerInterface 
> [tests/PsrHttpServerRequestHandlerInterface.phpt] 
> TEST 30/49 [tests/PsrLinkEvolvableLinkInterface.phpt]
> PASS Psr\Link\EvolvableLinkInterface 
> [tests/PsrLinkEvolvableLinkInterface.phpt] 
> TEST 31/49 [tests/PsrLinkEvolvableLinkProviderInterface.phpt]
> PASS Psr\Link\EvolvableLinkProviderInterface 
> [tests/PsrLinkEvolvableLinkProviderInterface.phpt] 
> TEST 32/49 [tests/PsrLinkLinkInterface.phpt]
> PASS Psr\Link\LinkInterface [tests/PsrLinkLinkInterface.phpt] 
> TEST 33/49 [tests/PsrLinkLinkProviderInterface.phpt]
> PASS Psr\Link\LinkProviderInterface 
> [tests/PsrLinkLinkProviderInterface.phpt] 
> TEST 34/49 [tests/PsrLogAbstractLogger.phpt]
> PASS Psr\Log\AbstractLogger [tests/PsrLogAbstractLogger.phpt] 
> TEST 35/49 [tests/PsrLogAbstractLogger_construct.phpt]
> PASS Psr\Log\AbstractLogger 
> [tests/PsrLogAbstractLogger_construct.phpt] 
> TEST 36/49 [tests/PsrLogInvalidArgumentException.phpt]
> PASS Psr\Log\InvalidArgumentException 
> [tests/PsrLogInvalidArgumentException.phpt] 
> TEST 37/49 [tests/PsrLogLevel.phpt]
> PASS Psr\Log\LogLevel [tests/PsrLogLevel.phpt] 
> TEST 38/49 [tests/PsrLogLoggerAwareInterface.phpt]
> PASS Psr\Log\LoggerAwareInterface 
> [tests/PsrLogLoggerAwareInterface.phpt] 
> TEST 39/49 [tests/PsrLogLoggerAwareTrait.phpt]
> PASS Psr\Log\LoggerAwareTrait [tests/PsrLogLoggerAwareTrait.phpt] 
> TEST 40/49 [tests/PsrLogLoggerInterface.phpt]
> PASS Psr\Log\LoggerInterface [tests/PsrLogLoggerInterface.phpt] 
> TEST 41/49 [tests/PsrLogLoggerTrait.phpt]
> PASS Psr\Log\LoggerTrait [tests/PsrLogLoggerTrait.phpt] 
> TEST 42/49 [tests/PsrLogNullLogger.phpt]
> PASS Psr\Log\NullLogger [tests/PsrLogNullLogger.phpt] 
> TEST 43/49 [tests/PsrSimpleCacheCacheException.phpt]
> PASS Psr\SimpleCache\CacheException 
> [tests/PsrSimpleCacheCacheException.phpt] 
> TEST 44/49 [tests/PsrSimpleCacheCacheInterface.phpt]
> PASS Psr\SimpleCache\CacheInterface 
> [tests/PsrSimpleCacheCacheInterface.phpt] 
> TEST 45/49 [tests/PsrSimpleCacheInvalidArgumentException.phpt]
> PASS Psr\SimpleCache\InvalidArgumentException 
> [tests/PsrSimpleCacheInvalidArgumentException.phpt] 
> TEST 46/49 [tests/gh78_php7.phpt]
> SKIP Psr\Log\LoggerInterface - Invalid context default value (PHP 
> 7) [tests/gh78_php7.phpt] reason: Due to version incompatibility
> TEST 47/49 [tests/gh78_php8.phpt]
> PASS Psr\Log\LoggerInterface - Invalid context default value (PHP 
> 8) [tests/gh78_php8.phpt] 
> TEST 48/49 [tests/phpinfo.phpt]
> PASS psr phpinfo [tests/phpinfo.phpt] 
> TEST 49/49 [tests/phpinfo_lt_php72.phpt]
> SKIP psr phpinfo [tests/phpinfo_lt_php72.phpt] reason: Due to 
> version incompatibility
> =====================================================================
> TIME END 2024-09-18 17:36:57
> 
> =====================================================================
> TEST RESULT SUMMARY
> ---------------------------------------------------------------------
> Exts skipped    :     0
> Exts tested     :    16
> ---------------------------------------------------------------------
> 
> Number of tests :    49                47
> Tests skipped   :     2 (  4.1%) --------
> Tests warned    :     0 (  0.0%) (  0.0%)
> Tests failed    :     1 (  2.0%) (  2.1%)
> Tests passed    :    46 ( 93.9%) ( 97.9%)
> ---------------------------------------------------------------------
> Time taken      : 0.550 seconds
> =====================================================================
> 
> =====================================================================
> FAILED TEST SUMMARY
> ---------------------------------------------------------------------
> Psr\Http\Message\UploadedFileFactoryInterface 
> [tests/PsrHttpMessageUploadedFileFactoryInterface.phpt]
> =====================================================================
> make[2]: *** [Makefile:129: 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=/<<PKGBUILDDIR>>/debian/php8.4-psr returned 
> exit code 2


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/php8.4-beta/2/php-psr/php-psr_1.2.0-5+rebuild1726680977_amd64-2024-09-18T17:36:18Z.build

Reply via email to