[R-pkg-team] Bug#1135472: r-cran-ucminf: 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:57 BST 2026
Package: src:r-cran-ucminf
Version: 1.2.2-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-ucminf, 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-ucminf/ -O--buildsystem=R
I: R Package: ucminf Version: 1.2.2
I: Building using R version 4.6.0-2
I: R API version: r-api-4.0
I: Using built-time from d/changelog: Thu, 12 Mar 2026 20:05:09 +0900
mkdir -p /<<PKGBUILDDIR>>/debian/r-cran-ucminf/usr/lib/R/site-library
R CMD INSTALL -l /<<PKGBUILDDIR>>/debian/r-cran-ucminf/usr/lib/R/site-library --clean . --built-timestamp="'Thu, 12 Mar 2026 20:05:09 +0900'"
* installing *source* package âucminfâ ...
** this is package âucminfâ version â1.2.2â
** package âucminfâ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: âx86_64-linux-gnu-gcc (Debian 15.2.0-17) 15.2.0â
using Fortran compiler: âGNU Fortran (Debian 15.2.0-17) 15.2.0â
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
x86_64-linux-gnu-gfortran -fpic -g -O2 -ffile-prefix-map=/build/reproducible-path/r-base-4.6.0=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -c fortran.f -o fortran.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 interface.c -o interface.o
In file included from interface.c:16:
interface.c: In function âinstallParâ:
/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
| ^~~~~~~~~~~~~~~~~
interface.c:29:16: note: in expansion of macro âfindVarInFrameâ
29 | SEXP PAR = findVarInFrame(rho, install(".x"));
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:919:33: error: initialization of âSEXPâ {aka âstruct SEXPREC *â} from âintâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
| ^~~~~~~~~~~~~~~~~
interface.c:29:16: note: in expansion of macro âfindVarInFrameâ
29 | SEXP PAR = findVarInFrame(rho, install(".x"));
| ^~~~~~~~~~~~~~
interface.c: In function âfunc_â:
/usr/share/R/include/Rinternals.h:919:33: error: initialization of âSEXPâ {aka âstruct SEXPREC *â} from âintâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
| ^~~~~~~~~~~~~~~~~
interface.c:38:17: note: in expansion of macro âfindVarInFrameâ
38 | SEXP dotf = findVarInFrame(rho, install(".f"));
| ^~~~~~~~~~~~~~
interface.c: In function âusrgr_â:
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âRf_protectâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
interface.c:50:26: note: in expansion of macro âfindVarInFrameâ
50 | SEXP dotgr = PROTECT(findVarInFrame(rho, install(".gr")));
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:1117:17: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
1117 | SEXP Rf_protect(SEXP);
| ^~~~
interface.c: In function âmfoptâ:
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âRf_protectâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
interface.c:64:36: note: in expansion of macro âfindVarInFrameâ
64 | int n = asInteger(PROTECT(findVarInFrame(rho, install( ".n")))),
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:1117:17: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
1117 | SEXP Rf_protect(SEXP);
| ^~~~
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âRf_protectâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
interface.c:65:36: note: in expansion of macro âfindVarInFrameâ
65 | iw = asInteger(PROTECT(findVarInFrame(rho, install( ".iw")))),
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:1117:17: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
1117 | SEXP Rf_protect(SEXP);
| ^~~~
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âRf_protectâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
interface.c:66:36: note: in expansion of macro âfindVarInFrameâ
66 | grad = asInteger(PROTECT(findVarInFrame(rho, install( ".grad"))));
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:1117:17: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
1117 | SEXP Rf_protect(SEXP);
| ^~~~
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âRf_protectâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
interface.c:69:26: note: in expansion of macro âfindVarInFrameâ
69 | EPS = PROTECT(findVarInFrame(rho, install( ".eps"))),
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:1117:17: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
1117 | SEXP Rf_protect(SEXP);
| ^~~~
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âRf_protectâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
interface.c:70:26: note: in expansion of macro âfindVarInFrameâ
70 | GRSTEP = PROTECT(findVarInFrame(rho, install(".grstep"))),
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:1117:17: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
1117 | SEXP Rf_protect(SEXP);
| ^~~~
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âRf_protectâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
interface.c:71:26: note: in expansion of macro âfindVarInFrameâ
71 | PAR = PROTECT(findVarInFrame(rho, install( ".par"))),
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:1117:17: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
1117 | SEXP Rf_protect(SEXP);
| ^~~~
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âRf_protectâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
interface.c:72:26: note: in expansion of macro âfindVarInFrameâ
72 | icontr = PROTECT(findVarInFrame(rho, install(".icontr"))),
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:1117:17: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
1117 | SEXP Rf_protect(SEXP);
| ^~~~
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âRf_protectâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
interface.c:73:26: note: in expansion of macro âfindVarInFrameâ
73 | maxfun = PROTECT(findVarInFrame(rho, install(".maxfun"))),
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:1117:17: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
1117 | SEXP Rf_protect(SEXP);
| ^~~~
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âRf_protectâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
interface.c:74:26: note: in expansion of macro âfindVarInFrameâ
74 | dx = PROTECT(findVarInFrame(rho, install(".stepmax"))),
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:1117:17: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
1117 | SEXP Rf_protect(SEXP);
| ^~~~
/usr/share/R/include/Rinternals.h:919:33: error: passing argument 1 of âRf_protectâ makes pointer from integer without a cast [-Wint-conversion]
919 | #define findVarInFrame Rf_findVarInFrame
/usr/share/R/include/Rinternals.h:357:36: note: in definition of macro âPROTECTâ
357 | #define PROTECT(s) Rf_protect(s)
| ^
interface.c:75:26: note: in expansion of macro âfindVarInFrameâ
75 | W = PROTECT(findVarInFrame(rho, install( ".w")));
| ^~~~~~~~~~~~~~
/usr/share/R/include/Rinternals.h:1117:17: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
1117 | SEXP Rf_protect(SEXP);
| ^~~~
make[1]: *** [/usr/lib/R/etc/Makeconf:190: interface.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 âucminfâ
* removing â/<<PKGBUILDDIR>>/debian/r-cran-ucminf/usr/lib/R/site-library/ucminfâ
dh_auto_install: error: R CMD INSTALL -l /<<PKGBUILDDIR>>/debian/r-cran-ucminf/usr/lib/R/site-library --clean . --built-timestamp="'Thu, 12 Mar 2026 20:05:09 +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