[php-maint] Bug#821007: Bug#821007: php7.0: not binnmu safe: depends on php7.0-common (= 7.0.5-2)
Ondřej Surý
ondrej at sury.org
Thu Apr 14 14:10:01 UTC 2016
Right. php7.0-common was arch:all in the beginning and I forgot to kill
this when I put binary modules inside php7.0-common and thus switched it
into arch:any.
I have the fix ready, but after experience with my "quick-fixes" I'll do
some more testing first before uploading to the archive :).
O.
--
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
On Thu, Apr 14, 2016, at 15:46, Emilio Pozuelo Monfort wrote:
> 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
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
More information about the pkg-php-maint
mailing list