Package: libpng-dev
Version: 1.6.30-2
Severity: important
User: helm...@debian.org
Usertags: rebootstrap

When installing a libpng-dev built with debhelper (<< 10.7) and a
libpng-dev built with debhelper (>= 10.7) together, dpkg errors out:

| Unpacking libpng-dev:mips (1.6.30-2) ...
| dpkg: error processing archive 
/tmp/apt-dpkg-install-gmKkex/19-libpng-dev_1.6.30-2_mips.deb (--unpack):
|  trying to overwrite shared '/usr/bin/libpng16-config', which is different 
from other instances of package libpng-dev:mips
| dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

libpng-config.in interpolates @includedir@ which happens to be
${prefix}/include on older debhelper releases and /usr/include on newer
ones. Thus the interpolated file differs (in bytes, not in behaviour).

The relevant debhelper change is #813266.

I believe that a good solution to this problem would be adding a version
constraint on debhelper. There are two reasonable choices:

 * Build-Depends: debhelper (>= 10.7~)
 * Build-Depends: debhelper (<< 10.7~)

The former is useful for unstable and the latter is useful for
backports.

Helmut

Reply via email to