[php-maint] Bug#821007: php7.0: not binnmu safe: depends on php7.0-common (= 7.0.5-2)

Emilio Pozuelo Monfort pochu at debian.org
Thu Apr 14 13:46:17 UTC 2016


Package: php7.0
Version: 7.0.5-2
Severity: serious

Hi,

php7.0 depends on php7.0-common (= 7.0.5-2), but php7.0-common is now at
7.0.5-2+b1.

It looks like you fixed this already and the control file has an unversioned
dependency on php7.0-common. However this is probably added because you're
linking the docs from an arch:all package to an arch:any package:

d/rules:

override_dh_installdocs-indep:
	dh_installdocs -p$(PHP_COMMON)
	dh_installdocs -i --remaining-packages --link-doc=$(PHP_COMMON)

build log:

dh_installdocs: WARNING: --link-doc between architecture all and not all packages breaks binNMUs
	install -d debian/php7.0/usr/share/doc
	ln -sf php7.0-common debian/php7.0/usr/share/doc/php7.0
	(grep -a -s -v misc:Depends debian/php7.0.substvars; echo "misc:Depends=php7.0-common (= \${binary:Version})") > debian/php7.0.substvars.new
	mv debian/php7.0.substvars.new debian/php7.0.substvars
dh_installdocs: WARNING: --link-doc between architecture all and not all packages breaks binNMUs
	install -d debian/php7.0-xsl/usr/share/doc
	ln -sf php7.0-common debian/php7.0-xsl/usr/share/doc/php7.0-xsl
	(grep -a -s -v misc:Depends debian/php7.0-xsl.substvars; echo "misc:Depends=php7.0-common (= \${binary:Version})") > debian/php7.0-xsl.substvars.new
	mv debian/php7.0-xsl.substvars.new debian/php7.0-xsl.substvars

Cheers,
Emilio



More information about the pkg-php-maint mailing list