Bug 252577

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:
Description Flags
poudriere build log
none
Fix none

Description David Siebörger 2021-01-11 15:05:39 UTC
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.
Comment 1 Cy Schubert freebsd_committer freebsd_triage 2021-01-11 16:14:11 UTC
uname -a please.
Comment 2 Cy Schubert freebsd_committer freebsd_triage 2021-01-11 16:37:07 UTC
Created attachment 221469 [details]
Fix

Try this.
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-01-12 04:28:06 UTC
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
Comment 4 David Siebörger 2021-01-12 06:25:49 UTC
I've confirmed that the solution works here.  Thanks very much for fixing that so quickly.
Comment 5 commit-hook freebsd_committer freebsd_triage 2021-03-17 19:26:53 UTC
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