[From nobody Wed Oct 28 18:47:10 2026
Received: (at submit) by bugs.debian.org; 6 May 2024 14:31:35 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.2 required=4.0 tests=BAYES_00,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,
 RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,WORD_WITHOUT_VOWELS
 autolearn=no autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 23; hammy, 150; neutral, 120; spammy,
 0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
 0.000-+--PKGBUILDDIR, 0.000-+--trixie, 0.000-+--UD:ubuntu.com,
 0.000-+--UD:build
Return-path: &lt;athoscribeiro@gmail.com&gt;
Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]:58556)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128)
 (Exim 4.94.2) (envelope-from &lt;athoscribeiro@gmail.com&gt;)
 id 1s3zNP-001daB-FK
 for submit@bugs.debian.org; Mon, 06 May 2024 14:31:35 +0000
Received: by mail-pg1-x534.google.com with SMTP id
 41be03b00d2f7-61c4ebd0c99so1279877a12.0
 for &lt;submit@bugs.debian.org&gt;; Mon, 06 May 2024 07:31:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1715005894; x=1715610694; darn=bugs.debian.org;
 h=content-disposition:mime-version:message-id:subject:to:from:date
 :from:to:cc:subject:date:message-id:reply-to;
 bh=nwC+rRXmwnS8WcOeA+nsMSmhtyYG0ZAcN5/hLsRuia4=;
 b=cIqqTrQQFGt9ibkYzc02EdYp6s6j/EtQ460JvYt5JQyMyskImeMJxxs7xS8tbFUVyA
 QMamjjIVdhq/AbsF4rJDrclrcX86MygG/aaqZSoc/dD0iRag4ANoUsXrLggoqub7ozeG
 0ZxjTZgorrcZNxvxSTFTGhVsgayCK6DZ6qE5JEmFl7EynXlxOGf6yWvsWg4yOaRTXaLP
 rElUIFMVfGazBANgFnA89UiObZCyyh7L2kF4Iy6ET/aClXfl6jADKXHwdO4HtF3CeaOR
 n453/KTAXUheTTWL3ccCpGynejozsQNaI8B1Ah+qygz9GpLPJzKQKXBoYchpO6451mqE
 AB8Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1715005894; x=1715610694;
 h=content-disposition:mime-version:message-id:subject:to:from:date
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=nwC+rRXmwnS8WcOeA+nsMSmhtyYG0ZAcN5/hLsRuia4=;
 b=vYKzrI4n6F3bn2q4aHZRa6WYc+wIG7920dngdhLpuAT9JsVR5ZVc9gK/uXZpzWt32J
 vqNh6/TZivo5/+Up84JHu7/XL3/U73OSTE6Hh/ejT+EG7SXrJAzGvIZUHV24sc8fdaL9
 Q/b542EEx/cm7Q26DIqA2dkA6j00z/x3RKLVpafguAf99ZNrQ0Nfukse904y/1cycTGR
 Jzb9jlG4VBlwba5dQIYXF2tQkd9UW6qJjU4/efGviMQQ/QCmO9F8xWFjFnSdHdoMx9Ce
 ux12X01/iC5/U9W8k+L6seoSkmgSqsgKAl/xHsUQwkTUoN/Rd1xsujdll47NnMt7fB3C
 ldSg==
X-Gm-Message-State: AOJu0YyYVVHL6MmIaqqq04X0xgdO5oBBsD7YE7AgL6sJYEgqaxoUlqNC
 pcjTnA0nWhJVpQv77CgwmhVwqTzGZZ6Kv6pRyFbRX6AwOa0BbFLgjSjQ2w==
X-Google-Smtp-Source: AGHT+IF0E3g5RLqOMJW/7TeJ22gaBRl2wyRmP4RiNMwtjo1v43NWuWT+Z9Qchf//DsIX1YmrSFFJuw==
X-Received: by 2002:a17:90b:46d0:b0:2a2:cf1d:895c with SMTP id
 jx16-20020a17090b46d000b002a2cf1d895cmr8173149pjb.41.1715005893553; 
 Mon, 06 May 2024 07:31:33 -0700 (PDT)
Received: from localhost ([2804:6368:a4:300:a8df:2587:521b:696f])
 by smtp.gmail.com with ESMTPSA id
 mn19-20020a17090b189300b002a232e4f9ddsm8201199pjb.34.2024.05.06.07.31.32
 for &lt;submit@bugs.debian.org&gt;
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 06 May 2024 07:31:33 -0700 (PDT)
Date: Mon, 6 May 2024 11:31:30 -0300
From: Athos Ribeiro &lt;athoscribeiro@gmail.com&gt;
To: submit@bugs.debian.org
Subject: phpcpd: FTBFS with phpunit 11: There were 7 PHPUnit errors
Message-ID: &lt;ZjjpwlEOT3zg_Kew@castor&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Delivered-To: submit@bugs.debian.org

Source: phpcpd
Version: 6.0.3-3
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-pear@lists.alioth.debian.org
Usertags: phpunit11

Hi,

phpunit 11 is out and is now available in experimental. During a test rebuild,
phpcpd was found to fail to build with this new phpunit version.

To reproduce this locally, you need to install phpunit from experimental on an
unstable system or build chroot.

Relevant part (hopefully):
&gt; make[1]: Entering directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt; phpunit --bootstrap src/autoload.php
&gt; PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
&gt; 
&gt; Runtime:       PHP 8.2.18
&gt; Configuration: /&lt;&lt;PKGBUILDDIR&gt;&gt;/phpunit.xml
&gt; 
&gt; .                                                                   1 / 1 (100%)
&gt; 
&gt; Time: 00:00.004, Memory: 8.00 MB
&gt; 
&gt; There were 7 PHPUnit errors:
&gt; 
&gt; 1) SebastianBergmann\PHPCPD\Detector\DetectorTest::testDetectingSimpleClonesWorks
&gt; The data provider specified for SebastianBergmann\PHPCPD\Detector\DetectorTest::testDetectingSimpleClonesWorks is invalid
&gt; Data Provider method SebastianBergmann\PHPCPD\Detector\DetectorTest::strategyProvider() is not static
&gt; 
&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/tests/unit/DetectorTest.php:33
&gt; 
&gt; 2) SebastianBergmann\PHPCPD\Detector\DetectorTest::testDetectingExactDuplicateFilesWorks
&gt; The data provider specified for SebastianBergmann\PHPCPD\Detector\DetectorTest::testDetectingExactDuplicateFilesWorks is invalid
&gt; Data Provider method SebastianBergmann\PHPCPD\Detector\DetectorTest::strategyProvider() is not static
&gt; 
&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/tests/unit/DetectorTest.php:123
&gt; 
&gt; 3) SebastianBergmann\PHPCPD\Detector\DetectorTest::testDetectingClonesInMoreThanTwoFiles
&gt; The data provider specified for SebastianBergmann\PHPCPD\Detector\DetectorTest::testDetectingClonesInMoreThanTwoFiles is invalid
&gt; Data Provider method SebastianBergmann\PHPCPD\Detector\DetectorTest::strategyProvider() is not static
&gt; 
&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/tests/unit/DetectorTest.php:155
&gt; 
&gt; 4) SebastianBergmann\PHPCPD\Detector\DetectorTest::testClonesAreIgnoredIfTheySpanLessTokensThanMinTokens
&gt; The data provider specified for SebastianBergmann\PHPCPD\Detector\DetectorTest::testClonesAreIgnoredIfTheySpanLessTokensThanMinTokens is invalid
&gt; Data Provider method SebastianBergmann\PHPCPD\Detector\DetectorTest::strategyProvider() is not static
&gt; 
&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/tests/unit/DetectorTest.php:193
&gt; 
&gt; 5) SebastianBergmann\PHPCPD\Detector\DetectorTest::testClonesAreIgnoredIfTheySpanLessLinesThanMinLines
&gt; The data provider specified for SebastianBergmann\PHPCPD\Detector\DetectorTest::testClonesAreIgnoredIfTheySpanLessLinesThanMinLines is invalid
&gt; Data Provider method SebastianBergmann\PHPCPD\Detector\DetectorTest::strategyProvider() is not static
&gt; 
&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/tests/unit/DetectorTest.php:212
&gt; 
&gt; 6) SebastianBergmann\PHPCPD\Detector\DetectorTest::testFuzzyClonesAreFound
&gt; The data provider specified for SebastianBergmann\PHPCPD\Detector\DetectorTest::testFuzzyClonesAreFound is invalid
&gt; Data Provider method SebastianBergmann\PHPCPD\Detector\DetectorTest::strategyProvider() is not static
&gt; 
&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/tests/unit/DetectorTest.php:231
&gt; 
&gt; 7) SebastianBergmann\PHPCPD\Detector\DetectorTest::testStripComments
&gt; The data provider specified for SebastianBergmann\PHPCPD\Detector\DetectorTest::testStripComments is invalid
&gt; Data Provider method SebastianBergmann\PHPCPD\Detector\DetectorTest::strategyProvider() is not static
&gt; 
&gt; /&lt;&lt;PKGBUILDDIR&gt;&gt;/tests/unit/DetectorTest.php:251
&gt; 
&gt; --
&gt; 
&gt; There was 1 PHPUnit test runner warning:
&gt; 
&gt; 1) No tests found in class &quot;SebastianBergmann\PHPCPD\Detector\DetectorTest&quot;.
&gt; 
&gt; --
&gt; 
&gt; There were 10 PHPUnit test runner deprecations:
&gt; 
&gt; 1) Your XML configuration validates against a deprecated schema. Migrate your XML configuration using &quot;--migrate-configuration&quot;!
&gt; 
&gt; 2) Metadata found in doc-comment for method SebastianBergmann\PHPCPD\Detector\DetectorTest::testDetectingSimpleClonesWorks(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
&gt; 
&gt; 3) Metadata found in doc-comment for class SebastianBergmann\PHPCPD\Detector\DetectorTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
&gt; 
&gt; 4) Metadata found in doc-comment for method SebastianBergmann\PHPCPD\Detector\DetectorTest::testDetectingExactDuplicateFilesWorks(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
&gt; 
&gt; 5) Metadata found in doc-comment for method SebastianBergmann\PHPCPD\Detector\DetectorTest::testDetectingClonesInMoreThanTwoFiles(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
&gt; 
&gt; 6) Metadata found in doc-comment for method SebastianBergmann\PHPCPD\Detector\DetectorTest::testClonesAreIgnoredIfTheySpanLessTokensThanMinTokens(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
&gt; 
&gt; 7) Metadata found in doc-comment for method SebastianBergmann\PHPCPD\Detector\DetectorTest::testClonesAreIgnoredIfTheySpanLessLinesThanMinLines(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
&gt; 
&gt; 8) Metadata found in doc-comment for method SebastianBergmann\PHPCPD\Detector\DetectorTest::testFuzzyClonesAreFound(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
&gt; 
&gt; 9) Metadata found in doc-comment for method SebastianBergmann\PHPCPD\Detector\DetectorTest::testStripComments(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
&gt; 
&gt; 10) Metadata found in doc-comment for class SebastianBergmann\PHPCPD\Log\PMDTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
&gt; 
&gt; ERRORS!
&gt; Tests: 1, Assertions: 1, Errors: 7, Warnings: 1, Deprecations: 10.
&gt; make[1]: *** [debian/rules:16: override_dh_auto_test] Error 2


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/phpcpd/phpcpd_6.0.3-3+rebuild1714365883_amd64-2024-04-29T04:44:44Z.build
]