From owner-freebsd-questions@FreeBSD.ORG Sun Jun 29 07:14:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EC4F106564A for ; Sun, 29 Jun 2008 07:14:55 +0000 (UTC) (envelope-from nicolas@nicoelro.net) Received: from mail.nicoelro.net (helm.nicoelro.net [87.98.216.147]) by mx1.freebsd.org (Postfix) with ESMTP id C44848FC12 for ; Sun, 29 Jun 2008 07:14:54 +0000 (UTC) (envelope-from nicolas@nicoelro.net) Received: by mail.nicoelro.net (Postfix, from userid 58) id 1E52A79A3E; Sun, 29 Jun 2008 09:14:53 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on helm.nicoelro.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=6.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from orthanc (ALyon-253-1-62-204.w86-193.abo.wanadoo.fr [86.193.205.204]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nicolas@nicoelro.net) by mail.nicoelro.net (Postfix) with ESMTP id 2964879894; Sun, 29 Jun 2008 09:14:52 +0200 (CEST) Date: Sun, 29 Jun 2008 09:14:52 +0200 From: Nicolas Letellier To: FreeBSD Questions Message-Id: <20080629091452.842fae22.nicolas@nicoelro.net> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: nivo@is-root.com Subject: problem when building dovecot-sieve with the new dovecot port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2008 07:14:55 -0000 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.