Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2019 14:43:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 238688] sysutils/grub2: depends on to-be-removed gets(3)
Message-ID:  <bug-238688-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238688

            Bug ID: 238688
           Summary: sysutils/grub2: depends on to-be-removed gets(3)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: emaste@freebsd.org
            Blocks: 222796

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_2=
0h58m08s/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=20
-Wl,-rpath=3D/usr/local/lib/gcc7 -fno-strict-aliasing  -MT argp-ba.o -MD -M=
P -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=20
-Wl,-rpath=3D/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_2=
0h58m08s/logs/errors/grub2-bhyve-0.40_5.log


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222796
[Bug 222796] [exp-run] with gets removed
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238688-7788>