Bug 210229 - Stabilize dev-lang/R-2.6.1-r1
Bug#: 210229 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sci@gentoo.org Reported By: bicatali@gentoo.org
Component: Ebuilds
URL: 
Summary: Stabilize dev-lang/R-2.6.1-r1
Keywords:  STABLEREQ
Status Whiteboard: 
Opened: 2008-02-15 09:37 0000
Description:   Opened: 2008-02-15 09:37 0000
Please stabilize R-2.6.1-r1. The current stable 2.2.1 is kinda old by now.

Test: 
* Default src_test should work.
* Once installed, run a few R commands:

# R
> demo(nlm)
> demo(graphics)
> q()

The graphics demo is with the X use flag.

------- Comment #1 From Ferris McCormick 2008-02-15 11:53:26 0000 -------
Sparc stable.  Working for about a month.

------- Comment #2 From Santiago M. Mola 2008-02-15 13:02:59 0000 -------
amd64 stable

------- Comment #3 From Brent Baude 2008-02-15 15:27:41 0000 -------
Anyone else seeing linking errors?

powerpc64-unknown-linux-gnu-gcc -shared   -o libR.so CConverters.o
CommandLineAr
gs.o Rdynload.o Renviron.o RNG.o apply.o arithmetic.o apse.o array.o attrib.o
ba
se.o bind.o builtin.o character.o coerce.o colors.o complex.o connections.o
cont
ext.o cov.o cum.o dcf.o datetime.o debug.o deparse.o deriv.o dotcode.o
dounzip.o
 dstruct.o duplicate.o engine.o envir.o errors.o eval.o format.o fourier.o
geven
ts.o gram.o gram-ex.o graphics.o identical.o inlined.o internet.o iosupport.o
la
pack.o list.o localecharset.o logic.o main.o mapply.o match.o memory.o model.o
n
ames.o objects.o optim.o optimize.o options.o par.o paste.o pcre.o platform.o
pl
ot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o
qsort.o
 random.o regex.o registration.o relop.o rlocale.o saveload.o scan.o seq.o
seria
lize.o size.o sort.o source.o split.o sprintf.o startup.o subassign.o
subscript.
o subset.o summary.o sysutils.o unique.o util.o version.o vfonts.o xxxpr.o  
`ls
 ../appl/*.o ../nmath/*.o ../unix/*.o  2>/dev/null|grep -v /ext-` -lblas  
-lgfo
rtran -lm -lgcc_s      -lreadline  -lpcre -lbz2 -lz -ldl -lm
/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.1.2/../../../../powerpc64-unknown-lin
ux-gnu/bin/ld: ../nmath/dbinom.o(.text+0x1c8): sibling call optimization to
`Rf_
stirlerr' does not allow automatic multiple TOCs; recompile with -mminimal-toc
o
r -fno-optimize-sibling-calls, or make `Rf_stirlerr' extern
/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.1.2/../../../../powerpc64-unknown-lin
ux-gnu/bin/ld: ../nmath/dbinom.o(.text+0x1d4): sibling call optimization to
`Rf_
stirlerr' does not allow automatic multiple TOCs; recompile with -mminimal-toc
o
r -fno-optimize-sibling-calls, or make `Rf_stirlerr' extern
/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.1.2/../../../../powerpc64-unknown-lin
ux-gnu/bin/ld: ../nmath/dbinom.o(.text+0x1e0): sibling call optimization to
`Rf_
stirlerr' does not allow automatic multiple TOCs; recompile with -mminimal-toc
o
r -fno-optimize-sibling-calls, or make `Rf_stirlerr' extern
/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.1.2/../../../../powerpc64-unknown-lin
ux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libR.so] Error 1
make[3]: Leaving directory
`/var/tmp/portage/dev-lang/R-2.6.1-r1/work/R-2.6.1/sr
c/main'
make[2]: *** [R] Error 2
make[2]: Leaving directory
`/var/tmp/portage/dev-lang/R-2.6.1-r1/work/R-2.6.1/sr
c/main'
make[1]: *** [R] Error 1
make[1]: Leaving directory
`/var/tmp/portage/dev-lang/R-2.6.1-r1/work/R-2.6.1/sr
c'

------- Comment #4 From Markus Rothe 2008-02-15 15:58:16 0000 -------
ranger: we have a few of those for ppc64. look at gtk+ for example. basicly
it's fixed by adding "flag-o-matic" to inherit and the following line somewhere
in source unpack: "use ppc64 && append-flags -mminimal-toc". Please report back
if it does fix it.

------- Comment #5 From Jeroen Roovers 2008-02-15 16:49:36 0000 -------
Stable for HPPA.

------- Comment #6 From nixnut 2008-02-15 20:53:18 0000 -------
ppc stable

------- Comment #7 From Markus Meier 2008-02-16 10:38:51 0000 -------
x86 stable

------- Comment #8 From Raúl Porcel 2008-02-17 14:27:04 0000 -------
alpha is not stable, ia64 stable

------- Comment #9 From Brent Baude 2008-02-19 02:56:07 0000 -------
I can confirm the suggestion in comment #4 fixes the ppc64 problem.  Care to
add to the ebuild proper and I can retest and keyword?

------- Comment #10 From Markus Dittrich 2008-02-19 11:12:24 0000 -------
Hi Brent,

Thanks much for the note! I've added the -mminimal-toc
bit to the ebuild. Hopefully it'll link now.

Thanks,
Markus

------- Comment #11 From Brent Baude 2008-02-19 14:20:20 0000 -------
ppc64 stable, closing as we are last one