[pkg-php-pear] Bug#1129019: php-composer-class-map-generator: 1.7.1-1 FTBFS on Ubuntu resolute-proposed (with PHP 8.5)
Renan Rodrigo
rr at ubuntu.com
Wed Feb 25 20:45:09 GMT 2026
Source: php-composer-class-map-generator
Version: 1.1.0-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source
X-Debbugs-Cc: rr at ubuntu.com
Dear Maintainer,
There is an error trying to build the package with PHP 8.5. Logs can be
seen in:
https://launchpadlibrarian.net/848122790/buildlog_ubuntu-resolute-amd64.php-composer-class-map-generator_1.7.1-1_BUILDING.txt.gz
In the logs:
phpunit
PHPUnit 12.5.8 by Sebastian Bergmann and contributors.
Runtime: PHP 8.5.2
Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
.........E........ 18 / 18 (100%)
Time: 00:00.133, Memory: 10.00 MB
There was 1 error:
1) Composer\ClassMapGenerator\ClassMapGeneratorTest::testStreamWrapperSupport
RuntimeException: File at "test://BackslashLineEndingString.php" does not exist, check your classmap definitions
The following message may be helpful:
file_exists(): class at anonymous::url_stat is not implemented!
/<<PKGBUILDDIR>>/src/PhpFileParser.php:58
/<<PKGBUILDDIR>>/src/ClassMapGenerator.php:187
/<<PKGBUILDDIR>>/src/ClassMapGenerator.php:89
/<<PKGBUILDDIR>>/tests/ClassMapGeneratorTest.php:230
ERRORS!
Tests: 18, Assertions: 40, Errors: 1, Warnings: 1, Deprecations: 1, PHPUnit Deprecations: 1.
make[1]: *** [debian/rules:23: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2a
Seems the wrapper class in the test is missing url_stat.
-- System Information:
Debian Release: trixie/sid
APT prefers noble-updates
APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'), (100, 'noble-backports')
Architecture: amd64 (x86_64)
Kernel: Linux 6.17.0-14-generic (SMP w/22 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
More information about the pkg-php-pear
mailing list