[R-pkg-team] Bug#1138477: r-cran-openssl: FTBFS with openssl 4.0

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Sat May 30 17:22:08 BST 2026


Package: r-cran-openssl
Version: 2.3.4+dfsg-1
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: pkg-openssl-devel at lists.alioth.debian.org
Usertags: openssl-4.0

OpenSSL 4.0 is in experimental. This package fails to build against it:

| x86_64-linux-gnu-gcc -I"/usr/share/R/include" -DNDEBUG -DSTRICT_R_HEADERS -DR_NO_REMAP      -fpic  -g -O2 -ffile-prefix-map=/build/reproducible-path/r-base-4.5.3.20260417=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -c cert.c -o cert.o
| cert.c: In function ‘R_cert_info’:
| cert.c:28:8: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
|    28 |   name = X509_get_subject_name(cert);
|       |        ^
| cert.c:37:8: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
|    37 |   name = X509_get_issuer_name(cert);
|       |        ^
| cert.c:53:58: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’}
|    53 |   SET_VECTOR_ELT(out, 3, Rf_allocVector(RAWSXP, signature->length));
|       |                                                          ^~
| cert.c:54:44: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’}
|    54 |   memcpy(RAW(VECTOR_ELT(out, 3)), signature->data, signature->length);
|       |                                            ^~
| cert.c:54:61: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’}
|    54 |   memcpy(RAW(VECTOR_ELT(out, 3)), signature->data, signature->length);
|       |                                                             ^~
| make[1]: *** [/usr/lib/R/etc/Makeconf:190: cert.o] Error 1

Full buildlog
 	https://breakpoint.cc/openssl-rebuild/logs-4/attempted/r-cran-openssl_2.3.4+dfsg-1_amd64-2026-04-19T13:21:41Z

Sebastian



More information about the R-pkg-team mailing list