[MacPorts] #70567: mod_perl2 fails to build: httpd.h:169: error: expected specifier-qualifier-list before ‘time_t’
MacPorts
noreply at macports.org
Thu Aug 15 18:27:07 UTC 2024
#70567: mod_perl2 fails to build: httpd.h:169: error: expected specifier-qualifier-
list before ‘time_t’
--------------------------+-----------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.0
Keywords: | Port: mod_perl2
--------------------------+-----------------------
From here down there are countless errors:
{{{
-c modperl_tipool.c && mv modperl_tipool.o modperl_tipool.lo
/usr/bin/cc
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_mod_perl2/mod_perl2/work/mod_perl-2.0.13/src/modules/perl
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_mod_perl2/mod_perl2/work/mod_perl-2.0.13/xs
-I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -I/opt/local/include
-I/opt/local/include/apache2 -fno-common -DPERL_DARWIN -pipe -Os -fno-
strict-aliasing -fstack-protector -I/opt/local/include
-DPERL_USE_SAFE_PUTENV -I/opt/local/lib/perl5/5.34/darwin-thread-multi-
2level/CORE -DMOD_PERL -DMP_COMPAT_1X -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -O3 \
-c modperl_log.c && mv modperl_log.o modperl_log.lo
In file included from modperl_apache_includes.h:27,
from mod_perl.h:20,
from mod_perl.c:17:
/opt/local/include/httpd.h:169: error: expected specifier-qualifier-list
before ‘time_t’
/opt/local/include/httpd.h:212: warning: ‘struct timeval’ declared inside
parameter list
/opt/local/include/httpd.h:212: warning: its scope is only this definition
or declaration, which is probably not what you want
/opt/local/include/httpd.h:225: error: expected declaration specifiers or
‘...’ before ‘FILE’
/opt/local/include/httpd.h:226: error: expected declaration specifiers or
‘...’ before ‘FILE’
In file included from modperl_apache_includes.h:27,
from mod_perl.h:20,
from modperl_tipool.c:17:
/opt/local/include/httpd.h:169: error: expected specifier-qualifier-list
before ‘time_t’
/opt/local/include/httpd.h:212: warning: ‘struct timeval’ declared inside
parameter list
/opt/local/include/httpd.h:212: warning: its scope is only this definition
or declaration, which is probably not what you want
/opt/local/include/httpd.h:225: error: expected declaration specifiers or
‘...’ before ‘FILE’
/opt/local/include/httpd.h:226: error: expected declaration specifiers or
‘...’ before ‘FILE’
In file included from modperl_apache_includes.h:27,
from mod_perl.h:20,
from modperl_interp.c:17:
/opt/local/include/httpd.h:169: error: expected specifier-qualifier-list
before ‘time_t’
/opt/local/include/httpd.h:212: warning: ‘struct timeval’ declared inside
parameter list
/opt/local/include/httpd.h:212: warning: its scope is only this definition
or declaration, which is probably not what you want
/opt/local/include/httpd.h:225: error: expected declaration specifiers or
‘...’ before ‘FILE’
/opt/local/include/httpd.h:226: error: expected declaration specifiers or
‘...’ before ‘FILE’
In file included from modperl_apache_includes.h:28,
from mod_perl.h:20,
from mod_perl.c:17:
/opt/local/include/apache2/http_config.h:302: error: expected specifier-
qualifier-list before ‘ap_method_list_t’
/opt/local/include/apache2/http_config.h:374: error: expected ‘)’ before
‘*’ token
/opt/local/include/apache2/http_config.h:381: error: expected ‘;’ before
‘void’
In file included from modperl_apache_includes.h:28,
from mod_perl.h:20,
from modperl_interp.c:17:
/opt/local/include/apache2/http_config.h:302: error: expected specifier-
qualifier-list before ‘ap_method_list_t’
/opt/local/include/apache2/http_config.h:374: error: expected ‘)’ before
‘*’ token
/opt/local/include/apache2/http_config.h:381: error: expected ‘;’ before
‘void’
/opt/local/include/apache2/http_config.h:564: error: expected ‘;’, ‘,’ or
‘)’ before ‘*’ token
/opt/local/include/apache2/http_config.h:572: error: expected ‘;’, ‘,’ or
‘)’ before ‘*’ token
/opt/local/include/apache2/http_config.h:582: error: expected ‘;’, ‘,’ or
‘)’ before ‘*’ token
/opt/local/include/apache2/http_config.h:592: error: expected ‘;’, ‘,’ or
‘)’ before ‘*’ token
/opt/local/include/apache2/http_config.h:602: warning: ‘struct ap_logconf’
declared inside parameter list
/opt/local/include/apache2/http_config.h:644: warning: ‘struct ap_logconf’
declared inside parameter list
/opt/local/include/apache2/http_config.h:941: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/opt/local/include/apache2/http_config.h:1015: error: expected declaration
specifiers or ‘...’ before ‘server_rec’
/opt/local/include/apache2/http_config.h:1023: error: expected ‘)’ before
‘*’ token
/opt/local/include/apache2/http_config.h:1059: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/opt/local/include/apache2/http_config.h:1068: error: expected ‘)’ before
‘*’ token
/opt/local/include/apache2/http_config.h:1083: error: expected declaration
specifiers or ‘...’ before ‘server_rec’
/opt/local/include/apache2/http_config.h: In function ‘AP_CORE_DECLARE’:
/opt/local/include/apache2/http_config.h:1116: error: expected declaration
specifiers before ‘ap_create_per_dir_config’
/opt/local/include/apache2/http_config.h:1124: error: expected declaration
specifiers before ‘AP_CORE_DECLARE’
/opt/local/include/apache2/http_config.h:1152: error: expected declaration
specifiers before ‘AP_CORE_DECLARE’
/opt/local/include/apache2/http_config.h:1167: error: expected declaration
specifiers before ‘AP_CORE_DECLARE’
/opt/local/include/apache2/http_config.h:1183: error: expected declaration
specifiers before ‘AP_CORE_DECLARE’
/opt/local/include/apache2/http_config.h:1196: error: expected ‘)’ before
‘*’ token
/opt/local/include/apache2/http_config.h:1212: error: expected ‘)’ before
‘*’ token
/opt/local/include/apache2/http_config.h:1227: error: expected ‘)’ before
‘*’ token
/opt/local/include/apache2/http_config.h:1254: error: expected declaration
specifiers before ‘AP_CORE_DECLARE’
/opt/local/include/apache2/http_config.h:1264: error: expected declaration
specifiers before ‘AP_CORE_DECLARE’
/opt/local/include/apache2/http_config.h:1276: error: expected declaration
specifiers before ‘AP_CORE_DECLARE’
/opt/local/include/apache2/http_config.h:1290: error: expected declaration
specifiers before ‘AP_CORE_DECLARE’
/opt/local/include/apache2/http_config.h:1303: error: expected ‘)’ before
‘*’ token
/opt/local/include/apache2/http_config.h:1303: error: expected ‘)’ before
‘*’ token
/opt/local/include/apache2/http_config.h:1303: error: expected ‘)’ before
‘*’ token
/opt/local/include/apache2/http_config.h:1303: error: expected specifier-
qualifier-list before ‘ap_HOOK_header_parser_t’
/opt/local/include/apache2/http_config.h:1303: error: storage class
specified for parameter ‘ap_LINK_header_parser_t’
/opt/local/include/apache2/http_config.h:1313: error: storage class
specified for parameter ‘ap_HOOK_pre_config_t’
/opt/local/include/apache2/http_config.h:1313: error: expected ‘)’ before
‘*’ token
/opt/local/include/apache2/http_config.h:1313: error: expected specifier-
qualifier-list before ‘ap_HOOK_pre_config_t’
/opt/local/include/apache2/http_config.h:1313: error: storage class
specified for parameter ‘ap_LINK_pre_config_t’
/opt/local/include/apache2/http_config.h:1325: error: expected declaration
specifiers or ‘...’ before ‘server_rec’
/opt/local/include/apache2/http_config.h:1325: error: storage class
specified for parameter ‘ap_HOOK_check_config_t’
/opt/local/include/apache2/http_config.h:1325: error: expected ‘)’ before
‘*’ token
/opt/local/include/apache2/http_config.h:1325: error: expected declaration
specifiers or ‘...’ before ‘server_rec’
. . .
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70567>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list