When trying to emerge rpy, the build fails with: Building for R version 2.1.0 ... Traceback (most recent call last): File "setup.py", line 136, in ? RSRC = get_R_SRC() File "setup.py", line 57, in get_R_SRC raise DistutilsExecError( \ distutils.errors.DistutilsExecError: The path /var/tmp/portage/rpy-0.4.1/work/rpy-0.4.1/R-2.1.0 which should contain header files for R version 2.1.0 does not exist! If I unpack the R-2.1.0 source headers manually into /var/tmp/portage/rpy-0.4.1/work/rpy-0.4.1 and manually compile with: ebuild /usr/portage/dev-python/rpy/rpy-0.4.1.ebuild compile ebuild /usr/portage/dev-python/rpy/rpy-0.4.1.ebuild merge then it will install and work. It just the matter of the missing header files for R-2.1.0 Reproducible: Always Steps to Reproduce: 1.ACCEPT_KEYWORDS="~x86" emerge rpy 2. 3. Actual Results: emerge failed with the above error message Expected Results: installed rpy-0.4.1 Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 Intel(R) Xeon(TM) CPU 3.06GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 27 2005, 19:54:01)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/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=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.risq.qc.ca" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdr emboss encode esd fam foomaticdb fortran gdbm gif gpm gtk gtk+ gtk2 guile imlib ipv6 jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xml2 xv zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Created attachment 58210 [details] Modified ebuild This is a modified ebuild that I used to solve the problem. I'm not sure it meets any kind of official Gentoo standards, as it's a hack, but I'd thought I would put it up here anyways.
Created attachment 58211 [details] R-2.1.0 headers required by modified ebuild This file complements the modified ebuild i posted. It should be put in: /usr/portage/dev-python/rpy/files/
*** Bug 140842 has been marked as a duplicate of this bug. ***
this should of been fixed in 0.4.6 and R-2.2.1.