First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 67834
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: MATSUU Takuto <matsuu@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
R-2.0.0-r1.patch R-2.0.0-r1.patch patch MATSUU Takuto 2004-10-16 19:04 0000 2.43 KB Details | Diff
R-2.0.1.ebuild R-2.0.1.ebuild text/plain MATSUU Takuto 2005-01-08 22:36 0000 4.31 KB Details
R-2.0.1.ebuild R-2.0.1.ebuild text/plain MATSUU Takuto 2005-01-09 05:17 0000 4.33 KB Details
R-2.0.1.ebuild R-2.0.1.ebuild text/plain MATSUU Takuto 2005-02-12 10:19 0000 4.33 KB Details
R-2.0.1-r1.diff R-2.0.1-r1.diff patch MATSUU Takuto 2005-03-05 02:00 0000 3.17 KB Details | Diff
R-2.1.0.diff R-2.1.0.diff patch MATSUU Takuto 2005-04-20 15:14 0000 2.04 KB Details | Diff
R-2.1.0-r1.diff R-2.1.0-r1.diff patch MATSUU Takuto 2005-04-22 08:11 0000 2.01 KB Details | Diff
R-2.1.0-r1.diff R-2.1.0-r1.diff patch MATSUU Takuto 2005-04-22 08:15 0000 2.01 KB Details | Diff
R-2.1.0-r1.diff R-2.1.0-r1.diff patch MATSUU Takuto 2005-04-22 08:18 0000 2.01 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 67834 depends on: Show dependency tree
Bug 67834 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.




View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-16 19:01 0000
Added i18n patch.
Fixed some use flags.

------- Comment #1 From MATSUU Takuto 2004-10-16 19:04:56 0000 -------
Created an attachment (id=41998) [edit]
R-2.0.0-r1.patch

------- Comment #2 From Danny van Dyk (RETIRED) 2004-12-09 14:45:29 0000 -------
This seems to be FIXED. (Patch already in CVS)

------- Comment #3 From MATSUU Takuto 2005-01-08 22:35:11 0000 -------
It does NOT be FIXED.

------- Comment #4 From MATSUU Takuto 2005-01-08 22:36:01 0000 -------
Created an attachment (id=47999) [edit]
R-2.0.1.ebuild

new version.

------- Comment #5 From Danny van Dyk (RETIRED) 2005-01-09 02:43:41 0000 -------
Sorry. Didn't see that this is a tracker BUG. :-)

------- Comment #6 From MATSUU Takuto 2005-01-09 05:17:01 0000 -------
Created an attachment (id=48013) [edit]
R-2.0.1.ebuild

------- Comment #7 From Mark Fenner 2005-02-06 08:20:14 0000 -------
The 2.0.1 ebuild posted here has some issue.  I have f77 in my USE and g77 is
available at the command line.  However, this ebuild insists on some other
Fortran satisfaction.

>>> emerge (1 of 1) dev-lang/R-2.0.1 to /
>>> md5 src_uri ;-) R-2.0.1.tar.gz
QA Notice: USE Flag '' not in IUSE for dev-lang/R-2.0.1
 * None of the needed Fortran Compilers (f77 f2c) is installed.
 * To install one of these, choose one of the following steps:
 * [2] emerge dev-lang/f2c

!!! ERROR: dev-lang/R-2.0.1 failed.
!!! Function need_fortran, Line 99, Exitcode 0
!!! Install a Fortran Compiler !
!!! If you need support, post the topmost build error, NOT this status message.

------- Comment #8 From MATSUU Takuto 2005-02-12 10:19:25 0000 -------
Created an attachment (id=51070) [edit]
R-2.0.1.ebuild

------- Comment #9 From M. Edward Borasky 2005-02-12 13:32:14 0000 -------
I believe the "f77" USE flag has been removed and the "fortran" USE flag has
been added. In any event, R-2.0.1 builds just fine from the CRAN source on my
machine. 

R-2.0.1 has been available for some time, and Portage needs an ebuild for it.
While you're at it, I'm not sure the "f2c" Fortran to C option to build R is
viable any more. I can check with the R folks to be sure, but nobody I know
builds R with any Fortran other than the one out of gcc.

If you're really interested in tracking R with the latest "stable" code, there
is a source tarball on CRAN with the latest patches. The URI is

ftp://ftp.stat.math.ethz.ch/Software/R/R-patched.tar.bz2

This has all the latest R bugfixes at any point in time and is updated daily.

Also, I highly recommend all Gentoo developers who work with/on dev-lang/R read
the document at

http://cran.r-project.org/doc/manuals/R-admin.html

This is the only place where R gotchas like "lapack" being deprecated are
documented.

------- Comment #10 From Björn Michaelsen 2005-02-20 05:39:19 0000 -------
R-2.0.0 fails to install here witha sandbox violation:
mkdir -p -- /usr/lib/R/afm
ACCESS DENIED  mkdir:     /usr/lib/R/afm


------------------------------
bjoern@lord ~ % emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-rc3 i686)
=================================================================
System uname: 2.6.10-rc3 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.1.3-r1,dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 20 2005, 13:42:38)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.1.3-r1, 2.2.3-r5, 2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -mmmx -m3dnow -fomit-frame-pointer -fforce-addr -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mmmx -m3dnow -fomit-frame-pointer -fforce-addr -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.gentoo.skynet.be/pub/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3ds X Xaw3d aalib acpi acpi4linux alsa avi berkdb bitmap-fonts blas bzlib cdr crypt cscope cups curl dga dvd editor emboss encode esd f2c fam fbcon ffmpeg font-server foomaticdb fortran gdbm gif glut gstreamer gtk gtk2 guile imagemagick imlib java jikes joystick jpeg junit ldap libg++ libwww ltsp mad maildir mcal mikmod mmx mng motif mozilla moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg mpeg4 nas ncurses network nls nptl nvidia offensive oggvorbis openal opengl oscar oss pam pcre pdflib perl physfs pic plotutils png ppds python readline rtc sasl sdl server slang softmmu spell sqlite sse ssl tcpd tetex tiff tools transcode truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vim-with-x xinerama xml xml2 xmms xsl xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET

------- Comment #11 From M. Edward Borasky 2005-02-20 11:10:42 0000 -------
Warning: long story coming:

I ran into this last night myself. I was attempting to create an ebuild for R-2.0.1. So I unmerged R-2.0.0, created a Portage overlay directory, copied the R-2.0.0 ebuild into it, and renamed it R-2.0.1.ebuild. I looked at it and it didn't look like it needed any changes, so I went ahead and built the digest and manifest files with "ebuild". It found the source tarball on the CRAN archive just fine. But when I tried to emerge it, I got the same sandbox issue Bjorn just posted.

At this point, I figured I had messed things up somehow, so I disabled the Portage overlay in "make.conf" and tried to re-emerge R-2.0.0. That didn't work either; I got the same sandbox problems. Then I tried to "emerge inject" R; that didn't work either:

*** --inject has been deprecated.
*** If you manage a piece of software yourself, add it's name and
*** version (eg foo/bar-1.0) to /etc/portage/profile/package.provided.
*** If you want to prevent portage from upgrading a package, add it to
*** /etc/portage/package.mask prepending it with '>' (eg >foo/bar-1.0)
*** For more information on fine-grained portage control, please see
*** the portage man page.

So I did all that, then manually installed the latest patched R from the CRAN repository. All is well on the system now.

Questions:

1. Did I mess up the Portage tree somehow, or is the sandbox violation something that's coming from the mirrors and needs to be fixed? I don't know enough about the guts of Portage to even begin looking for this answer. Until I saw Bjorn's post, my assumption was that I broke it, but now I'm not so sure.

2. Given all of the above, is my system still broken in a way I haven't yet realized?

I'm going to do an "emerge sync" later today, and if I get a chance I'll see if I can "emerge R" and downgrade back to the R-2.0.0 out of Portage, now that I know how to force an upgrade without confusing Portage.

------- Comment #12 From Martin Mokrejš 2005-02-21 17:03:07 0000 -------
I have same problem on another host:

  pdIdnot                           text    html    latex   example
  pdTens                            text    html    latex   example
  place.knots                       text    html    latex   example
  plot.gam                          text    html    latex   example
  predict.gam                       text    html    latex   example
  print.gam                         text    html    latex
  residuals.gam                     text    html    latex
  s                                 text    html    latex   example
  smooth.construct                  text    html    latex   example
  step.gam                          text    html    latex   example
  summary.gam                       text    html    latex   example
  te                                text    html    latex   example
  tensor.prod.model.matrix          text    html    latex   example
  uniquecombs                       text    html    latex   example
  vis.gam                           text    html    latex   example
* DONE (mgcv)
make[2]: Leaving directory `/var/tmp/portage/R-2.0.0/work/R-2.0.0/src/library/Recommended'
make[1]: Leaving directory `/var/tmp/portage/R-2.0.0/work/R-2.0.0/src/library/Recommended'
>>> Test phase [not enabled]: dev-lang/R-2.0.0

>>> Install R-2.0.0 into /var/tmp/portage/R-2.0.0/image/ category dev-lang
make[1]: Entering directory `/var/tmp/portage/R-2.0.0/work/R-2.0.0/m4'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/var/tmp/portage/R-2.0.0/work/R-2.0.0/m4'
make[1]: Entering directory `/var/tmp/portage/R-2.0.0/work/R-2.0.0/tools'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/var/tmp/portage/R-2.0.0/work/R-2.0.0/tools'
make[1]: Entering directory `/var/tmp/portage/R-2.0.0/work/R-2.0.0/afm'
installing afm ...
mkdir -p -- /usr/lib/R/afm
ACCESS DENIED  mkdir:     /usr/lib/R/afm
mkdir: cannot create directory `/usr/lib/R/afm': Permission denied
make[1]: *** [installdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/R-2.0.0/work/R-2.0.0/afm'
make: *** [install] Error 1

!!! ERROR: dev-lang/R-2.0.0 failed.
!!! Function src_install, Line 93, Exitcode 2
!!! Installation Failed
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-dev-lang_-_R-2.0.0-24133.log"

mkdir:     /usr/lib/R/afm
--------------------------------------------------------------------------------


# ls -la /usr/lib/R/
total 124
drwxr-xr-x    3 root root    20 Feb 17 00:10 .
drwxr-xr-x  138 root root 69632 Feb 21 10:29 ..
drwxr-xr-x  150 root root  8192 Feb 17 00:10 library






Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20050125-r0, 2.4.30-pre1-bk4 i686)
=================================================================
System uname: 2.4.30-pre1-bk4 i686 Intel(R) Xeon(TM) CPU 3.06GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 20:07:19)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.5, 1.4_p6, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mcpu=pentium4 -mmmx -msse -msse2 -msse3 -O3 -fomit-frame-pointer -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -mmmx -msse -msse2 -msse3 -O3 -fomit-frame-pointer -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.icd.hu/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 FFmpeg X Xaw3d aalib acpi afs alsa apache2 apm arts ati avi berkdb bidi bitmap-fonts caca cdparanoia cdr crypt cscope cups curl dba dga directfb divx divx4 divx4linux divx5 divx5linux doc dvb dvd dvdr dvdread emacs emacs-w3 emboss encode esd ethereal evo f77 faad faad2 fam fame fbcon ffmpeg flac flash font-server foomaticdb fortran fvwm fvwm2 g77 gb gcj gd gdbm ggi gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile i8x0 icc imagemagick imlib imlib2 innodb ipv6 java jpeg junit lcms leim libg++ libwww live lzo mad mcal mesa mikmod mmx mmx2 motif mozilla mpeg mule mysql ncurses network nls oggvorbis opengl oss pam pda pdflib perl php php4 plotutils png postgres ppds pthread pthreads python qt qtx quicktime readline rtc samba sdl slang slp spell sse sse2 sse3 ssl svga tcltk tcpd tetex theora thread threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 win32 winvidix wmf xml xml2 xmms xosd xv xvid xvmc zeo zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY


------- Comment #13 From MATSUU Takuto 2005-03-05 02:00:45 0000 -------
Created an attachment (id=52707) [edit]
R-2.0.1-r1.diff

------- Comment #14 From M. Edward Borasky 2005-03-26 04:55:18 0000 -------
R-2.1.0 is in the alpha/beta test cycle now and should be released some time in
April. I don't have the exact dates handy, but I've been downloading and
building the test releases on my Gentoo boxes for some time now without any
incidents. As far as I know, the ebuild will just be a version bump, but I'll
check the R-admin manual to make sure nothing has sneaked in. Here's the
"release notes" as of March  23:

https://svn.r-project.org/R/trunk/NEWS

------- Comment #15 From Marcus D. Hanwell 2005-04-20 11:31:16 0000 -------
OK, 2.1.0 is out now and I am testing it right now. Just rename of the most
recent R-2.0.1 ebuild. Matsuu - do those patches still apply cleanly to the new
sources? I don't speak much of anything but English and so would have a hard
time doing any real testing.

If so I can integrate them into the version bump ebuild for 2.1.0. The new
version seems to work well too.

------- Comment #16 From MATSUU Takuto 2005-04-20 15:14:05 0000 -------
Created an attachment (id=56786) [edit]
R-2.1.0.diff

clean up ebuild.

------- Comment #17 From MATSUU Takuto 2005-04-20 15:16:40 0000 -------
since 2.1.0, we do not need cjk patch :)

------- Comment #18 From Marcus D. Hanwell 2005-04-20 16:45:46 0000 -------
2.1.0 is in CVS now - please test and give me your feedback. I have cleaned it
up quite a bit (I think), and it works great here. There are quite a few
changes though, so I would appreciate any feedback. Thanks matsuu for the
revision suggestions - I think I did most of it but modified it to use cleaner
syntax with some extra USE flags too.

------- Comment #19 From M. Edward Borasky 2005-04-20 21:29:45 0000 -------
R-2.1.0 installed and executed correctly on an Athlon T-bird from Portage
tonight. The official release was 18 April -- good work!!

------- Comment #20 From MATSUU Takuto 2005-04-22 08:11:45 0000 -------
Created an attachment (id=56923) [edit]
R-2.1.0-r1.diff

------- Comment #21 From MATSUU Takuto 2005-04-22 08:13:08 0000 -------
from R-2.1.0/NEWS:

    o   Capabilities "bzip2", "GNOME, "libz" and "PCRE" are defunct.
    o   The GNOME GUI is unbundled, now provided as a package on CRAN.

http://cran.fhcrc.org/src/contrib/Descriptions/gnomeGUI.html

------- Comment #22 From MATSUU Takuto 2005-04-22 08:15:18 0000 -------
Created an attachment (id=56924) [edit]
R-2.1.0-r1.diff

------- Comment #23 From MATSUU Takuto 2005-04-22 08:18:09 0000 -------
Created an attachment (id=56925) [edit]
R-2.1.0-r1.diff

sorry, typo

------- Comment #24 From Marcus D. Hanwell 2005-04-29 11:54:19 0000 -------
Not sure what you diffed against - but I think I have updated it as indicated
by hand... They really need to update their ./configure --help which still
lists those options (not sure about the gnome one). I have applied the updates
and bumped to -r1.

Seems to work just great here - please report on any issues you might have.
They are quite minor changes with minimal affect on the ebuild anyway - just
want to make sure the deps are still covered properly.

First Last Prev Next    No search results available      Search page      Enter new bug