Opened 20 months ago
Closed 20 months ago
#72232 closed defect (fixed)
R-magrittr fails to build
| Reported by: | szhorvat (Szabolcs Horvát) | Owned by: | jmroot (Joshua Root) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | barracuda156 | |
| Port: | R-magrittr |
Description
R-magrittr fails to build on my Sequoia arm64 system. This package has a very large number of reverse dependencies. If it does not function, it cripples the R package system in MacPorts.
My system info:
macOS 15.3.2 24D81 arm64 Xcode 16.2 16C5032a
Excerpt from the log:
:info:configure Executing: cd "/opt/local/var/macports/build/_Users_szhorvat_macports-ports_R_R-magrittr/R-magrittr/work/magrittr-2.0.3" && /opt/local/bin/R CMD build . --no-manual --no-build-vignettes --keep-empty-dirs :debug:configure system: cd "/opt/local/var/macports/build/_Users_szhorvat_macports-ports_R_R-magrittr/R-magrittr/work/magrittr-2.0.3" && /opt/local/bin/R CMD build . --no-manual --no-build-vignettes --keep-empty-dirs :info:configure * checking for file ‘./DESCRIPTION’ ... NO :info:configure Command failed: cd "/opt/local/var/macports/build/_Users_szhorvat_macports-ports_R_R-magrittr/R-magrittr/work/magrittr-2.0.3" && /opt/local/bin/R CMD build . --no-manual --no-build-vignettes --keep-empty-dirs :info:configure Exit code: 1 :error:configure Failed to configure R-magrittr: configure failure: command execution failed :debug:configure Error code: NONE
Attachments (2)
Change History (4)
Changed 20 months ago by szhorvat (Szabolcs Horvát)
comment:1 Changed 20 months ago by barracuda156
Changed 20 months ago by barracuda156
This should extract and install correctly. Make sure to run sudo port clean --all first
comment:2 Changed 20 months ago by jmroot (Joshua Root)
| Owner: | set to jmroot |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.

Replying to szhorvat:
A lot of ports were broken by recent changes (I believe, by Josh) to github tarballs handling; nobody bothered to fix port extract for R (or Fortran) ports, so likely everything that did not have explicit
github.tarball_fromwon’t extract correctly now. Don’t ask me why that was done at all or why it was done without caring to fix resulting breakages.Good news is that ports as such are fine. Likely the problem can be fixed by adding
github.tarball_from tarball(no comments here) or runningport clean --all, addinggithub.tarball_from archiveand then fixing checksums.FYI, the maintained repo for R ports is here: https://github.com/macos-powerpc/R-ports (it is not specific to powerpc and can be used on any macOS). If you use R ports, you may want to have it set as an overlay.