[Serusers] Improper Debian Build Depends

Jamin W. Collins jcollins at asgardsrealm.net
Wed Apr 16 00:37:32 CEST 2003


On Tue, Apr 15, 2003 at 10:47:44PM +0200, Nils Ohlmeier wrote:
> On Tuesday 15 April 2003 21:52, Jamin W. Collins wrote:
> > The ser-0.8.10 sources contain a debian sub-directory for building
> > debian packages.  However the control file in this directory lists
> > incomplete and improper build dependancies for the package.
> >
> > Currently the dependancies are listed as:
> >
> > Build-Depends: debhelper (>> 3.0.0), libmysqlclient-dev, libexpat1-dev,
> > fakeroot
> >
> > While they should be:
> >
> > Build-Depends: debhelper (>> 3.0.0), libmysqlclient-dev, libexpat1-dev,
> > zlib1g-dev
> 
> Sorry i do not see any build dependecy on zlib. The mysql module needs
> the zlib lib. But that dependecy is fullfiled through
> libmysqlclient-dev, which depends on libmysqlclient, which depends on
> zlib1g.

libmysqlclient-dev is not an available package in Debian stable:

# apt-get install libmysqlclient-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Package libmysqlclient-dev is a virtual package provided by:
  libmysqlclient10-dev 3.23.49-8.2

The dependancy for zlib1g will be fulfilled by the installation of
libmysqlclient10-dev since it will then depend on libmysqlclient10 which
in turn will depend on zlib1g.  Note, this is only the runtime library,
not the development headers and such.  This will *not* allow one to
build the Debian package of the ser source.  To build the Debian package
of the ser, you must have the development libraries of the used runtime
libraries.  This is the purpose of the Build-Depends entry.  To list
which packages are necessary for compilation, and zlib1g-dev *is* needed
for compilation.

> BTW Serdev is a better place for such notes or discussion.

The web site (http://www.iptel.org/ser/bugs/) says to post it here, so I
did.

-- 
Jamin W. Collins




More information about the sr-users mailing list