[MacPorts] #46841: rNMR: build fails when R is not installed with the +tcltk variant
#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 variant: {{{ ---> 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 ‘/opt/local/var/macports/build/_Users_rschmidt_macports_dports_science_rNMR/rNMR/work/rNMR_1.1.7/pkg/rNMR’ Command failed: /opt/local/bin/R CMD INSTALL -l pkg --byte-compile --build /Users/rschmidt/macports/distfiles/rNMR/rNMR_1.1.7.tar.gz 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
#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 Resolution: | Keywords: haspatch Port: rNMR | ---------------------------+----------------------------------- Comment (by howarth.at.macports@…): Go ahead and commit that. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/46841#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46841: rNMR: build fails when R is not installed with the +tcltk variant ---------------------------+----------------------------------- Reporter: ryandesign@… | Owner: howarth.at.macports@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Resolution: fixed | Keywords: haspatch Port: rNMR | ---------------------------+----------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: r132913 -- Ticket URL: <https://trac.macports.org/ticket/46841#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts