[Debian-matomo-maintainers] Bug#1117408: matomo-component-network: FTBFS: Tests: 25, Assertions: 5, Errors: 20.
Santiago Vila
sanvila at debian.org
Sun Oct 5 18:34:55 BST 2025
Package: src:matomo-component-network
Version: 2.0.1-2.1
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/202510/
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:matomo-component-network, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
phpabtpl \
--basedir . \
composer.json \
> debian/autoload.php.tpl
phpab --output src/autoload.php \
--template debian/autoload.php.tpl src/
phpab %development% - Copyright (C) 2009 - 2024 by Arne Blankerts and Contributors
Scanning directory src/
Autoload file src/autoload.php generated.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
phpunit tests/ --no-coverage --do-not-cache-result --bootstrap ./src/autoload.php
PHPUnit 12.4.0 by Sebastian Bergmann and contributors.
Runtime: PHP 8.4.11
EEEE...EE..EEEEEEEEEEEEEE 25 / 25 (100%)
Time: 00:00.007, Memory: 8.00 MB
There were 20 errors:
1) Tests\Matomo\Network\IPTest::testFromBinaryIP
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPTest::testFromBinaryIP(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 3 expected
/<<PKGBUILDDIR>>/tests/IPTest.php:49
2) Tests\Matomo\Network\IPTest::testFromBinaryIPOnEmptyAndNull
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPTest::testFromBinaryIPOnEmptyAndNull(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 3 expected
/<<PKGBUILDDIR>>/tests/IPTest.php:63
3) Tests\Matomo\Network\IPTest::testFromStringIP
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPTest::testFromStringIP(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 2 expected
/<<PKGBUILDDIR>>/tests/IPTest.php:77
4) Tests\Matomo\Network\IPTest::testFromStringIPOnEmptyAndNull
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPTest::testFromStringIPOnEmptyAndNull(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 3 expected
/<<PKGBUILDDIR>>/tests/IPTest.php:89
5) Tests\Matomo\Network\IPTest::testIsInRange
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPTest::testIsInRange(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 2 expected
/<<PKGBUILDDIR>>/tests/IPTest.php:235
6) Tests\Matomo\Network\IPTest::testIsInRangeOnEmptyIPRange
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPTest::testIsInRangeOnEmptyIPRange(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 1 expected
/<<PKGBUILDDIR>>/tests/IPTest.php:254
7) Tests\Matomo\Network\IPTest::testIsInRanges
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPTest::testIsInRanges(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 2 expected
/<<PKGBUILDDIR>>/tests/IPTest.php:278
8) Tests\Matomo\Network\IPUtilsTest::testSanitizeIp
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPUtilsTest::testSanitizeIp(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 2 expected
/<<PKGBUILDDIR>>/tests/IPUtilsTest.php:64
9) Tests\Matomo\Network\IPUtilsTest::testSanitizeIpRange
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPUtilsTest::testSanitizeIpRange(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 2 expected
/<<PKGBUILDDIR>>/tests/IPUtilsTest.php:134
10) Tests\Matomo\Network\IPUtilsTest::testStringToBinaryIP
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPUtilsTest::testStringToBinaryIP(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 2 expected
/<<PKGBUILDDIR>>/tests/IPUtilsTest.php:160
11) Tests\Matomo\Network\IPUtilsTest::testStringToBinaryInvalidIP
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPUtilsTest::testStringToBinaryInvalidIP(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 1 expected
/<<PKGBUILDDIR>>/tests/IPUtilsTest.php:192
12) Tests\Matomo\Network\IPUtilsTest::testBinaryToStringIP
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPUtilsTest::testBinaryToStringIP(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 2 expected
/<<PKGBUILDDIR>>/tests/IPUtilsTest.php:226
13) Tests\Matomo\Network\IPUtilsTest::testBinaryToStringInvalidIP
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPUtilsTest::testBinaryToStringInvalidIP(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 1 expected
/<<PKGBUILDDIR>>/tests/IPUtilsTest.php:234
14) Tests\Matomo\Network\IPUtilsTest::testGetIPRangeBounds
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPUtilsTest::testGetIPRangeBounds(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 2 expected
/<<PKGBUILDDIR>>/tests/IPUtilsTest.php:339
15) Tests\Matomo\Network\IPv4Test::testToIPv4String
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPv4Test::testToIPv4String(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 2 expected
/<<PKGBUILDDIR>>/tests/IPv4Test.php:31
16) Tests\Matomo\Network\IPv4Test::testAnonymize
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPv4Test::testAnonymize(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 2 expected
/<<PKGBUILDDIR>>/tests/IPv4Test.php:63
17) Tests\Matomo\Network\IPv6Test::testToIPv4String
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPv6Test::testToIPv4String(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 2 expected
/<<PKGBUILDDIR>>/tests/IPv6Test.php:31
18) Tests\Matomo\Network\IPv6Test::testIsMappedIPv4
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPv6Test::testIsMappedIPv4(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 2 expected
/<<PKGBUILDDIR>>/tests/IPv6Test.php:61
19) Tests\Matomo\Network\IPv6Test::testAnonymize
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPv6Test::testAnonymize(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 2 expected
/<<PKGBUILDDIR>>/tests/IPv6Test.php:89
20) Tests\Matomo\Network\IPv6Test::testAnonymizeIPv4MappedAdresses
ArgumentCountError: Too few arguments to function Tests\Matomo\Network\IPv6Test::testAnonymizeIPv4MappedAdresses(), 0 passed in /usr/share/php/PHPUnit/Framework/TestCase.php on line 1317 and exactly 2 expected
/<<PKGBUILDDIR>>/tests/IPv6Test.php:126
ERRORS!
Tests: 25, Assertions: 5, Errors: 20.
make[1]: *** [debian/rules:17: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Debian-matomo-maintainers
mailing list