#67229 closed defect (fixed)

R portgroup disables build phase, builds everything in destroot phase

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: kjellpk (Kjell Konis), i0ntempest, barracuda156
Port: R

Description

The R portgroup deliberately disables the build phase and builds everything in the destroot phase instead:

https://github.com/macports/macports-ports/blob/81c596fcb310cb4547b1d4a74275cdb0c5f61204/_resources/port1.0/group/R-1.0.tcl#L143-L144

This isn't ideal. Can this be avoided?

Change History (4)

comment:1 Changed 19 months ago by jmroot (Joshua Root)

Cc: kjellpk i0ntempest barracuda156 added

comment:2 Changed 19 months ago by jmroot (Joshua Root)

Looks like the --build and/or --no-inst options to R CMD INSTALL might be relevant.

comment:3 in reply to:  description Changed 19 months ago by barracuda156

Replying to ryandesign:

The R portgroup deliberately disables the build phase and builds everything in the destroot phase instead:

https://github.com/macports/macports-ports/blob/81c596fcb310cb4547b1d4a74275cdb0c5f61204/_resources/port1.0/group/R-1.0.tcl#L143-L144

This isn't ideal. Can this be avoided?

Sorry, missed this one.

I totally agree, I made it that way simply because could not come up with a better alternative. R CMD build does not build anything, despite its name.

comment:4 Changed 10 months ago by barracuda156

Owner: set to barracuda156
Resolution: fixed
Status: newclosed

In 8e1c254a76374311fdae4d183d1b687abc521337/macports-ports (master):

R PG: fix port phases following Macports update to 2.9.0

Fixes: #69211
Fixes: #67282
Closes: #67229
Closes: #67299

Note: See TracTickets for help on using tickets.