Summary: | Bootstrap fails compiling m4 with message "cru: Command not found". | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matt Toso <takaitra> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | High | ||
Version: | 2004.3 | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic.php?p=1928638 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Matt Toso
2004-12-30 19:54:18 UTC
I am getting the same error on ppc: make[1]: Entering directory `/var/tmp/portage/m4-1.4.1/work/m4-1.4.1/lib' gcc -c -DHAVE_CONFIG_H -I.. -I. -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec regex.c gcc -c -DHAVE_CONFIG_H -I.. -I. -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec getopt.c gcc -c -DHAVE_CONFIG_H -I.. -I. -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec getopt1.c gcc -c -DHAVE_CONFIG_H -I.. -I. -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec error.c gcc -c -DHAVE_CONFIG_H -I.. -I. -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec obstack.c gcc -c -DHAVE_CONFIG_H -I.. -I. -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec xmalloc.c gcc -c -DHAVE_CONFIG_H -I.. -I. -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec xstrdup.c In file included from regex.c:4062: regex.c: In function `re_match_2_internal': regex.c:4890: warning: passing arg 1 of `bcmp_translate' discards qualifiers from pointer target type regex.c:4890: warning: passing arg 2 of `bcmp_translate' discards qualifiers from pointer target type rm -f libm4.a cru libm4.a regex.o getopt.o getopt1.o error.o obstack.o xmalloc.o xstrdup.o make[1]: cru: Command not found make[1]: *** [libm4.a] Error 127 make[1]: Leaving directory `/var/tmp/portage/m4-1.4.1/work/m4-1.4.1/lib' make: *** [all] Error 1 !!! ERROR: sys-devel/m4-1.4.1 failed. !!! Function src_compile, Line 26, Exitcode 2 !!! (no error message) This could help narrow things down. Oddly, the AR=ar variable is being ignored in /var/tmp/portage/m4-1.4.1/work/m4-1.4.1/lib/Makefile. This causes the script to look for the "cru" command when actually it should be executing "ar cru...". Exporting the environment variable AR=ar seems to work and I've suggested this temporary fix for people with this problem. |