Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2010 16:08:03 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/148264: math/R: Error: segfault from C stack overflow
Message-ID:  <20100630230803.GE90096@albert.catwhisker.org>
In-Reply-To: <201006301810.o5UIA5ua053005@freefall.freebsd.org>
References:  <201006301756.o5UHud80039010@albert.catwhisker.org> <201006301810.o5UIA5ua053005@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--HTxS7It8wpDcI4PN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I believe this update may be of interest.

After applying the following patch:

diff -ru R/Makefile R/Makefile
--- R/Makefile	2010-05-31 05:31:45.000000000 -0700
+++ R/Makefile	2010-06-30 15:09:30.000000000 -0700
@@ -11,8 +11,7 @@
 .else
 PORTNAME=3D	R
 .endif
-PORTVERSION=3D	2.11.0
-PORTREVISION=3D	1
+PORTVERSION=3D	2.11.1
 CATEGORIES=3D	math lang
 MASTER_SITES=3D	http://cran.r-project.org/src/base/R-2/ \
 		ftp://cran.r-project.org/pub/R/src/base/R-2/ \
diff -ru R/distinfo R/distinfo
--- R/distinfo	2010-04-27 12:51:30.000000000 -0700
+++ R/distinfo	2010-06-30 15:12:30.000000000 -0700
@@ -1,3 +1,3 @@
-MD5 (R-2.11.0.tar.gz) =3D c6c1e866299f533617750889c729bfb3
-SHA256 (R-2.11.0.tar.gz) =3D 9b2a1769cdf21ad00500cbc0a1f7e09c872681d2ca0ea=
592e7692f15ff980a43
-SIZE (R-2.11.0.tar.gz) =3D 19779908
+MD5 (R-2.11.1.tar.gz) =3D 7421108ade3e9223263394b9bbe277ce
+SHA256 (R-2.11.1.tar.gz) =3D 48c1b96426f5b588763652b0b633cadccf410bae34300=
c22fd40524662bc23bb
+SIZE (R-2.11.1.tar.gz) =3D 19729300


and rebuilding math/R, using the just-built R 2.11.1 did, in fact, avoid
the "Error: segfault from C stack overflow" condition; I was able to
create all of the plots without incident.

There may be other issues with 2.11.1, or there may be issues with
environments other than FreeBSD/i386 stable/7; I have not tested that.
But the above patch does appear to be sufficient to update the port from
2.11.0_1 to 2.11.1, and the resulting executable and associated
libraries appear to work.

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--HTxS7It8wpDcI4PN
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)

iEYEARECAAYFAkwrzlMACgkQmprOCmdXAD0tigCeJFsQgMsRDAXcMojttQil8Qwx
FqkAnRG+qxsBCRkUeVqnkWvcO+KaldpU
=CZIY
-----END PGP SIGNATURE-----

--HTxS7It8wpDcI4PN--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100630230803.GE90096>