[pkg-php-pear] Bug#1039776: php-fdomdocument: FTBFS with phpunit 10: unsatisfiable build-dependencies

Athos Ribeiro athoscribeiro at gmail.com
Wed Jun 28 22:06:09 BST 2023


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

Hi,

We will start the phpunit 10 transition in unstable soon. During a test
rebuild, php-fdomdocument 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):
> +------------------------------------------------------------------------------+
> | Install package build dependencies                                           |
> +------------------------------------------------------------------------------+
> 
> 
> Setup apt archive
> -----------------
> 
> Merged Build-Depends: ant, debhelper-compat (= 13), dh-sequence-phpcomposer, pdepend, php-codesniffer, phpab, phpcpd, phploc, phpmd, phpunit, build-essential, fakeroot
> Filtered Build-Depends: ant, debhelper-compat (= 13), dh-sequence-phpcomposer, pdepend, php-codesniffer, phpab, phpcpd, phploc, phpmd, phpunit, build-essential, fakeroot
> dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'.
> Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease
> Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [609 B]
> Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg
> Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [712 B]
> Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [744 B]
> Fetched 2065 B in 0s (0 B/s)
> Reading package lists...
> Get:1 file:/<<BUILDDIR>>/resolver-igUSmS/apt_archive ./ InRelease
> Ign:1 file:/<<BUILDDIR>>/resolver-igUSmS/apt_archive ./ InRelease
> Get:2 file:/<<BUILDDIR>>/resolver-igUSmS/apt_archive ./ Release [609 B]
> Get:2 file:/<<BUILDDIR>>/resolver-igUSmS/apt_archive ./ Release [609 B]
> Get:3 file:/<<BUILDDIR>>/resolver-igUSmS/apt_archive ./ Release.gpg
> Ign:3 file:/<<BUILDDIR>>/resolver-igUSmS/apt_archive ./ Release.gpg
> Reading package lists...
> Reading package lists...
> 
> Install main build dependencies (apt-based resolver)
> ----------------------------------------------------
> 
> Installing build dependencies
> Reading package lists...
> Building dependency tree...
> Reading state information...
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
> 
> The following packages have unmet dependencies:
>  phpcpd : Depends: phpunit-cli-parser (< 2~~) but 2.0.0-1 is to be installed
>           Depends: phpunit-version (< 4~~) but 4.0.1-1 is to be installed
>           Depends: php-file-iterator (< 4~~) but 4.0.2-1 is to be installed
>           Depends: php-timer (< 6~~) but 6.0.0-1 is to be installed
>  phploc : Depends: phpunit-cli-parser (< 2~~) but 2.0.0-1 is to be installed
>           Depends: phpunit-version (< 4~~) but 4.0.1-1 is to be installed
>           Depends: php-file-iterator (< 4~~) but 4.0.2-1 is to be installed
> E: Unable to correct problems, you have held broken packages.
> apt-get failed.


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

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

-- 
Athos Ribeiro



More information about the pkg-php-pear mailing list