[sharutils-4.11.1] Compilation against glibc-2.16.6 fails due to incompatible gnulib

Petr Pisar <[email protected]>
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <[email protected]>
Hello,

it's not possible to build sharutils 4.11.1 with glibc-2.16.6:

make[4]: Entering directory `/home/test/fedora/sharutils/sharutils-4.11.1/lib'
gcc -DHAVE_CONFIG_H -I. -I..  -I../intl   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m64 -mtune=generic -c localcharset.c
In file included from localcharset.c:28:0:
./stdio.h:494:1: error: ‘gets’ undeclared here (not in a function)

The reason is glibc-2.16 stopped declaring gets(3) in modern build environments
and this makes bundled gnulib unhappy, where the error is from. gnulib
developers has fix
<http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/30298>.

Please update the gnulib or apply the fix to sharutil copy.

-- Petr
signature.asc (application/pgp-signature, 230 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)

iF4EABEIAAYFAlAalc0ACgkQEsnFx2fG+qJPXAD/RZcRsu37bQny+Bu3cBYirFcy
O1mLTvubkI2gWZtww6gA/RJ836R0KEHiAmuXwtDNzOccTMCZ96MsAxPaLL3GExvU
=+civ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.