dico: ftbfs with eglibc-2.17

Bug #1163485 reported by Logan Rosen
This bug report is a duplicate of:  Bug #1163486: dico: ftbfs with eglibc-2.17. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dico (Debian)
New
Undecided
Unassigned
dico (Ubuntu)
New
Undecided
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/701390:

Package: src:dico
Version: 2.2-2
Severity: important
Tags: sid jessie
User: <email address hidden>
Usertags: ftbfs-glibc-2.17

The package fails to build in a test rebuild on at least amd64 with
eglibc-2.17, but succeeds to build with eglibc-2.13. The
severity of this report may be raised before the jessie release.

The test rebuild was done together with GCC-4.8, so some issues
might be caused by the updated GCC as well.

  ./stdio.h:479:1: error: 'gets' undeclared here (not in a function)

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/dico_2.2-2_unstable_gcc48.log
The last lines of the build log are at the end of this report.

To install eglibc from experimental,

  apt-get -t experimental install libc6-dev

To build with GCC 4.8, either set CC=gcc-4.8 CXX=g++-4.8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev

[...]
  GEN sys/socket.h
  GEN sys/time.h
  GEN time.h
  GEN unistd.h
  GEN wchar.h
  GEN wctype.h
make all-recursive
make[5]: Entering directory `/«PKGBUILDDIR»/gnu'
make[6]: Entering directory `/«PKGBUILDDIR»/gnu'
  CC c-ctype.o
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c c-ctype.c
  CC c-strcasecmp.o
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c c-strcasecmp.c
  CC c-strncasecmp.o
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c c-strncasecmp.c
  CC close-hook.o
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c close-hook.c
  CC exitfail.o
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c exitfail.c
  CC imaxtostr.o
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c imaxtostr.c
  CC inttostr.o
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c inttostr.c
  CC offtostr.o
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c offtostr.c
  CC uinttostr.o
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c uinttostr.c
  CC umaxtostr.o
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c umaxtostr.c
  CC localcharset.o
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c localcharset.c
In file included from localcharset.c:30:0:
./stdio.h:479:1: error: 'gets' undeclared here (not in a function)
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
 ^
make[6]: *** [localcharset.o] Error 1
make[6]: Leaving directory `/«PKGBUILDDIR»/gnu'
make[5]: *** [all-recursive] Error 1
make[4]: *** [all] Error 2
make[5]: Leaving directory `/«PKGBUILDDIR»/gnu'
make[4]: Leaving directory `/«PKGBUILDDIR»/gnu'
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
make[3]: Leaving directory `/«PKGBUILDDIR»'
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.