Dear Maintainer:
Hi, I'm summitting a patch for fixing this FTBFS problem while building on Debian sid.
My patch Fix-FTBFS-on-mod_R.c.patch replace PI
, Calloc
, Realloc
and Free
with M_PI
, R_Calloc
, R_Realloc
or R_Free
instead,
according to the R-project's NEWS(R: R News ),
And by the way, when I test building on the Debian sid, it will stop by those errors:
"
/usr/bin/ld: cannot find -lzstd: No such file or directory
collect2: error: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
"
So you might have to add the missing depends in the debian/control: libzstd-dev, Please see the add-missing-depends.patch
Best regards
liwenjun
Fix-FTBFS-on-mod_R.c.patch
Description: Binary data
add-missing-depends.patch
Description: Binary data