Subject: pkg/28686: postfix does not compile (NI_WITHSCOPEID not defined)
To: None <,,>
From: Kimmo Suominen <>
List: pkgsrc-bugs
Date: 12/17/2004 05:42:00
>Number:         28686
>Category:       pkg
>Synopsis:       postfix does not compie (NI_WITHSCOPEID not defined)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 17 05:42:00 +0000 2004
>Originator:     Kimmo Suominen
>Release:        NetBSD 2.99.11 (2004-12-15)
Kimmo Suominen
System: NetBSD 2.99.11 NetBSD 2.99.11 (GW-GENERIC) #82: Thu Dec
16 13:13:06 EST 2004
IC i386
Architecture: i386
Machine: i386
pkgsrc/mail/postfix fails to compile:

cc -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_DAEMON_DIR=\"/usr/pkg/libexec/po
stfix\" -DDEF_COMMAND_DIR=\"/usr/pkg/sbin\" -DDEF_CONFIG_DIR=\"/etc/postfix\" -D
DEF_SENDMAIL_PATH=\"/usr/pkg/sbin/sendmail\" -DDEF_MAILQ_PATH=\"/usr/pkg/bin/mai
lq\" -DDEF_NEWALIAS_PATH=\"/usr/pkg/bin/newaliases\" -DDEF_MANPAGE_DIR=\"/usr/pk
g/man\" -DDEF_SAMPLE_DIR=\"/usr/pkg/share/examples/postfix\" -DDEF_README_DIR=\"
/usr/pkg/share/doc/postfix\" -DHAS_DB -DHAS_SSL -DHAS_PCRE -DUSE_SASL_AUTH -DINE
T6 -DINET6_KAME -D__ss_family=ss_family -D__ss_len=ss_len  -O2 -pipe -I/usr/incl
ude -I/usr/pkg/include -I/usr/pkg/include/sasl -I. -DNETBSD2 -c inet_addr_list.c
In file included from inet_addr_list.c:49:
sys_defs.h:42:1: warning: "HAS_DB" redefined
<command line>:14:1: warning: this is the location of the previous definition
inet_addr_list.c: In function `inet_addr_list_comp':
inet_addr_list.c:136: error: `NI_WITHSCOPEID' undeclared (first use in this func
inet_addr_list.c:136: error: (Each undeclared identifier is reported only once
inet_addr_list.c:136: error: for each function it appears in.)
*** Error code 1

make: stopped in /net/hrothgar/src-2/obj/i386/pkgsrc/mail/postfix/work.i386/post
*** Error code 1