[debhelper-devel] Bug#747141: debhelper: "dh_installdocs --link-doc" breaks binNMUs

Aurelien Jarno aurelien at aurel32.net
Mon Sep 29 18:59:08 UTC 2014


control: severity -1 serious

On Sat, May 17, 2014 at 10:56:59AM +1000, Dmitry Smirnov wrote:
> I believe I've been hit by this in #748304 (severity: serious):
> 
> ~~~~
> dh_installdocs -v --link-doc=tupi-data 
>         install -g 0 -o 0 -d debian/tupi/usr/share/doc 
>         ln -sf tupi-data debian/tupi/usr/share/doc/tupi 
>         (grep -s -v misc:Depends debian/tupi.substvars; echo "misc:Depends=tupi-data (= 0.2+git04-1+b1)") > debian/tupi.substvars.new 
>         mv debian/tupi.substvars.new debian/tupi.substvars 
> ~~~~
> 
> The above log fragment demonstrates how binNMU breaks.
> As Sebastian Ramacher wrote [1]: "The problem is that
> tupi-data (= ${binary:Version}) appears in tupi's ${misc:Depends}".
> 
> [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748304#22

We have scheduled a few thousands of binNMUs on s390x due to the libc
ABI breakage. It occurs that most of the non binNMUs safe packages are
wrongly using this --link-doc option.

I am therefore increasing the severity of this bug. dh_installdocs
--link-doc should refuse to do links between arch:all and arch:any
packages.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien at aurel32.net                 http://www.aurel32.net




More information about the debhelper-devel mailing list