Your message dated Wed, 28 Oct 2026 18:46:27 +0000
with message-id <[email protected]>
and subject line Bug#1152167: Removed package(s) from unstable
has caused the Debian Bug report #1039795,
regarding phpmd: FTBFS with phpunit 10: make[1]: *** [debian/rules:22:
override_dh_auto_test] Error 2
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1039795: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039795
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: phpmd
Version: 2.13.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: phpunit
Hi,
We will start the phpunit 10 transition in unstable soon. During a test
rebuild, phpmd was found to FTBFS.
To reproduce this locally, you need to install the phpunit 10 package (and any
other dependency, which should also be available) from experimental on an
unstable system or build chroot.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpunit --include-path src/main/php
> PHPUnit 10.2.2 by Sebastian Bergmann and contributors.
>
> Runtime: PHP 8.2.7
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
>
> D.............................................................. 63 / 708 (
> 8%)
> ...........................EEEEEE............RR.EER.R.....E.... 126 / 708 (
> 17%)
> .......E....................................................... 189 / 708 (
> 26%)
> ............................................................... 252 / 708 (
> 35%)
> ............................................................... 315 / 708 (
> 44%)
> ............................................................... 378 / 708 (
> 53%)
> ............................................................... 441 / 708 (
> 62%)
> ............................................................... 504 / 708 (
> 71%)
> ............................................................... 567 / 708 (
> 80%)
> ............................................................... 630 / 708 (
> 88%)
> ............................................................... 693 / 708 (
> 97%)
> ............... 708 / 708
> (100%)
>
> Time: 00:01.028, Memory: 34.00 MB
>
> There were 3 PHPUnit test runner warnings:
>
> 1) Class PHPMD\AbstractStaticTest declared in
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/AbstractStaticTest.php is abstract
>
> 2) Class PHPMD\AbstractTest declared in
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/AbstractTest.php is abstract
>
> 3) Class PHPMD\Regression\AbstractTest declared in
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Regression/AbstractTest.php is abstract
>
> --
>
> There was 1 PHPUnit test runner deprecation:
>
> 1) Your XML configuration validates against a deprecated schema. Migrate your
> XML configuration using "--migrate-configuration"!
>
> --
>
> There were 10 errors:
>
> 1) PHPMD\ParserFactoryTest::testFactoryConfiguresInputDirectory
> Error: Call to undefined method
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/ParserFactoryTest.php:40
>
> 2) PHPMD\ParserFactoryTest::testFactoryConfiguresInputFile
> Error: Call to undefined method
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/ParserFactoryTest.php:66
>
> 3) PHPMD\ParserFactoryTest::testFactoryConfiguresMultipleInputDirectories
> Error: Call to undefined method
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/ParserFactoryTest.php:93
>
> 4)
> PHPMD\ParserFactoryTest::testFactoryConfiguresMultipleInputFilesAndDirectories
> Error: Call to undefined method
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/ParserFactoryTest.php:118
>
> 5) PHPMD\ParserFactoryTest::testFactoryConfiguresIgnorePattern
> Error: Call to undefined method
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/ParserFactoryTest.php:143
>
> 6) PHPMD\ParserFactoryTest::testFactoryConfiguresFileExtensions
> Error: Call to undefined method
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/ParserFactoryTest.php:168
>
> 7)
> PHPMD\Regression\ExcessivePublicCountWorksCorrectlyWithStaticMethodsTest::testReportIsGeneratedIWithNoSuppression
> Error: Call to undefined method
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Regression/ExcessivePublicCountWorksCorrectlyWithStaticMethodsTest.php:49
>
> 8)
> PHPMD\Regression\ExcessivePublicCountWorksCorrectlyWithStaticMethodsTest::testReportIsNotGeneratedIWithSuppression
> Error: Call to undefined method
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Regression/ExcessivePublicCountWorksCorrectlyWithStaticMethodsTest.php:49
>
> 9) PHPMD\Renderer\AnsiRendererTest::testRendererOutputsForReportWithContents
> Error: Call to undefined method
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/AbstractTest.php:625
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Renderer/AnsiRendererTest.php:46
>
> 10) PHPMD\Renderer\HTMLRendererTest::testRendererCreatesExpectedHtmlTableRow
> Error: Call to undefined method
> PHPMD\Renderer\HTMLRendererTest::assertRegExp()
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Renderer/HTMLRendererTest.php:59
>
> --
>
> 16 tests triggered 16 PHPUnit deprecations:
>
> 1) PHPMD\Baseline\BaselineValidatorTest::testIsBaselined
> Data Provider method PHPMD\Baseline\BaselineValidatorTest::dataProvider() is
> not static
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Baseline/BaselineValidatorTest.php:45
>
> 2) PHPMD\ProcessingErrorTest::testGetFileReturnsExpectedFileName
> Data Provider method PHPMD\ProcessingErrorTest::getParserExceptionMessages()
> is not static
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/ProcessingErrorTest.php:48
>
> 3) PHPMD\Rule\CleanCode\MissingImportTest::testRuleAppliesTo
> Data Provider method
> PHPMD\Rule\CleanCode\MissingImportTest::getApplyingCases() is not static
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Rule/CleanCode/MissingImportTest.php:48
>
> 4) PHPMD\Rule\CleanCode\MissingImportTest::testRuleDoesNotApplyTo
> Data Provider method
> PHPMD\Rule\CleanCode\MissingImportTest::getNotApplyingCases() is not static
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Rule/CleanCode/MissingImportTest.php:63
>
> 5) PHPMD\Rule\CleanCode\UndefinedVariableTest::testRuleAppliesTo
> Data Provider method
> PHPMD\Rule\CleanCode\UndefinedVariableTest::getApplyingCases() is not static
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Rule/CleanCode/UndefinedVariableTest.php:46
>
> 6) PHPMD\Rule\CleanCode\UndefinedVariableTest::testRuleDoesNotApplyTo
> Data Provider method
> PHPMD\Rule\CleanCode\UndefinedVariableTest::getNotApplyingCases() is not
> static
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Rule/CleanCode/UndefinedVariableTest.php:58
>
> 7)
> PHPMD\Rule\Naming\ShortVariableTest::testRuleAppliesToVariablesWithinForeach
> Data Provider method
> PHPMD\Rule\Naming\ShortVariableTest::provideClassWithShortForeachVariables()
> is not static
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Rule/Naming/ShortVariableTest.php:369
>
> 8) PHPMD\Rule\UnusedLocalVariableTest::testRuleAppliesTo
> Data Provider method PHPMD\Rule\UnusedLocalVariableTest::getApplyingCases()
> is not static
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Rule/UnusedLocalVariableTest.php:63
>
> 9) PHPMD\Rule\UnusedLocalVariableTest::testRuleDoesNotApplyTo
> Data Provider method
> PHPMD\Rule\UnusedLocalVariableTest::getNotApplyingCases() is not static
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Rule/UnusedLocalVariableTest.php:75
>
> 10) PHPMD\RuleSetFactoryTest::testDefaultRuleSetsProvideExternalInfoUrls
> Data Provider method PHPMD\RuleSetFactoryTest::getDefaultRuleSets() is not
> static
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/RuleSetFactoryTest.php:729
>
> 11) PHPMD\TextUI\CommandLineOptionsTest::testCreateRenderer
> Data Provider method
> PHPMD\TextUI\CommandLineOptionsTest::dataProviderCreateRenderer() is not
> static
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/TextUI/CommandLineOptionsTest.php:445
>
> 12) PHPMD\TextUI\CommandLineOptionsTest::testCreateRendererThrowsException
> Data Provider method
> PHPMD\TextUI\CommandLineOptionsTest::dataProviderCreateRendererThrowsException()
> is not static
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/TextUI/CommandLineOptionsTest.php:475
>
> 13) PHPMD\TextUI\CommandLineOptionsTest::testDeprecatedCliOptions
> Data Provider method
> PHPMD\TextUI\CommandLineOptionsTest::dataProviderDeprecatedCliOptions() is
> not static
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/TextUI/CommandLineOptionsTest.php:500
>
> 14) PHPMD\TextUI\CommandLineOptionsTest::testGetReportFiles
> Data Provider method
> PHPMD\TextUI\CommandLineOptionsTest::dataProviderGetReportFiles() is not
> static
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/TextUI/CommandLineOptionsTest.php:536
>
> 15) PHPMD\TextUI\CommandTest::testMainStrictOptionIsOfByDefault
> Data Provider method
> PHPMD\TextUI\CommandTest::dataProviderTestMainWithOption() is not static
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/TextUI/CommandTest.php:55
>
> 16) PHPMD\TextUI\CommandTest::testWithFilter
> Data Provider method PHPMD\TextUI\CommandTest::dataProviderWithFilter() is
> not static
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/TextUI/CommandTest.php:207
>
> --
>
> There were 13 risky tests:
>
> 1) PHPMD\ParserFactoryTest::testFactoryConfiguresInputDirectory
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/ParserFactoryTest.php:32
>
> 2) PHPMD\ParserFactoryTest::testFactoryConfiguresInputFile
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/ParserFactoryTest.php:58
>
> 3) PHPMD\ParserFactoryTest::testFactoryConfiguresMultipleInputDirectories
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/ParserFactoryTest.php:84
>
> 4)
> PHPMD\ParserFactoryTest::testFactoryConfiguresMultipleInputFilesAndDirectories
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/ParserFactoryTest.php:111
>
> 5) PHPMD\ParserFactoryTest::testFactoryConfiguresIgnorePattern
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/ParserFactoryTest.php:135
>
> 6) PHPMD\ParserFactoryTest::testFactoryConfiguresFileExtensions
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/ParserFactoryTest.php:160
>
> 7)
> PHPMD\Regression\AcceptsFilesAndDirectoriesAsInputTicket001Test::testCliAcceptsDirectoryAsInput
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Regression/AcceptsFilesAndDirectoriesAsInputTicket001Test.php:38
>
> 8)
> PHPMD\Regression\AcceptsFilesAndDirectoriesAsInputTicket001Test::testCliAcceptsSingleFileAsInput
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Regression/AcceptsFilesAndDirectoriesAsInputTicket001Test.php:60
>
> 9)
> PHPMD\Regression\ExcessivePublicCountWorksCorrectlyWithStaticMethodsTest::testReportIsGeneratedIWithNoSuppression
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Regression/ExcessivePublicCountWorksCorrectlyWithStaticMethodsTest.php:64
>
> 10)
> PHPMD\Regression\ExcessivePublicCountWorksCorrectlyWithStaticMethodsTest::testReportIsNotGeneratedIWithSuppression
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Regression/ExcessivePublicCountWorksCorrectlyWithStaticMethodsTest.php:105
>
> 11)
> PHPMD\Regression\MaximumNestingLevelTicket24975295Test::testLocalVariableUsedInDoubleQuoteStringGetsNotReported
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Regression/MaximumNestingLevelTicket24975295Test.php:42
>
> 12) PHPMD\Renderer\AnsiRendererTest::testRendererOutputsForReportWithContents
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Renderer/AnsiRendererTest.php:35
>
> 13) PHPMD\Renderer\HTMLRendererTest::testRendererCreatesExpectedHtmlTableRow
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/src/test/php/PHPMD/Renderer/HTMLRendererTest.php:36
>
> ERRORS!
> Tests: 708, Assertions: 910, Errors: 10, Warnings: 3, Deprecations: 17,
> Risky: 13.
> make[1]: *** [debian/rules:22: override_dh_auto_test] Error 2
The full build logs and additional context is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/phpmd/
A phpunit reverse-dependencies rebuild status is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/index.html
--
Athos Ribeiro
--- End Message ---
--- Begin Message ---
Version: 2.15.0-2+rm
Dear submitter,
as the package phpmd has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/1152167
The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)
--- End Message ---