Migrate from 2.2. to 2.3 with ldap

Marc Patermann hans.moser at ofd-sth.niedersachsen.de
Wed Jul 1 06:21:15 EDT 2009


Hi again,

Marc Patermann schrieb:

> On CentOS it ist working now. Now that I have a working config, I'll
> go back to SuSE to try again ...
I tried to rebuild the openSuSE rpm with openSuSE Build Service.
-> https://build.opensuse.org/
(These are my first steps with OBS.)

I created a new project and linked the original files from cyrus-imapd.
This builds fine.

I edited the spec file:

BuildRequires:  cyrus-sasl-devel db-devel drac ed krb5-devel
openslp-devel openssl-devel opie tcpd-devel openldap2-devel
(new: openldap2-devel)

export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing
-I/usr/include/kerberosIV -I%{_libdir}/sasl2/include" LIBS="-lldap -llber"
(new: LIBS="-lldap -llber")

This builds fine, too.

When I finally add the configure switch "--with-ldap=%{_libdir} \" or
"--with-ldap \", there are the following errors, built fails:


Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/cyrus-imapd-2.3.11-build
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/cyrus-imapd-2.3.11-build
Wrote: /usr/src/packages/SRPMS/cyrus-imapd-2.3.11-129.1.src.rpm
Wrote: /usr/src/packages/RPMS/x86_64/cyrus-imapd-2.3.11-129.1.x86_64.rpm
Wrote: /usr/src/packages/RPMS/x86_64/perl-Cyrus-IMAP-2.3.11-129.1.x86_64.rpm
Wrote:
/usr/src/packages/RPMS/x86_64/perl-Cyrus-SIEVE-managesieve-2.3.11-129.1.x86_64.rpm
Wrote:
/usr/src/packages/RPMS/x86_64/cyrus-imapd-devel-2.3.11-129.1.x86_64.rpm
... checking for files with abuild user/group
... running 00-check-install-rpms
... installing all built rpms
Preparing packages for installation...
perl-Cyrus-SIEVE-managesieve-2.3.11-129.1
perl-Cyrus-IMAP-2.3.11-129.1
cyrus-imapd-devel-2.3.11-129.1
/var/tmp/rpm-tmp.57455: line 2: /usr/sbin/usermod: No such file or directory
cyrus-imapd-2.3.11-129.1
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
warning: user cyrus does not exist - using root
... running 01-check-debuginfo
... testing for empty debuginfo packages
... running 02-check-gcc-output
... testing for serious compiler warnings
(using /usr/lib/build/checks-data/check_gcc_output)
(using //.build.log)

I: Program returns random data in a function
E: cyrus-imapd no-return-in-nonvoid-function afskrb.c:550
System halted.


It seems to me, that the rpms are built - but then something goes wrong!?

Does anybody have a hint?
Thanks!


Marc


More information about the Info-cyrus mailing list