[R-pkg-team] Bug#1135473: r-cran-spatialreg: FTBFS: /usr/share/R/include/Rinternals.h:919:33: error: implicit declaration of function 'Rf_findVarInFrame'; did you mean 'findVarInFrame'? [-Wimplicit-function-declaration]
Santiago Vila
sanvila at debian.org
Sat May 2 00:14:55 BST 2026
Package: src:r-cran-spatialreg
Version: 1.3-6+dfsg-2
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/202605/
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:r-cran-spatialreg, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem R
dh_auto_clean -O--buildsystem=R
dh_autoreconf_clean -O--buildsystem=R
dh_clean -O--buildsystem=R
debian/rules binary
dh binary --buildsystem R
dh_update_autotools_config -O--buildsystem=R
dh_autoreconf -O--buildsystem=R
dh_auto_configure -O--buildsystem=R
dh_auto_build -O--buildsystem=R
dh_auto_test -O--buildsystem=R
create-stamp debian/debhelper-build-stamp
dh_testroot -O--buildsystem=R
dh_prep -O--buildsystem=R
dh_auto_install --destdir=debian/r-cran-spatialreg/ -O--buildsystem=R
I: R packages needed for DEP8: rspectra, foreign, spam, knitr, lmtest, expm, sandwich, rmarkdown, igraph (>= 2.0.0), tinytest, testthat
I: R Package: spatialreg Version: 1.3-6
I: Building using R version 4.6.0-2
I: R API version: r-api-4.0
I: Using built-time from d/changelog: Wed, 11 Mar 2026 12:22:50 +0900
mkdir -p /<<BUILDDIR>>/r-cran-spatialreg-1.3-6\+dfsg/debian/r-cran-spatialreg/usr/lib/R/site-library
R CMD INSTALL -l /<<BUILDDIR>>/r-cran-spatialreg-1.3-6\+dfsg/debian/r-cran-spatialreg/usr/lib/R/site-library --clean . --built-timestamp="'Wed, 11 Mar 2026 12:22:50 +0900'"
* installing *source* package âspatialregâ ...
** this is package âspatialregâ version â1.3-6â
files âinst/doc/SpatialFiltering.htmlâ, âinst/doc/nb_igraph.htmlâ, âinst/doc/sids_models.htmlâ are missing
** using staged installation
** libs
using C compiler: âx86_64-linux-gnu-gcc (Debian 15.2.0-17) 15.2.0â
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
x86_64-linux-gnu-gcc -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/build/reproducible-path/r-base-4.6.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c eminmaxC.c -o eminmaxC.o
x86_64-linux-gnu-gcc -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/build/reproducible-path/r-base-4.6.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c init.c -o init.o
x86_64-linux-gnu-gcc -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/build/reproducible-path/r-base-4.6.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c listw2Matrix.c -o listw2Matrix.o
x86_64-linux-gnu-gcc -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -ffile-prefix-map=/build/reproducible-path/r-base-4.6.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c ml_sse.c -o ml_sse.o
In file included from spatialreg.h:8,
from ml_sse.c:3:
ml_sse.c: In function âopt_error_setâ:
/usr/share/R/include/Rinternals.h:919:33: error: implicit declaration of function âRf_findVarInFrameâ; did you mean âfindVarInFrameâ? [-Wimplicit-function-declaration]
919 | #define findVarInFrame Rf_findVarInFrame
| ^~~~~~~~~~~~~~~~~
/usr/share/R/include/Rdefines.h:94:41: note: in definition of macro âINTEGER_POINTERâ
94 | #define INTEGER_POINTER(x) INTEGER(x)
| ^
ml_sse.c:66:25: note: in expansion of macro âfindVarInFrameâ
66 | n = INTEGER_POINTER(findVarInFrame(env, install("n")))[0];
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âINTEGERâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rdefines.h:94:41: note: in definition of macro âINTEGER_POINTERâ
94 | #define INTEGER_POINTER(x) INTEGER(x)
| ^
ml_sse.c:66:25: note: in expansion of macro âfindVarInFrameâ
66 | n = INTEGER_POINTER(findVarInFrame(env, install("n")))[0];
| ^~~~~~~~~~~~~~
In file included from /usr/share/R/include/Rdefines.h:41:
/usr/share/R/include/Rinternals.h:275:22: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
275 | int *(INTEGER)(SEXP x);
| ~~~~~^
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âINTEGERâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rdefines.h:94:41: note: in definition of macro âINTEGER_POINTERâ
94 | #define INTEGER_POINTER(x) INTEGER(x)
| ^
ml_sse.c:67:25: note: in expansion of macro âfindVarInFrameâ
67 | p = INTEGER_POINTER(findVarInFrame(env, install("p")))[0];
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:275:22: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
275 | int *(INTEGER)(SEXP x);
| ~~~~~^
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âR_ExternalPtrAddrâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
ml_sse.c:70:46: note: in expansion of macro âfindVarInFrameâ
70 | pt = (OPT_ERROR_SSE *) R_ExternalPtrAddr(findVarInFrame(env,
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:599:30: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
599 | void *R_ExternalPtrAddr(SEXP s);
| ~~~~~^
ml_sse.c:74:15: error: assignment to âSEXPâ {aka âstruct SEXPREC *â} from âintâ makes pointer from integer without a cast [-Wint-conversion]
74 | PROTECT(y = findVarInFrame(env, install("y"))); pc++;
| ^
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
ml_sse.c:75:15: error: assignment to âSEXPâ {aka âstruct SEXPREC *â} from âintâ makes pointer from integer without a cast [-Wint-conversion]
75 | PROTECT(x = findVarInFrame(env, install("x"))); pc++;
| ^
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
ml_sse.c:76:16: error: assignment to âSEXPâ {aka âstruct SEXPREC *â} from âintâ makes pointer from integer without a cast [-Wint-conversion]
76 | PROTECT(wy = findVarInFrame(env, install("wy"))); pc++;
| ^
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
ml_sse.c:77:16: error: assignment to âSEXPâ {aka âstruct SEXPREC *â} from âintâ makes pointer from integer without a cast [-Wint-conversion]
77 | PROTECT(WX = findVarInFrame(env, install("WX"))); pc++;
| ^
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
ml_sse.c: In function âhess_error_setâ:
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âINTEGERâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rdefines.h:94:41: note: in definition of macro âINTEGER_POINTERâ
94 | #define INTEGER_POINTER(x) INTEGER(x)
| ^
ml_sse.c:152:25: note: in expansion of macro âfindVarInFrameâ
152 | n = INTEGER_POINTER(findVarInFrame(env, install("n")))[0];
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:275:22: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
275 | int *(INTEGER)(SEXP x);
| ~~~~~^
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âINTEGERâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rdefines.h:94:41: note: in definition of macro âINTEGER_POINTERâ
94 | #define INTEGER_POINTER(x) INTEGER(x)
| ^
ml_sse.c:153:25: note: in expansion of macro âfindVarInFrameâ
153 | p = INTEGER_POINTER(findVarInFrame(env, install("p")))[0];
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:275:22: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
275 | int *(INTEGER)(SEXP x);
| ~~~~~^
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âR_ExternalPtrAddrâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
ml_sse.c:156:47: note: in expansion of macro âfindVarInFrameâ
156 | pt = (HESS_ERROR_SSE *) R_ExternalPtrAddr(findVarInFrame(env,
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:599:30: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
599 | void *R_ExternalPtrAddr(SEXP s);
| ~~~~~^
ml_sse.c:160:15: error: assignment to âSEXPâ {aka âstruct SEXPREC *â} from âintâ makes pointer from integer without a cast [-Wint-conversion]
160 | PROTECT(y = findVarInFrame(env, install("y"))); pc++;
| ^
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
ml_sse.c:161:15: error: assignment to âSEXPâ {aka âstruct SEXPREC *â} from âintâ makes pointer from integer without a cast [-Wint-conversion]
161 | PROTECT(x = findVarInFrame(env, install("x"))); pc++;
| ^
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
ml_sse.c:162:16: error: assignment to âSEXPâ {aka âstruct SEXPREC *â} from âintâ makes pointer from integer without a cast [-Wint-conversion]
162 | PROTECT(wy = findVarInFrame(env, install("wy"))); pc++;
| ^
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
ml_sse.c:163:16: error: assignment to âSEXPâ {aka âstruct SEXPREC *â} from âintâ makes pointer from integer without a cast [-Wint-conversion]
163 | PROTECT(WX = findVarInFrame(env, install("WX"))); pc++;
| ^
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
ml_sse.c: In function âhess_lag_setâ:
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âINTEGERâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rdefines.h:94:41: note: in definition of macro âINTEGER_POINTERâ
94 | #define INTEGER_POINTER(x) INTEGER(x)
| ^
ml_sse.c:231:25: note: in expansion of macro âfindVarInFrameâ
231 | n = INTEGER_POINTER(findVarInFrame(env, install("n")))[0];
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:275:22: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
275 | int *(INTEGER)(SEXP x);
| ~~~~~^
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âINTEGERâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rdefines.h:94:41: note: in definition of macro âINTEGER_POINTERâ
94 | #define INTEGER_POINTER(x) INTEGER(x)
| ^
ml_sse.c:232:25: note: in expansion of macro âfindVarInFrameâ
232 | p = INTEGER_POINTER(findVarInFrame(env, install("m")))[0];
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:275:22: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
275 | int *(INTEGER)(SEXP x);
| ~~~~~^
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âR_ExternalPtrAddrâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
ml_sse.c:235:45: note: in expansion of macro âfindVarInFrameâ
235 | pt = (HESS_LAG_SSE *) R_ExternalPtrAddr(findVarInFrame(env,
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:599:30: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
599 | void *R_ExternalPtrAddr(SEXP s);
| ~~~~~^
ml_sse.c:239:15: error: assignment to âSEXPâ {aka âstruct SEXPREC *â} from âintâ makes pointer from integer without a cast [-Wint-conversion]
239 | PROTECT(y = findVarInFrame(env, install("y"))); pc++;
| ^
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
ml_sse.c:240:15: error: assignment to âSEXPâ {aka âstruct SEXPREC *â} from âintâ makes pointer from integer without a cast [-Wint-conversion]
240 | PROTECT(x = findVarInFrame(env, install("x"))); pc++;
| ^
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
ml_sse.c:241:16: error: assignment to âSEXPâ {aka âstruct SEXPREC *â} from âintâ makes pointer from integer without a cast [-Wint-conversion]
241 | PROTECT(wy = findVarInFrame(env, install("wy"))); pc++;
| ^
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
ml_sse.c: In function âR_ml_sse_envâ:
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âLOGICALâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rdefines.h:93:41: note: in definition of macro âLOGICAL_POINTERâ
93 | #define LOGICAL_POINTER(x) LOGICAL(x)
| ^
ml_sse.c:302:32: note: in expansion of macro âfindVarInFrameâ
302 | first_time = LOGICAL_POINTER(findVarInFrame(env, install("first_time")))[0];
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:274:22: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
274 | int *(LOGICAL)(SEXP x);
| ~~~~~^
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âINTEGERâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rdefines.h:94:41: note: in definition of macro âINTEGER_POINTERâ
94 | #define INTEGER_POINTER(x) INTEGER(x)
| ^
ml_sse.c:307:23: note: in expansion of macro âfindVarInFrameâ
307 | n = INTEGER_POINTER(findVarInFrame(env, install("n")))[0];
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:275:22: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
275 | int *(INTEGER)(SEXP x);
| ~~~~~^
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âINTEGERâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rdefines.h:94:41: note: in definition of macro âINTEGER_POINTERâ
94 | #define INTEGER_POINTER(x) INTEGER(x)
| ^
ml_sse.c:308:23: note: in expansion of macro âfindVarInFrameâ
308 | p = INTEGER_POINTER(findVarInFrame(env, install("p")))[0];
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:275:22: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
275 | int *(INTEGER)(SEXP x);
| ~~~~~^
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âR_ExternalPtrAddrâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
ml_sse.c:310:44: note: in expansion of macro âfindVarInFrameâ
310 | pt = (OPT_ERROR_SSE *) R_ExternalPtrAddr(findVarInFrame(env,
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:599:30: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
599 | void *R_ExternalPtrAddr(SEXP s);
| ~~~~~^
ml_sse.c: In function âR_ml1_sse_envâ:
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âLOGICALâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rdefines.h:93:41: note: in definition of macro âLOGICAL_POINTERâ
93 | #define LOGICAL_POINTER(x) LOGICAL(x)
| ^
ml_sse.c:359:32: note: in expansion of macro âfindVarInFrameâ
359 | first_time = LOGICAL_POINTER(findVarInFrame(env, install("first_time")))[0];
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:274:22: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
274 | int *(LOGICAL)(SEXP x);
| ~~~~~^
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âINTEGERâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rdefines.h:94:41: note: in definition of macro âINTEGER_POINTERâ
94 | #define INTEGER_POINTER(x) INTEGER(x)
| ^
ml_sse.c:364:23: note: in expansion of macro âfindVarInFrameâ
364 | n = INTEGER_POINTER(findVarInFrame(env, install("n")))[0];
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:275:22: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
275 | int *(INTEGER)(SEXP x);
| ~~~~~^
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âINTEGERâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rdefines.h:94:41: note: in definition of macro âINTEGER_POINTERâ
94 | #define INTEGER_POINTER(x) INTEGER(x)
| ^
ml_sse.c:365:23: note: in expansion of macro âfindVarInFrameâ
365 | p = INTEGER_POINTER(findVarInFrame(env, install("p")))[0];
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:275:22: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
275 | int *(INTEGER)(SEXP x);
| ~~~~~^
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âR_ExternalPtrAddrâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
ml_sse.c:367:45: note: in expansion of macro âfindVarInFrameâ
367 | pt = (HESS_ERROR_SSE *) R_ExternalPtrAddr(findVarInFrame(env,
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:599:30: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
599 | void *R_ExternalPtrAddr(SEXP s);
| ~~~~~^
ml_sse.c: In function âR_ml2_sse_envâ:
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âLOGICALâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rdefines.h:93:41: note: in definition of macro âLOGICAL_POINTERâ
93 | #define LOGICAL_POINTER(x) LOGICAL(x)
| ^
ml_sse.c:405:32: note: in expansion of macro âfindVarInFrameâ
405 | first_time = LOGICAL_POINTER(findVarInFrame(env, install("first_time")))[0];
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:274:22: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
274 | int *(LOGICAL)(SEXP x);
| ~~~~~^
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âINTEGERâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rdefines.h:94:41: note: in definition of macro âINTEGER_POINTERâ
94 | #define INTEGER_POINTER(x) INTEGER(x)
| ^
ml_sse.c:410:23: note: in expansion of macro âfindVarInFrameâ
410 | n = INTEGER_POINTER(findVarInFrame(env, install("n")))[0];
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:275:22: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
275 | int *(INTEGER)(SEXP x);
| ~~~~~^
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âINTEGERâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rdefines.h:94:41: note: in definition of macro âINTEGER_POINTERâ
94 | #define INTEGER_POINTER(x) INTEGER(x)
| ^
ml_sse.c:411:23: note: in expansion of macro âfindVarInFrameâ
411 | p = INTEGER_POINTER(findVarInFrame(env, install("m")))[0];
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:275:22: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
275 | int *(INTEGER)(SEXP x);
| ~~~~~^
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âR_ExternalPtrAddrâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
ml_sse.c:412:43: note: in expansion of macro âfindVarInFrameâ
412 | pt = (HESS_LAG_SSE *) R_ExternalPtrAddr(findVarInFrame(env,
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:599:30: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
599 | void *R_ExternalPtrAddr(SEXP s);
| ~~~~~^
make[1]: *** [/usr/lib/R/etc/Makeconf:190: ml_sse.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
ERROR: compilation failed for package âspatialregâ
* removing â/<<PKGBUILDDIR>>/debian/r-cran-spatialreg/usr/lib/R/site-library/spatialregâ
dh_auto_install: error: R CMD INSTALL -l /<<BUILDDIR>>/r-cran-spatialreg-1.3-6\+dfsg/debian/r-cran-spatialreg/usr/lib/R/site-library --clean . --built-timestamp="'Wed, 11 Mar 2026 12:22:50 +0900'" returned exit code 1
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the R-pkg-team
mailing list