Bug 236675 - lang/ponyc: fails to build with llvm80
Summary: lang/ponyc: fails to build with llvm80
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2019-03-20 22:23 UTC by Jan Beich
Modified: 2019-08-13 14:02 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (greg)


Attachments
error log (94.69 KB, text/plain)
2019-03-20 22:23 UTC, Jan Beich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 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 Greg V 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 freebsd_triage 2019-08-13 13:25:06 UTC
We have version 0.30.0. Is this problem still there?
Comment 3 Greg V 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.