[php-maint] Bug#348631: Conflicting build depends in libapache2-mod-php5

Andrew Deason adeason at tjhsst.edu
Wed Jan 18 04:42:11 UTC 2006

Package: php5
Version: 5.0.5-3
Severity: normal

The php5 build depends seem to list both libdb4.2-dev and
libapache2-prefork-dev (or whichever apache2 model). But
libapache2-prefork-dev depends on libapr0-dev, which depends on
libdb4.3-dev, which conflicts with libdb4.2-dev, making it impossible to

root at humboldt:~/php5/php5-5.0.5# apt-get build-dep libapache2-mod-php5
Reading package lists... Done
Building dependency tree... Done
libdb4.2-dev is already the newest version.
E: Build-dependencies for libapache2-mod-php5 could not be satisfied.
root at humboldt:~/php5/php5-5.0.5# debuild -uc -us
dpkg-buildpackage: source package is php5
dpkg-buildpackage: source version is 5.0.5-3
dpkg-buildpackage: source changed by Adam Conrad <adconrad at ubuntu.com>
dpkg-buildpackage: host architecture i386
dpkg-checkbuilddeps: Unmet build dependencies: apache-dev (>= 1.3.23)
apache2-prefork-dev (>= 2.0.53-3)
dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: (Use -d flag to override.)
debuild: fatal error at line 768:
dpkg-buildpackage failed!
root at humboldt:~/php5/php5-5.0.5#

It seems to build fine, though, then the -d option is supplied to

Should it depend on libdb4.3-dev instead of libdb4.2-dev, or are the
apache*-dev packages depends just screwed up?

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages php5 depends on:
ii  libapache2-mod-php5           5.0.5-3    server-side, HTML-embedded scripti
ii  php5-common                   5.0.5-3    Common files for packages built fr

php5 recommends no packages.

-- no debconf information

More information about the pkg-php-maint mailing list