[R-pkg-team] Bug#1135467: r-bioc-shortread: FTBFS: io.c:49:11: error: implicit declaration of function 'IS_S4_OBJECT' [-Wimplicit-function-declaration]
Santiago Vila
sanvila at debian.org
Sat May 2 00:14:45 BST 2026
Package: src:r-bioc-shortread
Version: 1.64.0-4
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-shortread, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem R
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
rm -f configure config.log config.status
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
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
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
configure.ac:14: warning: The macro 'AC_ERROR' is obsolete.
configure.ac:14: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
configure.ac:14: the top level
configure.ac:17: warning: AC_OUTPUT should be used without arguments.
configure.ac:17: You should run autoupdate.
autoreconf: configure.ac: not using Autoheader
autoreconf: configure.ac: not using Automake
autoreconf: Leaving directory '.'
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-shortread/ -O--buildsystem=R
I: R Package: ShortRead Version: 1.64.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: Fri, 13 Mar 2026 20:15:21 +0900
mkdir -p /<<PKGBUILDDIR>>/debian/r-bioc-shortread/usr/lib/R/site-library
R CMD INSTALL -l /<<PKGBUILDDIR>>/debian/r-bioc-shortread/usr/lib/R/site-library --clean . --built-timestamp="'Fri, 13 Mar 2026 20:15:21 +0900'"
* installing *source* package âShortReadâ ...
** this is package âShortReadâ version â1.64.0â
file âconfigureâ has the wrong MD5 checksum
** using staged installation
checking for gcc... x86_64-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether x86_64-linux-gnu-gcc accepts -g... yes
checking for x86_64-linux-gnu-gcc option to enable C11 features... none needed
checking for gzeof in -lz... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking size of unsigned long... 8
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: âx86_64-linux-gnu-gcc (Debian 15.2.0-17) 15.2.0â
using C++ compiler: âx86_64-linux-gnu-g++ (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/S4Vectors/include' -I'/usr/lib/R/site-library/IRanges/include' -I'/usr/lib/R/site-library/XVector/include' -I'/usr/lib/R/site-library/Biostrings/include' -I'/usr/lib/R/site-library/Rhtslib/include' -fopenmp -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 Biostrings_stubs.c -o Biostrings_stubs.o
x86_64-linux-gnu-gcc -I"/usr/share/R/include" -DNDEBUG -I'/usr/lib/R/site-library/S4Vectors/include' -I'/usr/lib/R/site-library/IRanges/include' -I'/usr/lib/R/site-library/XVector/include' -I'/usr/lib/R/site-library/Biostrings/include' -I'/usr/lib/R/site-library/Rhtslib/include' -fopenmp -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 IRanges_stubs.c -o IRanges_stubs.o
x86_64-linux-gnu-gcc -I"/usr/share/R/include" -DNDEBUG -I'/usr/lib/R/site-library/S4Vectors/include' -I'/usr/lib/R/site-library/IRanges/include' -I'/usr/lib/R/site-library/XVector/include' -I'/usr/lib/R/site-library/Biostrings/include' -I'/usr/lib/R/site-library/Rhtslib/include' -fopenmp -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_ShortRead.c -o R_init_ShortRead.o
x86_64-linux-gnu-gcc -I"/usr/share/R/include" -DNDEBUG -I'/usr/lib/R/site-library/S4Vectors/include' -I'/usr/lib/R/site-library/IRanges/include' -I'/usr/lib/R/site-library/XVector/include' -I'/usr/lib/R/site-library/Biostrings/include' -I'/usr/lib/R/site-library/Rhtslib/include' -fopenmp -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 S4Vectors_stubs.c -o S4Vectors_stubs.o
x86_64-linux-gnu-gcc -I"/usr/share/R/include" -DNDEBUG -I'/usr/lib/R/site-library/S4Vectors/include' -I'/usr/lib/R/site-library/IRanges/include' -I'/usr/lib/R/site-library/XVector/include' -I'/usr/lib/R/site-library/Biostrings/include' -I'/usr/lib/R/site-library/Rhtslib/include' -fopenmp -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 XVector_stubs.c -o XVector_stubs.o
x86_64-linux-gnu-gcc -I"/usr/share/R/include" -DNDEBUG -I'/usr/lib/R/site-library/S4Vectors/include' -I'/usr/lib/R/site-library/IRanges/include' -I'/usr/lib/R/site-library/XVector/include' -I'/usr/lib/R/site-library/Biostrings/include' -I'/usr/lib/R/site-library/Rhtslib/include' -fopenmp -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 alphabet.c -o alphabet.o
x86_64-linux-gnu-gcc -I"/usr/share/R/include" -DNDEBUG -I'/usr/lib/R/site-library/S4Vectors/include' -I'/usr/lib/R/site-library/IRanges/include' -I'/usr/lib/R/site-library/XVector/include' -I'/usr/lib/R/site-library/Biostrings/include' -I'/usr/lib/R/site-library/Rhtslib/include' -fopenmp -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 count.c -o count.o
x86_64-linux-gnu-gcc -I"/usr/share/R/include" -DNDEBUG -I'/usr/lib/R/site-library/S4Vectors/include' -I'/usr/lib/R/site-library/IRanges/include' -I'/usr/lib/R/site-library/XVector/include' -I'/usr/lib/R/site-library/Biostrings/include' -I'/usr/lib/R/site-library/Rhtslib/include' -fopenmp -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 io.c -o io.o
io.c: In function âwrite_fastqâ:
io.c:49:11: error: implicit declaration of function âIS_S4_OBJECTâ [-Wimplicit-function-declaration]
49 | if (!(IS_S4_OBJECT(id) && strcmp(get_classname(id), "BStringSet") == 0))
| ^~~~~~~~~~~~
io.c: In function âread_prb_as_characterâ:
io.c:227:38: warning: format â%fâ expects argument of type âdoubleâ, but argument 2 has type âconst char *â [-Wformat=]
227 | error("could not read file '%f'", translateChar(STRING_ELT(fname, 0)));
| ~^
| |
| double
| %s
In file included from io.c:5:
io.c: In function â_AlignedRead_Solexa_makeâ:
call.h:10:5: error: implicit declaration of function âSET_TYPEOFâ; did you mean âTYPEOFâ? [-Wimplicit-function-declaration]
10 | SET_TYPEOF((T), LANGSXP); \
| ^~~~~~~~~~
io.c:510:5: note: in expansion of macro âNEW_CALLâ
510 | NEW_CALL(s, t, "SFastqQuality", nmspc, 2);
| ^~~~~~~~
io.c: In function â_read_solexa_export_fileâ:
io.c:658:49: warning: format â%sâ expects argument of type âchar *â, but argument 2 has type âintâ [-Wformat=]
658 | error("invalid 'strand' field '%s', %s:%d",
| ~^
| |
| char *
| %d
659 | *elt[13], fname, lineno);
| ~~~~~~~~
| |
| int
io.c:676:48: warning: format â%sâ expects argument of type âchar *â, but argument 2 has type âintâ [-Wformat=]
676 | error("invalid 'filtering' field '%s', %s:%d",
| ~^
| |
| char *
| %d
677 | *elt[21], fname, lineno);
| ~~~~~~~~
| |
| int
io.c: In function â_solexa_export_make_idâ:
io.c:696:17: error: implicit declaration of function âSTRING_PTRâ; did you mean âSTRING_ELTâ? [-Wimplicit-function-declaration]
696 | * run = STRING_PTR(VECTOR_ELT(result, SLX_RUN)),
| ^~~~~~~~~~
| STRING_ELT
io.c:696:17: error: initialization of âstruct SEXPREC * const*â from âintâ makes pointer from integer without a cast [-Wint-conversion]
io.c:698:20: error: initialization of âstruct SEXPREC * const*â from âintâ makes pointer from integer without a cast [-Wint-conversion]
698 | *machine = STRING_PTR(VECTOR_ELT(result, SLX_MACHINE));
| ^~~~~~~~~~
io.c:703:24: error: assignment to âstruct SEXPREC * const*â from âintâ makes pointer from integer without a cast [-Wint-conversion]
703 | multiplexIndex = STRING_PTR(VECTOR_ELT(result, SLX_MULTIPLEX));
| ^
make[1]: *** [/usr/lib/R/etc/Makeconf:190: io.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 âShortReadâ
* removing â/<<PKGBUILDDIR>>/debian/r-bioc-shortread/usr/lib/R/site-library/ShortReadâ
dh_auto_install: error: R CMD INSTALL -l /<<PKGBUILDDIR>>/debian/r-bioc-shortread/usr/lib/R/site-library --clean . --built-timestamp="'Fri, 13 Mar 2026 20:15:21 +0900'" returned exit code 1
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the R-pkg-team
mailing list