[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#706114: xfonts-utils: insufficient zlib1g dependency



Control: reassign -1 xfonts-utils/1:7.7~1

On Wed, 2013-04-24 at 22:18:59 +0200, Andreas Beckmann wrote:
> Package: dpkg-dev,xfonts-utils
> Version: 1:7.7~1
> Severity: serious
> User: debian-qa@lists.debian.org
> Usertags: piuparts
> Control: found -1 1.16.10

> during an upgrade test with piuparts I noticed misbehavior of
> mkfontscale (which was ignored and therefore the upgrade did not fail):
> 
>   Preparing to replace xfonts-utils 1:7.5+2 (using .../xfonts-utils_1%3a7.7~1_amd64.deb) ...
>   Unpacking replacement xfonts-utils ...
>   Preparing to replace gsfonts-x11 0.21 (using .../gsfonts-x11_0.22_all.deb) ...
>   Unpacking replacement gsfonts-x11 ...
>   mkfontscale: /usr/lib/libz.so.1: version `ZLIB_1.2.5.2' not found (required by /usr/lib/x86_64-linux-gnu/libfontenc.so.1)
>   Selecting previously unselected package libijs-0.35.
>   Unpacking libijs-0.35 (from .../libijs-0.35_0.35-8_amd64.deb) ...
> ...
>   Preparing to replace zlib1g 1:1.2.3.4.dfsg-3 (using .../zlib1g_1%3a1.2.7.dfsg-13_amd64.deb) ...
>   Unpacking replacement zlib1g:amd64 ...
> 
> The symbols file has 
>    ZLIB_1.2.5.2@ZLIB_1.2.5.2 1:1.2.6
> but xfonts-utils has
>   Depends: ... , zlib1g (>= 1:1.1.4), ...
> 
> Rebuilding xfonts-utils does not change the dependency, so there seems
> to be a toolchain problem somewhere.
> Therefore I'm assigning to both dpkg-dev (for dpkg-shlibdeps) and
> xfonts-utils.

The problem is with libfontenc.so.1, not mkfontscale:

  $ objdump -p /usr/lib/x86_64-linux-gnu/libfontenc.so.1 | grep ZLIB
  0x07e5d032 0x00 04 ZLIB_1.2.5.2
  $ objdump -p /usr/bin/mkfontscale | grep ZLIB
  $ dpkg -s libfontenc1:amd64 | grep '^Depends:'
  Depends: libc6 (>= 2.7), zlib1g (>= 1:1.2.6)

So the dependencies are correct. The only problem is due to
gsfonts-x11 postinst's script calling:

  update-fonts-dir
   → mkfontdir
     → mkfontscale

While the new xfonts-utils package has been unpacked, but not
configured. This is either a problem in xfonts-utils's
update-fonts-dir, or in debhelper's dh_installxfonts support inserting
those snippets.

Please, feel free to reassign if I missed something broken in dpkg-dev.

Thanks,
Guillem


Reply to: