[Slackbuilds-users] Building R under -current

Ivan Zaigralin melikamp at melikamp.com
Thu Jan 14 04:48:48 UTC 2021


Hi! I am trying to build R 4.0.0 and 4.0.3 under -current, and configure
fails with

...

> checking how to run the C preprocessor... /lib/cpp
> configure: error: in `/opt/R-4.0.3':
> configure: error: C preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details

The log is attached. Highlight follows. Is anyone else experiencing this?

> configure:6761: /lib/cpp -I/usr/local/include conftest.c
> In file included from /usr/include/bits/posix1_lim.h:161,
>                  from /usr/include/limits.h:183,
>                  from
> /usr/lib64/gcc/x86_64-slackware-linux/10.2.0/include-fixed/limits.h:195,
>                  from
> /usr/lib64/gcc/x86_64-slackware-linux/10.2.0/include-fixed/syslimits.h:7,
>                  from
> /usr/lib64/gcc/x86_64-slackware-linux/10.2.0/include-fixed/limits.h:34,
>                  from conftest.c:18:
> /usr/include/bits/local_lim.h:38:10: fatal error: linux/limits.h: No
> such file or directory
>    38 | #include <linux/limits.h>
>       |          ^~~~~~~~~~~~~~~~
> compilation terminated.
> configure:6761: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "R"
> | #define PACKAGE_TARNAME "R"
> | #define PACKAGE_VERSION "4.0.3"
> | #define PACKAGE_STRING "R 4.0.3"
> | #define PACKAGE_BUGREPORT "https://bugs.r-project.org"
> | #define PACKAGE_URL "https://www.r-project.org"
> | #define PACKAGE "R"
> | #define VERSION "4.0.3"
> | #define R_PLATFORM "x86_64-pc-linux-gnu"
> | #define R_CPU "x86_64"
> | #define R_VENDOR "pc"
> | #define R_OS "linux-gnu"
> | #define Unix 1
> | #define R_ARCH ""
> | /* end confdefs.h.  */
> | #ifdef __STDC__
> | # include <limits.h>
> | #else
> | # include <assert.h>
> | #endif
> |              Syntax error
> configure:6791: error: in `/opt/R-4.0.3':
> configure:6793: error: C preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 32318 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20210113/6d9227bf/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20210113/6d9227bf/attachment-0001.asc>


More information about the SlackBuilds-users mailing list