[R-pkg-team] Bug#1135463: r-bioc-gsva: FTBFS: ks_test.c:22:12: error: implicit declaration of function 'ATTRIB' [-Wimplicit-function-declaration]
Santiago Vila
sanvila at debian.org
Sat May 2 00:14:35 BST 2026
Package: src:r-bioc-gsva
Version: 2.0.5+ds-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-bioc-gsva, 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-gsva/ -O--buildsystem=R
I: R Package: GSVA Version: 2.0.5
I: Building using R version 4.6.0-2
I: R API version: r-api-4.0
I: Using built-time from d/changelog: Fri, 13 Mar 2026 16:24:23 +0900
mkdir -p /<<BUILDDIR>>/r-bioc-gsva-2.0.5\+ds/debian/r-bioc-gsva/usr/lib/R/site-library
R CMD INSTALL -l /<<BUILDDIR>>/r-bioc-gsva-2.0.5\+ds/debian/r-bioc-gsva/usr/lib/R/site-library --clean . --built-timestamp="'Fri, 13 Mar 2026 16:24:23 +0900'"
* installing *source* package âGSVAâ ...
** this is package âGSVAâ version â2.0.5â
file âinst/doc/GSVA.htmlâ is 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 -I'/usr/lib/R/site-library/cli/include' -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 ecdfvals.c -o ecdfvals.o
x86_64-linux-gnu-gcc -I"/usr/share/R/include" -DNDEBUG -I'/usr/lib/R/site-library/cli/include' -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 kcdfvals.c -o kcdfvals.o
x86_64-linux-gnu-gcc -I"/usr/share/R/include" -DNDEBUG -I'/usr/lib/R/site-library/cli/include' -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 kernel_estimation.c -o kernel_estimation.o
x86_64-linux-gnu-gcc -I"/usr/share/R/include" -DNDEBUG -I'/usr/lib/R/site-library/cli/include' -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 ks_test.c -o ks_test.o
ks_test.c: In function âinstallAttribâ:
ks_test.c:22:12: error: implicit declaration of function âATTRIBâ [-Wimplicit-function-declaration]
22 | for (s = ATTRIB(vec); s != R_NilValue; s = CDR(s)) {
| ^~~~~~
ks_test.c:22:10: error: assignment to âSEXPâ {aka âstruct SEXPREC *â} from âintâ makes pointer from integer without a cast [-Wint-conversion]
22 | for (s = ATTRIB(vec); s != R_NilValue; s = CDR(s)) {
| ^
ks_test.c:32:19: warning: comparison between pointer and integer
32 | if (ATTRIB(vec) == R_NilValue)
| ^~
ks_test.c:33:5: error: implicit declaration of function âSET_ATTRIBâ; did you mean âSET_ATTRâ? [-Wimplicit-function-declaration]
33 | SET_ATTRIB(vec, s);
| ^~~~~~~~~~
| SET_ATTR
In file included from /usr/share/R/include/Rdefines.h:41,
from ks_test.c:6:
ks_test.c:35:36: error: passing argument 1 of âRf_lengthâ makes pointer from integer without a cast [-Wint-conversion]
35 | t = nthcdr(ATTRIB(vec), length(ATTRIB(vec)) - 1);
| ^~~~~~~~~~~
| |
| int
/usr/share/R/include/Rinternals.h:987:43: note: in definition of macro âlengthâ
987 | #define length(x) Rf_length(x)
| ^
/usr/share/R/include/Rinternals.h:1094:20: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
1094 | R_len_t Rf_length(SEXP);
| ^~~~
ks_test.c:35:16: error: passing argument 1 of âRf_nthcdrâ makes pointer from integer without a cast [-Wint-conversion]
35 | t = nthcdr(ATTRIB(vec), length(ATTRIB(vec)) - 1);
| ^~~~~~~~~~~
| |
| int
/usr/share/R/include/Rinternals.h:528:16: note: expected âSEXPâ {aka âstruct SEXPREC *â} but argument is of type âintâ
528 | SEXP Rf_nthcdr(SEXP, int);
| ^~~~
make[1]: *** [/usr/lib/R/etc/Makeconf:190: ks_test.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 âGSVAâ
* removing â/<<PKGBUILDDIR>>/debian/r-bioc-gsva/usr/lib/R/site-library/GSVAâ
dh_auto_install: error: R CMD INSTALL -l /<<BUILDDIR>>/r-bioc-gsva-2.0.5\+ds/debian/r-bioc-gsva/usr/lib/R/site-library --clean . --built-timestamp="'Fri, 13 Mar 2026 16:24:23 +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