#66815 closed defect (fixed)

R ports need to set worksrcdir correctly

Reported by: barracuda156 Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port:

Description (last modified by barracuda156)

See: https://github.com/macports/macports-ports/pull/17555#issuecomment-1413348049

The same port builds fine in 2.8.0, but fails after I updated Macports to 2.8.1. This also explains multiple failures on CI in that PR, which were a total surprise for me, since everything built fine locally and also built fine on CI earlier (in initial, huge version of the PR which I downscaled, removing 2/3 of ports).

UPD.

I have found the proximate cause: what was previously created as a symlink to extracted source, now is created as an empty directory. Sure enough, nothing works. Already existing R ports are broken too, at least some of them (it seems CRAN-sources ports are broken, but not Github-sourced).

Change History (7)

comment:1 Changed 15 months ago by barracuda156

UPD. See above: the reason is changed behavior to port extract.

Last edited 15 months ago by barracuda156 (previous) (diff)

comment:2 Changed 15 months ago by barracuda156

Description: modified (diff)
Priority: NormalHigh

comment:3 Changed 15 months ago by barracuda156

Summary: Something in Macports 2.8.1 broken a number of R portsPort extract in Macports 2.8.1 broken a number of R ports: what should be a symlink is now a separate empty directory

comment:4 Changed 15 months ago by jmroot (Joshua Root)

Component: baseports
Priority: HighNormal
Summary: Port extract in Macports 2.8.1 broken a number of R ports: what should be a symlink is now a separate empty directoryR ports need to set worksrcdir correctly

comment:5 in reply to:  4 Changed 15 months ago by barracuda156

Replying to jmroot:

Everything was working in Macports 2.8.0. (Not just for me, but on Macports buildbots.)

comment:6 Changed 15 months ago by jmroot (Joshua Root)

Yes, you said that before. The fix is still to set worksrcdir correctly in the portgroup.

comment:7 Changed 15 months ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In e8f97dbfe8869ab504430c26efc97c4897c43fb1/macports-ports (master):

R pg: set worksrcdir correctly for cran packages

Fixes: #66815

Note: See TracTickets for help on using tickets.