[MacPorts] #70409: c-ares @1.32.2 does not build on PPC Tiger, Mac OS X 10.4.11, because of error: expected declaration specifiers before '__OSX_AVAILABLE_STARTING'?
MacPorts
noreply at macports.org
Sat Jul 20 15:12:22 UTC 2024
#70409: c-ares @1.32.2 does not build on PPC Tiger, Mac OS X 10.4.11, because of
error: expected declaration specifiers before '__OSX_AVAILABLE_STARTING'?
-----------------------+--------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Keywords: tiger ppc | Port: c-ares
-----------------------+--------------------
{{{
[ 83%] Building C object
src/lib/CMakeFiles/c-ares.dir/ares_sysconfig_mac.c.o
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-ares/c-ares/work/build/src/lib
&& /opt/local/bin/gcc-apple-4.2 -DCARES_BUILDING_LIBRARY -DHAVE_CONFIG_H=1
-D_DARWIN_C_SOURCE -Dc_ares_EXPORTS
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-ares/c-ares/work/build
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-ares/c-ares/work/c-ares-1.32.2
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/src/lib -pipe -Os -DNDEBUG
-I/opt/local/include -Wall -Wextra -Waggregate-return -Wcast-align -Wcast-
qual -Wconversion -Wdeclaration-after-statement -Wfloat-equal -Wformat-
security -Winit-self -Wmissing-braces -Wmissing-declarations -Wmissing-
format-attribute -Wmissing-include-dirs -Wmissing-prototypes -Wnested-
externs -Wold-style-definition -Wpacked -Wpointer-arith -Wredundant-decls
-Wshadow -Wstrict-overflow -Wstrict-prototypes -Wundef -Wunreachable-code
-Wunused -Wvariadic-macros -Wwrite-strings -Werror=implicit-int -Werror
=implicit-function-declaration -Qunused-arguments -Wno-long-long
-std=gnu89 -arch ppc -mmacosx-version-min=10.4 -fPIC -MD -MT
src/lib/CMakeFiles/c-ares.dir/ares_sysconfig_mac.c.o -MF
CMakeFiles/c-ares.dir/ares_sysconfig_mac.c.o.d -o
CMakeFiles/c-ares.dir/ares_sysconfig_mac.c.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/src/lib/ares_sysconfig_mac.c
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/src/lib/ares_sysconfig_mac.c:61:
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/src/lib/thirdparty/apple/dnsinfo.h:106:
warning: no previous prototype for 'dns_configuration_notify_key'
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/src/lib/thirdparty/apple/dnsinfo.h: In
function 'dns_configuration_notify_key':
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/src/lib/thirdparty/apple/dnsinfo.h:106:
error: expected declaration specifiers before '__OSX_AVAILABLE_STARTING'
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/src/lib/thirdparty/apple/dnsinfo.h:109:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'__OSX_AVAILABLE_STARTING'
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/src/lib/thirdparty/apple/dnsinfo.h:112:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'__OSX_AVAILABLE_STARTING'
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/src/lib/ares_sysconfig_mac.c:71: error:
storage class specified for parameter 'dnsinfo_t'
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/src/lib/ares_sysconfig_mac.c:73: error:
expected ')' before '*' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/src/lib/ares_sysconfig_mac.c:86: error:
expected ')' before '*' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/src/lib/ares_sysconfig_mac.c:154: error:
expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/src/lib/ares_sysconfig_mac.c:166: error:
expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/src/lib/ares_sysconfig_mac.c:317: error:
expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/src/lib/ares_sysconfig_mac.c:337: error:
expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/src/lib/ares_sysconfig_mac.c:372: error:
old-style parameter declarations in prototyped function definition
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/src/lib/ares_sysconfig_mac.c:372: error:
expected '{' at end of input
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-
ares/c-ares/work/c-ares-1.32.2/src/lib/ares_sysconfig_mac.c:372: warning:
no return statement in function returning non-void
make[2]: *** [src/lib/CMakeFiles/c-ares.dir/ares_sysconfig_mac.c.o] Error
1
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_net_c-ares/c-ares/work/build'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70409>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list