Bug 260110 - devel/dub: fix build with LLVM 13.0
Summary: devel/dub: fix build with LLVM 13.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jose Alonso Cardenas Marquez
URL: https://reviews.llvm.org/D96914
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-29 11:11 UTC by Hiroo Ono
Modified: 2022-11-15 16:35 UTC (History)
1 user (show)

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


Attachments
patch for devel/dub (1.46 KB, patch)
2021-11-29 11:11 UTC, Hiroo Ono
no flags Details | Diff
updated patch (942 bytes, patch)
2022-02-08 16:43 UTC, Hiroo Ono
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hiroo Ono 2021-11-29 11:11:48 UTC
Created attachment 229785 [details]
patch for devel/dub

Due to change in ld.lld on llvm13, build of devel/dub is broken on 14-current. Fix it.
Comment 1 Ronald Klop 2022-01-27 09:13:48 UTC
To trigger maintainer timeout the flag "maintainer-approval" on the Attachment Details page should be set to "?". That is a different flag than "maintainter-feedback" on the bug itself.
Comment 2 Hiroo Ono 2022-02-08 16:43:26 UTC
Created attachment 231648 [details]
updated patch

LLVM 13.0 was also introduced to stable/13 and stable/12, so I had to check it also on stable/13 and stable/12.
I could not find "%%LDFLAGS%%" in build.sh. So I removed its replacement snippet.
Checked build on stable/13.
Comment 3 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2022-11-15 01:58:01 UTC
devel/dub was updated to 1.29. Tell me if it is failing on those version of FreeBSD
Comment 4 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2022-11-15 16:35:37 UTC
It should be fixed at latest version of ldc/dub