Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jun 2008 09:14:52 +0200
From:      Nicolas Letellier <nicolas@nicoelro.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Cc:        nivo@is-root.com
Subject:   problem when building dovecot-sieve with the new dovecot port
Message-ID:  <20080629091452.842fae22.nicolas@nicoelro.net>

next in thread | raw e-mail | index | archive | help
Hi.

I'm upgrading my dovecot from 1.0.14 to 1.1. 
I pkg_deinstall my dovecot and my dovecot-sieve.

dovecot installs correctly.

However, dovecot-sieve does not want to be built:

 cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/ports/mail/dovecot/work/dovecot-1.1.1 -I/usr/ports/mail/dovecot/work/dovecot-1.1.1/src/lib -I../../src -std=gnu99 -O2 -pipe -march=pentium4 -fno-strict-aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -DENABLE_REGEX -MT comparator.lo -MD -MP -MF .deps/comparator.Tpo -c comparator.c  -fPIC -DPIC -o .libs/comparator.o
comparator.c:150: error: expected ';', ',' or ')' before '__attr_unused__'
comparator.c:217: error: expected ';', ',' or ')' before '__attr_unused__'
comparator.c:225: error: expected ';', ',' or ')' before '__attr_unused__'
comparator.c:239: error: expected ';', ',' or ')' before '__attr_unused__'
comparator.c:259: error: expected ';', ',' or ')' before '__attr_unused__'
comparator.c: In function 'lookup_comp':
comparator.c:392: error: 'octet_contains' undeclared (first use in this function)
comparator.c:392: error: (Each undeclared identifier is reported only once
comparator.c:392: error: for each function it appears in.)
comparator.c:395: error: 'octet_matches' undeclared (first use in this function)
comparator.c:399: error: 'octet_regex' undeclared (first use in this function)
comparator.c:415: error: 'ascii_casemap_contains' undeclared (first use in this function)
comparator.c:418: error: 'ascii_casemap_matches' undeclared (first use in this function)
*** Error code 1

Stop in /usr/ports/mail/dovecot-sieve/work/dovecot-sieve-1.0.2/src/libsieve.
*** Error code 1

Stop in /usr/ports/mail/dovecot-sieve/work/dovecot-sieve-1.0.2/src.
*** Error code 1

Stop in /usr/ports/mail/dovecot-sieve/work/dovecot-sieve-1.0.2.
*** Error code 1

Stop in /usr/ports/mail/dovecot-sieve/work/dovecot-sieve-1.0.2.
*** Error code 1

Stop in /usr/ports/mail/dovecot-sieve.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.24674.0 env make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! mail/dovecot-sieve    (compiler error)


So, my upgrade process to new dovecot failed....
I'm going to install my backups and go back to dovecot 1.0.14. I cannot upgrade my system to new dovecot if dovecot-sieve port is broken.

Thanks.

-- 
 -Nicolas.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080629091452.842fae22.nicolas>