Page MenuHomeFreeBSD

math/R: Fix build issues when LIBR option is off and fix runtime issue by permitting FLANG only with RBLAS.
ClosedPublic

Authored by jrm on Jul 25 2017, 2:17 AM.

Details

Summary
  • Only apply SONAME patches when the relevant options are chosen. This prevents install errors when LIBR is off.
  • Only permit the FLANG option when RBLAS is chosen, because FLANG causes some configure-time checks to fail [1] and the shared RBLAS library is fallen back upon, but not properly packaged, which causes runtime issues.
  • Bump PORTREVISION

[1]
checking for dgemm_ in -lblas
result no
cc -o conftest -O2 -pipe -DLIBICONV_PLUG -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -fpic -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/
include -L/usr/local/flang/lib -lflang -lexecinfo -L/usr/local/lib -L/usr/local/lib -fstack-protector conftest.c -lblas -lflangmain -lflang -lflangrti -lompstub -lexecinfo -lrt -lm -L/us
r/local/lib >&5
/usr/bin/ld cannot find -lblas
cc error linker command failed with exit code 1 (use -v to see invocation)

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jrm created this revision.Jul 25 2017, 2:17 AM
jrm retitled this revision from math/R: Fix build issues when LIBR option is off and fix runtime issue by permitting FLANG only with RBLAS. to math/R: Fix build issues when LIBR option is off and fix runtime issue bypermitting FLANG only with RBLAS..Jul 25 2017, 2:19 AM
jrm added reviewers: pawel, yuri_rawbw.com.
jrm removed subscribers: yuri_rawbw.com, pawel.
jrm updated this revision to Diff 31158.Jul 25 2017, 2:27 AM

Fix typo

jrm retitled this revision from math/R: Fix build issues when LIBR option is off and fix runtime issue bypermitting FLANG only with RBLAS. to math/R: Fix build issues when LIBR option is off and fix runtime issue by permitting FLANG only with RBLAS..Jul 25 2017, 7:09 PM
This revision was automatically updated to reflect the committed changes.