[Kolab-devel] [issue2349] cyrus imap fails to compile in kolab 2.2-beta3

viq kolab-issues at intevation.de
Tue Dec 18 15:07:21 CET 2007


New submission from viq <viq at viq.ath.cx>:

System is FreeBSD 6.2-RELEASE-p9 on x86. Cyrus apparently fails to pick up pcre
in the build process, I tried with 2.3.11 taken from OpenPKG, but same thing
happens with 2.3.10 distributed with kolab 2.2-beta3:

:::: /kolab/sources-rc/imapd-2.3.11-20071214.src.rpm ::::
Installing /kolab/sources-rc/imapd-2.3.11-20071214.src.rpm
Executing(%prep): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix -e
/kolab/RPM/TMP/rpm-tmp.87056
+ cd /kolab/RPM/TMP
+ cd /kolab/RPM/TMP
+ rm -rf cyrus-imapd-2.3.11
+ /kolab/lib/openpkg/gzip -dc /kolab/RPM/SRC/imapd/cyrus-imapd-2.3.11.tar.gz
+ /kolab/lib/openpkg/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd cyrus-imapd-2.3.11
+ echo 'Patch #0 (imapd.patch):'
Patch #0 (imapd.patch):
+ /kolab/lib/openpkg/patch -p0 -s -b
+ /kolab/bin/config install
updating ./config.guess
updating ./config.sub
+ cp /kolab/RPM/SRC/imapd/imapd.patch.group imapd.patch.group
+ /kolab/lib/openpkg/shtool subst -e 's;^\(\+.*\)strcmp;\1strcasecmp;'
imapd.patch.group
+ /kolab/lib/openpkg/patch -p1
patching file lib/auth_unix.c
Hunk #4 succeeded at 368 with fuzz 1.
Hunk #5 succeeded at 424 (offset -3 lines).
+ /kolab/lib/openpkg/shtool subst -e
's;/etc/imapd\.group;/kolab/etc/imapd/imapd.group;' lib/auth_unix.c
+ sed -e 5,27d
+ /kolab/lib/openpkg/patch -p1
missing header for unified diff at line 6 of patch
patching file imap/annotate.c
patching file lib/imapoptions
+ echo 'Patch #3 (KOLAB_cyrus-cyradm-2.3.11_Annotations.patch):'
Patch #3 (KOLAB_cyrus-cyradm-2.3.11_Annotations.patch):
+ /kolab/lib/openpkg/patch -p1 -s -b
+ echo 'Patch #4 (KOLAB_cyrus-imapd-2.3.11-_Logging.patch):'
Patch #4 (KOLAB_cyrus-imapd-2.3.11-_Logging.patch):
+ /kolab/lib/openpkg/patch -p1 -s -b
+ /kolab/lib/openpkg/shtool subst -e 's;\(IMAP_LIBS="${LIB_SASL}\) \(.*"\);\1
-lldap -llber \2;g' configure
+ sed -e 3,14d
+ /kolab/lib/openpkg/patch -p1
patching file imap/global.c
patching file lib/imapoptions
+ echo 'Patch #6 (KOLAB_cyrus-imapd-2.3.11-_Folder-names.patch):'
Patch #6 (KOLAB_cyrus-imapd-2.3.11-_Folder-names.patch):
+ /kolab/lib/openpkg/patch -p1 -s -b
+ rm -f lib/imapopts.h lib/imapopts.c
+ /kolab/lib/openpkg/shtool subst -e 's;-L/usr/local/lib;;g' -e
's;-I/usr/local/include;;g' -e 's;db-4\.[0-9];db;g' -e
's;-l\$dbname;/kolab/lib/lib$dbname.a;g' configu
re
+ loclibs=
+ case "i586-freebsd6.2" in
+ /kolab/lib/openpkg/shtool subst -e 's;^\( *.LIBS..*\)\(\"\],.*\)$;\1 -ldb\2;'
perl/sieve/managesieve/Makefile.PL perl/imap/Makefile.PL
+ /kolab/lib/openpkg/shtool subst -e 's;^\(.) exec\) \(perl .*\)$;\1
/kolab/bin/\2;' perl/imap/cyradm.sh
+ /kolab/lib/openpkg/shtool subst -e 's;^\(exec\) \(perl .*\)$;\1
/kolab/bin/\2;' perl/sieve/scripts/installsieve.pl
perl/sieve/scripts/sieveshell.pl snmp/snmpgen tool
s/arbitronsort.pl tools/config2header tools/config2man tools/convert-sieve.pl
tools/dohash tools/masssievec tools/migrate-metadata tools/mkimap
tools/mknewsgroups tool
s/mupdate-loadgen.pl tools/not-mkdep tools/rehash tools/translatesieve
tools/undohash tools/upgradesieve
+ /kolab/lib/openpkg/shtool subst -e 's;"/usr/sieve";"/kolab/var/imapd/sieve";g'
lib/imapopts.c tools/masssievec tools/rehash tools/translatesieve tools/upgradesieve
shtool:subst:Warning: file `lib/imapopts.c' not found or not a regular file
+ /kolab/lib/openpkg/shtool install -c -m 644 -e
's;\(@l_prefix@\);/kolab/RPM/TMP/imapd-2.3.11-root\1;g' -e 's;@l_susr@;root;g'
-e 's;@l_sgrp@;wheel;g' -e 's;@l_suid@;
0;g' -e 's;@l_sgid@;0;g' -e 's;@l_musr@;kolab;g' -e 's;@l_mgrp@;kolab;g' -e
's;@l_muid@;19414;g' -e 's;@l_mgid@;19414;g' -e 's;@l_rusr@;kolab-r;g' -e
's;@l_rgrp@;kolab
-r;g' -e 's;@l_ruid@;19415;g' -e 's;@l_rgid@;19415;g' -e 's;@l_nusr@;kolab-n;g'
-e 's;@l_ngrp@;kolab-n;g' -e 's;@l_nuid@;19416;g' -e 's;@l_ngid@;19416;g' -e
's;@l_pref
ix@;/kolab;g' -e 's;@l_prefix_static@;/kolab;g' /kolab/RPM/SRC/imapd/imapd.conf
imapd.conf-mkimap
+ /kolab/lib/openpkg/shtool subst -e 's;^exec perl ;exec /kolab/bin/perl ;' -e
's;/etc/imapd.conf;/kolab/etc/imapd/imapd.conf;' -e 's;^\($sievedir = \).*$;\1
shift ||
"/kolab/var/imapd/sieve"\;;' tools/mkimap
+ /kolab/lib/openpkg/shtool subst -e '/alt_config/s;"deliver";"cyrdeliver";'
imap/deliver.c
+ /kolab/lib/openpkg/shtool subst -e '/snprintf(buf, sizeof(buf),
"%s/s;/reconstruct";/cyrreconstruct";' -e '/snprintf(buf, sizeof(buf),
"%s/s;/quota";/cyrquota";' ima
p/imapd.c
+ /kolab/lib/openpkg/shtool subst -e 's;\(\\fB\|\.B
\)/etc/\(cyrus.conf\|imapd.conf\);\1/kolab/etc/imapd/\2;g' -e 's;\(\\fB\|\.B
\)/var/run/\(cyrus-master.pid\);\1/kol
ab/var/imapd/\2;g' man/arbitron.8 man/chk_cyrus.8 man/ctl_cyrusdb.8
man/ctl_deliver.8 man/ctl_mboxlist.8 man/cvt_cyrusdb.8 man/cyr_dbtool.8
man/cyr_expire.8 man/cyr_sy
nclog.8 man/cyrus.conf.5 man/deliver.8 man/fetchnews.8 man/fud.8 man/idled.8
man/imapd.8 man/imapd.conf.5 man/imclient.3 man/imtest.1 man/installsieve.1
man/ipurge.8 m
an/krb.equiv.5 man/lmtpd.8 man/lmtptest.1 man/make_md5.8 man/make_sha1.8
man/master.8 man/mbexamine.8 man/mbpath.8 man/mupdatetest.1 man/nntpd.8
man/nntptest.1 man/not
ifyd.8 man/pop3d.8 man/pop3test.1 man/quota.8 man/reconstruct.8 man/rmnews.8
man/sieveshell.1 man/sivtest.1 man/smmapd.8 man/smtptest.1 man/squatter.8
man/sync_client.
8 man/sync_reset.8 man/sync_server.8 man/syncnews.8 man/timsieved.8
man/tls_prune.8 man/unexpunge.8
+ /kolab/lib/openpkg/shtool subst -e 's;"/var/imap/;"/kolab/var/imapd/;g'
man/cyrus.conf.5
+ /kolab/lib/openpkg/shtool subst -e 's;/usr/cyrus/bin/;/kolab/bin/;g' -e
's;/usr/local/bin/gdb;/kolab/bin/gdb;g' -e
's;/usr/sieve;/kolab/var/imapd/sieve;g' -e 's;/var
/imap/md5;/kolab/var/imapd/md5;g' man/imapd.conf.5
+ exit 0
Executing(%build): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix -e
/kolab/RPM/TMP/rpm-tmp.87898
+ cd /kolab/RPM/TMP
+ cd cyrus-imapd-2.3.11
+ export CC=/kolab/bin/cc
+ CC=/kolab/bin/cc
+ export CPPFLAGS=-I/kolab/include
+ CPPFLAGS=-I/kolab/include
+ export 'CFLAGS=-O2 -pipe'
+ CFLAGS='-O2 -pipe'
+ export 'LDFLAGS=-L/kolab/lib -L/kolab/lib'
+ LDFLAGS='-L/kolab/lib -L/kolab/lib'
+ export LIBS=-lfsl
+ LIBS=-lfsl
+ CPPFLAGS='-I/kolab/include -DATVDOM'
+ case "i586-freebsd6.2" in
+ ./configure --prefix=/kolab --sysconfdir=/kolab/etc/imapd
--with-service-path=/kolab/bin --with-lib-subdir=/kolab/lib
--with-openssl=/kolab --with-bdb=/kolab --with-
bdb-incdir=/kolab/include --with-bdb-libdir=/kolab/lib --with-sasl=/kolab
--with-staticsasl=/kolab --with-com_err --without-libwrap --enable-idled
--disable-gssapi --w
ithout-gss_impl --with-perl=/kolab/bin/perl --without-snmp
--with-cyrus-prefix=/kolab --with-cyrus-user=kolab-r --with-cyrus-group=kolab-r
--with-pidfile=/kolab/var/im
apd/cyrmaster.pid --with-ldap=/kolab --with-extraident=openpkg --without-krb
checking build system type... i386-unknown-freebsd6.2
checking host system type... i386-unknown-freebsd6.2
checking for makedepend... /kolab/RPM/TMP/cyrus-imapd-2.3.11/tools/not-mkdep
configure: WARNING: Makedepend is not installed on this system.  You should
compile and install the version from the makedepend subdirectory.
checking for gcc... /kolab/bin/cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /kolab/bin/cc accepts -g... yes
checking for /kolab/bin/cc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... /kolab/bin/cc -E
checking for egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for an ANSI C-conforming const... yes
checking for long file names... yes
checking for inline... inline
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for long... yes
checking size of long... 4
checking for long long int... yes
checking size of long long int... 8
checking for unsigned long long int... yes
checking size of unsigned long long int... 8
checking whether byte ordering is bigendian... no
checking for __attribute__... yes
checking if compiler supports -fPIC... yes
checking for runpath switch... -R
checking for unistd.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for memmove... yes
checking for strcasecmp... yes
checking for ftruncate... yes
checking for strerror... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for getgrouplist... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for connect... yes
checking for res_search... yes
checking for dn_expand... yes
checking for dns_lookup... no
checking for getaddrinfo... yes
checking for gai_strerror... yes
checking for getnameinfo... yes
checking whether you have ss_family in struct sockaddr_storage... yes
checking whether you have sa_len in struct sockaddr... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for vprintf... yes
checking for _doprnt... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for main in -lfl... yes
checking pcreposix.h usability... yes
checking pcreposix.h presence... yes
checking for pcreposix.h... yes
checking rxposix.h usability... no
checking rxposix.h presence... no
checking for rxposix.h... no
test: yes: unexpected operator
test: no: unexpected operator
checking for library containing regcomp... none required
checking for strerror... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for setrlimit... yes
checking for getrlimit... yes
checking for daemon... yes
checking for setsid... yes
checking for shutdown... yes
checking for setproctitle... yes
checking nonblocking method... fcntl
checking timezone GMT offset method... tm
checking for shared mmap... yes
checking for fcntl... yes
checking for fdatasync... no
checking for fdatasync in -lrt... no
checking for sigvec... yes
checking for ldap_initialize in -lldap... no
checking for ldap_initialize in -lldap... (cached) no
checking for res_search in -lresolv... no
checking krb.h usability... no
checking krb.h presence... no
checking for krb.h... no
configure: WARNING: No Kerberos V4 found
checking for openssl... /kolab
checking for ZInitialize in -lzephyr... no
checking for modern syslog... yes
checking which syslog facility to use... LOG_LOCAL6
checking for getdtablesize... yes
checking to use old sieve service name... no
checking for dlopen... yes
checking for crypt... no
checking for crypt in -lcrypt... yes
checking GSSAPI... disabled
checking sasl/sasl.h usability... yes
checking sasl/sasl.h presence... yes
checking for sasl/sasl.h... yes
checking sasl/saslutil.h usability... yes
checking sasl/saslutil.h presence... yes
checking for sasl/saslutil.h... yes
checking for static libsasl... found
checking for sasl/sasl.h... (cached) yes
checking for sasl/saslutil.h... (cached) yes
checking for prop_get in -lsasl2... yes
checking for sasl_checkapop in -lsasl2... yes
checking for /kolab/bin/perl... no
checking for perl... perl
checking for MD5Init... no
checking for MD5Init in -lmd... yes
checking for long... (cached) yes
checking size of long... (cached) 4
checking what directory libraries are found in... /kolab/lib
checking libwrap support... no
configure: creating ./config.status
config.status: creating man/Makefile
config.status: creating master/Makefile
config.status: creating lib/Makefile
config.status: creating imap/Makefile
config.status: creating imtest/Makefile
config.status: creating netnews/Makefile
config.status: creating perl/Makefile
config.status: creating sieve/Makefile
config.status: creating ptclient/Makefile
config.status: creating com_err/et/Makefile
config.status: creating timsieved/Makefile
config.status: creating notifyd/Makefile
config.status: creating perl/sieve/Makefile
config.status: creating perl/sieve/lib/Makefile
config.status: creating Makefile
config.status: creating config.h
+ /kolab/bin/make --no-print-directory
### Making all in /kolab/RPM/TMP/cyrus-imapd-2.3.11/man
make[1]: Nothing to be done for `all'.
### Making all in /kolab/RPM/TMP/cyrus-imapd-2.3.11/com_err/et
./config_script ./compile_et.sh nawk sed > compile_et
chmod 755 compile_et
/kolab/bin/cc -c -I/kolab/include -I/kolab/include -DATVDOM -I/kolab/include
-DHAVE_CONFIG_H -I. -I./../../lib -I. -I../.. -O2 -pipe error_message.c
/kolab/bin/cc -c -I/kolab/include -I/kolab/include -DATVDOM -I/kolab/include
-DHAVE_CONFIG_H -I. -I./../../lib -I. -I../.. -O2 -pipe et_name.c
/kolab/bin/cc -c -I/kolab/include -I/kolab/include -DATVDOM -I/kolab/include
-DHAVE_CONFIG_H -I. -I./../../lib -I. -I../.. -O2 -pipe init_et.c
/kolab/bin/cc -c -I/kolab/include -I/kolab/include -DATVDOM -I/kolab/include
-DHAVE_CONFIG_H -I. -I./../../lib -I. -I../.. -O2 -pipe com_err.c
rm -f libcom_err.a
ar cr libcom_err.a error_message.o et_name.o init_et.o com_err.o
ranlib libcom_err.a
### Making all in /kolab/RPM/TMP/cyrus-imapd-2.3.11/lib
./../tools/config2header CC="/kolab/bin/cc" ./imapopts.c ./imapopts.h <
./imapoptions
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        libconfig.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        imapopts.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        hash.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        mpool.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        xmalloc.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        strhash.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        xstrlcat.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        xstrlcpy.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        assert.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        util.c
rm -f libcyrus_min.a
ar cr libcyrus_min.a libconfig.o imapopts.o hash.o mpool.o xmalloc.o strhash.o
xstrlcat.o xstrlcpy.o assert.o util.o
ranlib libcyrus_min.a
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        acl.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        bsearch.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        charset.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        glob.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        retry.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        libcyr_cfg.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        mkgmtime.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        prot.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        parseaddr.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        imclient.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        imparse.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        lsort.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        stristr.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        rfc822date.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        cyrusdb.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        mkchartable.c
/kolab/bin/cc -L/kolab/lib -R/kolab/lib -L/kolab/lib -R/kolab/lib -L/kolab/lib
-L/kolab/lib -o mkchartable mkchartable.o xstrlcpy.o xstrlcat.o xmalloc.o assert.o
### Building chartables...
rm -f chartable.c
./mkchartable \
         -m ./charset/unifix.txt        \
         -m ./charset/unidata2.txt \
         ./charset/*.t \
         > chartable.c \
         || (rm -f chartable.c && exit 1)
mkchartable: expanding unicode mappings...
mkchartable: expanding unicode mappings...
mkchartable: expanding unicode mappings...
mkchartable: building expansion table...
mkchartable: mapping unicode...
mkchartable: mapping UTF-8...
mkchartable: mapping UTF-7...
mkchartable: mapping ./charset/big5.t...
mkchartable: mapping ./charset/gb2312.t...
mkchartable: mapping ./charset/iso-2022-jp.t...
mkchartable: mapping ./charset/iso-2022-kr.t...
mkchartable: mapping ./charset/iso-8859-1.t...
mkchartable: mapping ./charset/iso-8859-15.t...
mkchartable: mapping ./charset/iso-8859-2.t...
mkchartable: mapping ./charset/iso-8859-3.t...
mkchartable: mapping ./charset/iso-8859-4.t...
mkchartable: mapping ./charset/iso-8859-5.t...
mkchartable: mapping ./charset/iso-8859-6.t...
mkchartable: mapping ./charset/iso-8859-7.t...
mkchartable: mapping ./charset/iso-8859-8.t...
mkchartable: mapping ./charset/iso-8859-9.t...
mkchartable: mapping ./charset/koi8-r.t...
mkchartable: mapping ./charset/us-ascii.t...
mkchartable: mapping ./charset/windows-1250.t...
mkchartable: mapping ./charset/windows-1251.t...
mkchartable: mapping ./charset/windows-1252.t...
mkchartable: mapping ./charset/windows-1255.t...
mkchartable: mapping ./charset/windows-1256.t...
### Done building chartables.
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        chartable.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        imapurl.c
imapurl.c: In function 'imapurl_fromURL':
imapurl.c:398: warning: passing argument 1 of 'decode_url' discards qualifiers
from pointer target type
imapurl.c:398: warning: passing argument 2 of 'decode_url' discards qualifiers
from pointer target type
imapurl.c:529: warning: passing argument 1 of 'URLtoMailbox' discards qualifiers
from pointer target type
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        nonblock_fcntl.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        lock_fcntl.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        gmtoff_tm.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        map_shared.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        acl_afs.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        auth.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        auth_krb.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        auth_unix.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        auth_krb5.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        auth_pts.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        cyrusdb_flat.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        cyrusdb_skiplist.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        cyrusdb_quotalegacy.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        cyrusdb_berkeley.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        iptostring.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        wildmat.c
/kolab/bin/cc -c -I.. -I/kolab/include -I/kolab/include -DATVDOM
-I/kolab/include -I../com_err/et -I/kolab/include -DHAVE_CONFIG_H  -O2 -pipe  \
        byteorder64.c
rm -f libcyrus.a
ar cr libcyrus.a acl.o bsearch.o charset.o glob.o retry.o util.o libcyr_cfg.o
mkgmtime.o prot.o parseaddr.o imclient.o imparse.o lsort.o stristr.o
rfc822date.o cyrusdb
.o strhash.o chartable.o imapurl.o nonblock_fcntl.o lock_fcntl.o gmtoff_tm.o
map_shared.o acl_afs.o auth.o auth_krb.o auth_unix.o auth_krb5.o auth_pts.o
cyrusdb_flat.o
 cyrusdb_skiplist.o cyrusdb_quotalegacy.o cyrusdb_berkeley.o iptostring.o
xmalloc.o wildmat.o byteorder64.o xstrlcat.o xstrlcpy.o
ranlib libcyrus.a
### Making all in /kolab/RPM/TMP/cyrus-imapd-2.3.11/sieve
../com_err/et/compile_et ./sieve_err.et
/kolab/bin/cc -c -I.. -I./../lib -I../com_err/et -I/kolab/include
-I/kolab/include -DATVDOM -I/kolab/include -I/kolab/include -DHAVE_CONFIG_H  -O2
-pipe  \
        sieve_err.c
/kolab/bin/cc -c -I.. -I./../lib -I../com_err/et -I/kolab/include
-I/kolab/include -DATVDOM -I/kolab/include -I/kolab/include -DHAVE_CONFIG_H  -O2
-pipe  \
        sieve.c
/kolab/bin/cc -c -I.. -I./../lib -I../com_err/et -I/kolab/include
-I/kolab/include -DATVDOM -I/kolab/include -I/kolab/include -DHAVE_CONFIG_H  -O2
-pipe  \
        sieve-lex.c
/kolab/bin/cc -c -I.. -I./../lib -I../com_err/et -I/kolab/include
-I/kolab/include -DATVDOM -I/kolab/include -I/kolab/include -DHAVE_CONFIG_H  -O2
-pipe  \
        comparator.c
/kolab/bin/cc -c -I.. -I./../lib -I../com_err/et -I/kolab/include
-I/kolab/include -DATVDOM -I/kolab/include -I/kolab/include -DHAVE_CONFIG_H  -O2
-pipe  \
        interp.c
/kolab/bin/cc -c -I.. -I./../lib -I../com_err/et -I/kolab/include
-I/kolab/include -DATVDOM -I/kolab/include -I/kolab/include -DHAVE_CONFIG_H  -O2
-pipe  \
        message.c
/kolab/bin/cc -c -I.. -I./../lib -I../com_err/et -I/kolab/include
-I/kolab/include -DATVDOM -I/kolab/include -I/kolab/include -DHAVE_CONFIG_H  -O2
-pipe  \
        bc_generate.c
/kolab/bin/cc -c -I.. -I./../lib -I../com_err/et -I/kolab/include
-I/kolab/include -DATVDOM -I/kolab/include -I/kolab/include -DHAVE_CONFIG_H  -O2
-pipe  \
        bc_dump.c
/kolab/bin/cc -c -I.. -I./../lib -I../com_err/et -I/kolab/include
-I/kolab/include -DATVDOM -I/kolab/include -I/kolab/include -DHAVE_CONFIG_H  -O2
-pipe  \
        bc_emit.c
/kolab/bin/cc -c -I.. -I./../lib -I../com_err/et -I/kolab/include
-I/kolab/include -DATVDOM -I/kolab/include -I/kolab/include -DHAVE_CONFIG_H  -O2
-pipe  \
        bc_eval.c
/kolab/bin/cc -c -I.. -I./../lib -I../com_err/et -I/kolab/include
-I/kolab/include -DATVDOM -I/kolab/include -I/kolab/include -DHAVE_CONFIG_H  -O2
-pipe  \
        script.c
/kolab/bin/cc -c -I.. -I./../lib -I../com_err/et -I/kolab/include
-I/kolab/include -DATVDOM -I/kolab/include -I/kolab/include -DHAVE_CONFIG_H  -O2
-pipe  \
        tree.c
/kolab/bin/cc -c -I.. -I./../lib -I../com_err/et -I/kolab/include
-I/kolab/include -DATVDOM -I/kolab/include -I/kolab/include -DHAVE_CONFIG_H  -O2
-pipe  \
        addr.c
/kolab/bin/cc -c -I.. -I./../lib -I../com_err/et -I/kolab/include
-I/kolab/include -DATVDOM -I/kolab/include -I/kolab/include -DHAVE_CONFIG_H  -O2
-pipe  \
        addr-lex.c
rm -f libsieve.a
ar cr libsieve.a sieve_err.o sieve.o sieve-lex.o comparator.o interp.o message.o
bc_generate.o bc_dump.o bc_emit.o bc_eval.o script.o tree.o addr.o addr-lex.o
ranlib libsieve.a
/kolab/bin/cc -c -I.. -I./../lib -I../com_err/et -I/kolab/include
-I/kolab/include -DATVDOM -I/kolab/include -I/kolab/include -DHAVE_CONFIG_H  -O2
-pipe  \
        sievec.c
/kolab/bin/cc -L/kolab/lib -R/kolab/lib -L/kolab/lib -R/kolab/lib -L/kolab/lib
-L/kolab/lib -o sievec sievec.o libsieve.a ../lib/libcyrus.a
../lib/libcyrus_min.a  libs
ieve.a -L/kolab/lib /kolab/lib/libsasl2.a -lldap -llber   -lfl -lfsl 
-L/kolab/lib  -R/kolab/lib /kolab/lib/libdb.a -lssl -lcrypto -lmd 
../com_err/et/libcom_err.a
libsieve.a(tree.o): In function `free_tree':
tree.c:(.text+0x282): undefined reference to `pcreposix_regfree'
libsieve.a(sieve.o): In function `verify_regex':
sieve.c:(.text+0x12c): undefined reference to `pcreposix_regcomp'
sieve.c:(.text+0x140): undefined reference to `pcreposix_regerror'
libsieve.a(bc_eval.o): In function `bc_compile_regex':
bc_eval.c:(.text+0x20): undefined reference to `pcreposix_regcomp'
bc_eval.c:(.text+0x3e): undefined reference to `pcreposix_regerror'
libsieve.a(comparator.o): In function `octet_regex':
comparator.c:(.text+0x200): undefined reference to `pcreposix_regexec'
comparator.c:(.text+0x232): undefined reference to `pcreposix_regexec'
collect2: ld returned 1 exit status
make[1]: *** [sievec] Error 1
make: *** [all] Error 1
error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.87898 (%build)


RPM build errors:
    Bad exit status from /kolab/RPM/TMP/rpm-tmp.87898 (%build)

----------
messages: 13178
nosy: viq
status: unread
title: cyrus imap fails to compile in kolab 2.2-beta3
________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://intevation.de/roundup/kolab/issue2349>
________________________________________________




More information about the devel mailing list