Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2008 14:59:44 GMT
From:      Henri Hennebert <hlh@restart.be>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/121529: portupgrade to dkim-milter 2.5.0 failed
Message-ID:  <200803091459.m29Exi6C014163@www.freebsd.org>
Resent-Message-ID: <200803091510.m29FA22X085305@freefall.freebsd.org>

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

>Number:         121529
>Category:       ports
>Synopsis:       portupgrade to dkim-milter 2.5.0 failed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 09 15:10:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Henri Hennebert
>Release:        FreeBSD 7.0-RELEASE
>Organization:
>Environment:
FreeBSD avoriaz.restart.bel 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 14:02:55 CET 2008     root@avoriaz.restart.bel:/usr/obj/usr/src/sys/AVORIAZ  amd64
>Description:
If mail/dkim-milter is already installed, during the build you get:

cc -O2 -fno-strict-aliasing -pipe  -I/usr/local/include -I. -I../libdkim/   -I../../include  -I/usr/local/include -D_FFR_DNS_UPGRADE  -DXP_MT -c dkim-filter.c

dkim-filter.c: In function 'dkimf_config_setlib':
dkim-filter.c:2454: error: 'DKIM_LIBFLAGS_FIXCRLF' undeclared (first use in this function)
dkim-filter.c:2454: error: (Each undeclared identifier is reported only once
dkim-filter.c:2454: error: for each function it appears in.)
dkim-filter.c: In function 'mlfi_eom':
dkim-filter.c:5553: error: too few arguments to function 'dkim_policy'
dkim-filter.c:5560: error: 'DKIM_POLICY_DISCARDABLE' undeclared (first use in this function)
dkim-filter.c:5562: error: 'DKIM_PRESULT_AUTHOR' undeclared (first use in this function)
dkim-filter.c:5563: error: 'DKIM_PRESULT_PARENT' undeclared (first use in this function)
*** Error code 1

>How-To-Repeat:

>Fix:
The error is trigerred by the the include of dkim.h from the previous version (/usr/local/includes/dkim.h).

I think it would be better to have -I/usr/local/include as last -I parameter for cc.

As a workaround, remove /usr/local/includes/dkim.h.

Henri


>Release-Note:
>Audit-Trail:
>Unformatted:



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