[Rd] Problems building rpm for R-2.6.2 on Opensuse Factory

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Mar 18 11:30:07 CET 2008


This is proving elusive.  The same build that gave incorrect results last 
week gave correct results last night (and F8 has had about 50 updates 
since, including two kernel updates).

I'd still suggest trying lower levels of optimization, as that was 
definitely needed with some pre-releases of gcc 4.3.x.


On Mon, 17 Mar 2008, Prof Brian Ripley wrote:

> On Mon, 17 Mar 2008, Detlef Steuer wrote:
>
>> Hi,
>> 
>> make check fails in the way shown below when I try to build
>> R-2.6.2 on OpenSuSE Factory x86_64. It builds fine on i586.
>> (and on all older Versions of Opensuse)
>> 
>> Is there something I can do?
>> Are there known problems with some gcc versions?
>> (Factory uses 4.3.0)
>
> Yes.  This happened for me with (vanilla released) gcc 4.3.0 on F8 x86_64 
> too.  Turning optimization off for both C and Fortran solved it -- I've not 
> yet had time to track down what you need not to optimize.  I'll try to do 
> that this evening.
>
> As I understand it, CRAN is successfully building R with a Debian x86_64 
> build of gcc 4.3.0, but several packages are failing in that configuration.
>
>> 
>> Output from ./configure is
>> -------------------------------------------------------------
>> R is now configured for x86_64-unknown-linux-gnu
>> 
>> Source directory: .
>> Installation directory: /usr
>> 
>> C compiler: gcc -std=gnu99 -g -O2
>> Fortran 77 compiler: gfortran -g -O2
>> 
>> C++ compiler: g++ -g -O2
>> Fortran 90/95 compiler: gfortran -g -O2
>> Obj-C compiler:
>> 
>> Interfaces supported: X11, tcltk
>> External libraries: readline
>> Additional capabilities: PNG, JPEG, iconv, MBCS, NLS
>> Options enabled: shared R library, shared BLAS, R profiling
>> 
>> Recommended packages: yes
>> -------------------------------------------------------------
>> 
>> It may very well be an error on the Opensuse side, but I'm  just not
>> sure how to identify the true cause of the problem.
>> Any help appreciated.
>> 
>> Detlef
>> 
>> -----------------------------------------------------------------
>> Error message:
>> 
>> running code in 'lapack.R' ... OK
>> comparing 'lapack.Rout' to './lapack.Rout.save' ... OK
>> make[3]: Leaving directory `/usr/src/packages/BUILD/R-2.6.2/tests'
>> make[2]: Leaving directory `/usr/src/packages/BUILD/R-2.6.2/tests'
>> make[2]: Entering directory `/usr/src/packages/BUILD/R-2.6.2/tests'
>> running regression tests
>> make[3]: Entering directory `/usr/src/packages/BUILD/R-2.6.2/tests'
>> running code in 'reg-tests-1.R' ... OK
>> running code in 'reg-tests-2.R' ... OK
>> comparing 'reg-tests-2.Rout' to './reg-tests-2.Rout.save' ...1318c1318
>> < 0.1230 -0.7187
>> ---
>>> 0.1230 0.3170
>> 1328c1328
>> < 0.1230 -0.7187
>> ---
>>> 0.1230 0.3170
>> 1356c1356
>> < -0.2364 -0.3594
>> ---
>>> 0.2814 0.1585
>> 1366c1366
>> < 0.62010 -0.55327 -0.15379 0.02127
>> ---
>>> 0.49064 -0.68273 -0.02433 0.15074
>> 1375c1375
>> < 1.17337 0.06683 -0.15379 0.02127
>> ---
>>> 1.17337 -0.19209 -0.02433 0.15074
>> make[3]: *** [reg-tests-2.Rout] Error 1
>> make[3]: Leaving directory `/usr/src/packages/BUILD/R-2.6.2/tests'
>> make[2]: *** [test-Reg] Error 2
>> make[2]: Leaving directory `/usr/src/packages/BUILD/R-2.6.2/tests'
>> make[1]: *** [test-all-basics] Error 1
>> make[1]: Leaving directory `/usr/src/packages/BUILD/R-2.6.2/tests'
>> make: *** [check] Error 2
>> error: Bad exit status from /var/tmp/rpm-tmp.74662 (%build)
>> 
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>> 
>
> -- 
> Brian D. Ripley,                  ripley at stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list