Go Back   openSUSE Forums > openSUSE Build Service (OBS)
Forums FAQ Members List Search Today's Posts Mark Forums Read


openSUSE Build Service (OBS) Questions about creating packages for openSUSE and using the Build Service

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-Jul-2009, 01:33
Puzzled Penguin
 
Join Date: Jul 2009
Posts: 1
MoserHans hasn't been rated much yet
Question Build errors

Hi,

I'm trying to rebuild cyrus-imapd rpm with ldap support.
(These are my first steps with OBS.)

I created a new project and linked the original files.
This builds fine.

I edited the spec file:
Code:
BuildRequires:  cyrus-sasl-devel db-devel drac ed krb5-devel openslp-devel openssl-devel opie tcpd-devel openldap2-devel
(new: openldap2-devel)

Code:
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 "
Code:
--with-ldap=%{_libdir} \
" or "
Code:
--with-ldap \
", there are the following errors, built fails:

Code:
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!
Reply With Quote
  #2 (permalink)  
Old 06-Aug-2009, 05:31
Puzzled Penguin
 
Join Date: Jun 2008
Location: Russia
Posts: 27
Lazy_Kent hasn't been rated much yet
Send a message via Yahoo to Lazy_Kent
Default Re: Build errors

There is a problem in program code.
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2