Opened 22 months ago
Closed 21 months ago
#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 22 months ago by barracuda156
comment:2 Changed 22 months ago by barracuda156
Description: | modified (diff) |
---|---|
Priority: | Normal → High |
comment:3 Changed 22 months ago by barracuda156
Summary: | Something in Macports 2.8.1 broken a number of R ports → Port 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 follow-up: 5 Changed 22 months ago by jmroot (Joshua Root)
Component: | base → ports |
---|---|
Priority: | High → Normal |
Summary: | Port extract in Macports 2.8.1 broken a number of R ports: what should be a symlink is now a separate empty directory → R ports need to set worksrcdir correctly |
comment:5 Changed 22 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 22 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 21 months ago by jmroot (Joshua Root)
Owner: | set to jmroot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
UPD. See above: the reason is changed behavior to port extract.