Opened 10 years ago

Closed 10 years ago

#45725 closed update (fixed)

R @3.1.1: version bump request to 3.1.2

Reported by: grischa.toedt@… Owned by: kjellpk (Kjell Konis)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: larryv (Lawrence Velázquez), josephsacco
Port: R

Description

R 3.1.2 "Pumpkin Helmet" has been released. Please do a version bump. Thanking you.

Attachments (3)

R-Portfile.diff (932 bytes) - added by kjellpk (Kjell Konis) 10 years ago.
R-Portfile-take2.diff (1.4 KB) - added by kjellpk (Kjell Konis) 10 years ago.
R-Portfile-take3.diff (1.5 KB) - added by kjellpk (Kjell Konis) 10 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to kjell.konis@…
Port: R added
Type: enhancementupdate
Version: 2.3.2

comment:2 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: larryv@… drjesacco@… added

Duplicate #45738 has a patch.

Changed 10 years ago by kjellpk (Kjell Konis)

Attachment: R-Portfile.diff added

comment:3 Changed 10 years ago by kjellpk (Kjell Konis)

I haven't had a chance to test this on Yosemite and probably won't for a while yet (down to 1 mac and it's busy). Posts on R mailing lists suggest that for the most part everything works but some default behaviors are different.

comment:4 Changed 10 years ago by josephsacco

Apple has made some changes to vecLib in OS X 10.10:

https://developer.apple.com/library/mac/documentation/General/Reference/APIDiffsMacOSX10_10SeedDiff/index.html

that lead to a configuration error:

checking whether external BLAS is visible through libRblas... no checking can it be fixed by using -sub_umbrella... no configure: error: Cannot build Rblas shared library such that it makes external BLAS visible. An alternative is to use internal BLAS instead and replace libRblas.dylib with the external BLAS library after R is built. Command failed: cd "/opt/local/var/macports/build/_Users_jsacco_ports_math_R/R/work/R-3.1.2" && ./configure --prefix=/opt/local/Library/Frameworks --enable-R-framework --enable-R-shlib --enable-BLAS-shlib --disable-openmp --with-readline --with-aqua --without-tcltk --with-libpng --with-ICU --with-included-gettext --without-internal-tzcode --with-blas="-framework vecLib" --with-lapack="-framework vecLib" --with-cairo --with-recommended-packages --with-x --with-jpeglib --x-include=/opt/local/include/X11 --x-lib=/opt/local/lib Exit code: 1

-Joseph

comment:5 Changed 10 years ago by josephsacco

The "fix" is to edit the Portfile and replace 'vecLib' with 'Accelerate'. With that change, R-3.1.2, builds under OS X 10.10.

After building R-3.1.2, I ran 'make check' in the build directory. All tests passed.

I suspect replacing 'vecLib' with 'Accelerate' will also work for other versions of OS X. It does work when building R-3.1.2 on an ancient G4 powerMac running OS X 10.5.8.

FWIW... I built R-3.1.2 on a G4 PPC running OS X 10.5.8 using macports-gcc-4.8 and the Apple objectiveC compiler. R-3.1.2, builds, runs, and tests 'OK'.

-Joseph

Changed 10 years ago by kjellpk (Kjell Konis)

Attachment: R-Portfile-take2.diff added

comment:6 Changed 10 years ago by kjellpk (Kjell Konis)

R-Portfile-take2.diff makes the change suggested by drjesacco@…. Works fine for me on Mavericks.

Changed 10 years ago by kjellpk (Kjell Konis)

Attachment: R-Portfile-take3.diff added

comment:7 Changed 10 years ago by kjellpk (Kjell Konis)

Sorry this took so long. I tested the R 3.1.2 update on Yosemite and everything looks good (i.e., passes make check). I added a take3 version of the patch that removes the revision line that I accidentally left in take2. Please process asap.

comment:8 Changed 10 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: newclosed

Looks fine. r128946

Note: See TracTickets for help on using tickets.