[pkg-php-pear] Bug#1124191: php-league-csv: FTBFS: There were 2 failures

Santiago Vila sanvila at debian.org
Sun Dec 28 18:26:31 GMT 2025


Package: src:php-league-csv
Version: 9.24.1+dfsg-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot 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 add an affects on src:php-league-csv, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_clean
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- debian/php-league-csv.substvars debian/files
	rm -fr -- debian/php-league-csv/ debian/tmp/
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules execute_before_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 \
	--exclude '*Test.php' \
	--exclude '*TestCase.php' \
	src
phpab %development% - Copyright (C) 2009 - 2025 by Arne Blankerts and Contributors

Scanning directory src

Autoload file src/autoload.php generated.

make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules execute_before_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Build classloader for tests
mkdir --parents vendor
phpabtpl \
	--require-file ../src/autoload.php \
	--require doctrine/collections \
	> debian/autoload.tests.php.tpl
Proceeding without a composer.json file.phpab \
	--output vendor/autoload.php \
	--template debian/autoload.tests.php.tpl \
	src/*Test.php src/*TestCase.php \
	src/*/*Test.php src/*/*TestCase.php \
	src/*/*/*Test.php src/*/*/*TestCase.php
phpab %development% - Copyright (C) 2009 - 2025 by Arne Blankerts and Contributors

Scanning file src/AbstractCsvTest.php
Scanning file src/BomTest.php
Scanning file src/BufferTest.php
Scanning file src/CallbackStreamFilterTest.php
Scanning file src/CannotInsertRecordTest.php
Scanning file src/CharsetConverterTest.php
Scanning file src/ColumnConsistencyTest.php
Scanning file src/EncloseFieldTest.php
Scanning file src/EscapeFormulaTest.php
Scanning file src/HTMLConverterTest.php
Scanning file src/InfoTest.php
Scanning file src/JsonConverterTest.php
Scanning file src/MapIteratorTest.php
Scanning file src/RFC4180FieldTest.php
Scanning file src/RdbmsResultTest.php
Scanning file src/ReaderTest.php
Scanning file src/ResultSetTest.php
Scanning file src/StatementTest.php
Scanning file src/StreamTest.php
Scanning file src/SwapDelimiterTest.php
Scanning file src/WriterTest.php
Scanning file src/XMLConverterTest.php
Scanning file src/TabularDataReaderTestCase.php
Scanning file src/Serializer/CastToArrayTest.php
Scanning file src/Serializer/CastToBoolTest.php
Scanning file src/Serializer/CastToDateTest.php
Scanning file src/Serializer/CastToEnumTest.php
Scanning file src/Serializer/CastToFloatTest.php
Scanning file src/Serializer/CastToIntTest.php
Scanning file src/Serializer/CastToStringTest.php
Scanning file src/Serializer/DenormalizerTest.php
Scanning file src/Serializer/TypeCastingFailedTest.php
Scanning file src/Query/QueryTestCase.php
Scanning file src/Query/Constraint/ColumnTest.php
Scanning file src/Query/Constraint/ComparisonTest.php
Scanning file src/Query/Constraint/CriteriaTest.php
Scanning file src/Query/Constraint/OffsetTest.php
Scanning file src/Query/Constraint/TwoColumnsTest.php
Scanning file src/Query/Ordering/ColumnTest.php
Scanning file src/Query/Ordering/MultiSortTest.php

Autoload file vendor/autoload.php generated.

make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# TODO Remove XDEBUG_MODE=debug once https://bugs.xdebug.org/view.php?id=2328 is fixed
XDEBUG_MODE=debug phpunit --exclude-group network --no-coverage
PHPUnit 12.5.4 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.4.16
Configuration: /<<PKGBUILDDIR>>/phpunit.xml

...............................................................  63 / 684 (  9%)
............................................................... 126 / 684 ( 18%)
..........DDDDD................................................ 189 / 684 ( 27%)
....................................DDDDDDDDDDD................ 252 / 684 ( 36%)
............................................................... 315 / 684 ( 46%)
............................................................... 378 / 684 ( 55%)
............................................................... 441 / 684 ( 64%)
............................................................... 504 / 684 ( 73%)
............................................................... 567 / 684 ( 82%)
.......................D....................................... 630 / 684 ( 92%)
.....sbb,one
...FF............................................          684 / 684 (100%)

Time: 00:00.339, Memory: 16.00 MB

There were 2 failures:

1) League\Csv\StreamTest::testRewindThrowsException
Failed asserting that exception of type "League\Csv\UnavailableFeature" is thrown.

2) League\Csv\StreamTest::testCreateStreamWithNonSeekableStream
Failed asserting that exception of type "League\Csv\UnavailableFeature" is thrown.

FAILURES!
Tests: 684, Assertions: 1204, Failures: 2, Deprecations: 16.
make[1]: *** [debian/rules:40: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the pkg-php-pear mailing list