[Dovecot] rc17 Linux RPM distribution rebuild trouble.
The question is addressed to Linux RPM-packagers.
Hello!
I was trying to rebuild rc17 binaries from dovecot-1.0-1_38.rc17.at.src.rpm taken at ATrpms http://ATrpms.net/. The process fails with following messages:
Making install in imap-quota
make[3]: Entering directory
/usr/src/asplinux/BUILD/dovecot-1.0.rc15/src/plugins/imap-quota' make[4]: Entering directory
/usr/src/asplinux/BUILD/dovecot-1.0.rc15/src/plugins/imap-quota'
make[4]: Target install-exec-am' does not require perform any command. test -z "/usr/lib/dovecot/imap" || mkdir -p -- "/var/tmp/dovecot-1.0-0_34.rc15-root/usr/lib/dovecot/imap" mkdir:
/var/tmp/dovecot-1.0-0_34.rc15-root/usr/lib/dovecot/imap'
exists, but it is not a directory
make[4]: *** [install-imap_moduleLTLIBRARIES] Error 1
As I have not so much experience at RPM-packaging, so would be
thankful for the ideas how to fix it?
Kind regards,
- Serge.
On Thu, Jan 11, 2007 at 12:10:35PM +0200, Serge D wrote:
test -z "/usr/lib/dovecot/imap" || mkdir -p -- "/var/tmp/dovecot-1.0-0_34.rc15-root/usr/lib/dovecot/imap" mkdir: `/var/tmp/dovecot-1.0-0_34.rc15-root/usr/lib/dovecot/imap' exists, but it is not a directory
As I have not so much experience at RPM-packaging, so would be
thankful for the ideas how to fix it?
Isn't really realted to RPM-packaging, something has created a file/symlink earlier in the build process, try to spot that.
Axel.Thimm at ATrpms.net
Axel Thimm ?????:
On Thu, Jan 11, 2007 at 12:10:35PM +0200, Serge D wrote:
test -z "/usr/lib/dovecot/imap" || mkdir -p -- "/var/tmp/dovecot-1.0-0_34.rc15-root/usr/lib/dovecot/imap" mkdir: `/var/tmp/dovecot-1.0-0_34.rc15-root/usr/lib/dovecot/imap' exists, but it is not a directory
Isn't really realted to RPM-packaging, something has created a file/symlink earlier in the build process, try to spot that.
...I'm trying. The trouble appearing during 'make install' stage...
The build process is arranged by autoconf, so for me, it makes things more complex. The RPMbuild transparenly passes to 'configure' default OS-dependent parameters, like libdir=/usr/lib , libexecdir=/usr/libexecdir , etc... So, it's hard to understand what it caused by and where should I try to fix it...
- Serge
Axel Thimm ?????:
On Thu, Jan 11, 2007 at 12:10:35PM +0200, Serge D wrote:
test -z "/usr/lib/dovecot/imap" || mkdir -p -- "/var/tmp/dovecot-1.0-0_34.rc15-root/usr/lib/dovecot/imap" mkdir: `/var/tmp/dovecot-1.0-0_34.rc15-root/usr/lib/dovecot/imap' exists, but it is not a directory
BTW, prebuild RPM-package places the same file in /usr/libexec/dovecot/imap . Here it's in /usr/lib/dovecot/imap ...
- Serge
On Thu, Jan 11, 2007 at 01:58:28PM +0200, Serge D wrote:
Axel Thimm ?????:
On Thu, Jan 11, 2007 at 12:10:35PM +0200, Serge D wrote:
test -z "/usr/lib/dovecot/imap" || mkdir -p -- "/var/tmp/dovecot-1.0-0_34.rc15-root/usr/lib/dovecot/imap" mkdir: `/var/tmp/dovecot-1.0-0_34.rc15-root/usr/lib/dovecot/imap' exists, but it is not a directory
BTW, prebuild RPM-package places the same file in /usr/libexec/dovecot/imap . Here it's in /usr/lib/dovecot/imap ...
Then it's an issue with your distribution which sets libexecdir=libdir. Try building from source, you will most likely hit the same issue there.
Axel.Thimm at ATrpms.net
Axel Thimm wrote:
Then it's an issue with your distribution which sets libexecdir=libdir. Try building from source, you will most likely hit the same issue there.
...well, hard configure definition --libexecdir=/usr/libexec in the %build section of dovecot.spec solved the problem.
Thanks.
-Serge
participants (2)
-
Axel Thimm
-
Serge D