New: Can't build packages relying on gets on newer glibc
https://bugs.busybox.net/show_bug.cgi?id=5384
Summary: Can't build packages relying on gets on newer glibc
Product: buildroot
Version: 2012.02
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: net147 at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
On newer versions of glibc, gets is no longer included so host packages relying on it will not compile properly.
Patches:
https://raw.github.com/OpenELEC/OpenELEC.tv/f7f4d70fd78621137745a2c5e08b10685dfc84b7/packages/toolchain/devel/autotools/m4/patches/m4-1.4.16-fgets.patch
https://raw.github.com/OpenELEC/OpenELEC.tv/3b2e87a6955627c122588bc4963b7aae5150c095/packages/toolchain/archivers/cpio/patches/cpio-2.11-fgets.patch
https://raw.github.com/OpenELEC/OpenELEC.tv/e2c5feecdb2cfd6e343a6a152612f6fcf3aae8e9/packages/toolchain/devel/autotools/gettext/patches/gettext-0.18.1.1-gets.patch
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 5384] Can't build packages relying on gets on newer glibc
https://bugs.busybox.net/show_bug.cgi?id=5384
--- Comment #1 from Samuel Martin <[email protected]> 2012-07-23 03:43:18 UTC --- (In reply to comment #0)
Quoted 7 lines
On newer versions of glibc, gets is no longer included so host packages relying on it will not compile properly.
Patches:
https://raw.github.com/OpenELEC/OpenELEC.tv/f7f4d70fd78621137745a2c5e08b10685dfc84b7/packages/toolchain/devel/autotools/m4/patches/m4-1.4.16-fgets.patch
https://raw.github.com/OpenELEC/OpenELEC.tv/3b2e87a6955627c122588bc4963b7aae5150c095/packages/toolchain/archivers/cpio/patches/cpio-2.11-fgets.patch
https://raw.github.com/OpenELEC/OpenELEC.tv/e2c5feecdb2cfd6e343a6a152612f6fcf3aae8e9/packages/toolchain/devel/autotools/gettext/patches/gettext-0.18.1.1-gets.patch
Yes, for now, AFAIK only glibc-2.16 has removed 'gets'.
For m4, a patch fixing this has already been merged: [1].
For cpio and gettext on the host system, Buildroot relies on the package provided by the host distribution.
So, if you are experiencing issues with these packages, this should be more likely reported to the maintainers of the distribution you're using.
BTW, do you know from where does the definition of HAVE_RAW_DECL_GETS come from?
Grepping it in /usr/include of systems using glibc-2.15, glibc-2.16 and eglibc-2.15 gives no result.
Thx for the report.
[1]
http://git.buildroot.net/buildroot/commit/?id=600375d18e6ccd08505153863666f2e8b10251be
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 5384] Can't build packages relying on gets on newer glibc
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=5384
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #2 from Thomas Petazzoni <[email protected]> 2012-08-21 12:08:39 UTC --- Bug already fixed.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.