Bug 238682

Summary: lang/gcc6-aux: depends on to-be-removed gets
Product: Ports & Packages Reporter: Ed Maste <emaste>
Component: Individual Port(s)Assignee: Eric Turgeon <ericbsd>
Status: Closed FIXED    
Severity: Affects Some People CC: lwhsu
Priority: --- Flags: bugzilla: maintainer-feedback? (ericbsd)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 222796    
Attachments:
Description Flags
gcc6-aux-no-gets none

Description Ed Maste freebsd_committer freebsd_triage 2019-06-18 13:47:20 UTC
I intend to remove gets(3) in the near future and lang/gcc6-aux is the one significant port that fails to build reported by the most recent exp-run.

See ports r478722 for a change for the main gcc ports for this issue.
Comment 1 Ed Maste freebsd_committer freebsd_triage 2019-07-05 16:11:23 UTC
Eric can you take the no-gets patch from the main GCC ports and apply it to gcc-aux?

https://svnweb.freebsd.org/ports/head/lang/gcc7/files/patch-gets-no-more?view=log&pathrev=478722
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2019-09-01 15:41:11 UTC
Created attachment 207067 [details]
gcc6-aux-no-gets

the patch builds fine in poudriere {11.3, 12.0} x {amd64, i386}
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-09-01 16:02:23 UTC
A commit references this bug:

Author: lwhsu
Date: Sun Sep  1 16:01:50 UTC 2019
New revision: 510704
URL: https://svnweb.freebsd.org/changeset/ports/510704

Log:
  Disable the build/use of libssp/gets-chk since FreeBSD 12 and later
  do not feature gets() any longer.

  PR:		238682
  Submitted by:	emaste
  Approved by:	maintainer timeout
  Sponsored by:	The FreeBSD Foundation

Changes:
  head/lang/gcc6-aux/Makefile.version
  head/lang/gcc6-aux/files/patch-gets-no-more