Bug 220064

Summary: [NEW PORT] : math/R-cran-BsMD - Bayes Screening and Model Discrimination
Product: Ports & Packages Reporter: Pedro F. Giffuni <pfg>
Component: Individual Port(s)Assignee: Wen Heping <wen>
Status: Closed FIXED    
Severity: Affects Only Me CC: w.schwarzenfeld, wen
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 220066    
Attachments:
Description Flags
diff with new port for math/math/R-cran-BsMD
none
Fix for stage-qa none

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