[MacPorts] #46841: rNMR: build fails when R is not installed with the +tcltk variant

MacPorts noreply at macports.org
Thu Feb 12 16:34:29 PST 2015

#46841: rNMR: build fails when R is not installed with the +tcltk variant
 Reporter:  ryandesign@…  |      Owner:  howarth.at.macports@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.3.99
 Keywords:  haspatch      |       Port:  rNMR
 rNMR fails to build if the R port is not installed with the +tcltk

 --->  Building rNMR
 DEBUG: Executing org.macports.build (rNMR)
 * installing *source* package ‘rNMR’ ...
 ** R
 ** inst
 ** byte-compile and prepare package for lazy loading
 Warning: S3 methods ‘as.character.tclObj’, ‘as.character.tclVar’,
 ‘as.double.tclObj’, ‘as.integer.tclObj’, ‘as.logical.tclObj’,
 ‘as.raw.tclObj’, ‘print.tclObj’, ‘[[.tclArray’, ‘[[<-.tclArray’,
 ‘$.tclArray’, ‘$<-.tclArray’, ‘names.tclArray’, ‘names<-.tclArray’,
 ‘length.tclArray’, ‘length<-.tclArray’, ‘tclObj.tclVar’,
 ‘tclObj<-.tclVar’, ‘tclvalue.default’, ‘tclvalue.tclObj’,
 ‘tclvalue.tclVar’, ‘tclvalue<-.default’, ‘tclvalue<-.tclVar’,
 ‘close.tkProgressBar’ were declared in NAMESPACE but not found
 Error : .onLoad failed in loadNamespace() for 'tcltk', details:
   call: fun(libname, pkgname)
   error: Tcl/Tk support is not available on this system
 Error : package ‘tcltk’ could not be loaded
 ERROR: lazy loading failed for package ‘rNMR’
 * removing
 Command failed: /opt/local/bin/R CMD INSTALL -l pkg --byte-compile --build
 Exit code: 1

 The only fix we currently have available for this situation is to use the
 active_variants 1.1 portgroup to inform the user that they must rebuild
 the dependency with the required variant. The attached patch does this.
 May I commit it?

Ticket URL: <https://trac.macports.org/ticket/46841>
MacPorts <https://www.macports.org/>
Ports system for OS X

More information about the macports-tickets mailing list