Package: src:php-guzzlehttp-psr7 Version: 2.4.3-1 Severity: important
Dear maintainer: During a rebuild of all packages in bookworm, your package "almost" failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary-indep dh binary-indep dh_update_autotools_config -i dh_autoreconf -i dh_auto_configure -i debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' phpabtpl --basedir src composer.json > debian/autoload.php.tpl phpab \ --output src/autoload.php \ --template debian/autoload.php.tpl \ src phpab %development% - Copyright (C) 2009 - 2022 by Arne Blankerts and Contributors Scanning directory src Autoload file src/autoload.php generated. mkdir --parents vendor GuzzleHttp phpabtpl \ --require guzzlehttp/psr7 \ --require http-interop/http-factory-tests \ > debian/autoload.tests.php.tpl Proceeding without a composer.json file.phpab \ --output vendor/autoload.php \ --template debian/autoload.tests.php.tpl \ tests phpab %development% - Copyright (C) 2009 - 2022 by Arne Blankerts and Contributors Scanning directory tests Autoload file vendor/autoload.php generated. ln -s ../src GuzzleHttp/Psr7 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules override_dh_auto_test make[1]: Entering directory '/<<PKGBUILDDIR>>' php -S 127.0.0.1:10002 tests/Integration/server.php & TEST_SERVER=127.0.0.1:10002 phpunit -v [Mon Jan 23 10:13:36 2023] PHP 8.2.1 Development Server (http://127.0.0.1:10002) started PHPUnit 9.5.28 by Sebastian Bergmann and contributors. Runtime: PHP 8.2.1 Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist Warning: Your XML configuration validates against a deprecated schema. Suggestion: Migrate your XML configuration using "--migrate-configuration"! ...........S...........................S....................... 63 / 993 ( 6%) ............................................................... 126 / 993 ( 12%) .........................S..................................... 189 / 993 ( 19%) ............................................................... 252 / 993 ( 25%) ............................................................... 315 / 993 ( 31%) ..................................................S............ 378 / 993 ( 38%) ............................................................... 441 / 993 ( 44%) ............................................................... 504 / 993 ( 50%) ............................................................... 567 / 993 ( 57%) ............................................................... 630 / 993 ( 63%) ............................................................... 693 / 993 ( 69%) ............................................................... 756 / 993 ( 76%) ............................................................... 819 / 993 ( 82%) ............................................................... 882 / 993 ( 88%) ............................................................[Mon Jan 23 10:13:36 2023] 127.0.0.1:59062 Accepted [Mon Jan 23 10:13:36 2023] 127.0.0.1:59062 Closing ... 945 / 993 ( 95%) ................................................ 993 / 993 (100%) Time: 00:00.158, Memory: 14.00 MB There were 4 skipped tests: 1) GuzzleHttp\Tests\Psr7\AppendStreamTest::testCatchesExceptionsWhenCastingToString PHP < 7.4 is required. /<<PKGBUILDDIR>>/tests/AppendStreamTest.php:180 /<<PKGBUILDDIR>>/tests/AppendStreamTest.php:180 2) GuzzleHttp\Tests\Psr7\FnStreamTest::testThatConvertingStreamToStringWillTriggerErrorAndWillReturnEmptyString PHP < 7.4 is required. /<<PKGBUILDDIR>>/tests/FnStreamTest.php:104 /<<PKGBUILDDIR>>/tests/FnStreamTest.php:104 3) GuzzleHttp\Tests\Psr7\PumpStreamTest::testThatConvertingStreamToStringWillTriggerErrorAndWillReturnEmptyString PHP < 7.4 is required. /<<PKGBUILDDIR>>/tests/PumpStreamTest.php:83 /<<PKGBUILDDIR>>/tests/PumpStreamTest.php:83 4) GuzzleHttp\Tests\Psr7\StreamDecoratorTraitTest::testCatchesExceptionsWhenCastingToString PHP < 7.4 is required. /<<PKGBUILDDIR>>/tests/StreamDecoratorTraitTest.php:42 /<<PKGBUILDDIR>>/tests/StreamDecoratorTraitTest.php:42 OK, but incomplete, skipped, or risky tests! Tests: 993, Assertions: 2206, Skipped: 4. make[1]: Leaving directory '/<<PKGBUILDDIR>>' create-stamp debian/debhelper-build-stamp dh_prep -i dh_auto_install --destdir=debian/php-guzzlehttp-psr7/ -i dh_install -i dh_installdocs -i dh_installchangelogs -i dh_perl -i dh_phpcomposer -i OR-ed versions are not supported require:php (^7.2.5 || ^8.0) in file "/<<PKGBUILDDIR>>/composer.json". OR-ed versions are not supported require-dev:phpunit/phpunit (^8.5.29 || ^9.5.23) in file "/<<PKGBUILDDIR>>/composer.json". Ignoring line, too short: " " in file "/usr/share/pkg-php-tools/overrides/php-timer". Override: require:ralouphie/getallheaders (>= 3.0, < 4~~) -> require:__override__/php-getallheaders (>= 3.0, < 4~~). Override: require-dev:phpunit/phpunit -> require-dev:__override__/phpunit. dh_link -i dh_strip_nondeterminism -i dh_compress -i dh_fixperms -i dh_missing -i dh_installdeb -i dh_gencontrol -i dpkg-gencontrol: warning: Recommends field of package php-guzzlehttp-psr7: substitution variable ${phpcomposer:Debian-recommend} used, but is not defined dpkg-gencontrol: warning: Breaks field of package php-guzzlehttp-psr7: substitution variable ${phpcomposer:Debian-conflict} used, but is not defined dpkg-gencontrol: warning: Breaks field of package php-guzzlehttp-psr7: substitution variable ${phpcomposer:Debian-replace} used, but is not defined dpkg-gencontrol: warning: Replaces field of package php-guzzlehttp-psr7: substitution variable ${phpcomposer:Debian-replace} used, but is not defined dpkg-gencontrol: warning: package php-guzzlehttp-psr7: substitution variable ${phpcomposer:Debian-require-dev} unused, but is defined dpkg-gencontrol: warning: package php-guzzlehttp-psr7: substitution variable ${phpcomposer:name} unused, but is defined dh_md5sums -i dh_builddeb -i dpkg-deb: building package 'php-guzzlehttp-psr7' in '../php-guzzlehttp-psr7_2.4.3-1_all.deb'. dpkg-genbuildinfo --build=all -O../php-guzzlehttp-psr7_2.4.3-1_all.buildinfo dpkg-genchanges --build=all -O../php-guzzlehttp-psr7_2.4.3-1_all.changes dpkg-genchanges: warning: substitution variable ${phpcomposer:description} used, but is not defined dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) E: Build killed with signal TERM after 60 minutes of inactivity -------------------------------------------------------------------------------- Note the last line: E: Build killed with signal TERM after 60 minutes of inactivity This is really a configurable timeout in sbuild. I have it at 60 minutes, but this also happens in the official buildds: https://buildd.debian.org/status/fetch.php?pkg=php-guzzlehttp-psr7&arch=all&ver=2.4.3-1&stamp=1667045989&raw=0 Quote: ---------------------------------------------------------------------------------------------------------- dpkg-genchanges: warning: substitution variable ${phpcomposer:description} used, but is not defined dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) E: Build killed with signal TERM after 150 minutes of inactivity ---------------------------------------------------------------------------------------------------------- To reproduce, please try building the package with sbuild. [ Note: I'm not reporting this as an RC issue because the package "technically" builds ok (if you are patient enough...), but I don't really think this is ok for a stable release ]. --------------------------------------------------------------------- About the archive rebuild: The build was made using virtual machines from Hetzner, with enough memory, enough disk, and either one or two CPUs, using a reduced chroot with only build-essential packages (plus debhelper). If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.