* [Buildroot] [NEXT] glibc: depends on host-bison
@ 2018-02-07 0:48 Ryan Coe
2018-02-08 22:50 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Ryan Coe @ 2018-02-07 0:48 UTC (permalink / raw)
To: buildroot
Fixes the following build error:
checking for bison... no
checking if ./buildroot/output/host/bin/arm-rpi1-linux-gnueabihf-gcc is sufficient to build libc... yes
checking for arm-rpi1-linux-gnueabihf-nm... ./buildroot/output/host/bin/arm-rpi1-linux-gnueabihf-nm
checking for python3... python3
configure: error:
*** These critical programs are missing or too old: bison
*** Check the INSTALL file for required versions.
package/pkg-generic.mk:237: recipe for target './buildroot/output/build/glibc-glibc-2.27/.stamp_configured' failed
make: *** [./buildroot/output/build/glibc-glibc-2.27/.stamp_configured] Error 1
Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
---
package/glibc/glibc.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk
index b674191b22..00e114566c 100644
--- a/package/glibc/glibc.mk
+++ b/package/glibc/glibc.mk
@@ -28,7 +28,7 @@ GLIBC_ADD_TOOLCHAIN_DEPENDENCY = NO
# Before glibc is configured, we must have the first stage
# cross-compiler and the kernel headers
-GLIBC_DEPENDENCIES = host-gcc-initial linux-headers host-gawk
+GLIBC_DEPENDENCIES = host-gcc-initial linux-headers host-bison host-gawk
GLIBC_SUBDIR = build
--
2.15.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [NEXT] glibc: depends on host-bison
2018-02-07 0:48 [Buildroot] [NEXT] glibc: depends on host-bison Ryan Coe
@ 2018-02-08 22:50 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-02-08 22:50 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 6 Feb 2018 16:48:49 -0800, Ryan Coe wrote:
> Fixes the following build error:
>
> checking for bison... no
> checking if ./buildroot/output/host/bin/arm-rpi1-linux-gnueabihf-gcc is sufficient to build libc... yes
> checking for arm-rpi1-linux-gnueabihf-nm... ./buildroot/output/host/bin/arm-rpi1-linux-gnueabihf-nm
> checking for python3... python3
> configure: error:
> *** These critical programs are missing or too old: bison
> *** Check the INSTALL file for required versions.
> package/pkg-generic.mk:237: recipe for target './buildroot/output/build/glibc-glibc-2.27/.stamp_configured' failed
> make: *** [./buildroot/output/build/glibc-glibc-2.27/.stamp_configured] Error 1
>
> Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
I've improved the commit log a bit:
- To indicate which glibc upstream commit changed to making bison a
hard requirement. This allows to confirm it isn't an "accident" but
really an intentional move from glibc upstream.
- By replacing the error log by a reference to an autobuilder failure.
Thanks a lot for this fix, applied to next!
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-02-08 22:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-07 0:48 [Buildroot] [NEXT] glibc: depends on host-bison Ryan Coe
2018-02-08 22:50 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.