Opened 3 years ago

Closed 2 years ago

#64167 closed defect (fixed)

R-app does not build for PowerPC 10.5.8

Reported by: barracuda156 Owned by: i0ntempest
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: kjellpk (Kjell Konis)
Port: R-app

Description (last modified by barracuda156)

It doesn't even try to:

36-9:~ arjuna$ sudo port -v install R-app
Error: R-app cannot be installed for the configured build_arch 'ppc' because it only supports the arch(s) 'x86_64 arm64'.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a
bug.
Error: Processing of port R-app failed

Change History (6)

comment:1 Changed 3 years ago by barracuda156

Description: modified (diff)

comment:2 Changed 3 years ago by reneeotten (Renee Otten)

Cc: kjellpk added
Keywords: r removed
Owner: set to i0ntempest
Status: newassigned

as the message states presumable the port will only build on 'x86_64 arm64'; the supported_arch setting was added based on 38917. If you know how to fix this, please feel free to submit a PR - otherwise I don't think there is much we can do about it.

comment:3 in reply to:  2 Changed 3 years ago by barracuda156

Replying to reneeotten:

as the message states presumable the port will only build on 'x86_64 arm64'; the supported_arch setting was added based on 38917. If you know how to fix this, please feel free to submit a PR - otherwise I don't think there is much we can do about it.

I can assure you that R 4.1.2 builds on PowerPC in 32 bit, and also R GUI (R.app) builds from Xcode project up to version 1.67 with appropriate changes to Project settings in 32 bits. Starting from R GUI v. 1.70 there are some changes to xib files, which fail on PowerPC, though I have been able to build 1.72 with replacing xibs from 1.67.

To sum up, the latest R.app 1.76 won't build. However earlier ones do build and can be linked to the latest R build via Macports.

comment:4 Changed 3 years ago by barracuda156

  1. S. Is it possible technically to link an older version of the port for PPC somehow? Or have a separate port like R.app.ppc?

comment:5 Changed 3 years ago by i0ntempest

It’s definitely possible, see portfile of mkvtoolnix. But it’s going to make the port much larger more complicated to maintain and I don’t really feel like doing it (plus I have no way to test). If you have built it on ppc before, it shouldn’t be hard to automate the process in the portfile and put it in a local repository.

comment:6 Changed 2 years ago by barracuda156

Resolution: fixed
Status: assignedclosed

In 83f06da2d1bc4e590135496f210df3d0c67278eb/macports-ports (master):

R-app: restore support for older systems and PPC
Fixes: #64167
Fixes: #59482
Fixes: #60345

Note: See TracTickets for help on using tickets.