r-hub / rhub-linux-builders

Docker configuration for the R-hub Linux builders
GNU General Public License v2.0
23 stars 13 forks source link

ubuntu-rchk is not working #51

Closed randy3k closed 4 years ago

randy3k commented 4 years ago

I see that the docker image of ubuntu-rchk was updated about 10 hours ago. However, the R binary was not correctly compiled.

(randyimac)-~$ docker run --rm -it rhub/ubuntu-rchk
/
docker@2b38460cabb4:/$ ls /opt/R-svn/
ChangeLog     COPYING  Makeconf.in     Makefrag.cxx  share    VERSION-NICK
config.log    doc      Makefile.fw     Makefrag.m    src
config.site   etc      Makefile.in     packages      tests
configure     INSTALL  Makefrag.cc     po        tools
configure.ac  m4       Makefrag.cc_lo  README        VERSION

The /opt/R-svn/bin is missing.

When I tried to run build_r.sh manually, I got the following error

checking whether PCRE support suffices... configure: error: pcre2 library and headers are required, or use --with-pcre1
make: *** No targets specified and no makefile found.  Stop.

It reminds me that R 4.0 has switched to pcre2 library.

gaborcsardi commented 4 years ago

Thanks, on it!

gaborcsardi commented 4 years ago

@randy3k Should be good now, thanks!