Click to See Complete Forum and Search --> : emerge system fails at diffutils


SDS
10-12-2003, 06:05 PM
I'm doing the Gentoo install from a stage 1 tarball right now, and everything went fine until about halfway through the emerge system. I get this error when it's configuring(I think it the makefile is messed up):
......
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
cat: ./po/Rules-quot: input file is output file
config.status: executing default commands
rm: `/var/tmp/portage/diffutils-2.8.4-r3/temp/csVUIucu' changed dev/ino: Is a directory
rm: `conftest.dir' changed dev/ino: Is a directory
Makefile:15: *** missing separator. Stop.

!!! ERROR: sys-apps/diffutils-2.8.4-r3 failed.
!!! Function src_compile, Line 59, Exitcode 2
!!! (no error message)

Well, anyways, I ran emerge system a couple more times, and I got the same error, so there's definitely a bug. Is there another way to install difutils while chrooted into another partition. I mean, I can't even uncompress it while chrooted. Thanks.

Edit: Darn, I meant to put this on the installation forums.

Okay, I unzipped it from my standard slack terminal and tried to compile 2.8.1, but that still doesn't work, as the make command tells me that it's missing a separator.
darkstar diffutils-2.8.1 # make
Makefile:15: *** missing separator. Stop.

This is pretty frustrating. I went through a bit of trouble to optimize from a stage 1 and it won't compile difutils. Poop.

Hayl
10-12-2003, 06:19 PM
delete the source for that package, re-sync and try it again.

rm /usr/portage/distfiles/diffutils-2.8.4-r3.ebuild

emerge sync && emerge diffutils

SDS
10-12-2003, 06:43 PM
I just tried that, only now my emerge sync is failing. It keeps giving me the samy error for every try:
receiving file list ...
62571 files to consider
app-admin/
app-admin/addpatches/
rsync: writefd_unbuffered failed to write 4092 bytes: phase "unknown": Connection reset by peer
rsync error: error in rsync protocol data stream (code 12) at io.c(515)

I'm assuming it could be a firewall issue as I do have one, but I don't think it is because emerge sync worked perfectly before, and I haven't changed any settings on my firewall...

Edit: it also give me this after 3 tries:
!!! Rsync has not successfully finished. It is recommended that you keep
!!! trying or that you use the 'emerge-webrsync' option if you are unable
!!! to use rsync due to firewall or other restrictions. This should be a
!!! temporary problem unless complications exist with your network
!!! (and possibly your system's filesystem) configuration.

I ran emerge-webrsync, and it was taking a really, really long time, and I wasn't sure if that's what I was supposed to be running. :confused: Well, I'll just run it anyways and wait a while. These things are usually right, but this message seems a bit more obscure than normal. Maybe it didn't take very long... Anyways, I still get the error that it can't make the difutils.

SDS
10-12-2003, 09:47 PM
Apparently one of my cflags was breaking diffutils. I think I've got it worked out now. If you have an Athlon XP and are optimizing your cflags, bware that:

-m128bit-long-double crashes GCC prior to 3.4
-mregparm=3 breaks sed
-malign-double breaks diffutils

HowlinWolf
10-12-2003, 10:41 PM
I had the same problem when I was installing gentoo. I agree it's frusterating as hell. I noticed your using an Athlon XP so your problem is probably with the flags. Check your CFLAGS in /etc/make.conf and make sure their set to "-march=athlon" not "-march=athlon-xp" . I'm using an athlon xp as well and as soon as I made this change to my flags it worked. I'm now a happy gentoo user.

Good luck.