<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
We provide rpm packages for centos 6&7 at https://repo.dovecot.org if you want to try them?
</div>
<div>
<br>
</div>
<div>
Aki
</div>
<blockquote type="cite">
<div>
On 15/12/2019 13:01 Mart Pirita <
<a href="mailto:mart@e-positive.ee">mart@e-positive.ee</a>> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Hi,
</div>
<div>
<br>
</div>
<div>
For some reason I've never been able to build x64 dovecot rpm package,
</div>
<div>
no matter how I try, I'm still getting lib64 errors, first tried few
</div>
<div>
years on centos 5, ok I know this is old distro, then few years tried
</div>
<div>
with centos 6 (and wrote here also - CentOS x64 compilation fails),
</div>
<div>
supported distro, no luck, now installed centos 7 and still no luck, so
</div>
<div>
seems it's not about centos or rpm version.
</div>
<div>
<br>
</div>
<div>
So I'm using option "rpmbuild -ba --target=i686 dovecot2.3.spec" to
</div>
<div>
build it, and it works but I'd still like to build x64 version. Why
</div>
<div>
libtool tries to install libdcrypt_openssl.la only instead
</div>
<div>
/usr/lib/dovecot into /usr/lib64/dovecot? . But as I can compile fine
</div>
<div>
postfix etc other openssl used app rpm -s, then is this some dovecot bug
</div>
<div>
or what am I missing?
</div>
<div>
<br>
</div>
<div>
Error:
</div>
<div>
/usr/bin/mkdir -p
</div>
<div>
'/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot'
</div>
<div>
/bin/sh ../../libtool --mode=install /usr/bin/install -c
</div>
<div>
libssl_iostream_openssl.la
</div>
<div>
'/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot'
</div>
<div>
libtool: install: /usr/bin/install -c .libs/libssl_iostream_openssl.so
</div>
<div>
/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot/libssl_iostream_openssl.so
</div>
<div>
libtool: install: /usr/bin/install -c .libs/libssl_iostream_openssl.lai
</div>
<div>
/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot/libssl_iostream_openssl.la
</div>
<div>
libtool: install: /usr/bin/install -c .libs/libssl_iostream_openssl.a
</div>
<div>
/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot/libssl_iostream_openssl.a
</div>
<div>
libtool: install: chmod 644
</div>
<div>
/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot/libssl_iostream_openssl.a
</div>
<div>
libtool: install: ranlib
</div>
<div>
/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib/dovecot/libssl_iostream_openssl.a
</div>
<div>
libtool: warning: remember to run 'libtool --finish /usr/lib/dovecot'
</div>
<div>
/usr/bin/mkdir -p
</div>
<div>
'/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/include/dovecot'
</div>
<div>
/usr/bin/install -c -m 644 iostream-openssl.h iostream-ssl.h
</div>
<div>
iostream-ssl-private.h iostream-ssl-test.h
</div>
<div>
'/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/include/dovecot'
</div>
<div>
make[3]: Leaving directory
</div>
<div>
`/root/rpmbuild/BUILD/dovecot-2.3.9.2/src/lib-ssl-iostream'
</div>
<div>
make[2]: Leaving directory
</div>
<div>
`/root/rpmbuild/BUILD/dovecot-2.3.9.2/src/lib-ssl-iostream'
</div>
<div>
Making install in lib-dcrypt
</div>
<div>
make[2]: Entering directory
</div>
<div>
`/root/rpmbuild/BUILD/dovecot-2.3.9.2/src/lib-dcrypt'
</div>
<div>
make[3]: Entering directory
</div>
<div>
`/root/rpmbuild/BUILD/dovecot-2.3.9.2/src/lib-dcrypt'
</div>
<div>
/usr/bin/mkdir -p
</div>
<div>
'/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib64/dovecot'
</div>
<div>
/bin/sh ../../libtool --mode=install /usr/bin/install -c
</div>
<div>
libdcrypt_openssl.la
</div>
<div>
'/root/rpmbuild/BUILDROOT/dovecot-2.3.9.2-mp.x86_64/usr/lib64/dovecot'
</div>
<div>
libtool: error: error: cannot install 'libdcrypt_openssl.la' to a
</div>
<div>
directory not ending in /usr/lib/dovecot
</div>
<div>
make[3]: *** [install-pkglibLTLIBRARIES] Error 1
</div>
<div>
make[3]: Leaving directory
</div>
<div>
`/root/rpmbuild/BUILD/dovecot-2.3.9.2/src/lib-dcrypt'
</div>
<div>
make[2]: *** [install-am] Error 2
</div>
<div>
make[2]: Leaving directory
</div>
<div>
`/root/rpmbuild/BUILD/dovecot-2.3.9.2/src/lib-dcrypt'
</div>
<div>
make[1]: *** [install-recursive] Error 1
</div>
<div>
make[1]: Leaving directory `/root/rpmbuild/BUILD/dovecot-2.3.9.2/src'
</div>
<div>
make: *** [install-recursive] Error 1
</div>
<div>
error: Bad exit status from /var/tmp/rpm-tmp.EVWbif (%install)
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Options:
</div>
<div>
./configure \
</div>
<div>
--prefix=/usr \
</div>
<div>
--with-ssl=openssl \
</div>
<div>
--with-ssldir=/etc/ssl \
</div>
<div>
--sysconfdir=/etc \
</div>
<div>
--without-vpopmail \
</div>
<div>
--with-pam \
</div>
<div>
--without-bsdauth \
</div>
<div>
--without-sql \
</div>
<div>
--without-nss \
</div>
<div>
--without-ldap \
</div>
<div>
--without-pgsql \
</div>
<div>
--without-mysql \
</div>
<div>
--without-sqlite \
</div>
<div>
--with-rundir=/var/run/dovecot \
</div>
<div>
--without-sia \
</div>
<div>
--without-cassandra \
</div>
<div>
--without-lucene \
</div>
<div>
--without-solr \
</div>
<div>
--without-textcat \
</div>
<div>
--without-libcap \
</div>
<div>
--without-stemmer \
</div>
<div>
--disable-rpath \
</div>
<div>
--disable-dependency-tracking \
</div>
<div>
--disable-silent-rules \
</div>
<div>
--without-gssapi \
</div>
<div>
--without-cdb
</div>
<div>
<br>
</div>
<div>
--
</div>
<div>
Mart
</div>
</blockquote>
<div>
<br>
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>