problem when building dovecot-sieve with the new dovecot port

2008-06-29 Thread Nicolas Letellier
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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem when building dovecot-sieve with the new dovecot port

2008-06-29 Thread Matthias Fechner

Hi Nicolas,

Nicolas Letellier wrote:
I'm upgrading my dovecot from 1.0.14 to 1.1. 
I pkg_deinstall my dovecot and my dovecot-sieve.


you must use a new version of dovecot-sieve too, see that bug report:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/125064

After I manually patched my port it built fine.

Bye,
Matthias

--
Programming today is a race between software engineers striving to 
build bigger and better idiot-proof programs, and the universe trying to 
produce bigger and better idiots. So far, the universe is winning. -- 
Rich Cook

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]