Bug#783813: exim4-daemon-custom could not be build from source package

Marko von Oppen marko at von-oppen.com
Thu Apr 30 12:23:39 UTC 2015


Source: exim4
Version: 4.84-8
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,

In the past it was very easy to build this custom package using the following steps:
# apt-get source exim4
# cd exim4-4.72
# fakeroot debian/rules unpack-configs
# cp EDITME.exim4-light EDITME.exim4-custom
# vi EDITME.exim4-custom
<edit EDITME.exim4-custom to enable MySQL support>
# fakeroot debian/rules pack-configs
# debuild

While migrating to Jessie it seems that building a custom package seems not working for current stable version of Exim4.

First issue is a error message in <pack-config> which seems to could be ignored.

Second issue is that the config file EDITME.eximon seems NOT to be copied into the 'Local' directory for the custom package what breaks the build process. This problem I could work around due modifying debian/rules.

Next and for now final problem is the following error stating that .../usr/sbin directory is missing and so the binary could not be installed. This problem also prevents the build process from building any package.

Marko

=== build messages ===
dh_installdirs
        install -d debian/exim4-base/usr/sbin debian/exim4-base/usr/share/man/man8 debian/exim4-base/etc/cron.daily debian/exim4-base/etc/logrotate.d debian/exim4-base/usr/share/doc/exim4-base/examples
        install -d debian/exim4-config/usr/sbin debian/exim4-config/etc/exim4/conf.d debian/exim4-config/etc/ppp/ip-up.d debian/exim4-config/usr/share/doc/exim4-config debian/exim4-config/usr/share/man/man8 debian/exim4-config/var/lib/exim4
        install -d debian/exim4-daemon-light/usr/lib/exim4 debian/exim4-daemon-light/usr/sbin debian/exim4-daemon-light/usr/share/man/man8
        install -d debian/exim4-daemon-heavy/usr/lib/exim4 debian/exim4-daemon-heavy/usr/sbin debian/exim4-daemon-heavy/usr/share/man/man8 debian/exim4-daemon-heavy/usr/lib/exim4/local_scan
        install -d debian/eximon4/usr/sbin debian/eximon4/usr/lib/exim4
install -m4755 -oroot -groot b-exim4-daemon-custom/build-Linux-x86_64/exim /home/marko/src/exim4-4.84/debian/exim4-daemon-custom/usr/sbin/exim4
install: cannot create regular file '/home/marko/src/exim4-4.84/debian/exim4-daemon-custom/usr/sbin/exim4': No such file or directory
debian/rules:380: recipe for target '/home/marko/src/exim4-4.84/debian/exim4-daemon-custom/usr/sbin/exim4' failed
make: *** [/home/marko/src/exim4-4.84/debian/exim4-daemon-custom/usr/sbin/exim4] Error 1


-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-0.bpo.4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)



More information about the Pkg-exim4-maintainers mailing list