Package: lib32z1
Version: 1:1.2.3.3.dfsg-14
Severity: important

lib32z1 and lib32z1-dev now declares a pre-depends on libc6-i386 which
is not available on kfreebsd-amd64 and ppc64. Moreover according to the
policy, adding a Pre-Depends shoud be discussed on debian-devel first.

In this case a Pre-Depends is overkill, a simple Conflicts is enough. 
Please find a patch below to fix the problem.

diff -u zlib-1.2.3.3.dfsg/debian/control zlib-1.2.3.3.dfsg/debian/control
--- zlib-1.2.3.3.dfsg/debian/control
+++ zlib-1.2.3.3.dfsg/debian/control
@@ -79,7 +79,7 @@
 
 Package: lib32z1
 Architecture: amd64 ppc64 kfreebsd-amd64
-Pre-Depends: libc6-i386 (>= 2.9-18)
+Conflicts: libc6-i386 (<= 2.9-18) [amd64]
 Depends: ${shlibs:Depends}
 Replaces: ia32-libs (<< 1.5)
 Description: compression library - 32 bit runtime
@@ -90,7 +90,7 @@
 Package: lib32z1-dev
 Section: libdevel
 Architecture: amd64 ppc64 kfreebsd-amd64
-Pre-Depends: libc6-i386 (>= 2.9-18)
+Conflicts: libc6-i386 (<= 2.9-18) [amd64]
 Depends: lib32z1 (= ${binary:Version}), zlib1g-dev (= ${binary:Version}), 
lib32c-dev
 Provides: lib32z-dev
 Replaces: ia32-libs-dev (<< 1.5)



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 7.2-1-amd64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lib32z1 depends on:
ii  libc0.1-i386                  2.9-19     GNU C Library: 32bit shared librar

lib32z1 recommends no packages.

lib32z1 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to