Bug#868922: r-cran-randomfieldsutils: FTBFS: init_RandomFieldsUtils.cc:62:10: error: 'R_NativeArgStyle' does not name a type
Lucas Nussbaum
lucas at debian.org
Wed Jul 19 15:56:04 UTC 2017
Source: r-cran-randomfieldsutils
Version: 0.3.15-1
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170719 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> g++ -I/usr/share/R/include -DNDEBUG -fopenmp -fpic -g -O2 -fdebug-prefix-map=/build/r-base-3.4.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c init_RandomFieldsUtils.cc -o init_RandomFieldsUtils.o
> init_RandomFieldsUtils.cc:62:10: error: 'R_NativeArgStyle' does not name a type
> static R_NativeArgStyle argin[] = {R_ARG_IN},
> ^~~~~~~~~~~~~~~~
> init_RandomFieldsUtils.cc:62:47: error: expected unqualified-id before ',' token
> static R_NativeArgStyle argin[] = {R_ARG_IN},
> ^
> init_RandomFieldsUtils.cc:63:14: error: expected constructor, destructor, or type conversion before '=' token
> argout[] = {R_ARG_OUT},
> ^
> init_RandomFieldsUtils.cc:63:27: error: expected unqualified-id before ',' token
> argout[] = {R_ARG_OUT},
> ^
> init_RandomFieldsUtils.cc:64:15: error: expected constructor, destructor, or type conversion before '=' token
> hostarg[] = {R_ARG_OUT, R_ARG_OUT};
> ^
> init_RandomFieldsUtils.cc:66:72: error: 'argin' was not declared in this scope
> {"RelaxUnknownRFoption", (DL_FUNC) &RelaxUnknownRFoption, 1, Relax_t,argin}, {"sleepMilli", (DL_FUNC) &sleepMilli, 1, int_arg, argin},
> ^~~~~
> init_RandomFieldsUtils.cc:66:130: error: 'argin' was not declared in this scope
> {"RelaxUnknownRFoption", (DL_FUNC) &RelaxUnknownRFoption, 1, Relax_t,argin}, {"sleepMilli", (DL_FUNC) &sleepMilli, 1, int_arg, argin},
> ^~~~~
> init_RandomFieldsUtils.cc:67:52: error: 'argin' was not declared in this scope
> {"sleepMicro", (DL_FUNC) &sleepMicro, 1, int_arg, argin},
> ^~~~~
> init_RandomFieldsUtils.cc:68:38: error: 'argout' was not declared in this scope
> {"pid", (DL_FUNC) &pid, 1, int_arg, argout},
> ^~~~~~
> init_RandomFieldsUtils.cc:69:49: error: 'hostarg' was not declared in this scope
> {"hostname", (DL_FUNC) &hostname, 2, host_arg, hostarg},
> ^~~~~~~
> init_RandomFieldsUtils.cc:73:1: error: too many initializers for 'const R_CMethodDef'
> };
> ^
> init_RandomFieldsUtils.cc:73:1: error: too many initializers for 'const R_CMethodDef'
> init_RandomFieldsUtils.cc:73:1: error: too many initializers for 'const R_CMethodDef'
> init_RandomFieldsUtils.cc:73:1: error: too many initializers for 'const R_CMethodDef'
> init_RandomFieldsUtils.cc:73:1: error: too many initializers for 'const R_CMethodDef'
> init_RandomFieldsUtils.cc:73:1: error: too many initializers for 'const R_CMethodDef'
> /usr/lib/R/etc/Makeconf:166: recipe for target 'init_RandomFieldsUtils.o' failed
> make[1]: *** [init_RandomFieldsUtils.o] Error 1
The full build log is available from:
http://aws-logs.debian.net/2017/07/19/r-cran-randomfieldsutils_0.3.15-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the debian-science-maintainers
mailing list