[pkg-php-pear] Bug#1011911: pkg-php-tools: FTBFS: testsuite/tests/101_dh_phppear_substvars.sh: 28: php-config: not found

Lucas Nussbaum lucas at debian.org
Thu May 26 20:19:15 BST 2022


Source: pkg-php-tools
Version: 1.42
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220525 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> sh testsuite/runtests.sh
> Running test: 001_pkgtools_phppear_name.sh
> SUCCESS
> Running test: 002_pkgtools_phppear_packagetype.sh
> SUCCESS
> Running test: 003_pkgtools_phppear_channel.sh
> SUCCESS
> Running test: 004_pkgtools_phppear_summary.sh
> SUCCESS
> Running test: 005_pkgtools_phppear_description.sh
> SUCCESS
> Running test: 006_pkgtools_maintaners.sh
> SUCCESS
> Running test: 007_pkgtools_phppear_date.sh
> SUCCESS
> Running test: 008_pkgtools_phppear_version.sh
> SUCCESS
> Running test: 009_pkgtools_phppear_license.sh
> SUCCESS
> Running test: 010_pkgtools_phppear_changelog.sh
> SUCCESS
> Running test: 014_pkgtools_phppear_debianname.sh
> SUCCESS
> Running test: 015_pkgtools_phppear_debianversion.sh
> SUCCESS
> Running test: 016_pkgtools_phppearchannel_name.sh
> SUCCESS
> Running test: 017_pkgtools_phppearchannel_summary.sh
> SUCCESS
> Running test: 018_pkgtools_phppearchannel_suggestedalias.sh
> SUCCESS
> Running test: 101_dh_phppear_substvars.sh
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1767, <$fd> line 4.
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1768, <$fd> line 4.
> Override: require:pear-pear.phpunit.de/PHPUnit (>= 1.1, <= 1.9) -> require:__override__/phpunit (>= 1.1, <= 1.9).
> Override: recommend:pear-pecl.php.net/mysqli -> recommend:__override__/php-mysql.
> FAIL: cat 'debian/php-foo.substvars'
> --- Expected
> +++ Actual
> @@ -1,5 +1,7 @@
>  phppear:Debian-Depends=php-common, php-alpha (>= 1.0~a), php-alpha (<= 2.0~alpha3), php-beta (>= 1.0~b2), php-beta (<< 2.0~beta4), php-rc (>= 1.0~RC2), php-rc (<= 2.0~RC5), php-horde-alarm (>= 2.2.0), php-horde-alarm (<< 3.0.0~alpha1), phpunit (>= 1.1), phpunit (<= 1.9)
>  phppear:Debian-Recommends=php-mysql
> +phppear:Debian-Suggests=
> +phppear:Debian-Breaks=
>  phppear:summary=this is a wrapper package for installing dependencies for MyProject
>  phppear:description=<Some random notes>${Newline}This is a paragraph.${Newline}${Newline}Those are bullets:${Newline} * Number one${Newline} * Number two${Newline}
>  phppear:channel=pear.php.net
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1767, <$fd> line 4.
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1768, <$fd> line 4.
> sh: 1: /usr/bin/php-config: not found
> testsuite/tests/101_dh_phppear_substvars.sh: 28: php-config: not found
> FAIL: cat 'debian/php-foo.substvars'
> --- Expected
> +++ Actual
> @@ -1,4 +1,7 @@
>  phppear:Debian-Depends=php-common, phpapi-
> +phppear:Debian-Recommends=
> +phppear:Debian-Suggests=
> +phppear:Debian-Breaks=
>  phppear:summary=this is a wrapper package for installing dependencies for MyProject
>  phppear:description=<Some random notes>
>  phppear:channel=pecl.php.net
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1767, <$fd> line 4.
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1768, <$fd> line 4.
> FAILED
> Running test: 151_dh_phpcomposer_substvars.sh
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1767, <$fd> line 4.
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1768, <$fd> line 4.
> Override: require:pear-pecl.php.net/spl -> require:__override__/builtin.
> Override: require:symfony/polyfill-intl-icu (>= 1.0, < 2~~) -> require:__override__/php-intl.
> Override: require-dev:overrideme/overrideme-sub (>= 3.7, < 3.8~~) -> require-dev:__override__/overrideme-sub (>= 3.7, < 3.8~~).
> Override: suggest:pear-pecl.php.net/apc -> suggest:__override__/php-apcu.
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1767, <$fd> line 4.
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1768, <$fd> line 4.
> OR-ed versions are not supported require:proj1/unsupported-or (>=1.0,<1.1 | >=1.2) in file "/<<PKGBUILDDIR>>/testsuite/data/composerpkg2/composer.json".
> Branch alias mapped to "*" require:proj1/alias-dev-master (dev-master) in file "/<<PKGBUILDDIR>>/testsuite/data/composerpkg2/composer.json".
> Branch alias mapped to "*" require:proj1/alias-inline (dev-bugfix as 1.0.x-dev) in file "/<<PKGBUILDDIR>>/testsuite/data/composerpkg2/composer.json".
> Unknown dependency: "lib-unknown".
> SUCCESS
> Running test: 201_Debian_Debhelper_Buildsystem_phppear.sh
> 	cp package.xml ./MyProject_Packages-1.2.1/package.xml
> 	sed -i -e s/md5sum=\"\[^\"\]\*\"// -e s/sha1sum=\"\[^\"\]\*\"// ./MyProject_Packages-1.2.1/package.xml
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1767, <$fd> line 4.
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1768, <$fd> line 4.
> 	/usr/bin/pear -c debian/pearrc -d download_dir=/tmp -d include_path=/usr/share/php -d php_bin=/usr/bin/php -d bin_dir=/usr/bin -d php_dir=/usr/share/php -d data_dir=/usr/share/php/data -d doc_dir=/usr/share/doc/php-foo -d test_dir=/usr/share/php/tests install --offline --nodeps -P /tmp/jWSIuJdzo0 ./MyProject_Packages-1.2.1/package.xml
> warning: pear/MyProject_Packages requires package "pear/Alpha" (version >= 1.0a, version <= 2.0alpha3)
> warning: pear/MyProject_Packages requires package "pear/Beta" (version >= 1.0b2, version <= 2.0beta4, excluded versions: 2.0beta4)
> warning: pear/MyProject_Packages requires package "pear/RC" (version >= 1.0RC2, version <= 2.0RC5)
> warning: pear/MyProject_Packages requires package "channel://pear.horde.org/Horde_Alarm" (version >= 2.2.0, version <= 3.0.0alpha1, excluded versions: 3.0.0alpha1)
> warning: pear/MyProject_Packages requires package "channel://pear.phpunit.de/PHPUnit" (version >= 1.1, version <= 1.9)
> pear/MyProject_Packages can optionally use PHP extension "mysqli"
> install ok: channel://pear.php.net/MyProject_Packages-1.2.1
> 	rm -rf /tmp/jWSIuJdzo0/tmp
> 	rm -f /tmp/jWSIuJdzo0/usr/share/php/.filemap
> 	rm -f /tmp/jWSIuJdzo0/usr/share/php/.lock
> 	rm -rf /tmp/jWSIuJdzo0/usr/share/php/.channels
> 	rm -rf /tmp/jWSIuJdzo0/usr/share/php/.depdblock
> 	rm -rf /tmp/jWSIuJdzo0/usr/share/php/.depdb
> 	rmdir --ignore-fail-on-non-empty /tmp/jWSIuJdzo0/usr/share/php/.registry/.channel.pecl.php.net
> 	rm -rf /tmp/jWSIuJdzo0/usr/share/php/.registry/.channel.doc.php.net
> 	rm -rf /tmp/jWSIuJdzo0/usr/share/php/.registry/.channel.__uri
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1767, <$fd> line 4.
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1768, <$fd> line 4.
> 	rm -rf /tmp/jWSIuJdzo0/usr/share/php/tests
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1767, <$fd> line 4.
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1768, <$fd> line 4.
> 	mkdir -p /tmp/jWSIuJdzo0/usr/share/doc/php-foo
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1767, <$fd> line 4.
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1768, <$fd> line 4.
> 	cp package.xml /tmp/jWSIuJdzo0/usr/share/doc/php-foo
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1767, <$fd> line 4.
> Use of uninitialized value $v in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 1768, <$fd> line 4.
> 	rm -f ./MyProject_Packages-1.2.1/package.xml
> SUCCESS
> Running test: 301_phpabtpl_pkg1.sh
> SUCCESS
> Running test: 302_phpabtpl_pkg2.sh
> SUCCESS
> Running test: 303_phpabtpl_localoverrides.sh
> SUCCESS
> Running test: 304_phpabtpl_basedir.sh
> SUCCESS
> Running test: 305_phpabtpl_manual.sh
> Proceeding without a composer.json file.SUCCESS
> =====================================================================
> TEST RESULT SUMMARY
> ---------------------------------------------------------------------
> Number of tests : 23
> Test passed     : 22
> Test failed     : 1
> Test skipped    : 0
> ---------------------------------------------------------------------
> make[1]: *** [Makefile:12: test] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: make -j8 test returned exit code 2


The full build log is available from:
http://qa-logs.debian.net/2022/05/25/pkg-php-tools_1.42_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-php-pear mailing list