Opened 18 months ago

Closed 17 months ago

Last modified 17 months ago

#66095 closed defect (fixed)

R @ 4.2.1_1: failed to build ''ATSFontFindFromName' is unavailable'

Reported by: karoliskoncevicius (Karolis Koncevičius) Owned by: kjellpk (Kjell Konis)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc: i0ntempest, msrski59, fracai
Port: R

Description

Error when trying to build R port (log attached).

Using XCode 14.1 RC2; lot's of other ports work without problems.

Attachments (2)

main.log (446.6 KB) - added by karoliskoncevicius (Karolis Koncevičius) 18 months ago.
main.log
main.2.log (608.6 KB) - added by ryrrah 17 months ago.

Download all attachments as: .zip

Change History (17)

Changed 18 months ago by karoliskoncevicius (Karolis Koncevičius)

Attachment: main.log added

main.log

comment:1 Changed 18 months ago by jmroot (Joshua Root)

Cc: i0ntempest added; kjell.konis@… removed
Owner: set to kjellpk
Status: newassigned

comment:2 Changed 18 months ago by i0ntempest

Temporary solution is to set configure.sdk_version 12. I believe this will be fixed in the next version.

comment:4 Changed 18 months ago by msrski59

Cc: msrski59 added

comment:5 Changed 18 months ago by fracai

Cc: fracai added

comment:6 in reply to:  2 ; Changed 18 months ago by scentorrino (Samuele Centorrino)

Hi I0ntempest. Could you please give more details on how to achieve this? I poked around quite a bit but unsuccessfully. Thanks!

Replying to i0ntempest:

Temporary solution is to set configure.sdk_version 12. I believe this will be fixed in the next version.

comment:7 in reply to:  6 Changed 18 months ago by i0ntempest

Replying to scentorrino:

Hi I0ntempest. Could you please give more details on how to achieve this? I poked around quite a bit but unsuccessfully. Thanks!

Replying to i0ntempest:

Temporary solution is to set configure.sdk_version 12. I believe this will be fixed in the next version.

Do sudo port edit R or your_editor $(port file R), and insert that line into the file, say at line 117. Save it and it should now build fine.

comment:8 Changed 18 months ago by scentorrino (Samuele Centorrino)

I did as you suggested and it worked like a charm. Thanks for taking the time!

comment:9 Changed 17 months ago by kencu (Ken)

perhaps someone might plug this into the current portfile, until a new version comes out?

actually, changing the sdk_version is probably not right, as that will fail if that SDK is missing. I believe you need to change the deployment target to 12. Let me see if I can find the other port where I did this...

Last edited 17 months ago by kencu (Ken) (previous) (diff)

comment:10 Changed 17 months ago by kencu (Ken)

This worked in qt4-mac:

platform darwin 22 {
     macosx_deployment_target 12.0
}

comment:11 Changed 17 months ago by i0ntempest

Resolution: fixed
Status: assignedclosed

In de78e1b2bf3fc86d66ae4a0d4c036981f30d8067/macports-ports (master):

R: temporary fix for building on macOS 13

Closes: #66095

Changed 17 months ago by ryrrah

Attachment: main.2.log added

comment:12 Changed 17 months ago by ryrrah

Resolution: fixed
Status: closedreopened

The fix has not worked for me. This still fails to build. I've attached the main.log file.

comment:13 Changed 17 months ago by i0ntempest

Resolution: fixed
Status: reopenedclosed

The errors you’re having is different and unrelated to this ticket (a bunch of implicit declaration and undeclared identifier). Try reinstalling your CLT. If still not resolved please open a new ticket.

comment:14 Changed 17 months ago by kencu (Ken)

The error also was against a different port, libiodbc, FYI.

comment:15 Changed 17 months ago by kencu (Ken)

I just installed "R" on Ventura Intel without any trouble. Finished a few minutes ago:

% port -v installed R
The following ports are currently installed:
  R @4.2.2_2+builtin_lapack+cairo+gcc12+openmp+recommended+x11 (active) requested_variants='' platform='darwin 22' archs='x86_64' date='2022-12-05T13:15:02-0800'
Note: See TracTickets for help on using tickets.