Package: libclamav-dev
Version: 0.91.1-2
Severity: serious
Tags: patch
Justification: makes claws-mail to FTBFS

Hi Stephen,

While preparing new upstream release of Claws Mail I wasn't unable to
build it in a updated pbuilder chroot: seems libclamav-dev dependency on 
libcurl3-dev makes impossible to install libetpan-dev, which depends
itself on libcurl4-gnutls-dev (>= 7.16.4-5).

I think the attached patch should solve the problem, but feel free to
provide a better solution. Attached also the build log to show the
problem.

Thanks in advance,

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

Kernel: Linux 2.6.22-1-amd64 (SMP w/1 CPU core)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages libclamav-dev depends on:
ii  libbz2-dev              1.0.3-7          high-quality block-sorting file co
ii  libc6-dev [libc-dev]    2.6.1-1          GNU C Library: Development Librari
ii  libclamav2              0.91.1-2         virus scanner library
ii  libcurl4-openssl-dev [l 7.16.4-2         Development files and documentatio
ii  libgmp3-dev             2:4.2.1+dfsg-5   Multiprecision arithmetic library 
ii  libidn11-dev            1.0-0            Development files GNU libidn, impl
ii  libssl-dev              0.9.8e-5+b1      SSL development libraries, header 
ii  zlib1g-dev              1:1.2.3.3.dfsg-5 compression library - development

libclamav-dev recommends no packages.

-- no debconf information
--- control.orig        2007-09-03 21:43:20.000000000 +0200
+++ control     2007-09-04 06:58:08.000000000 +0200
@@ -75,7 +75,7 @@
 Package: libclamav-dev
 Section: libdevel
 Architecture: any
-Depends: libclamav2 (= ${binary:Version}), libcurl3-dev, libssl-dev, 
libidn11-dev, libc6-dev | libc-dev, zlib1g-dev (>=1:1.1.4), libbz2-dev, 
libgmp3-dev
+Depends: libclamav2 (= ${binary:Version}), libcurl4-gnutls-dev | 
libcurl4-openssl-dev, libssl-dev, libidn11-dev, libc6-dev | libc-dev, 
zlib1g-dev (>=1:1.1.4), libbz2-dev, libgmp3-dev
 Description: clam Antivirus library development files
  Clam AntiVirus is an anti-virus toolkit for Unix. The main purpose of this
  software is the integration with mail servers (attachment scanning). The
dpkg-buildpackage: source package is claws-mail
dpkg-buildpackage: source version is 3.0.0-1
dpkg-buildpackage: source changed by Ricardo Mones <[EMAIL PROTECTED]>
dpkg-buildpackage: source version without epoch 3.0.0-1
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp 
rm -f patched-stamp
[ ! -f Makefile ] || /usr/bin/make distclean
cp -f /usr/share/misc/config.sub config.sub
cp -f /usr/share/misc/config.guess config.guess
dh_clean 
QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null pop -a -R || test $? = 2 
No patch removed
rm -rf .pc debian/stamp-patched
 dpkg-source -b claws-mail-3.0.0
dpkg-source: building claws-mail using existing claws-mail_3.0.0.orig.tar.gz
dpkg-source: building claws-mail in claws-mail_3.0.0-1.diff.gz
dpkg-source: warning: executable mode 0755 of 'debian/inst-manual.sh' will not 
be represented in diff
dpkg-source: warning: executable mode 0755 of 'config.sub' will not be 
represented in diff
dpkg-source: warning: executable mode 0755 of 'config.guess' will not be 
represented in diff
dpkg-source: building claws-mail in claws-mail_3.0.0-1.dsc
 dpkg-genchanges -S
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: source only upload (original source is included)
I: using fakeroot in build.
Current time: Tue Sep  4 07:12:24 CEST 2007
pbuilder-time-stamp: 1188882744
Building the build Environment
 -> extracting base tarball [/var/cache/pbuilder/amd64.tgz]
 -> creating local configuration
 -> copying local configuration
 -> mounting /proc filesystem
 -> mounting /dev/pts filesystem
 -> policy-rc.d already exists
Obtaining the cached apt archive contents
Installing the build-deps
 -> Attempting to parse the build-deps 
 -> Considering build-dep debhelper (>= 5)
   -> Trying debhelper
 -> Considering build-dep quilt (>= 0.40)
   -> Trying quilt
 -> Considering build-dep libcompfaceg1-dev
   -> Trying libcompfaceg1-dev
 -> Considering build-dep libglib2.0-dev
   -> Trying libglib2.0-dev
 -> Considering build-dep libgtk2.0-dev
   -> Trying libgtk2.0-dev
 -> Considering build-dep libgpgme11-dev (>= 0.4.5)
   -> Trying libgpgme11-dev
 -> Considering build-dep libssl-dev
   -> Trying libssl-dev
 -> Considering build-dep aspell-bin
   -> Trying aspell-bin
 -> Considering build-dep libpisock-dev
   -> Trying libpisock-dev
 -> Considering build-dep libldap2-dev
   -> Trying libldap2-dev
 -> Considering build-dep flex | flex-old
   -> Trying flex
 -> Considering build-dep bison
   -> Trying bison
 -> Considering build-dep gettext
   -> Trying gettext
 -> Considering build-dep libltdl3-dev
   -> Trying libltdl3-dev
 -> Considering build-dep autotools-dev
   -> Trying autotools-dev
 -> Considering build-dep libtool
   -> Trying libtool
 -> Considering build-dep libaspell-dev (>= 0.50.3)
   -> Trying libaspell-dev
 -> Considering build-dep libreadline5-dev
   -> Trying libreadline5-dev
 -> Considering build-dep libclamav-dev
   -> Trying libclamav-dev
 -> Considering build-dep libt1-dev
   -> Trying libt1-dev
 -> Considering build-dep libgnomeprintui2.2-dev
   -> Trying libgnomeprintui2.2-dev
 -> Considering build-dep libetpan-dev (>= 0.49)
   -> Trying libetpan-dev
       -> Cannot install libetpan-dev; apt errors follow:
Reading package lists...
Building dependency tree...
Reading state information...
Note, selecting aspell instead of aspell-bin
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libclamav-dev: Depends: libcurl3-dev
E: Broken packages
E: Could not satisfy build-dependency.
E: pbuilder-satisfydepends failed.
Copying back the cached apt archive contents
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env 
    -> removing directory /home/devel/pbuilder/build/4282 and its subdirectories

Reply via email to