Bug 238688 - sysutils/grub2: depends on to-be-removed gets(3)
Summary: sysutils/grub2: depends on to-be-removed gets(3)
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: freebsd-ports-bugs mailing list
URL:
Keywords:
Depends on:
Blocks: 222796
  Show dependency treegraph
 
Reported: 2019-06-18 14:43 UTC by Ed Maste
Modified: 2019-08-17 20:39 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer 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 freebsd_triage 2019-08-03 09:34:54 UTC
Deprecated in ports r498703. EXPIRATION_DATE=2019-02-04.
Comment 2 Rene Ladan freebsd_committer 2019-08-17 20:39:42 UTC
Expired port removed.