Bug 238688

Summary: sysutils/grub2: depends on to-be-removed gets(3)
Product: Ports & Packages Reporter: Ed Maste <emaste>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: rene, w.schwarzenfeld
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234508
Bug Depends on:    
Bug Blocks: 222796    

Description Ed Maste freebsd_committer freebsd_triage 2019-06-18 14:43:48 UTC
I intend to remove gets(3) in the near future and this port failed in the exp-run (PR 222796)

http://package18.nyi.freebsd.org/data/112amd64PR222796-default/2018-10-27_20h58m08s/logs/errors/grub2-2.00_12.log

gmake[5]: Entering directory '/wrkdirs/usr/ports/sysutils/grub2/work/grub-2.00/grub-core/gnulib'
gcc7 -DHAVE_CONFIG_H -I. -I../..  -I../../intl   -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc7 -fno-strict-aliasing  -MT argp-ba.o -MD -MP -MF .deps/argp-ba.Tpo -c -o argp-ba.o argp-ba.c
mv -f .deps/argp-ba.Tpo .deps/argp-ba.Po
gcc7 -DHAVE_CONFIG_H -I. -I../..  -I../../intl   -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc7 -fno-strict-aliasing  -MT argp-eexst.o -MD -MP -MF .deps/argp-eexst.Tpo -c -o argp-eexst.o argp-eexst.c
In file included from argp.h:22:0,
                 from argp-eexst.c:25:
./stdio.h:456:1: error: 'gets' undeclared here (not in a function); did you mean 'getw'?
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
 ^
gmake[5]: *** [Makefile:1148: argp-eexst.o] Error 1

grub2-bhyve has the same issue
http://package18.nyi.freebsd.org/data/112amd64PR222796-default/2018-10-27_20h58m08s/logs/errors/grub2-bhyve-0.40_5.log
Comment 1 Walter Schwarzenfeld 2019-08-03 09:34:54 UTC
Deprecated in ports r498703. EXPIRATION_DATE=2019-02-04.
Comment 2 Rene Ladan freebsd_committer freebsd_triage 2019-08-17 20:39:42 UTC
Expired port removed.