[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