[Buildroot] [PATCH] package/m4: fix build in host with glibc-2.28
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Fri Aug 17 21:34:11 UTC 2018
Hello,
On Fri, 17 Aug 2018 14:38:03 +0200, Yann E. MORIN wrote:
> glibc-2.28 did quite some lifting in their headers, which breaks the
> way some packages were detecting glibc, like gnulib.
>
> However, packages do bundle gnulib (it was meant to be bundled),
> and so does m4.
>
> Since m4 hasn't seen the slightest commit since 2017-01-09, it is
> bundling an old gnulib version, that predates glibc-2.28, and thus
> breaks. It also means that upstream hasn't already fixed the issue.
>
> Furthermore, as upstream is using a git submodule for gnulib, and
> that the paths are not the same in the release tarball (in lib/)
> and in the git ttree (in gnulib/), we can't do a plain backport.
>
> So, we selectively backport the two patches from gnulib upstream,
> restricted to only the files that happen to be used in m4.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> Reported-by: c32 on IRC
FWIW: http://lists.gnu.org/archive/html/bug-m4/2018-08/msg00000.html.
So a new upstream release of m4 is in the work to fix this problem.
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list