Package: dovecot
Version: 1.0.13-1
Severity: serious
Tags: patch
Justification: no longer builds from source

This package fails to build on my system, complaining first about 
aclocal version then about a missing Makefile.in file.  Here is the 
sequence of events:

1. Fetch the package in the normal way with apt-get source:

$ apt-get source dovecot
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Need to get 1993kB of source archives.
Get: 1 http://ftp.uk.debian.org testing/main dovecot 1:1.0.13-1 (dsc) 
[1183B]
Get: 2 http://ftp.uk.debian.org testing/main dovecot 1:1.0.13-1 (tar) 
[1774kB]
Get: 3 http://ftp.uk.debian.org testing/main dovecot 1:1.0.13-1 (diff) 
[218kB]
Fetched 1993kB in 5s (334kB/s)    
gpg: NOTE: old default options file `/home/fozzy/.gnupg/options' ignored
gpg: Signature made Sun 09 Mar 2008 18:30:00 GMT using DSA key ID 
7F961564
gpg: Can't check signature: public key not found
dpkg-source: extracting dovecot in dovecot-1.0.13
dpkg-source: unpacking dovecot_1.0.13.orig.tar.gz
dpkg-source: applying ./dovecot_1.0.13-1.diff.gz

2. Run dpkg-buildpackage:

$ cd dovecot-1.0.13
$ dpkg-buildpackage -rfakeroot -uc -us
dpkg-buildpackage: source package dovecot
dpkg-buildpackage: source version 1:1.0.13-1
dpkg-buildpackage: source changed by Fabio Tranchitella 
<[EMAIL PROTECTED]>
dpkg-buildpackage: host architecture amd64
...
dh_testdir
test -r /usr/share/misc/config.sub && \
          cp -f /usr/share/misc/config.sub config.sub
test -r /usr/share/misc/config.guess && \
          cp -f /usr/share/misc/config.guess config.guess
aclocal; automake-1.9 --add-missing; libtoolize -f -c;  aclocal-1.9; 
autoconf
configure.in:5: version mismatch.  This is Automake 1.9.6,
configure.in:5: but the definition used by this AM_INIT_AUTOMAKE
configure.in:5: comes from Automake 1.10.1.  You should recreate
configure.in:5: aclocal.m4 with aclocal and run automake again.
configure.in: installing `./ylwrap'
# Add here commands to configure the package.
./configure --with-ldap \
...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/wiki/Makefile
config.status: creating src/Makefile
config.status: creating src/lib/Makefile
config.status: creating src/lib-sql/Makefile
config.status: creating src/lib-auth/Makefile
config.status: creating src/lib-charset/Makefile
config.status: creating src/lib-dict/Makefile
config.status: creating src/lib-imap/Makefile
config.status: creating src/lib-index/Makefile
config.status: creating src/lib-mail/Makefile
config.status: error: cannot find input file: 
src/lib-managesieve/Makefile.in
make: *** [config.status] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

The '...' line indicate that I have trimmed out the output because I 
don't think it is relevant.

I have been able to work around this by editing the debian/rules file 
and change the first call to aclocal on line 17 to aclocal-1.9, patch 
attached.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24.4-ecrins
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- dovecot-1.0.13-orig/debian/rules    2008-04-01 14:05:51.000000000 +0100
+++ dovecot-1.0.13/debian/rules 2008-04-01 14:19:29.000000000 +0100
@@ -24,7 +24,7 @@
          cp -f /usr/share/misc/config.sub config.sub
        -test -r /usr/share/misc/config.guess && \
          cp -f /usr/share/misc/config.guess config.guess
-       aclocal; automake-1.9 --add-missing; libtoolize -f -c;  aclocal-1.9; 
autoconf
+       aclocal-1.9; automake-1.9 --add-missing; libtoolize -f -c;  
aclocal-1.9; autoconf
        # Add here commands to configure the package.
        ./configure --with-ldap \
                    --with-ssl=openssl \

Reply via email to