[Pkg-exim4-users] Exim4 Custom Package

Marc Haber mh+pkg-exim4-users at zugschlus.de
Sat Apr 14 08:01:19 UTC 2007

On Fri, Apr 13, 2007 at 10:36:53PM +0200, Jonathan GF wrote:
> root at replica:/var/tmp# apt-get source exim4
> Reading package lists... Done
> Building dependency tree... Done
> Need to get 2349kB of source archives.
> Get:1 http://security.ubuntu.com dapper-security/main exim4
> 4.60-3ubuntu3.1 (dsc) [1063B]
> Get:2 http://security.ubuntu.com dapper-security/main exim4
> 4.60-3ubuntu3.1 (tar) [2022kB]
> Get:3 http://security.ubuntu.com dapper-security/main exim4
> 4.60-3ubuntu3.1 (diff) [326kB]
> Fetched 2349kB in 26s (87.9kB/s)
> dpkg-source: extracting exim4 in exim4-4.60
> dpkg-source: unpacking exim4_4.60.orig.tar.gz
> dpkg-source: applying ./exim4_4.60-3ubuntu3.1.diff.gz
> root at replica:/var/tmp#

Ah. Ubuntu unloading their support burden on Debian again. Exim4 4.60
was never part of a Debian release, and I am reluctant to support it
since Debian has changed this aspect of the build mechanics since then.

> root at replica:/var/tmp/exim4-4.60# fakeroot debian/rules unpack-configs
> root at replica:/var/tmp/exim4-4.60# cp EDITME.exim4-light EDITME.exim4-custom
> root at replica:/var/tmp/exim4-4.60# vi EDITME.exim4-custom
> root at replica:/var/tmp/exim4-4.60# diff -u EDITME.exim4-light EDITME.exim4-custom
> root at replica:/var/tmp/exim4-4.60# cp debian/rules debian/rules.orig
> root at replica:/var/tmp/exim4-4.60# vi debian/rules
> root at replica:/var/tmp/exim4-4.60# diff -u debian/rules debian/rules.orig
> --- debian/rules        2007-03-20 22:23:53.000000000 +0100
> +++ debian/rules.orig      2007-03-20 22:22:22.000000000 +0100
> @@ -29,7 +29,7 @@
> # Which packages should we build?
> buildbasepackages=yes
> -# builddaemonpackages=exim4-daemon-heavy
> +builddaemonpackages=exim4-daemon-heavy

Here, you explicitly say to build exim4-daemon-heavy, which is
incidentally the default. How about changing this to

> root at replica:/var/tmp/exim4-4.60# debuild
> make[2]: Leaving directory `/var/tmp/exim4-4.60/build-Linux-i386/auths'
> make[1]: *** No rule to make target `lookups/lookups.a', needed by
> `exim'.  Stop.

This is what I needed to know. I am not sure whether this may be
caused by the Ubuntu changes or your changes. Googling for this error
message suggests this might be a corollary error of not finding
certain include file, which may indicate a build dependency issue,
which I am not in a position to comment.

Does exim4 build on your system when you try building from the
unchanged source package?


Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190

More information about the Pkg-exim4-users mailing list