Bug 236675

Summary: lang/ponyc: fails to build with llvm80
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: diizzy, otis, val, w.schwarzenfeld
Priority: --- Keywords: needs-patch
Version: LatestFlags: bugzilla: maintainer-feedback? (val)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
error log none

Description Jan Beich freebsd_committer freebsd_triage 2019-03-20 22:23:47 UTC
Created attachment 203014 [details]
error log

In order for LLVM_DEFAULT track the latest stable version this port was temporarily dropped in ports r496337 due to the following error:

src/libponyc/codegen/gentype.c:229:23: error: too few arguments to function call, expected 6, have 5
    8 * size, encoding);
                      ^
/usr/local/llvm80/include/llvm-c/DebugInfo.h:577:1: note: 'LLVMDIBuilderCreateBasicType' declared here
LLVMMetadataRef
^
1 error generated.

Can you report it upstream and/or provide a fix?
Comment 1 Val Packett 2019-03-21 10:11:49 UTC
It's not an easy fix, they're working on llvm8 support: https://github.com/ponylang/ponyc/pull/3034
Comment 2 Walter Schwarzenfeld 2019-08-13 13:25:06 UTC
We have version 0.30.0. Is this problem still there?
Comment 3 Val Packett 2019-08-13 14:02:34 UTC
(In reply to Walter Schwarzenfeld from comment #2)
Yes, click the GitHub link in the comment above, you can see it's not done yet, we're staying at llvm70 still.
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2020-12-12 00:48:09 UTC
This should be fixed as of r533119
Comment 5 Daniel Engberg freebsd_committer freebsd_triage 2021-01-11 22:19:31 UTC
According to freshports it's available on amd64 and aarch64 so I guess we can close this now?
Comment 6 Juraj Lutter freebsd_committer freebsd_triage 2021-01-27 10:52:46 UTC
llvm80 and llvm90 are supported as of https://github.com/ponylang/ponyc/releases/tag/0.33.2