Subject: pkg/26584: mail/postfix doesn't compile on Darwin
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <michael@nosflow.com>
List: pkgsrc-bugs
Date: 08/07/2004 14:22:47
>Number:         26584
>Category:       pkg
>Synopsis:       mail/postfix doesn't compile on Darwin
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 07 16:48:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Wolfson
>Release:        MacOS X 10.3.4
>Organization:
>Environment:
Darwin Gizmobook 7.4.0 Darwin Kernel Version 7.4.0: Wed May 12 16:58:24 PDT 2004; root:xnu/xnu-517.7.7.obj~7/RELEASE_PPC  Power Macintosh powerpc
>Description:
When compiling postfix, gcc bails out.

gcc -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_DAEMON_DIR=\"/usr/pkg/libexec/p
ostfix\" -DDEF_COMMAND_DIR=\"/usr/pkg/sbin\" -DDEF_CONFIG_DIR=\"/usr/pkg/etc/pos
tfix\" -DDEF_SENDMAIL_PATH=\"/usr/pkg/sbin/sendmail\" -DDEF_MAILQ_PATH=\"/usr/pk
g/bin/mailq\" -DDEF_NEWALIAS_PATH=\"/usr/pkg/bin/newaliases\" -DDEF_MANPAGE_DIR=
\"/usr/pkg/man\" -DDEF_SAMPLE_DIR=\"/usr/pkg/share/examples/postfix\" -DDEF_READ
ME_DIR=\"/usr/pkg/share/doc/postfix\" -DHAS_SSL -DNO_PCRE -DUSE_SASL_AUTH -DBIND
_8_COMPAT -DNO_NETINFO -DINET6 -DINET6_KAME -D__ss_family=ss_family -D__ss_len=s
s_len -g -O2 -I/usr/include -I/usr/pkg/include/sasl -I. -DMACOSX -c match_list.c
gcc -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_DAEMON_DIR=\"/usr/pkg/libexec/p
ostfix\" -DDEF_COMMAND_DIR=\"/usr/pkg/sbin\" -DDEF_CONFIG_DIR=\"/usr/pkg/etc/pos
tfix\" -DDEF_SENDMAIL_PATH=\"/usr/pkg/sbin/sendmail\" -DDEF_MAILQ_PATH=\"/usr/pk
g/bin/mailq\" -DDEF_NEWALIAS_PATH=\"/usr/pkg/bin/newaliases\" -DDEF_MANPAGE_DIR=
\"/usr/pkg/man\" -DDEF_SAMPLE_DIR=\"/usr/pkg/share/examples/postfix\" -DDEF_READ
ME_DIR=\"/usr/pkg/share/doc/postfix\" -DHAS_SSL -DNO_PCRE -DUSE_SASL_AUTH -DBIND_8_COMPAT -DNO_NETINFO -DINET6 -DINET6_KAME -D__ss_family=ss_family -D__ss_len=s
s_len -g -O2 -I/usr/include -I/usr/pkg/include/sasl -I. -DMACOSX -c match_ops.c
In file included from /usr/include/resolv.h:60,
                 from match_ops.c:120:
/usr/include/resolv8_compat.h:138: error: `MAXDNAME' undeclared here (not in a f
unction)
*** Error code 1

Stop.
bmake: stopped in /Volumes/NetBSD/usr/src/pkgsrc/mail/postfix/work/postfix-2.1.4
/src/util
*** Error code 1

>How-To-Repeat:

>Fix:

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