[MacPorts] #71486: postfix 3.9.1 fails if AI_NUMERICSERV is undefined
MacPorts
noreply at macports.org
Sun Dec 8 01:32:27 UTC 2024
#71486: postfix 3.9.1 fails if AI_NUMERICSERV is undefined
---------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: postfix |
---------------------------+--------------------
Comment (by barracuda156):
Actually it breaks down further too:
{{{
[src/dns]
make: Entering directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_mail_postfix/postfix/work/postfix-3.9.1/src/dns'
/usr/bin/gcc-4.2 -I. -I../../include -DNO_EAI -DNO_PCRE -arch ppc
-DBIND_8_COMPAT -DNO_NETINFO -DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H
-DNO_KQUEUE -DDEF_SMTPUTF8_ENABLE=\"no\" -DHAS_DEV_URANDOM
-UUSE_DYNAMIC_LIBS -DDEF_SHLIB_DIR=\"no\" -UUSE_DYNAMIC_MAPS -Wmissing-
prototypes -Wformat -Wno-comment -fno-common -g -Os -I. -I../../include
-DMACOSX -c dns_lookup.c
/usr/bin/gcc-4.2 -I. -I../../include -DNO_EAI -DNO_PCRE -arch ppc
-DBIND_8_COMPAT -DNO_NETINFO -DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H
-DNO_KQUEUE -DDEF_SMTPUTF8_ENABLE=\"no\" -DHAS_DEV_URANDOM
-UUSE_DYNAMIC_LIBS -DDEF_SHLIB_DIR=\"no\" -UUSE_DYNAMIC_MAPS -Wmissing-
prototypes -Wformat -Wno-comment -fno-common -g -Os -I. -I../../include
-DMACOSX -c dns_rr.c
/usr/bin/gcc-4.2 -I. -I../../include -DNO_EAI -DNO_PCRE -arch ppc
-DBIND_8_COMPAT -DNO_NETINFO -DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H
-DNO_KQUEUE -DDEF_SMTPUTF8_ENABLE=\"no\" -DHAS_DEV_URANDOM
-UUSE_DYNAMIC_LIBS -DDEF_SHLIB_DIR=\"no\" -UUSE_DYNAMIC_MAPS -Wmissing-
prototypes -Wformat -Wno-comment -fno-common -g -Os -I. -I../../include
-DMACOSX -c dns_strerror.c
/usr/bin/gcc-4.2 -I. -I../../include -DNO_EAI -DNO_PCRE -arch ppc
-DBIND_8_COMPAT -DNO_NETINFO -DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H
-DNO_KQUEUE -DDEF_SMTPUTF8_ENABLE=\"no\" -DHAS_DEV_URANDOM
-UUSE_DYNAMIC_LIBS -DDEF_SHLIB_DIR=\"no\" -UUSE_DYNAMIC_MAPS -Wmissing-
prototypes -Wformat -Wno-comment -fno-common -g -Os -I. -I../../include
-DMACOSX -c dns_strtype.c
/usr/bin/gcc-4.2 -I. -I../../include -DNO_EAI -DNO_PCRE -arch ppc
-DBIND_8_COMPAT -DNO_NETINFO -DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H
-DNO_KQUEUE -DDEF_SMTPUTF8_ENABLE=\"no\" -DHAS_DEV_URANDOM
-UUSE_DYNAMIC_LIBS -DDEF_SHLIB_DIR=\"no\" -UUSE_DYNAMIC_MAPS -Wmissing-
prototypes -Wformat -Wno-comment -fno-common -g -Os -I. -I../../include
-DMACOSX -c dns_rr_to_pa.c
/usr/bin/gcc-4.2 -I. -I../../include -DNO_EAI -DNO_PCRE -arch ppc
-DBIND_8_COMPAT -DNO_NETINFO -DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H
-DNO_KQUEUE -DDEF_SMTPUTF8_ENABLE=\"no\" -DHAS_DEV_URANDOM
-UUSE_DYNAMIC_LIBS -DDEF_SHLIB_DIR=\"no\" -UUSE_DYNAMIC_MAPS -Wmissing-
prototypes -Wformat -Wno-comment -fno-common -g -Os -I. -I../../include
-DMACOSX -c dns_sa_to_rr.c
In file included from ./dns.h:26,
from dns_rr_to_pa.c:49:
/usr/include/arpa/nameser_compat.h:99: error: conflicting types for
‘HEADER’
/usr/include/arpa/nameser8_compat.h:304: error: previous declaration of
‘HEADER’ was here
In file included from /usr/include/resolv.h:72,
from ./dns.h:28,
from dns_rr_to_pa.c:49:
/usr/include/resolv8_compat.h:138: error: ‘NS_MAXDNAME’ undeclared here
(not in a function)
In file included from dns.h:26,
from dns_strerror.c:37:
/usr/include/arpa/nameser_compat.h:99: error: conflicting types for
‘HEADER’
/usr/include/arpa/nameser8_compat.h:304: error: previous declaration of
‘HEADER’ was here
In file included from ./dns.h:26,
from dns_sa_to_rr.c:49:
/usr/include/arpa/nameser_compat.h:99: error: conflicting types for
‘HEADER’
/usr/include/arpa/nameser8_compat.h:304: error: previous declaration of
‘HEADER’ was here
dns_rr_to_pa.c: In function ‘dns_rr_to_pa’:
dns_rr_to_pa.c:55: error: ‘ns_t_a’ undeclared (first use in this function)
dns_rr_to_pa.c:55: error: (Each undeclared identifier is reported only
once
dns_rr_to_pa.c:55: error: for each function it appears in.)
dns_rr_to_pa.c:59: error: ‘ns_t_aaaa’ undeclared (first use in this
function)
In file included from dns.h:26,
from dns_strtype.c:48:
/usr/include/arpa/nameser_compat.h:99: error: conflicting types for
‘HEADER’
/usr/include/arpa/nameser8_compat.h:304: error: previous declaration of
‘HEADER’ was here
In file included from dns.h:26,
from dns_rr.c:161:
/usr/include/arpa/nameser_compat.h:99: error: conflicting types for
‘HEADER’
/usr/include/arpa/nameser8_compat.h:304: error: previous declaration of
‘HEADER’ was here
make: *** [dns_rr_to_pa.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from /usr/include/resolv.h:72,
from dns.h:28,
from dns_strtype.c:48:
/usr/include/resolv8_compat.h:138: error: ‘NS_MAXDNAME’ undeclared here
(not in a function)
In file included from /usr/include/resolv.h:72,
from dns.h:28,
from dns_strerror.c:37:
/usr/include/resolv8_compat.h:138: error: ‘NS_MAXDNAME’ undeclared here
(not in a function)
In file included from /usr/include/resolv.h:72,
from dns.h:28,
from dns_rr.c:161:
/usr/include/resolv8_compat.h:138: error: ‘NS_MAXDNAME’ undeclared here
(not in a function)
dns_strtype.c:61: error: ‘ns_t_a’ undeclared here (not in a function)
dns_strtype.c:61: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:64: error: ‘ns_t_aaaa’ undeclared here (not in a function)
dns_strtype.c:64: warning: initialization makes integer from pointer
without a castIn file included from dns.h:26,
from dns_lookup.c:271:
/usr/include/arpa/nameser_compat.h:99: error: conflicting types for
‘HEADER’
/usr/include/arpa/nameser8_compat.h:304: error: previous declaration of
‘HEADER’ was here
dns_strtype.c:67: error: ‘ns_t_ns’ undeclared here (not in a function)
dns_strtype.c:67: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:70: error: ‘ns_t_md’ undeclared here (not in a function)
dns_strtype.c:70: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:73: error: ‘ns_t_mf’ undeclared here (not in a function)
dns_strtype.c:73: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:76: error: ‘ns_t_cname’ undeclared here (not in a function)
dns_strtype.c:76: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:79: error: ‘ns_t_soa’ undeclared here (not in a function)
dns_strtype.c:79: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:82: error: ‘ns_t_mb’ undeclared here (not in a function)
dns_strtype.c:82: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:85: error: ‘ns_t_mg’ undeclared here (not in a function)
dns_strtype.c:85: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:88: error: ‘ns_t_mr’ undeclared here (not in a function)
dns_strtype.c:88: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:91: error: ‘ns_t_null’ undeclared here (not in a function)
dns_strtype.c:91: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:94: error: ‘ns_t_wks’ undeclared here (not in a function)
dns_strtype.c:94: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:97: error: ‘ns_t_ptr’ undeclared here (not in a function)
dns_strtype.c:97: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:100: error: ‘ns_t_hinfo’ undeclared here (not in a function)
dns_strtype.c:100: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:103: error: ‘ns_t_minfo’ undeclared here (not in a function)
dns_strtype.c:103: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:106: error: ‘ns_t_mx’ undeclared here (not in a function)
dns_strtype.c:106: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:109: error: ‘ns_t_txt’ undeclared here (not in a function)
dns_strtype.c:109: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:112: error: ‘ns_t_rp’ undeclared here (not in a function)
dns_strtype.c:112: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:115: error: ‘ns_t_afsdb’ undeclared here (not in a function)
dns_strtype.c:115: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:118: error: ‘ns_t_x25’ undeclared here (not in a function)
dns_strtype.c:118: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:121: error: ‘ns_t_isdn’ undeclared here (not in a function)
dns_rr.c: In function ‘dns_rr_compare_pref_ipv6’:
dns_rr.c:307: error: ‘ns_t_aaaa’ undeclared (first use in this function)
dns_rr.c:307: error: (Each undeclared identifier is reported only once
dns_rr.c:307: error: for each function it appears in.)
dns_rr.c: In function ‘dns_rr_compare_pref_ipv4’:
dns_rr.c:324: error: ‘ns_t_aaaa’ undeclared (first use in this function)
dns_strtype.c:121: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:124: error: ‘ns_t_rt’ undeclared here (not in a function)
dns_strtype.c:124: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:127: error: ‘ns_t_nsap’ undeclared here (not in a function)
dns_strtype.c:127: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:130: error: ‘ns_t_nsap_ptr’ undeclared here (not in a
function)
dns_strtype.c:130: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:133: error: ‘ns_t_sig’ undeclared here (not in a function)
dns_strtype.c:133: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:136: error: ‘ns_t_key’ undeclared here (not in a function)
dns_strtype.c:136: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:139: error: ‘ns_t_px’ undeclared here (not in a function)
dns_strtype.c:139: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:142: error: ‘ns_t_gpos’ undeclared here (not in a function)
dns_strtype.c:142: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:145: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:148: error: ‘ns_t_loc’ undeclared here (not in a function)
dns_strtype.c:148: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:151: warning: initialization makes pointer from integer
without a cast
dns_strtype.c:151: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:154: warning: initialization makes pointer from integer
without a cast
dns_strtype.c:154: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:157: warning: initialization makes pointer from integer
without a cast
dns_strtype.c:157: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:160: warning: initialization makes pointer from integer
without a cast
dns_strtype.c:160: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:163: error: ‘ns_t_axfr’ undeclared here (not in a function)
dns_strtype.c:163: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:166: error: ‘ns_t_mailb’ undeclared here (not in a function)
dns_strtype.c:166: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:169: error: ‘ns_t_maila’ undeclared here (not in a function)
In file included from /usr/include/resolv.h:72,
from dns.h:28,
from dns_lookup.c:271:
/usr/include/resolv8_compat.h:138: error: ‘NS_MAXDNAME’ undeclared here
(not in a function)
dns_strtype.c:169: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:172: warning: initialization makes pointer from integer
without a cast
In file included from /usr/include/resolv.h:72,
from ./dns.h:28,
from dns_sa_to_rr.c:49:
/usr/include/resolv8_compat.h:138: error: ‘NS_MAXDNAME’ undeclared here
(not in a function)
dns_strtype.c:172: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:175: warning: initialization makes pointer from integer
without a cast
dns_strtype.c:175: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:178: warning: initialization makes pointer from integer
without a cast
dns_strtype.c:178: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:181: error: ‘ns_t_any’ undeclared here (not in a function)
dns_strtype.c:181: warning: initialization makes integer from pointer
without a cast
dns_strtype.c:184: error: ‘ns_t_srv’ undeclared here (not in a function)
dns_strtype.c:184: warning: initialization makes integer from pointer
without a cast
make: *** [dns_rr.o] Error 1
make: *** [dns_strtype.o] Error 1
dns_sa_to_rr.c: In function ‘dns_sa_to_rr’:
dns_sa_to_rr.c:58: error: ‘ns_t_a’ undeclared (first use in this function)
dns_sa_to_rr.c:58: error: (Each undeclared identifier is reported only
once
dns_sa_to_rr.c:58: error: for each function it appears in.)
dns_sa_to_rr.c:58: error: ‘ns_c_in’ undeclared (first use in this
function)
dns_sa_to_rr.c:63: error: ‘ns_t_aaaa’ undeclared (first use in this
function)
make: *** [dns_strerror.o] Error 1
make: *** [dns_sa_to_rr.o] Error 1
dns_lookup.c: In function ‘dns_neg_query’:
dns_lookup.c:399: error: ‘ns_r_noerror’ undeclared (first use in this
function)
dns_lookup.c:399: error: (Each undeclared identifier is reported only once
dns_lookup.c:399: error: for each function it appears in.)
dns_lookup.c:405: error: ‘ns_o_query’ undeclared (first use in this
function)
dns_lookup.c:421: error: ‘ns_r_nxdomain’ undeclared (first use in this
function)
dns_lookup.c:430: error: ‘ns_r_servfail’ undeclared (first use in this
function)
dns_lookup.c: In function ‘dns_query’:
dns_lookup.c:559: error: ‘ns_c_in’ undeclared (first use in this function)
dns_lookup.c: In function ‘dns_skip_query’:
dns_lookup.c:675: error: ‘NS_QFIXEDSZ’ undeclared (first use in this
function)
dns_lookup.c: In function ‘dns_get_fixed’:
dns_lookup.c:690: error: ‘ns_c_in’ undeclared (first use in this function)
dns_lookup.c: In function ‘dns_get_rr’:
dns_lookup.c:767: error: ‘ns_t_cname’ undeclared (first use in this
function)
dns_lookup.c:769: error: ‘ns_t_mb’ undeclared (first use in this function)
dns_lookup.c:770: error: ‘ns_t_mg’ undeclared (first use in this function)
dns_lookup.c:771: error: ‘ns_t_mr’ undeclared (first use in this function)
dns_lookup.c:772: error: ‘ns_t_ns’ undeclared (first use in this function)
dns_lookup.c:773: error: ‘ns_t_ptr’ undeclared (first use in this
function)
dns_lookup.c:780: error: ‘ns_t_srv’ undeclared (first use in this
function)
dns_lookup.c:792: error: ‘ns_t_mx’ undeclared (first use in this function)
dns_lookup.c:803: error: ‘ns_t_a’ undeclared (first use in this function)
dns_lookup.c:815: error: ‘ns_t_aaaa’ undeclared (first use in this
function)
dns_lookup.c:832: error: ‘ns_t_txt’ undeclared (first use in this
function)
dns_lookup.c:864: error: ‘ns_t_soa’ undeclared (first use in this
function)
dns_lookup.c: In function ‘dns_get_alias’:
dns_lookup.c:896: error: ‘ns_t_cname’ undeclared (first use in this
function)
dns_lookup.c: In function ‘dns_get_answer’:
dns_lookup.c:960: error: ‘NS_RRFIXEDSZ’ undeclared (first use in this
function)
dns_lookup.c:980: error: ‘ns_t_any’ undeclared (first use in this
function)
dns_lookup.c:995: error: ‘ns_t_cname’ undeclared (first use in this
function)
dns_lookup.c: In function ‘dns_lookup_x’:
dns_lookup.c:1048: error: ‘ns_r_nxdomain’ undeclared (first use in this
function)
dns_lookup.c:1090: error: ‘ns_t_soa’ undeclared (first use in this
function)
dns_lookup.c: In function ‘dns_lookup_rl’:
dns_lookup.c:1231: error: ‘ns_t_mx’ undeclared (first use in this
function)
dns_lookup.c: In function ‘dns_lookup_rv’:
dns_lookup.c:1286: error: ‘ns_t_mx’ undeclared (first use in this
function)
make: *** [dns_lookup.o] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_mail_postfix/postfix/work/postfix-3.9.1/src/dns'
make: *** [update] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_mail_postfix/postfix/work/postfix-3.9.1'
Command failed: cd
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_mail_postfix/postfix/work/postfix-3.9.1"
&& /usr/bin/make -j6 -w
Exit code: 2
Error: Failed to build postfix: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_PPCSnowLeopardPorts_mail_postfix/postfix/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
36-148%
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71486#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list