#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)

main.log​ (197.4 KB) - added by szhorvat (Szabolcs Horvát) 20 months ago.
Portfile​ (909 bytes) - added by barracuda156 20 months ago.
This should extract and install correctly. Make sure to run sudo port clean --all first

Download all attachments as: .zip

Change History (4)

Changed 20 months ago by szhorvat (Szabolcs Horvát)

Attachment: main.log​ added

comment:1 in reply to:  description Changed 20 months ago by barracuda156

Replying to szhorvat:

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.

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_from won’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 running port clean --all, adding github.tarball_from archive and 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.

Changed 20 months ago by barracuda156

Attachment: Portfile​ added

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

In c01656065a61854baaad0c53251a935e2bcdc727/macports-ports (master):

R-magrittr: set github.tarball_from explicitly

Closes: #72232

Note: See TracTickets for help on using tickets.