[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-diffutils] Build fails with recent glibc due to outdated gnulib
From: |
Brandon Invergo |
Subject: |
[bug-diffutils] Build fails with recent glibc due to outdated gnulib |
Date: |
Sun, 28 Oct 2012 10:18:18 +0100 |
User-agent: |
Notmuch/0.14 (http://notmuchmail.org) Emacs/24.2.1 (x86_64-unknown-linux-gnu) |
Building diffutils fails with recent versions of glibc (2.16+). The
error occurs in files pulled in from gnulib:
In file included from exclude.c:31:0:
./stdio.h:1012:1: error: 'gets' undeclared here (not in a function)
CC hard-locale.o
In file included from stdio-safer.h:20:0,
from freopen-safer.c:22:
./stdio.h:1012:1: error: 'gets' undeclared here (not in a function)
CC hash.o
make[4]: *** [freopen-safer.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [exclude.o] Error 1
In file included from hash.h:27:0,
from hash.c:27:
./stdio.h:1012:1: error: 'gets' undeclared here (not in a function)
The error exists in this file: lib/stdio.in.h
The problem has already been fixed upstream in gnulib, so it should be
as simple as updating the code included in diffutils.
Here was the upstream patch:
https://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00186.html
Please let me know if you need any more info!
Upstream patch:
https://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00186.html
Cheers,
Brandon Invergo
- [bug-diffutils] Build fails with recent glibc due to outdated gnulib,
Brandon Invergo <=