Summary: | security/wpa_supplicant: can't build with EAPOL_TEST and LLVM 10 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | David Siebörger <drs-freebsd> | ||||||
Component: | Individual Port(s) | Assignee: | Cy Schubert <cy> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Some People | Flags: | bugzilla:
maintainer-feedback?
(cy) |
||||||
Priority: | --- | ||||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
uname -a please. Created attachment 221469 [details]
Fix
Try this.
A commit references this bug: Author: cy Date: Tue Jan 12 04:27:17 UTC 2021 New revision: 561297 URL: https://svnweb.freebsd.org/changeset/ports/561297 Log: Fix build on llvm10 and gcc. PR: 252577 Reported by: David Sieborger <drs-freebsd _ sieborger.nom.za> MFH: 2021Q1 Changes: head/security/wpa_supplicant/files/patch-src_radius_radius__client.c I've confirmed that the solution works here. Thanks very much for fixing that so quickly. A commit references this bug: Author: cy Date: Wed Mar 17 19:26:42 UTC 2021 New revision: 568684 URL: https://svnweb.freebsd.org/changeset/ports/568684 Log: MFH: r561297 Fix build on llvm10 and gcc. PR: 252577 Reported by: David Sieborger <drs-freebsd _ sieborger.nom.za> Changes: _U branches/2021Q1/ branches/2021Q1/security/wpa_supplicant/files/patch-src_radius_radius__client.c |
Created attachment 221459 [details] poudriere build log The patch added in revision 559639 breaks building security/wpa_supplicant when the EAPOL_TEST option is enabled and LLVM 10 is in use. Manually removing files/patch-src_radius_radius__client.c allows the build to proceed, but I'm afraid I'm not sure how the patch could be made conditional on LLVM 11. I've attached a poudriere build log.