From bhs2 at mevik.net  Thu Mar 31 16:20:12 2005
From: bhs2 at mevik.net (=?iso-8859-1?q?Bj=F8rn-Helge_Mevik?=)
Date: Thu Mar 31 16:20:25 2005
Subject: [Rd] R-alpha_2005-03-31: make check fails on Debian 3.0
Message-ID: <m03bubhp7n.fsf@bar.nemo-project.org>

I've just tested R-alpha_2005-03-31.tar.gz.  ./configure and make
ran without any apparent errors, but make check failed:

58 (0) $ make check 2>&1 | tee make_check-logg
make[1]: Entering directory `/usr/local/src/R/R-alpha/tests'
make[2]: Entering directory `/usr/local/src/R/R-alpha/tests'
make[3]: Entering directory `/usr/local/src/R/R-alpha/tests/Examples'
make[4]: Entering directory `/usr/local/src/R/R-alpha/tests/Examples'
make[4]: Leaving directory `/usr/local/src/R/R-alpha/tests/Examples'
make[4]: Entering directory `/usr/local/src/R/R-alpha/tests/Examples'
collecting examples for package 'base' ...
make[5]: Entering directory `/usr/local/src/R/R-alpha/src/library'
 >>> Building/Updating help pages for package 'base'
     Formats: text html latex example 
make[5]: Leaving directory `/usr/local/src/R/R-alpha/src/library'
running code in 'base-Ex.R' ... OK
collecting examples for package 'tools' ...
make[5]: Entering directory `/usr/local/src/R/R-alpha/src/library'
 >>> Building/Updating help pages for package 'tools'
     Formats: text html latex example 
make[5]: Leaving directory `/usr/local/src/R/R-alpha/src/library'
running code in 'tools-Ex.R' ... OK
collecting examples for package 'utils' ...
make[5]: Entering directory `/usr/local/src/R/R-alpha/src/library'
 >>> Building/Updating help pages for package 'utils'
     Formats: text html latex example 
make[5]: Leaving directory `/usr/local/src/R/R-alpha/src/library'
running code in 'utils-Ex.R' ...make[4]: *** [utils-Ex.Rout] Error 1
make[4]: Leaving directory `/usr/local/src/R/R-alpha/tests/Examples'
make[3]: *** [test-Examples-Base] Error 2
make[3]: Leaving directory `/usr/local/src/R/R-alpha/tests/Examples'
make[2]: *** [test-Examples] Error 2
make[2]: Leaving directory `/usr/local/src/R/R-alpha/tests'
make[1]: *** [test-all-basics] Error 1
make[1]: Leaving directory `/usr/local/src/R/R-alpha/tests'
make: *** [check] Error 2
59 (0) $ 


The final part of tests/Examples/utils-Ex.Rout.fail reads

> cleanEx(); ..nameEx <- "help.search"
> 
> ### * help.search
> 
> flush(stderr()); flush(stdout())
> 
> ### Name: help.search
> ### Title: Search the Help System
> ### Aliases: help.search print.hsearch
> ### Keywords: documentation
> 
> ### ** Examples
> 
> help.search("linear models")    # In case you forgot how to fit linear
Error in iconv(db[[i]][ind, ], enc, "") : 'iconv' is not available on this system
Execution halted


The parts of the output fron ./configure that meantion "iconv" is

checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for iconv... yes
checking whether iconv() accepts "UTF-8" and "latin1"... no
checking for iconvlist... no
[...]
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);

The only warnings I got was

checking whether makeinfo version is at least 4.7... no
configure: WARNING: you cannot build info or html versions of the R manuals

from ./configure, and

gcc -I../../src/extra/zlib -I../../src/extra/bzip2 -I../../src/extra/pcre  -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H   -g -O2 -c regex.c -o regex.o
regex.c:2525: warning: `noinline' attribute directive ignored
regex.c:2699: warning: `always_inline' attribute directive ignored
regex.c:6236: warning: `always_inline' attribute directive ignored
[...]
gcc -I/usr/local/src/R/R-alpha/include  -I/usr/local/include  -Wno-long-long -fPIC  -g -O2 -c pfm-read.c -o pfm-read.o
pfm-read.c:225: warning: `match' redefined
/usr/local/src/R/R-alpha/include/Rinternals.h:1002: warning: this is the location of the previous definition

from make.

-- 
Bj?rn-Helge Mevik


[Rd] R-alpha_2005-03-31: make check fails on Debian 3.0
=?iso-8859-1?q?Bj=F8rn-Helge_Mevik?=