[R-pkg-team] Bug#1134314: rapache: FTBFS: mod_R.c:1360:13: error: implicit declaration of function 'ENCLOS' [-Wimplicit-function-declaration]
Santiago Vila
sanvila at debian.org
Sat Apr 18 18:32:41 BST 2026
Package: src:rapache
Version: 1.2.11-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202604/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:rapache, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with apache2
dh_clean
debian/rules binary
dh binary --with apache2
dh_update_autotools_config
dh_autoreconf
autoreconf: export WARNINGS=
autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: Entering directory '.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force -I m4
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
[... snipped ...]
| ^~~~~~
mod_R.c:2097:97: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2121:4: note: in expansion of macro 'STRMBR'
2121 | STRMBR("handler",MR_Request.r->handler);
| ^~~~~~
mod_R.c:2097:38: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2122:4: note: in expansion of macro 'STRMBR'
2122 | STRMBR("content_encoding",MR_Request.r->content_encoding);
| ^~~~~~
mod_R.c:2097:97: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2122:4: note: in expansion of macro 'STRMBR'
2122 | STRMBR("content_encoding",MR_Request.r->content_encoding);
| ^~~~~~
mod_R.c:2097:38: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2123:4: note: in expansion of macro 'STRMBR'
2123 | STRMBR("range",MR_Request.r->range);
| ^~~~~~
mod_R.c:2097:97: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2123:4: note: in expansion of macro 'STRMBR'
2123 | STRMBR("range",MR_Request.r->range);
| ^~~~~~
mod_R.c:2097:38: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2124:4: note: in expansion of macro 'STRMBR'
2124 | STRMBR("hostname",MR_Request.r->hostname);
| ^~~~~~
mod_R.c:2097:97: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2124:4: note: in expansion of macro 'STRMBR'
2124 | STRMBR("hostname",MR_Request.r->hostname);
| ^~~~~~
mod_R.c:2097:38: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2125:4: note: in expansion of macro 'STRMBR'
2125 | STRMBR("address",MR_Request.r->connection->local_ip);
| ^~~~~~
mod_R.c:2097:97: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2125:4: note: in expansion of macro 'STRMBR'
2125 | STRMBR("address",MR_Request.r->connection->local_ip);
| ^~~~~~
mod_R.c:2096:38: error: subscripted value is neither array nor pointer nor vector
2096 | #define INTMBR(n,v) STRING_PTR(names)[i]=mkChar(n); val = NEW_INTEGER(1); INTEGER_DATA(val)[0] = v; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2126:4: note: in expansion of macro 'INTMBR'
2126 | INTMBR("port",ap_get_server_port(MR_Request.r));
| ^~~~~~
mod_R.c:2097:38: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2127:4: note: in expansion of macro 'STRMBR'
2127 | STRMBR("user",MR_Request.r->user);
| ^~~~~~
mod_R.c:2097:97: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2127:4: note: in expansion of macro 'STRMBR'
2127 | STRMBR("user",MR_Request.r->user);
| ^~~~~~
mod_R.c:2098:38: error: subscripted value is neither array nor pointer nor vector
2098 | #define LGLMBR(n,v) STRING_PTR(names)[i]=mkChar(n); SET_ELEMENT(MR_Request.serverVar,i++,NewLogical(v));
| ^
mod_R.c:2128:4: note: in expansion of macro 'LGLMBR'
2128 | LGLMBR("header_only",MR_Request.r->header_only);
| ^~~~~~
mod_R.c:2098:38: error: subscripted value is neither array nor pointer nor vector
2098 | #define LGLMBR(n,v) STRING_PTR(names)[i]=mkChar(n); SET_ELEMENT(MR_Request.serverVar,i++,NewLogical(v));
| ^
mod_R.c:2129:4: note: in expansion of macro 'LGLMBR'
2129 | LGLMBR("no_cache",MR_Request.r->no_cache);
| ^~~~~~
mod_R.c:2098:38: error: subscripted value is neither array nor pointer nor vector
2098 | #define LGLMBR(n,v) STRING_PTR(names)[i]=mkChar(n); SET_ELEMENT(MR_Request.serverVar,i++,NewLogical(v));
| ^
mod_R.c:2130:4: note: in expansion of macro 'LGLMBR'
2130 | LGLMBR("no_local_copy",MR_Request.r->no_local_copy);
| ^~~~~~
mod_R.c:2098:38: error: subscripted value is neither array nor pointer nor vector
2098 | #define LGLMBR(n,v) STRING_PTR(names)[i]=mkChar(n); SET_ELEMENT(MR_Request.serverVar,i++,NewLogical(v));
| ^
mod_R.c:2131:4: note: in expansion of macro 'LGLMBR'
2131 | LGLMBR("assbackwards",MR_Request.r->assbackwards);
| ^~~~~~
mod_R.c:2096:38: error: subscripted value is neither array nor pointer nor vector
2096 | #define INTMBR(n,v) STRING_PTR(names)[i]=mkChar(n); val = NEW_INTEGER(1); INTEGER_DATA(val)[0] = v; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2132:4: note: in expansion of macro 'INTMBR'
2132 | INTMBR("status",MR_Request.r->status);
| ^~~~~~
mod_R.c:2096:38: error: subscripted value is neither array nor pointer nor vector
2096 | #define INTMBR(n,v) STRING_PTR(names)[i]=mkChar(n); val = NEW_INTEGER(1); INTEGER_DATA(val)[0] = v; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2133:4: note: in expansion of macro 'INTMBR'
2133 | INTMBR("method_number",MR_Request.r->method_number);
| ^~~~~~
mod_R.c:2098:38: error: subscripted value is neither array nor pointer nor vector
2098 | #define LGLMBR(n,v) STRING_PTR(names)[i]=mkChar(n); SET_ELEMENT(MR_Request.serverVar,i++,NewLogical(v));
| ^
mod_R.c:2134:4: note: in expansion of macro 'LGLMBR'
2134 | LGLMBR("eos_sent",MR_Request.r->eos_sent);
| ^~~~~~
mod_R.c:2097:38: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2135:4: note: in expansion of macro 'STRMBR'
2135 | STRMBR("the_request",MR_Request.r->the_request);
| ^~~~~~
mod_R.c:2097:97: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2135:4: note: in expansion of macro 'STRMBR'
2135 | STRMBR("the_request",MR_Request.r->the_request);
| ^~~~~~
mod_R.c:2097:38: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2136:4: note: in expansion of macro 'STRMBR'
2136 | STRMBR("method",MR_Request.r->method);
| ^~~~~~
mod_R.c:2097:97: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2136:4: note: in expansion of macro 'STRMBR'
2136 | STRMBR("method",MR_Request.r->method);
| ^~~~~~
mod_R.c:2097:38: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2137:4: note: in expansion of macro 'STRMBR'
2137 | STRMBR("status_line",MR_Request.r->status_line);
| ^~~~~~
mod_R.c:2097:97: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2137:4: note: in expansion of macro 'STRMBR'
2137 | STRMBR("status_line",MR_Request.r->status_line);
| ^~~~~~
mod_R.c:2099:38: error: subscripted value is neither array nor pointer nor vector
2099 | #define OFFMBR(n,v) STRING_PTR(names)[i]=mkChar(n); val = NEW_NUMERIC(1); NUMERIC_DATA(val)[0] = (double)v; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2138:4: note: in expansion of macro 'OFFMBR'
2138 | OFFMBR("bytes_sent",MR_Request.r->bytes_sent);
| ^~~~~~
mod_R.c:2099:38: error: subscripted value is neither array nor pointer nor vector
2099 | #define OFFMBR(n,v) STRING_PTR(names)[i]=mkChar(n); val = NEW_NUMERIC(1); NUMERIC_DATA(val)[0] = (double)v; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2139:4: note: in expansion of macro 'OFFMBR'
2139 | OFFMBR("clength",MR_Request.r->clength);
| ^~~~~~
mod_R.c:2099:38: error: subscripted value is neither array nor pointer nor vector
2099 | #define OFFMBR(n,v) STRING_PTR(names)[i]=mkChar(n); val = NEW_NUMERIC(1); NUMERIC_DATA(val)[0] = (double)v; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2140:4: note: in expansion of macro 'OFFMBR'
2140 | OFFMBR("remaining",MR_Request.r->remaining);
| ^~~~~~
mod_R.c:2099:38: error: subscripted value is neither array nor pointer nor vector
2099 | #define OFFMBR(n,v) STRING_PTR(names)[i]=mkChar(n); val = NEW_NUMERIC(1); NUMERIC_DATA(val)[0] = (double)v; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2141:4: note: in expansion of macro 'OFFMBR'
2141 | OFFMBR("read_length",MR_Request.r->read_length);
| ^~~~~~
mod_R.c:2100:38: error: subscripted value is neither array nor pointer nor vector
2100 | #define TIMMBR(n,v) STRING_PTR(names)[i]=mkChar(n); val = NEW_NUMERIC(1); NUMERIC_DATA(val)[0] = (double)apr_time_sec(v); class = NEW_STRING(2); STRING_PTR(class)[0] = mkChar("POSIXt"); STRING_PTR(class)[1] = mkChar("POSIXct"); SET_CLASS(val,class); SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2142:4: note: in expansion of macro 'TIMMBR'
2142 | TIMMBR("request_time",MR_Request.r->request_time);
| ^~~~~~
mod_R.c:2100:163: error: subscripted value is neither array nor pointer nor vector
2100 | #define TIMMBR(n,v) STRING_PTR(names)[i]=mkChar(n); val = NEW_NUMERIC(1); NUMERIC_DATA(val)[0] = (double)apr_time_sec(v); class = NEW_STRING(2); STRING_PTR(class)[0] = mkChar("POSIXt"); STRING_PTR(class)[1] = mkChar("POSIXct"); SET_CLASS(val,class); SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2142:4: note: in expansion of macro 'TIMMBR'
2142 | TIMMBR("request_time",MR_Request.r->request_time);
| ^~~~~~
mod_R.c:2100:204: error: subscripted value is neither array nor pointer nor vector
2100 | #define TIMMBR(n,v) STRING_PTR(names)[i]=mkChar(n); val = NEW_NUMERIC(1); NUMERIC_DATA(val)[0] = (double)apr_time_sec(v); class = NEW_STRING(2); STRING_PTR(class)[0] = mkChar("POSIXt"); STRING_PTR(class)[1] = mkChar("POSIXct"); SET_CLASS(val,class); SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2142:4: note: in expansion of macro 'TIMMBR'
2142 | TIMMBR("request_time",MR_Request.r->request_time);
| ^~~~~~
mod_R.c:2100:38: error: subscripted value is neither array nor pointer nor vector
2100 | #define TIMMBR(n,v) STRING_PTR(names)[i]=mkChar(n); val = NEW_NUMERIC(1); NUMERIC_DATA(val)[0] = (double)apr_time_sec(v); class = NEW_STRING(2); STRING_PTR(class)[0] = mkChar("POSIXt"); STRING_PTR(class)[1] = mkChar("POSIXct"); SET_CLASS(val,class); SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2143:4: note: in expansion of macro 'TIMMBR'
2143 | TIMMBR("mtime",MR_Request.r->mtime);
| ^~~~~~
mod_R.c:2100:163: error: subscripted value is neither array nor pointer nor vector
2100 | #define TIMMBR(n,v) STRING_PTR(names)[i]=mkChar(n); val = NEW_NUMERIC(1); NUMERIC_DATA(val)[0] = (double)apr_time_sec(v); class = NEW_STRING(2); STRING_PTR(class)[0] = mkChar("POSIXt"); STRING_PTR(class)[1] = mkChar("POSIXct"); SET_CLASS(val,class); SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2143:4: note: in expansion of macro 'TIMMBR'
2143 | TIMMBR("mtime",MR_Request.r->mtime);
| ^~~~~~
mod_R.c:2100:204: error: subscripted value is neither array nor pointer nor vector
2100 | #define TIMMBR(n,v) STRING_PTR(names)[i]=mkChar(n); val = NEW_NUMERIC(1); NUMERIC_DATA(val)[0] = (double)apr_time_sec(v); class = NEW_STRING(2); STRING_PTR(class)[0] = mkChar("POSIXt"); STRING_PTR(class)[1] = mkChar("POSIXct"); SET_CLASS(val,class); SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2143:4: note: in expansion of macro 'TIMMBR'
2143 | TIMMBR("mtime",MR_Request.r->mtime);
| ^~~~~~
mod_R.c:2097:38: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2145:4: note: in expansion of macro 'STRMBR'
2145 | STRMBR("remote_ip",MR_Request.r->connection->client_ip);
| ^~~~~~
mod_R.c:2097:97: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2145:4: note: in expansion of macro 'STRMBR'
2145 | STRMBR("remote_ip",MR_Request.r->connection->client_ip);
| ^~~~~~
mod_R.c:2097:38: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2149:4: note: in expansion of macro 'STRMBR'
2149 | STRMBR("remote_host",MR_Request.r->connection->remote_host);
| ^~~~~~
mod_R.c:2097:97: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2149:4: note: in expansion of macro 'STRMBR'
2149 | STRMBR("remote_host",MR_Request.r->connection->remote_host);
| ^~~~~~
mod_R.c:2097:38: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2150:4: note: in expansion of macro 'STRMBR'
2150 | STRMBR("cmd_path",MR_Request.handler->directive->cmdpath);
| ^~~~~~
mod_R.c:2097:97: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2150:4: note: in expansion of macro 'STRMBR'
2150 | STRMBR("cmd_path",MR_Request.handler->directive->cmdpath);
| ^~~~~~
mod_R.c:2098:38: error: subscripted value is neither array nor pointer nor vector
2098 | #define LGLMBR(n,v) STRING_PTR(names)[i]=mkChar(n); SET_ELEMENT(MR_Request.serverVar,i++,NewLogical(v));
| ^
mod_R.c:2151:4: note: in expansion of macro 'LGLMBR'
2151 | LGLMBR("HTTPS",(apr_table_get(MR_Request.r->subprocess_env,"HTTPS")!=NULL)? 1 : 0);
| ^~~~~~
mod_R.c:2097:38: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2152:4: note: in expansion of macro 'STRMBR'
2152 | STRMBR("rapache_version",MOD_R_VERSION);
| ^~~~~~
mod_R.c:2097:97: error: subscripted value is neither array nor pointer nor vector
2097 | #define STRMBR(n,v) STRING_PTR(names)[i]=mkChar(n); if (v){ val = NEW_STRING(1); STRING_PTR(val)[0] = mkChar(v);} else { val = R_NilValue;}; SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2152:4: note: in expansion of macro 'STRMBR'
2152 | STRMBR("rapache_version",MOD_R_VERSION);
| ^~~~~~
mod_R.c:2101:38: error: subscripted value is neither array nor pointer nor vector
2101 | #define FUNMBR(n,v) STRING_PTR(names)[i]=mkChar(n); val = ParseEval(v,MR_RApacheEnv,&evalError); SET_ELEMENT(MR_Request.serverVar,i++,val)
| ^
mod_R.c:2153:4: note: in expansion of macro 'FUNMBR'
2153 | FUNMBR("internals","function(x) .Call('RApache_internals',x)");
| ^~~~~~
apxs:Error: Command failed with rc=65536
.
make[1]: *** [Makefile:445: mod_R.so] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:19: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the R-pkg-team
mailing list