Bug 220064 - [NEW PORT] : math/R-cran-BsMD - Bayes Screening and Model Discrimination
Summary: [NEW PORT] : math/R-cran-BsMD - Bayes Screening and Model Discrimination
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks: 220066
  Show dependency treegraph
 
Reported: 2017-06-16 23:04 UTC by Pedro F. Giffuni
Modified: 2019-01-09 16:42 UTC (History)
2 users (show)

See Also:


Attachments
diff with new port for math/math/R-cran-BsMD (1.22 KB, patch)
2017-06-16 23:04 UTC, Pedro F. Giffuni
no flags Details | Diff
Fix for stage-qa (2.39 KB, patch)
2019-01-09 16:42 UTC, Pedro F. Giffuni
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro F. Giffuni freebsd_committer 2017-06-16 23:04:14 UTC
Created attachment 183554 [details]
diff with new port for math/math/R-cran-BsMD

Bayes screening and model discrimination follow-up designs.

https://cran.r-project.org/web/packages/BsMD/index.html
Comment 1 Wen Heping freebsd_committer 2018-07-09 22:11:22 UTC
Hi, pfg@ :

    The build failed with the message:

====> Compressing man pages (compress-man)
===========================================================================
====> Running Q/A tests (stage-qa)
Warning: 'lib/R/library/BsMD/libs/BsMD.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Error: /usr/local/lib/R/library/BsMD/libs/BsMD.so is linked to /usr/local/lib/gcc6/libgfortran.so.3 from lang/gcc6 but it is not declared as a dependency
Error: /usr/local/lib/R/library/BsMD/libs/BsMD.so is linked to /usr/local/lib/gcc6/libquadmath.so.0 from lang/gcc6 but it is not declared as a dependency
Error: '/usr/local/lib/R/library/BsMD/libs/BsMD.so' is a architecture specific binary file and you have set NO_ARCH.  Either remove NO_ARCH or add 'BsMD.so' to NO_ARCH_IGNORE.
*** Error code 1


Regards,
wen
Comment 2 Pedro F. Giffuni freebsd_committer 2018-07-09 22:32:02 UTC
(In reply to Wen Heping from comment #1)
Hmm ...

We didn't set NO_ARCH so there is something wrong elsewhere.
I did add locally INSTALL_TARGET=install-strip

but it appears we have to add -1 to the portversion, as the package is outdated.

I will have to spend more time on it ...
Comment 3 Pedro F. Giffuni freebsd_committer 2019-01-09 16:42:47 UTC
Created attachment 200959 [details]
Fix for stage-qa

The ARCH message in stage-qa seems bogus, but we are now stripping the shared library.