Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 623218

Summary: app-editors/zile-2.3.24-r1 cleanup ( fails compile with : ./stdio.h:1048:1: error: 'gets' undeclared here (not in a function) )
Product: Gentoo Linux Reporter: Kent Fredric (IRC: kent\n) (RETIRED) <kentnl>
Component: Current packagesAssignee: Emacs project <emacs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=425104
Whiteboard:
Package list:
Runtime testing required: ---

Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-06-30 23:16:18 UTC
Stable versions without this bug have been around for a while now, clean up time? ( or alternatively, fix the old version too )

>>> Compiling source in /var/tmp/portage/app-editors/zile-2.3.24-r1/work/zile-2.3.24 ...
make -j3
make  all-recursive
make[1]: Entering directory '/var/tmp/portage/app-editors/zile-2.3.24-r1/work/zile-2.3.24'
Making all in lib
make[2]: Entering directory '/var/tmp/portage/app-editors/zile-2.3.24-r1/work/zile-2.3.24/lib'
  GEN    alloca.h
  GEN    arg-nonnull.h
  GEN    c++defs.h
  GEN    configmake.h
  GEN    warn-on-use.h
  GEN    unused-parameter.h
  GEN    dirent.h
  GEN    fcntl.h
  GEN    langinfo.h
  GEN    math.h
  GEN    stdlib.h
  GEN    stdio.h
  GEN    string.h
  GEN    sys/stat.h
  GEN    sys/time.h
  GEN    time.h
  GEN    wchar.h
  GEN    unistd.h
  GEN    wctype.h
make  all-recursive
make[3]: Entering directory '/var/tmp/portage/app-editors/zile-2.3.24-r1/work/zile-2.3.24/lib'
make[4]: Entering directory '/var/tmp/portage/app-editors/zile-2.3.24-r1/work/zile-2.3.24/lib'
  CC     gl_array_list.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -march=native -mtune=native -O2 -pipe -c gl_array_list.c
  CC     exitfail.o
  CC     fd-hook.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -march=native -mtune=native -O2 -pipe -c exitfail.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -march=native -mtune=native -O2 -pipe -c fd-hook.c
  CC     gl_linked_list.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -march=native -mtune=native -O2 -pipe -c gl_linked_list.c
  CC     gl_list.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -march=native -mtune=native -O2 -pipe -c gl_list.c
  CC     localcharset.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -march=native -mtune=native -O2 -pipe -c localcharset.c
In file included from localcharset.c:26:0:
./stdio.h:1048:1: error: 'gets' undeclared here (not in a function)
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
 ^
make[4]: *** [Makefile:1313: localcharset.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/var/tmp/portage/app-editors/zile-2.3.24-r1/work/zile-2.3.24/lib'
Comment 1 Ulrich Müller gentoo-dev 2017-07-01 08:39:26 UTC
Let's postpone removal for another while. We keep zile-2.3 because 2.4 pulls a couple of additional dependencies.

Fixed without revbump (because it is a build failure):
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4191002e984caf2f70a3dcf2bf40da6647d1bff