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: Closed FIXED
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-02-27 11:40 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 freebsd_triage 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 freebsd_triage 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 freebsd_triage 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 freebsd_triage 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.
Comment 4 commit-hook freebsd_committer freebsd_triage 2019-02-18 03:10:22 UTC
A commit references this bug:

Author: wen
Date: Mon Feb 18 03:09:51 UTC 2019
New revision: 493237
URL: https://svnweb.freebsd.org/changeset/ports/493237

Log:
  BsMD: Bayes Screening and Model Discrimination.

  Bayes screening and model discrimination follow-up designs.

  WWW: https://cran.r-project.org/package=BsMD

  PR:		220064
  Submitted by:	pfg@

Changes:
  head/math/Makefile
  head/math/R-cran-BsMD/
  head/math/R-cran-BsMD/Makefile
  head/math/R-cran-BsMD/distinfo
  head/math/R-cran-BsMD/pkg-descr