[From nobody Wed Oct 28 18:47:06 2026
Received: (at submit) by bugs.debian.org; 6 May 2024 14:07:53 +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 autolearn=ham
 autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 40; hammy, 150; neutral, 106; spammy,
 0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
 0.000-+--PKGBUILDDIR, 0.000-+--trixie, 0.000-+--UD:ubuntu.com,
 0.000-+--testcase
Return-path: &lt;athoscribeiro@gmail.com&gt;
Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]:58426)
 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 1s3z0S-001ZqB-Pr
 for submit@bugs.debian.org; Mon, 06 May 2024 14:07:53 +0000
Received: by mail-pf1-x434.google.com with SMTP id
 d2e1a72fcca58-6f4472561f1so1821485b3a.0
 for &lt;submit@bugs.debian.org&gt;; Mon, 06 May 2024 07:07:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1715004470; x=1715609270; 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=7D7H8Rpx10NdlB97p5tpe9M0GxEWSuSQ3UEz5LBMYnY=;
 b=FYbxFBvwPKhm/03blMT1pbZy4Wkqor8u+3vOOxmmc1Bioekd6eUYiV4um4GoK1HvFz
 dt9obt3YsqnqVWDzP38vS+EB9oGd/I6CcsgZhDgPllH8x+ia6GFIUQ2wXgst+5HoVGE5
 bjXz0inw9a3GGQ01EOqEITj1MqP6wYJ7sbI3gTffbDwC41IRdNfltXLNfH0fg+efcZe6
 j9KWkCiuecSZ1YXzkdehQP0c6XMyNbOlmvLbUOi0XAAuObHseugHiZ0QqOYuWi/6LpxC
 /KtWt6hUDjnT4NrOB6r9/jARfqDVTNvA4T6xTvrGdzsCC4SYMoaoKC5va48VDQnoPIC8
 BjaA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1715004470; x=1715609270;
 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=7D7H8Rpx10NdlB97p5tpe9M0GxEWSuSQ3UEz5LBMYnY=;
 b=O4VWUJjD2vXzi//Ze/zCORt2JRXt9Wu/iNgvQX45C2Awiu+mKmxJqQU9GAoOBDkA0f
 +rlxUL2zOdVGQW0GUDC9ODZrVN5S+f6MZcAkPMdmP4VFm1W1/6VmoyJufv8CTJzTstFH
 gkWACQnphcK14h/8ShOfWSld3WRmKG3i0s37OezpAa9RERaFLtkE+EBO68wCepmZwGYz
 T8q2RrnLViSRi6lu29xXLAzfiIuYtp5gUoIzWu2xlPcvrks37snyLFv2QyiVwFedjRJ/
 BODQNxGKxNFZBhymmN7iEyj532EVowQDf/EUysxmxTe9ejbOn/Ztly/p2s8FVO7NfLAb
 Kxjg==
X-Gm-Message-State: AOJu0YxkH0SETg1zqyIH0iAzWA5GoprY8lhXK/suExucieaozlgdt9ZO
 AIgYOA76Ngzh+xVh8qZ1flo9UoIsNoBltqikRYH8mqrBMtWHUc60/8NEow==
X-Google-Smtp-Source: AGHT+IHy1gy5huhN6Z8MzKlqHs9EyppJu2dwZ4gzVhhW3LOv4W3ZYPHtcAHRx9gi4+H9PL7rwS1bDg==
X-Received: by 2002:a05:6a21:2d07:b0:1af:ad23:3d7b with SMTP id
 tw7-20020a056a212d0700b001afad233d7bmr6278269pzb.44.1715004469477; 
 Mon, 06 May 2024 07:07:49 -0700 (PDT)
Received: from localhost ([2804:6368:a4:300:a8df:2587:521b:696f])
 by smtp.gmail.com with ESMTPSA id
 gr3-20020a056a004d0300b006f3021367desm7744161pfb.197.2024.05.06.07.07.48
 for &lt;submit@bugs.debian.org&gt;
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 06 May 2024 07:07:49 -0700 (PDT)
Date: Mon, 6 May 2024 11:07:46 -0300
From: Athos Ribeiro &lt;athoscribeiro@gmail.com&gt;
To: submit@bugs.debian.org
Subject: pdepend: FTBFS with phpunit 11: PHP Fatal error:  Cannot override
 final method PHPUnit\Framework\TestCase::runTest() in
 /&lt;&lt;PKGBUILDDIR&gt;&gt;/build/src/test/php/PDepend/AbstractTest.php on line 132
Message-ID: &lt;ZjjkMvYtq6PCRJ1J@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.16.2-2
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,
pdepend 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; 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; 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 - 2024 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.16.2,	\
&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; 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 - 2024 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:  Cannot override final method PHPUnit\Framework\TestCase::runTest() in /&lt;&lt;PKGBUILDDIR&gt;&gt;/build/src/test/php/PDepend/AbstractTest.php on line 132
&gt; make[1]: *** [debian/rules:32: override_dh_auto_test] Error 255


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/pdepend/pdepend_2.16.2-2+rebuild1714364931_amd64-2024-04-29T04:28:53Z.build
]