[R-pkg-team] Bug#1064135: Help needed to pass -fsigned-char to r-cran-bigmemory

Charles Plessy charles.plessy at oist.jp
Mon May 12 04:06:26 BST 2025


On 5/12/25 10:55, Dirk Eddelbuettel wrote:
> On 12 May 2025 at 09:43, Charles Plessy wrote:
> |   - A src/Makevars file containing +CXXFLAGS = -fsigned-char
> 
> a) maybe use += instead of = ?
> b) maybe use PKG_CXXFLAGS instead as CXXFLAGS get overridden ?
> 
> b) should work but it's late-ish on a sunday eve here ...

> First step is to get it to work via 'R CMD INSTALL ...' and the Debian
> wrapper come thereafter.

Thanks a lot Dirk for putting me in the right direction!

So I persevered a bit more with src/Makevars and ran R CMD INSTALL from 
outside Debian's build system first, which leads me to figure out that 
src/Makevars was unconditionally overwritten by the ./configure script. 
Patching this file allowed me to inject -fsigned-char in the build.

I will upload this soon and hope it fixes the issue on arm64 and the like.

Have nice day!

Charles

-- 
Charles Plessy - - ~ ~ ~ ~ ~ ~~~~ ~ ~ ~ ~ ~ - - charles.plessy at oist.jp
Okinawa  Institute  of  Science  and  Technology  Graduate  University
Senior staff scientist ~~ Luscombe Unit ~~ https://groups.oist.jp/grsu
Toots from work - ~~ ~~~~ ~~ - https://fediscience.org/@charles_plessy



More information about the R-pkg-team mailing list