[R-pkg-team] Bug#1135466: r-bioc-s4vectors: FTBFS: eval_utils.c:5:11: error: implicit declaration of function 'PRENV' [-Wimplicit-function-declaration]

Santiago Vila sanvila at debian.org
Sat May 2 00:14:43 BST 2026


Package: src:r-bioc-s4vectors
Version: 0.44.0+dfsg-3
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-bioc-s4vectors, 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-bioc-s4vectors/ -O--buildsystem=R
I: R Package: S4Vectors Version: 0.44.0
I: Building using R version 4.6.0-2
I: R API version: r-api-4.0
I: Using built-time from d/changelog: Sat, 14 Mar 2026 22:27:10 +0900
	mkdir -p /<<BUILDDIR>>/r-bioc-s4vectors-0.44.0\+dfsg/debian/r-bioc-s4vectors/usr/lib/R/site-library
	R CMD INSTALL -l /<<BUILDDIR>>/r-bioc-s4vectors-0.44.0\+dfsg/debian/r-bioc-s4vectors/usr/lib/R/site-library --clean . --built-timestamp="'Sat, 14 Mar 2026 22:27:10 +0900'"
* installing *source* package ‘S4Vectors’ ...
** this is package ‘S4Vectors’ version ‘0.44.0’
files ‘inst/doc/RleTricks.R’, ‘inst/doc/RleTricks.Rmd’, ‘inst/doc/RleTricks.html’, ‘inst/doc/S4VectorsOverview.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 AEbufs.c -o AEbufs.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 DataFrame_class.c -o DataFrame_class.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 Hits_class.c -o Hits_class.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 LLint_class.c -o LLint_class.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 List_class.c -o List_class.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 R_init_S4Vectors.c -o R_init_S4Vectors.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 Rle_class.c -o Rle_class.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 Rle_utils.c -o Rle_utils.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 SEXP_utils.c -o SEXP_utils.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 SimpleList_class.c -o SimpleList_class.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 anyMissing.c -o anyMissing.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 character_utils.c -o character_utils.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 eval_utils.c -o eval_utils.o
eval_utils.c: In function ‘_top_prenv’:
eval_utils.c:5:11: error: implicit declaration of function ‘PRENV’ [-Wimplicit-function-declaration]
    5 |     env = PRENV(promise);
      |           ^~~~~
eval_utils.c:5:9: error: assignment to ‘SEXP’ {aka ‘struct SEXPREC *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    5 |     env = PRENV(promise);
      |         ^
eval_utils.c:6:15: error: implicit declaration of function ‘PREXPR’ [-Wimplicit-function-declaration]
    6 |     promise = PREXPR(promise);
      |               ^~~~~~
eval_utils.c:6:13: error: assignment to ‘SEXP’ {aka ‘struct SEXPREC *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
    6 |     promise = PREXPR(promise);
      |             ^
In file included from /usr/share/R/include/Rdefines.h:41,
                 from ../inst/include/S4Vectors_defines.h:18,
                 from S4Vectors.h:1,
                 from eval_utils.c:1:
eval_utils.c: In function ‘top_prenv’:
/usr/share/R/include/Rinternals.h:918:33: error: implicit declaration of function ‘Rf_findVar’; did you mean ‘Rf_findFun’? [-Wimplicit-function-declaration]
  918 | #define findVar                 Rf_findVar
      |                                 ^~~~~~~~~~
eval_utils.c:17:18: note: in expansion of macro ‘findVar’
   17 |   SEXP promise = findVar(nm, env);
      |                  ^~~~~~~
/usr/share/R/include/Rinternals.h:918:33: error: initialization of ‘SEXP’ {aka ‘struct SEXPREC *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  918 | #define findVar                 Rf_findVar
      |                                 ^~~~~~~~~~
eval_utils.c:17:18: note: in expansion of macro ‘findVar’
   17 |   SEXP promise = findVar(nm, env);
      |                  ^~~~~~~
eval_utils.c: In function ‘top_prenv_dots’:
/usr/share/R/include/Rinternals.h:918:33: error: initialization of ‘SEXP’ {aka ‘struct SEXPREC *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  918 | #define findVar                 Rf_findVar
      |                                 ^~~~~~~~~~
eval_utils.c:27:15: note: in expansion of macro ‘findVar’
   27 |   SEXP dots = findVar(R_DotsSymbol, env);
      |               ^~~~~~~
make[1]: *** [/usr/lib/R/etc/Makeconf:190: eval_utils.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 ‘S4Vectors’
* removing ‘/<<PKGBUILDDIR>>/debian/r-bioc-s4vectors/usr/lib/R/site-library/S4Vectors’
dh_auto_install: error: R CMD INSTALL -l /<<BUILDDIR>>/r-bioc-s4vectors-0.44.0\+dfsg/debian/r-bioc-s4vectors/usr/lib/R/site-library --clean . --built-timestamp="'Sat, 14 Mar 2026 22:27:10 +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