| View previous topic :: View next topic |
| Author |
Message |
jrtayloriv Tux's lil' helper

Joined: 31 Dec 2004 Posts: 149 Location: N. Idaho
|
Posted: Fri Dec 31, 2004 2:29 am Post subject: Build Error During Bootstrap |
|
|
I am running the bootstrap.sh script during the Stage 1 install and have received the following error:
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)
Any suggestions?
Thanks,
jrtayloriv |
|
| Back to top |
|
 |
lump n00b

Joined: 16 Jun 2003 Posts: 12
|
Posted: Fri Dec 31, 2004 3:09 am Post subject: Same error |
|
|
| I'm seeing this as well. It looks as though the m4 package may be broken. |
|
| Back to top |
|
 |
kimchi_sg Advocate

Joined: 26 Nov 2004 Posts: 3005
|
Posted: Fri Dec 31, 2004 3:19 am Post subject: Re: Same error |
|
|
| lump wrote: | | I'm seeing this as well. It looks as though the m4 package may be broken. |
In that case, mask the package using package.mask: | Code: | | echo ">=sys-devel/m4-1.4.1" >> /etc/portage/package.mask |
But you will need to re-start the bootstrap. |
|
| Back to top |
|
 |
Takaitra n00b


Joined: 12 Apr 2004 Posts: 26 Location: Minnesota
|
Posted: Fri Dec 31, 2004 3:26 am Post subject: |
|
|
I also ran into this problem. Someone broke the bookstrap!
That's odd the m4 package is broken, it hasn't been changed for months. I'll follow your suggestion to mask it and see if my bootstrap works. |
|
| Back to top |
|
 |
kimchi_sg Advocate

Joined: 26 Nov 2004 Posts: 3005
|
Posted: Fri Dec 31, 2004 3:32 am Post subject: |
|
|
| Takaitra wrote: | I also ran into this problem. Someone broke the bookstrap!
That's odd the m4 package is broken, it hasn't been changed for months. I'll follow your suggestion to mask it and see if my bootstrap works. |
Uh oh, I've just checked and version 1.4.1 is the only one in Portage.
Forget about masking, it will not work.
If you're affected, go to the bugzilla and file a bug report so that the devs can fix this blocker right away.
Last edited by kimchi_sg on Fri Dec 31, 2004 3:33 am; edited 1 time in total |
|
| Back to top |
|
 |
Takaitra n00b


Joined: 12 Apr 2004 Posts: 26 Location: Minnesota
|
Posted: Fri Dec 31, 2004 3:32 am Post subject: |
|
|
I get this message:
| Code: | !!! All ebuilds that could satisfy "sys-devel/m4" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-devel/m4-1.4.1 (masked by: package.mask) |
It makes sense that the bootstrap would complain if it can't install one of its packages. Also, if it's being built in bootstrap, I assume m4 is important. Where oh where did that mysterious "cru" command go?
Edit: I'll submit the bug report. |
|
| Back to top |
|
 |
zansiball n00b

Joined: 03 Jul 2004 Posts: 8
|
Posted: Fri Dec 31, 2004 3:52 am Post subject: |
|
|
| i got the same error. damn... |
|
| Back to top |
|
 |
Takaitra n00b


Joined: 12 Apr 2004 Posts: 26 Location: Minnesota
|
|
| Back to top |
|
 |
zansiball n00b

Joined: 03 Jul 2004 Posts: 8
|
Posted: Fri Dec 31, 2004 4:24 am Post subject: |
|
|
good. hope they fix this soon.
is it someway to work past this bug? i hate to wait  |
|
| Back to top |
|
 |
kimchi_sg Advocate

Joined: 26 Nov 2004 Posts: 3005
|
Posted: Fri Dec 31, 2004 5:02 am Post subject: |
|
|
| zansiball wrote: | good. hope they fix this soon.
is it someway to work past this bug? i hate to wait  |
I do not know whether this will help, but it's definitely worth a shot.
Try bootstrapping using a stage 3 tarball. It can be done, and you are free to change anything in make.conf, regardless of what the Handbook says, because it still is a stage 1 bootstrap.
My rationale for suggesting this is given in this thread |
|
| Back to top |
|
 |
quickshiftin Guru


Joined: 27 Jul 2004 Posts: 345 Location: Denver, CO
|
Posted: Fri Dec 31, 2004 5:04 am Post subject: continuing the bootstrap |
|
|
| so how did you guys go about finishing the bootstrap? As I've run into the same problem... |
|
| Back to top |
|
 |
Takaitra n00b


Joined: 12 Apr 2004 Posts: 26 Location: Minnesota
|
Posted: Fri Dec 31, 2004 5:32 am Post subject: |
|
|
I re-emerged m4 on a Gentoo system that I already had working and found what the compile command is supposed to be.
| Code: | | ar cru libm4.a regex.o getopt.o getopt1.o error.o obstack.o xmalloc.o xstrdup.o |
I was googling all over for a "cru" command. No wonder I couldn't find one, "cru" are the options that are supposed to be passed to the command "ar"!
It's the same ebuild running on both systems but "ar " is dropped off during a bootstrap causing the compile to fail. I'm at a loss as to what is behind this. |
|
| Back to top |
|
 |
Takaitra n00b


Joined: 12 Apr 2004 Posts: 26 Location: Minnesota
|
Posted: Fri Dec 31, 2004 5:48 am Post subject: |
|
|
Temporary Fix:
I figured out how to get the bootstrapper on its merry way.
Sounds too simple to be true but it works. I had to read through the Makefile to find that it was ignoring a variable for some reason.  |
|
| Back to top |
|
 |
zansiball n00b

Joined: 03 Jul 2004 Posts: 8
|
Posted: Fri Dec 31, 2004 12:07 pm Post subject: |
|
|
| thnx for that. it worked for me to. |
|
| Back to top |
|
 |
farmorg Tux's lil' helper


Joined: 14 Jun 2003 Posts: 76 Location: Leicester (UK)
|
Posted: Fri Dec 31, 2004 12:44 pm Post subject: |
|
|
Me too, nice one Takaitra! _________________ Master farmorg
May the source be with you |
|
| Back to top |
|
 |
racoontje Veteran

Joined: 19 Jul 2004 Posts: 1290
|
Posted: Fri Dec 31, 2004 12:54 pm Post subject: |
|
|
| Obviously typo, but it must have been introduced yesterday or the day before... I did an install on the 28'th and it worked fine. |
|
| Back to top |
|
 |
quickshiftin Guru


Joined: 27 Jul 2004 Posts: 345 Location: Denver, CO
|
Posted: Fri Dec 31, 2004 5:35 pm Post subject: whoops, got it anyway |
|
|
| my bad, i guess i didn't see the suggestion at the end of the page. well i just rolled back to a 2004.2 stage1 and it seems to have worked perfectly. does anyone know what a major drawback might be with this approach?[ |
|
| Back to top |
|
 |
|