[Buildroot] [PATCH] package/bison: make installation relocatable

Peter Korsgaard peter at korsgaard.com
Fri May 29 21:29:09 UTC 2020

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:

 > Our current host-bison installation is not relocatable, so if you
 > generate the SDK, and install it in a different location, bison will
 > no longer work with failures such as:

 > bison: /home/user/buildroot/output/host/share/bison/m4sugar/m4sugar.m4: cannot open: No such file or directory

 > This particular issue is already resolved upstream by the addition of
 > "relocatable" support, which we enable using --enable-relocatable.

 > Once this issue is fixed, a second one pops up: the path to the m4
 > program itself is also hardcoded. So we add a patch to fix that as
 > well. The patch has been submitted upstream.

 > Fixes:

 >   https://bugs.busybox.net/show_bug.cgi?id=12656

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>

Committed to 2020.02.x, thanks.

Bye, Peter Korsgaard

More information about the buildroot mailing list