[php-maint] Bug#343399: php4 build-depends uninstallable (libdb4.2-dev, libdb4.3-dev conflict)

Frédéric Bothamy frederic.bothamy at free.fr
Wed Dec 14 23:15:51 UTC 2005


Package: php4
Version: 4:4.4.0-4
Severity: serious
Justification: no longer builds from source
Tags: patch

Hello,

When I try to install php4 build-dependencies on a current sid system,
I get the following error (with C locale):

# apt-get build-dep php4
Reading package lists... Done
Building dependency tree... Done
libdb4.2-dev is already the newest version.
E: Build-dependencies for php4 could not be satisfied.

The problem here is that php4 build-depends on libdb4.2-dev, apache-dev
(a php4 build-dependency) depends on libdb4.3-dev and both libdb4.X-dev
packages conflict with each other (through the libdb-dev conflict).

There was no problem for the compilation of the current php4 package as
it was compiled with the previous version of apache-dev (1.3.33-7)
according to buildd.debian.org and the libdb4.3-dev dependency of
apache-dev was introduced in the latest version.

The following patch should fix the problem (compile is OK with it here):

--- control.old	2005-12-14 22:45:07.000000000 +0100
+++ control	2005-12-14 22:45:28.000000000 +0100
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian PHP Maintainers <pkg-php-maint at lists.alioth.debian.org>
 Uploaders: Adam Conrad <adconrad at 0c3.net>, Steve Langasek <vorlon at debian.org>, Jeroen van Wolffelaar <jeroen at wolffelaar.nl>
-Build-Depends: apache-dev (>= 1.3.23), apache2-prefork-dev (>= 2.0.53-3), autoconf, automake1.4, bison, chrpath, debhelper (>= 3), flex (>= 2.5.4), freetds-dev, po-debconf, libbz2-dev (>= 1.0.0), libcurl3-openssl-dev | libcurl3-dev, libdb4.2-dev, libexpat1-dev (>= 1.95.2-2.1), libfreetype6-dev, libgcrypt11-dev, libgd2-xpm-dev (>= 2.0.28-3), libgdbm-dev, libjpeg62-dev, libkrb5-dev, libldap2-dev, libmcal0-dev (>= 0.6), libmhash-dev (>= 0.8.8), libmysqlclient14-dev, libncurses5-dev, libpam0g-dev, libpcre3-dev (>= 4.3-1), libpng12-dev, libpq-dev | postgresql-dev, librecode-dev, libsablot0-dev (>= 0.96), libsnmp9-dev | libsnmp-dev, libssl-dev (>= 0.9.6), libt1-dev, libtool (>= 1.4.2-4), libwrap0-dev, libxmltok1-dev, libxml2-dev (>= 2.4.14), libxslt1-dev (>= 1.0.18), libzzip-dev, re2c, unixodbc-dev, zlib1g-dev (>= 1.0.9)
+Build-Depends: apache-dev (>= 1.3.23), apache2-prefork-dev (>= 2.0.53-3), autoconf, automake1.4, bison, chrpath, debhelper (>= 3), flex (>= 2.5.4), freetds-dev, po-debconf, libbz2-dev (>= 1.0.0), libcurl3-openssl-dev | libcurl3-dev, libdb4.3-dev, libexpat1-dev (>= 1.95.2-2.1), libfreetype6-dev, libgcrypt11-dev, libgd2-xpm-dev (>= 2.0.28-3), libgdbm-dev, libjpeg62-dev, libkrb5-dev, libldap2-dev, libmcal0-dev (>= 0.6), libmhash-dev (>= 0.8.8), libmysqlclient14-dev, libncurses5-dev, libpam0g-dev, libpcre3-dev (>= 4.3-1), libpng12-dev, libpq-dev | postgresql-dev, librecode-dev, libsablot0-dev (>= 0.96), libsnmp9-dev | libsnmp-dev, libssl-dev (>= 0.9.6), libt1-dev, libtool (>= 1.4.2-4), libwrap0-dev, libxmltok1-dev, libxml2-dev (>= 2.4.14), libxslt1-dev (>= 1.0.18), libzzip-dev, re2c, unixodbc-dev, zlib1g-dev (>= 1.0.9)
 Build-Conflicts: bind-dev
 Standards-Version: 3.6.2
 
(multi-lines would be nice here, I only changed libdb4.2-dev to libdb4.3-dev)

Greetings,


Fred

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.3
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages php4 depends on:
ii  libapache-mod-php4            4:4.4.0-4  server-side, HTML-embedded scripti
ii  php4-common                   4:4.4.0-4  Common files for packages built fr

php4 recommends no packages.

-- no debconf information




More information about the pkg-php-maint mailing list