Re: cyrus-imapd rpm rebuild

Marc Patermann <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
Hallo!

Marc Patermann schrieb:

> Back on the track ...
Ich habe mich jetzt doch mal am openSuSE-Buildservice versucht.

Zuerst habe ich das unveränderte spec-file benutzt. Das ging.

Dann habe ich folgende Änderungen eingebaut:
BuildRequires:  cyrus-sasl-devel db-devel drac ed krb5-devel 
openslp-devel openssl-devel opie tcpd-devel openldap2-devel

(Ergänzung um openldap2-devel)

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

(Ergänzung um LIBS="-lldap -llber")

Soweit ging es dann noch fehlerfrei.

Beim entscheidenden configure-Switch läuft es dann aber auf einen Fehler:

--with-ldap=%{_libdir} \


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.


Für mich sieht es so aus, als würden die RPMs schon erzeugt sein, dann 
aber noch mal testweise installiert und beim devel-Paket geht dann was 
schief!?



Marc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.