Date: Thu, 10 Oct 2019 00:35:53 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 241168] sysutils/grub2-bhyve fails to build with error: 'gets' undeclared here on CURRENT Message-ID: <bug-241168-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241168 Bug ID: 241168 Summary: sysutils/grub2-bhyve fails to build with error: 'gets' undeclared here on CURRENT Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: rob@sarcasticadmin.com Created attachment 208217 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D208217&action= =3Dedit poudriere pkg build log I get the following error during my poudriere build against CURRENT: mv wchar.h-t wchar.h rm -f wctype.h-t wctype.h && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's/@''HAVE_WCTYPE_H''@/1/g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''NEXT_WCTYPE_H''@|<wctype.h>|g' \ -e 's/@''HAVE_ISWBLANK''@/1/g' \ -e 's/@''HAVE_ISWCNTRL''@/1/g' \ -e 's/@''HAVE_WINT_T''@/1/g' \ -e 's/@''REPLACE_ISWBLANK''@/0/g' \ -e 's/@''REPLACE_ISWCNTRL''@/0/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \ -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \ < ./wctype.in.h; \ } > wctype.h-t && \ mv wctype.h-t wctype.h gmake all-recursive gmake[4]: Entering directory '/wrkdirs/usr/ports/sysutils/grub2-bhyve/work/grub2-bhyve-0.40/grub-core/gn= ulib' gmake[5]: Entering directory '/wrkdirs/usr/ports/sysutils/grub2-bhyve/work/grub2-bhyve-0.40/grub-core/gn= ulib' gcc9 -DHAVE_CONFIG_H -I. -I../.. -I../../intl -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 gcc9 -DHAVE_CONFIG_H -I. -I../.. -I../../intl -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, from argp-eexst.c:25: ./stdio.h:456:1: error: 'gets' undeclared here (not in a function); did you mean 'getw'? 456 | _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead= "); | ^~~~~~~~~~~~~~~ gmake[5]: *** [Makefile:1030: argp-eexst.o] Error 1 gmake[5]: Leaving directory '/wrkdirs/usr/ports/sysutils/grub2-bhyve/work/grub2-bhyve-0.40/grub-core/gn= ulib' gmake[4]: *** [Makefile:1050: all-recursive] Error 1 gmake[4]: Leaving directory '/wrkdirs/usr/ports/sysutils/grub2-bhyve/work/grub2-bhyve-0.40/grub-core/gn= ulib' gmake[3]: *** [Makefile:915: all] Error 2 gmake[3]: Leaving directory '/wrkdirs/usr/ports/sysutils/grub2-bhyve/work/grub2-bhyve-0.40/grub-core/gn= ulib' gmake[2]: *** [Makefile:20160: all-recursive] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/sysutils/grub2-bhyve/work/grub2-bhyve-0.40' gmake[1]: *** [Makefile:15992: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/grub2-bhyve/work/grub2-bhyve-0.40' *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/grub2-bhyve =3D>> Cleaning up wrkdir =3D=3D=3D> Cleaning for grub2-bhyve-0.40_7 build of sysutils/grub2-bhyve | grub2-bhyve-0.40_7 ended at Mon Oct 7 04:4= 1:46 UTC 2019 build time: 00:00:57 !!! build failure encountered !!! Ive attached the entire per-pkg build log for grub2-bhyve. I know theres the error about the jail being too new but its only slightly due to the pace of CURRENT vs AWS ami Im using. Another thing I noticed is that FreeBSD CURRENT doesnt have grub2-bhyve in = the pkg.freebsd.org mirror (as of: 11/09/19): http://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/ (I would suspect its failing it the build there as well?) If you need any more info or need anything else please let me know! ~Rob --=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-241168-7788>