ports/121529: portupgrade to dkim-milter 2.5.0 failed

Henri Hennebert hlh at restart.be
Sun Mar 9 15:10:03 UTC 2008


>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 at 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:



More information about the freebsd-ports-bugs mailing list