[From nobody Wed Oct 28 18:47:06 2026
Received: (at submit) by bugs.debian.org; 28 Jun 2023 21:01:02 +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=-4.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,T_SCC_BODY_TEXT_LINE
 autolearn=ham autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 26; hammy, 150; neutral, 122; spammy,
 0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
 0.000-+--PKGBUILDDIR, 0.000-+--UD:ubuntu.com, 0.000-+--testcase,
 0.000-+--sk:pkgphp
Return-path: &lt;athoscribeiro@gmail.com&gt;
Received: from mail-oa1-x2b.google.com ([2001:4860:4864:20::2b]:50658)
 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 1qEcHe-00FHy7-I1
 for submit@bugs.debian.org; Wed, 28 Jun 2023 21:01:02 +0000
Received: by mail-oa1-x2b.google.com with SMTP id
 586e51a60fabf-19fa4346498so136061fac.1
 for &lt;submit@bugs.debian.org&gt;; Wed, 28 Jun 2023 14:01:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1687986061; x=1690578061;
 h=content-disposition:mime-version:message-id:subject:to:from:date
 :from:to:cc:subject:date:message-id:reply-to;
 bh=19kYC6p7uYOupdhTa3y6agRvf8NzsYDtinzMbuBQSTk=;
 b=CzvSwd82LQILUmGX0BHUpiuRz4wV1s/DlneLWhoUUNf8BqxsBVMwWOyd/+idPQMJ6i
 o+Cl5KOvchuqPnLr3o/sZS2xu1Gcf8I+oDdmVU91sHQu2WE7TFTC18xmNt3QavBfrkmg
 B+gdmmGiVtUkm1bTq5JUC0dadFRUYqMoqiL+Fn2W9mpMHpsKBSykeVYLg2EPLYq29Jou
 rRPaPt7tCIe/8QcoD/pyEXmDJ5pfaMkeQAuZZShK2z+mOgw/+Lvdki/AY3kIkEVtkJm1
 GS7BA7RTZOa5dAoWfz6hZWHmiyJ90nGy8iqLAhdyTSbywQHh3i4kKY7JriqkrZ4aJuWy
 ruqQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1687986061; x=1690578061;
 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=19kYC6p7uYOupdhTa3y6agRvf8NzsYDtinzMbuBQSTk=;
 b=YLrp2tBE/U7gNG1WKDB/E7lYPp4u/iMB/Vc4Boe9cUpi+Cj4VapXmyM2ePf6LIBCZx
 GYRVTf0d3ZEX10XZ436tOuLt6gnsrYqiDm3dVsdbj0arZn1NY2oiibcN4P20fV9c2t58
 tCXCGhYzbP2eiBVh9PO8aEFljjLOaLSDnXM632uqcwN1ywh5YoHJ2Rdbk4xaxw8mzM5/
 10g83nIPBfqkQcMW4auGS8cfto/UFFT+L1ka3V7dAM5Qomj4BbXQwrg01CQEtqyRh5Dr
 tvE6Th/CSox4ehJY+uTuyumI9Izb43GBNb5EcxGH4CRbhMQRJ2RWo9z5mzvq3poGJ093
 nrwQ==
X-Gm-Message-State: AC+VfDxmBPGpLeiOLNvMXyEr4nXWjqQ+A4ah/34hEECI8IcWWTGXoE2A
 uocMRY0kM4/AbFmJlmmybxHNGNSjXr0=
X-Google-Smtp-Source: ACHHUZ4BFVT3qbtJ8aJzYE/JeBz9eeRGcUQtg80oqGL1WP5vJnTPVTQ9eBwJfDkswPb0CWR5zAgRuA==
X-Received: by 2002:a05:6870:3742:b0:1b0:7078:58ad with SMTP id
 a2-20020a056870374200b001b0707858admr4461964oak.38.1687986060773; 
 Wed, 28 Jun 2023 14:01:00 -0700 (PDT)
Received: from localhost ([177.37.44.218]) by smtp.gmail.com with ESMTPSA id
 q9-20020a056870808900b001a6a3f99691sm6866477oab.27.2023.06.28.14.00.59
 for &lt;submit@bugs.debian.org&gt;
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 28 Jun 2023 14:01:00 -0700 (PDT)
Date: Wed, 28 Jun 2023 18:00:56 -0300
From: Athos Ribeiro &lt;athoscribeiro@gmail.com&gt;
To: submit@bugs.debian.org
Subject: pdepend: FTBFS with phpunit 10: PHP Fatal error:  Declaration of
 PDepend\AbstractTest::runTest() must be compatible with
 PHPUnit\Framework\TestCase::runTest(): mixed in
 /&lt;&lt;PKGBUILDDIR&gt;&gt;/build/src/test/php/PDepend/AbstractTest.php on line 132
Message-ID: &lt;ZJyfiP7gHjb4XPHP@castor&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Delivered-To: submit@bugs.debian.org

Source: pdepend
Version: 2.12.1-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-pear@lists.alioth.debian.org
Usertags: phpunit

Hi,

We will start the phpunit 10 transition in unstable soon. During a test
rebuild, pdepend 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):
&gt; make[1]: Entering directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt; mkdir -p build/src/main/php/data/PDepend build/vendor
&gt; cp -a build.properties phpunit.xml.dist src build
&gt; cp -a src/main/resources build/src/main/php/data/PDepend
&gt; phpabtpl composer.json &gt; debian/autoload.php.tpl
&gt; phpab \
&gt; 	--output build/src/main/php/PDepend/autoload.php \
&gt; 	--template debian/autoload.php.tpl \
&gt; 	build/src/main/php/PDepend
&gt; phpab %development% - Copyright (C) 2009 - 2023 by Arne Blankerts and Contributors
&gt; 
&gt; Scanning directory build/src/main/php/PDepend
&gt; 
&gt; Autoload file build/src/main/php/PDepend/autoload.php generated.
&gt; 
&gt; sed -i s,@php_bin@,workaround,	build/src/bin/pdepend
&gt; sed -i s,@package_version@,2.12.1,	\
&gt; 	build/src/main/php/PDepend/Report/*/Xml.php \
&gt; 	build/src/test/php/PDepend/Report/*/_expected/*.xml \
&gt; 	build/src/main/php/PDepend/TextUI/Command.php
&gt; phpabtpl --require pdepend/pdepend &gt; debian/autoload.tests.php.tpl
&gt; Proceeding without a composer.json file.phpab 	--output build/vendor/autoload.php \
&gt; 	--template debian/autoload.tests.php.tpl \
&gt; 	build/src/test/php/PDepend
&gt; phpab %development% - Copyright (C) 2009 - 2023 by Arne Blankerts and Contributors
&gt; 
&gt; Scanning directory build/src/test/php/PDepend
&gt; 
&gt; Autoload file build/vendor/autoload.php generated.
&gt; 
&gt; ln -s src/main/php/PDepend /usr/share/php/Symfony \
&gt; 	/usr/share/php/Psr /usr/share/php/ProxyManager \
&gt; 	/usr/share/php/Laminas build/
&gt; make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt;    debian/rules override_dh_auto_test
&gt; make[1]: Entering directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt; cd build &amp;&amp; phpunit
&gt; PHP Fatal error:  Declaration of PDepend\AbstractTest::runTest() must be compatible with PHPUnit\Framework\TestCase::runTest(): mixed in /&lt;&lt;PKGBUILDDIR&gt;&gt;/build/src/test/php/PDepend/AbstractTest.php on line 132
&gt; make[1]: *** [debian/rules:34: override_dh_auto_test] Error 255


The full build logs and additional context is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/pdepend/

A phpunit reverse-dependencies rebuild status is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/index.html

-- 
Athos Ribeiro
]