Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268362 - dev-lang/R-2.9.0 fails to build without X support
Summary: dev-lang/R-2.9.0 fails to build without X support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-02 22:03 UTC by Andrew Savchenko
Modified: 2009-07-07 21:13 UTC (History)
0 users

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


Attachments
fix R build without X (R-2.9.0-without-x.patch,398 bytes, patch)
2009-05-02 22:05 UTC, Andrew Savchenko
Details | Diff
Invoking Andrew`s R-2.9.0-without-x.patch in the ebuild (R-2.9.0.ebuild.patch,367 bytes, patch)
2009-05-27 12:42 UTC, grischa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.