[Dovecot] rpm build problem with beta 3

Daniel bart at istnet.net.au
Sat Feb 25 10:34:53 EET 2006


Hi

I have a small problem with building a rpm of dovecot. I normally build 
rpms from the tar balls to install on our servers.

With beta 3 I'm getting the error below. It builds fine if it is left 
stock with no ldap support.

This the snip from the .spec file I put the --with-ldap as I require 
ldap support however this is stoping it from building.

  %configure \
         --with-ldap \
         --with-ssl="openssl" \
         --with-ssldir="%{_sysconfdir}/ssl"

I have tested this on Fedora Core 3 and Core 4 both get the same.

Output of the end of the 'rpmbuild -tb dovecot-1.0.beta3.tar.gz'.

/usr/bin/install -c pop3-login 
/var/tmp/root-dovecot-1.0.beta3/usr/libexec/dovecot/pop3-login
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory 
`/usr/src/redhat/BUILD/dovecot-1.0.beta3/src/pop3-login'
make[2]: Leaving directory 
`/usr/src/redhat/BUILD/dovecot-1.0.beta3/src/pop3-login'
Making install in pop3
make[2]: Entering directory 
`/usr/src/redhat/BUILD/dovecot-1.0.beta3/src/pop3'
make[3]: Entering directory 
`/usr/src/redhat/BUILD/dovecot-1.0.beta3/src/pop3'
test -z "/var/tmp/root-dovecot-1.0.beta3/usr/libexec/dovecot" || mkdir 
-p -- "/var/tmp/root-dovecot-1.0.beta3/usr/libexec/dovecot"  /bin/sh 
../../libtool --mode=install /usr/bin/install -c 'pop3' 
'/var/tmp/root-dovecot-1.0.beta3/usr/libexec/dovecot/pop3'
/usr/bin/install -c pop3 
/var/tmp/root-dovecot-1.0.beta3/usr/libexec/dovecot/pop3
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory 
`/usr/src/redhat/BUILD/dovecot-1.0.beta3/src/pop3'
make[2]: Leaving directory 
`/usr/src/redhat/BUILD/dovecot-1.0.beta3/src/pop3'
Making install in util
make[2]: Entering directory 
`/usr/src/redhat/BUILD/dovecot-1.0.beta3/src/util'
make[3]: Entering directory 
`/usr/src/redhat/BUILD/dovecot-1.0.beta3/src/util'
test -z "/var/tmp/root-dovecot-1.0.beta3/usr/libexec/dovecot" || mkdir 
-p -- "/var/tmp/root-dovecot-1.0.beta3/usr/libexec/dovecot"  /bin/sh 
../../libtool --mode=install /usr/bin/install -c 'rawlog' 
'/var/tmp/root-dovecot-1.0.beta3/usr/libexec/dovecot/rawlog'
/usr/bin/install -c rawlog 
/var/tmp/root-dovecot-1.0.beta3/usr/libexec/dovecot/rawlog
   /bin/sh ../../libtool --mode=install /usr/bin/install -c 'gdbhelper' 
'/var/tmp/root-dovecot-1.0.beta3/usr/libexec/dovecot/gdbhelper'
/usr/bin/install -c gdbhelper 
/var/tmp/root-dovecot-1.0.beta3/usr/libexec/dovecot/gdbhelper
test -z "/var/tmp/root-dovecot-1.0.beta3/usr/sbin" || mkdir -p -- 
"/var/tmp/root-dovecot-1.0.beta3/usr/sbin"
   /bin/sh ../../libtool --mode=install /usr/bin/install -c 'dovecotpw' 
'/var/tmp/root-dovecot-1.0.beta3/usr/sbin/dovecotpw'
/usr/bin/install -c dovecotpw 
/var/tmp/root-dovecot-1.0.beta3/usr/sbin/dovecotpw
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory 
`/usr/src/redhat/BUILD/dovecot-1.0.beta3/src/util'
make[2]: Leaving directory 
`/usr/src/redhat/BUILD/dovecot-1.0.beta3/src/util'
Making install in plugins
make[2]: Entering directory 
`/usr/src/redhat/BUILD/dovecot-1.0.beta3/src/plugins'
Making install in convert
make[3]: Entering directory 
`/usr/src/redhat/BUILD/dovecot-1.0.beta3/src/plugins/convert'
make[4]: Entering directory 
`/usr/src/redhat/BUILD/dovecot-1.0.beta3/src/plugins/convert'
mkdir -p -- /usr/lib/dovecot/imap /usr/lib/dovecot/pop3 /usr/lib/dovecot/lda
for d in imap pop3 lda; do \
   rm -f /usr/lib/dovecot/$d/lib02_trash_plugin.so; \
   ln -s ../lib01_convert_plugin.so /usr/lib/dovecot/$d; \
done
ln: `/usr/lib/dovecot/imap/lib01_convert_plugin.so': File exists
ln: `/usr/lib/dovecot/pop3/lib01_convert_plugin.so': File exists
ln: `/usr/lib/dovecot/lda/lib01_convert_plugin.so': File exists
make[4]: *** [install-exec-local] Error 1
make[4]: Leaving directory 
`/usr/src/redhat/BUILD/dovecot-1.0.beta3/src/plugins/convert'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory 
`/usr/src/redhat/BUILD/dovecot-1.0.beta3/src/plugins/convert'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory 
`/usr/src/redhat/BUILD/dovecot-1.0.beta3/src/plugins'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/dovecot-1.0.beta3/src'
make: *** [install-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.30428 (%install)


RPM build errors:
     Bad exit status from /var/tmp/rpm-tmp.30428 (%install)


More information about the dovecot mailing list