Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135318 - [Stable] dev-lang/R-2.2.1
Summary: [Stable] dev-lang/R-2.2.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-02 13:23 UTC by Danny van Dyk (RETIRED)
Modified: 2006-09-05 05:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info for Matthias Langer (emerge.info,2.58 KB, text/plain)
2006-06-05 18:15 UTC, Matthias Langer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Danny van Dyk (RETIRED) gentoo-dev 2006-06-02 13:23:22 UTC
Hi archs,

this is a maintainer request to mark dev-lang/R-2.2.1 stable on

~ia64 ~ppc ~ppc64 ~sparc ~x86

To test before marking, please use the built-in testcases via FEATURES="test".

I'd also like you guys to test it both with your stable gcc and (if available)
gcc-4.1.x, as R makes extensive use of Fortran and gcc has switched from g77
to gfortran in gcc-4.

TIA
Comment 1 Mark Kowarsky (RETIRED) gentoo-dev 2006-06-04 06:14:01 UTC
Compiled fine with GCC 3.4 on x86 and FEATURES="test"

mark@rockley ~ $ emerge --info
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i586)
=================================================================
System uname: 2.6.15-gentoo-r1 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O2 -march=k6-2 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k6-2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo http://mirror.pacific.net.au/linux/Gentoo ftp://mirror.isp.net.au/pub/gentoo http://mirror.isp.net.au/ftp/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.145/gentoo-portage"
USE="x86 3dnow X alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cli crypt cups curl dri eds emboss encode esd exif expat fam foomaticdb fortran gd gdbm gif glut gmp gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 isdnlog java jpeg lcms libg++ libwww mad mikmod mng motif mozilla mp3 mpeg ncurses nls nptl ogg openal opengl oss pam pcre pdflib perl png ppds pppd python quicktime readline reflection samba sdl session spell spl ssl svga tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis wmf xml xml2 xmms xorg xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 2 Matthias Langer 2006-06-05 18:15:33 UTC
Created attachment 88490 [details]
emerge --info for Matthias Langer

i've done some testing with R-2.2.1 [ +X -blas -debug +jpeg -lapack +nls +png +readline +tcltk ] on x86. seems to be fine as far as i can tell; there just seems to be (cosmetic?) issue with "demo(graphics)":

> title(main = "Simple Use of Color In a Plot", xlab = "Just a Whisper of a Label",
    col.main = "blue", col.lab = gray(0.8), cex.main = 1.2, cex.lab = 1,
    font.main = 4, font.lab = 3)
Error in title(main = "Simple Use of Color In a Plot", xlab = "Just a Whisper of a Label",  :
        X11 font at size 14 could not be loaded

PS: i've attached "emerge --info" for the case it is "too long". if i should not do this in the future, just tell me.
Comment 3 Sean O'Rourke 2006-06-05 19:10:00 UTC
Compiles and tests (FEATURES="test") correctly on x86.

abel sean345 # emerge --info
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r6 i686)
=================================================================
System uname: 2.6.16-gentoo-r6 i686 Intel(R) Celeron(TM) CPU                1200MHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cairo cli crypt cups dri dvd emboss encode exif expat fam foomaticdb fortran gdbm gif glut gpm gtk gtk2 imagemagick imlib ipv6 isdnlog jpeg lcms libg++ libwww mad mikmod mmx mng motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python quicktime readline reflection sdl session spell spl sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xml xml2 xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 4 Markus Rothe (RETIRED) gentoo-dev 2006-06-06 11:50:40 UTC
stable on ppc64. passes all tests with gcc-3.4.6 and gcc-4.1.1 :-)
Comment 5 Jason Wever (RETIRED) gentoo-dev 2006-06-06 17:48:00 UTC
Tests fail on SPARC with the following:

>>> Test phase [check]: dev-lang/R-2.2.1
make[1]: Entering directory `/var/tmp/portage/R-2.2.1/work/R-2.2.1/tests'
make[2]: Entering directory `/var/tmp/portage/R-2.2.1/work/R-2.2.1/tests'
make[3]: Entering directory `/var/tmp/portage/R-2.2.1/work/R-2.2.1/tests/Examples'
make[4]: Entering directory `/var/tmp/portage/R-2.2.1/work/R-2.2.1/tests/Examples'
make[4]: Leaving directory `/var/tmp/portage/R-2.2.1/work/R-2.2.1/tests/Examples'
make[4]: Entering directory `/var/tmp/portage/R-2.2.1/work/R-2.2.1/tests/Examples'
running code in 'base-Ex.R' ...make[4]: *** [base-Ex.Rout] Error 1
make[4]: Leaving directory `/var/tmp/portage/R-2.2.1/work/R-2.2.1/tests/Examples'
make[3]: *** [test-Examples-Base] Error 2
make[3]: Leaving directory `/var/tmp/portage/R-2.2.1/work/R-2.2.1/tests/Examples'
make[2]: *** [test-Examples] Error 2
make[2]: Leaving directory `/var/tmp/portage/R-2.2.1/work/R-2.2.1/tests'
make[1]: *** [test-all-basics] Error 1
make[1]: Leaving directory `/var/tmp/portage/R-2.2.1/work/R-2.2.1/tests'
make: *** [check] Error 2
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2006-06-06 19:21:34 UTC
x86 done... thanks for the testing, guys...
Comment 7 Danny van Dyk (RETIRED) gentoo-dev 2006-06-08 00:23:14 UTC
Sparc: Can you guys please check if it passes the tests of the currently stable
version? TIA! Further did you test with gcc-3.4 or gcc-4.1?
Comment 8 Ferris McCormick (RETIRED) gentoo-dev 2006-06-08 05:43:21 UTC
With gcc-3.4.6-r1 on SB1000-SMP (profile=2006.0), R-2.1.1 runs its tests without any problem. I ran

FEATURES=test ebuild R-2.1.1.ebuild fetch unpack compile install
and watched the entire process; it did run all tests, and they all passed.

USE="X blas jpeg nls png readline tcltk -debug"
and native fortran from gcc.

I'll try 2.2.1 on my system as well, to see if I duplicate Jason's failure.
(USE="X blas jpeg nls png readline tcltk -debug -lapack" for this build.)
Comment 9 Ferris McCormick (RETIRED) gentoo-dev 2006-06-08 06:20:32 UTC
(In reply to comment #8)
> With gcc-3.4.6-r1 on SB1000-SMP (profile=2006.0), R-2.1.1 runs its tests
> without any problem. I ran
> 
> FEATURES=test ebuild R-2.1.1.ebuild fetch unpack compile install
> and watched the entire process; it did run all tests, and they all passed.
> 
> USE="X blas jpeg nls png readline tcltk -debug"
> and native fortran from gcc.
> 
> I'll try 2.2.1 on my system as well, to see if I duplicate Jason's failure.
> (USE="X blas jpeg nls png readline tcltk -debug -lapack" for this build.)
> 

Curious.  For me,
FEATURES=test ebuild R-2.2.1.ebuild unpack compile install
ran all the tests successfully.  Everything as above (note USE= values), and both gcc and g77 use flags
CFLAGS=FFLAGS="-O2 -pipe -mcpu=ultrasparc3"

So, it must be a compiler version issue, CFLAGS issue, or USE= issue, I suppose.
Comment 10 Ferris McCormick (RETIRED) gentoo-dev 2006-06-08 06:55:13 UTC
For completeness, I ran
FEATURES=test emerge R
which on the system as above builds and installs R-2.3.1
This also ran all tests successfully.  So, I think we are looking at some configuration sensitivity problem.  (I used same compiler, USE= values, CFLAGS, and FFLAGS as previously stated.)
Comment 11 Ferris McCormick (RETIRED) gentoo-dev 2006-06-08 07:54:39 UTC
Here's a long shot to consider.  I notice that the test which fails for Weeve generates a lot of plots in a .ps file.  I don't know how R generates postscript, but if this is what is failing, there might be a missing DEPEND in the ebuild?
Comment 12 nixnut (RETIRED) gentoo-dev 2006-06-10 04:06:29 UTC
Marked stable by hansmi, thanks :)
Removing ppc from cc
Comment 13 Danny van Dyk (RETIRED) gentoo-dev 2006-06-17 13:55:49 UTC
sparc: Couldn't reproduce the test failing on a fresh stage3: it _seems_ deps
are correct. Please consider marking it stable, as we got at least one successful
test and no problems on other arches.

Weeve: could you please retry? Further, could you retry on a fresh stage3?


ia64 done.
Comment 14 Danny van Dyk (RETIRED) gentoo-dev 2006-06-17 14:33:39 UTC
Forgot to remove ia64 from CC.
Comment 15 Ferris McCormick (RETIRED) gentoo-dev 2006-08-07 05:52:04 UTC
sparc stable.
Comment 16 Raúl Porcel (RETIRED) gentoo-dev 2006-09-05 05:18:38 UTC
All done