From keith.ohara at nyu.edu  Wed May 18 14:18:16 2016
From: keith.ohara at nyu.edu (Keith O'Hara)
Date: Wed, 18 May 2016 08:18:16 -0400
Subject: [Rd] Latest R-devel build failing on OS X
Message-ID: <70CBF2CD-1B4C-48CA-AFFD-E3F1DDBDC073@nyu.edu>

Dear R-devel,

The latest version of R-devel (05-17) is throwing an error for me when building on OS X (v 10.11.4):

making Rembedded.d from Rembedded.c
making dynload.d from dynload.c
making system.d from system.c
making sys-unix.d from sys-unix.c
making sys-std.d from sys-std.c
making X11.d from X11.c
clang -I. -I../../src/include -I../../src/include  -I/usr/local/include -DHAVE_CONFIG_H    -fPIC  -Wall -mtune=core2 -g -O2  -c Rembedded.c -o Rembedded.o
clang -I. -I../../src/include -I../../src/include  -I/usr/local/include -DHAVE_CONFIG_H    -fPIC  -Wall -mtune=core2 -g -O2  -c dynload.c -o dynload.o
clang -I. -I../../src/include -I../../src/include  -I/usr/local/include -DHAVE_CONFIG_H    -fPIC  -Wall -mtune=core2 -g -O2  -c system.c -o system.o
clang -I. -I../../src/include -I../../src/include  -I/usr/local/include -DHAVE_CONFIG_H    -fPIC  -Wall -mtune=core2 -g -O2  -c sys-unix.c -o sys-unix.o
clang -I. -I../../src/include -I../../src/include  -I/usr/local/include -DHAVE_CONFIG_H    -fPIC  -Wall -mtune=core2 -g -O2  -c sys-std.c -o sys-std.o
sys-std.c:592:5: warning: implicit declaration of function 'RL_UNSETSTATE' is invalid in C99
     [-Wimplicit-function-declaration]
   RL_UNSETSTATE(RL_STATE_ISEARCH | RL_STATE_NSEARCH | RL_STATE_VIMOTION |
   ^
sys-std.c:592:19: error: use of undeclared identifier 'RL_STATE_ISEARCH'
   RL_UNSETSTATE(RL_STATE_ISEARCH | RL_STATE_NSEARCH | RL_STATE_VIMOTION |
                 ^
sys-std.c:592:38: error: use of undeclared identifier 'RL_STATE_NSEARCH'
   RL_UNSETSTATE(RL_STATE_ISEARCH | RL_STATE_NSEARCH | RL_STATE_VIMOTION |
                                    ^
sys-std.c:592:57: error: use of undeclared identifier 'RL_STATE_VIMOTION'
   RL_UNSETSTATE(RL_STATE_ISEARCH | RL_STATE_NSEARCH | RL_STATE_VIMOTION |
                                                       ^
sys-std.c:593:5: error: use of undeclared identifier 'RL_STATE_NUMERICARG'
                 RL_STATE_NUMERICARG | RL_STATE_MULTIKEY);
                 ^
sys-std.c:593:27: error: use of undeclared identifier 'RL_STATE_MULTIKEY'
                 RL_STATE_NUMERICARG | RL_STATE_MULTIKEY);
                                       ^
sys-std.c:596:40: error: use of undeclared identifier 'rl_mark'
   rl_line_buffer[rl_point = rl_end = rl_mark = 0] = 0;
                                      ^
sys-std.c:597:5: error: use of undeclared identifier 'rl_done'
   rl_done = 1;
   ^
sys-std.c:998:7: warning: implicit declaration of function 'rl_resize_terminal' is invalid in C99
     [-Wimplicit-function-declaration]
                   rl_resize_terminal();
                   ^
2 warnings and 7 errors generated.
make[3]: *** [sys-std.o] Error 1
make[2]: *** [R] Error 2
make[1]: *** [R] Error 1
make: *** [R] Error 1




My configuration information:

R is now configured for x86_64-apple-darwin15.4.0

 Source directory:          .
 Installation directory:    /Builds/R-devel

 C compiler:                clang  -Wall -mtune=core2 -g -O2
 Fortran 77 compiler:       gfortran-4.8  -g -O2

 C++ compiler:              clang++  -Wall -mtune=core2 -g -O2
 C++11 compiler:            clang++  -std=c++11 -Wall -mtune=core2 -g -O2
 Fortran 90/95 compiler:    gfortran-4.8 -Wall -g -O2
 Obj-C compiler:	     clang -Wall -mtune=core2 -g -O2 -fobjc-exceptions

 Interfaces supported:      aqua, tcltk
 External libraries:        readline, BLAS(OpenBLAS), LAPACK(in blas), curl
 Additional capabilities:   PNG, JPEG, TIFF, NLS, cairo, ICU
 Options enabled:           shared R library, R profiling, memory profiling

 Capabilities skipped:      
 Options not enabled:       shared BLAS

 Recommended packages:      yes


Apologies in advance if I have incorrectly formatted the issue or omitted something important.

Kind regards,
Keith


[Rd] Latest R-devel build failing on OS X
Keith O'Hara