[R-pkg-team] Bug#1135471: r-cran-quickjsr: FTBFS: include/cpp11/data_frame.hpp:32:22: error: 'ATTRIB' was not declared in this scope
Santiago Vila
sanvila at debian.org
Sat May 2 00:14:53 BST 2026
Package: src:r-cran-quickjsr
Version: 1.9.0-1
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-quickjsr, 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-quickjsr/ -O--buildsystem=R
I: R packages needed for DEP8: knitr, rmarkdown, tinytest
I: R Package: QuickJSR Version: 1.9.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: Thu, 29 Jan 2026 11:13:40 +0900
mkdir -p /<<PKGBUILDDIR>>/debian/r-cran-quickjsr/usr/lib/R/site-library
R CMD INSTALL -l /<<PKGBUILDDIR>>/debian/r-cran-quickjsr/usr/lib/R/site-library --clean . --built-timestamp="'Thu, 29 Jan 2026 11:13:40 +0900'"
* installing *source* package âQuickJSRâ ...
** this is package âQuickJSRâ version â1.9.0â
** package âQuickJSRâ 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 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"include" -I"quickjs" -D_GNU_SOURCE -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 -funsigned-char -std=gnu11 -c libquickjs.c
x86_64-linux-gnu-g++ -std=gnu++20 -I"/usr/share/R/include" -DNDEBUG -I"include" -I"quickjs" -D_GNU_SOURCE -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 quickjsr.cpp -o quickjsr.o
In file included from include/cpp11.hpp:9,
from quickjsr.cpp:1:
include/cpp11/data_frame.hpp: In static member function âstatic SEXPREC* cpp11::data_frame::get_attrib0(SEXP, SEXP)â:
include/cpp11/data_frame.hpp:32:22: error: âATTRIBâ was not declared in this scope
32 | for (SEXP attr = ATTRIB(x); attr != R_NilValue; attr = CDR(attr)) {
| ^~~~~~
In file included from include/cpp11.hpp:13:
include/cpp11/function.hpp: In static member function âstatic SEXPREC* cpp11::package::get_namespace(const char*)â:
include/cpp11/function.hpp:73:36: error: âR_NamespaceRegistryâ was not declared in this scope
73 | return safe[detail::r_env_get](R_NamespaceRegistry, name_sexp);
| ^~~~~~~~~~~~~~~~~~~
make[1]: *** [/usr/lib/R/etc/Makeconf:199: quickjsr.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 âQuickJSRâ
* removing â/<<PKGBUILDDIR>>/debian/r-cran-quickjsr/usr/lib/R/site-library/QuickJSRâ
dh_auto_install: error: R CMD INSTALL -l /<<PKGBUILDDIR>>/debian/r-cran-quickjsr/usr/lib/R/site-library --clean . --built-timestamp="'Thu, 29 Jan 2026 11:13:40 +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