Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 268362

Summary: dev-lang/R-2.9.0 fails to build without X support
Product: Gentoo Linux Reporter: Andrew Savchenko <bircoph>
Component: Current packagesAssignee: Gentoo Science Mathematics related packages <sci-mathematics>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fix R build without X
Invoking Andrew`s R-2.9.0-without-x.patch in the ebuild

Description Andrew Savchenko gentoo-dev 2009-05-02 22:03:41 UTC
With USE="-X" (or configured with key --with-x=no) R-2.9.0 fails to build:
make[5]: Entering directory
`/var/tmp/portage/dev-lang/R-2.9.0/work/R-2.9.0/src/modules/vfonts'
make[5]: Leaving directory
`/var/tmp/portage/dev-lang/R-2.9.0/work/R-2.9.0/src/modules/vfonts'
make[4]: Leaving directory
`/var/tmp/portage/dev-lang/R-2.9.0/work/R-2.9.0/src/modules/vfonts'
make[3]: Leaving directory
`/var/tmp/portage/dev-lang/R-2.9.0/work/R-2.9.0/src/modules/vfonts'
make[3]: Entering directory
`/var/tmp/portage/dev-lang/R-2.9.0/homedir'
make[3]: *** No rule to make target `R'.  Stop.
make[3]: Leaving directory
`/var/tmp/portage/dev-lang/R-2.9.0/homedir'
make[2]: *** [R] Error 1
make[2]: Leaving directory
`/var/tmp/portage/dev-lang/R-2.9.0/work/R-2.9.0/src/modules'
make[1]: *** [R] Error 1
make[1]: Leaving directory
`/var/tmp/portage/dev-lang/R-2.9.0/work/R-2.9.0/src'
make: *** [R] Error 1

This is known bug (PR#13665), and it is fixed in R svn:
http://www.nabble.com/R-build-fails-during-make-when-configured-with-"--with-x=no"-(PR-13665)-td23133399.html

Proposed patch fixes it for R-2.9.0 release.
Comment 1 Andrew Savchenko gentoo-dev 2009-05-02 22:05:19 UTC
Created attachment 190187 [details, diff]
fix R build without X
Comment 2 grischa 2009-05-27 12:42:58 UTC
Created attachment 192585 [details, diff]
Invoking Andrew`s R-2.9.0-without-x.patch in the ebuild

The empty loop bug blocks the install, but
Andrew`s patch works fine.

Can someone put it in dev-lang/R/files,
update the ebuild (R-2.9.0.ebuild.patch)
and update the Manifest (ebuild R-2.9.0.ebuild digest)?
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2009-07-07 21:13:44 UTC
fixed in cvs. thanks.