#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)
Change History (17)
Changed 2 years ago by karoliskoncevicius (Karolis Koncevičius)
comment:1 Changed 2 years ago by jmroot (Joshua Root)
Cc: | i0ntempest added; kjell.konis@… removed |
---|---|
Owner: | set to kjellpk |
Status: | new → assigned |
comment:2 follow-up: 6 Changed 2 years ago by i0ntempest
Temporary solution is to set configure.sdk_version 12
. I believe this will be fixed in the next version.
comment:3 Changed 2 years ago by kencu (Ken)
comment:4 Changed 2 years ago by msrski59
Cc: | msrski59 added |
---|
comment:5 Changed 2 years ago by fracai
Cc: | fracai added |
---|
comment:6 follow-up: 7 Changed 2 years 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 Changed 2 years 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 2 years ago by scentorrino (Samuele Centorrino)
I did as you suggested and it worked like a charm. Thanks for taking the time!
comment:9 Changed 2 years 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...
comment:10 Changed 2 years ago by kencu (Ken)
This worked in qt4-mac:
platform darwin 22 { macosx_deployment_target 12.0 }
comment:11 Changed 2 years ago by i0ntempest
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Changed 2 years ago by ryrrah
Attachment: | main.2.log added |
---|
comment:12 Changed 2 years ago by ryrrah
Resolution: | fixed |
---|---|
Status: | closed → reopened |
The fix has not worked for me. This still fails to build. I've attached the main.log file.
comment:13 Changed 2 years ago by i0ntempest
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
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 2 years ago by kencu (Ken)
The error also was against a different port, libiodbc
, FYI.
comment:15 Changed 2 years 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'
main.log