Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: [gentoo-user] troubles with emerge --sync

13 views
Skip to first unread message

Marcus Wanner

unread,
Nov 11, 2009, 2:10:01 PM11/11/09
to
On 11/11/2009 2:01 PM, Alexander Clark wrote:
> I'm getting a strange error on one particular box when I try to emerge
> --sync:
>
> rsync error: sibling process crashed (code 15) at main.c(1505)
> [generator=3.0.6]
> >>> Retrying...
>
> dmesg told me:
>
> grsec: From 66.55.54.28: signal 4 sent to /usr/bin/rsync[rsync:30041]
> uid/euid:0/0 gid/egid:0/0, parent /usr/bin/rsync[rsync:30040]
> uid/euid:0/0 gid/egid:0/0
>
> I had done an emerge -uDN world, so it's quite possible that rsync got
> recompiled in a screwy way. I've tried re-emerging it since then, but
> without changing whatever went wrong, that didn't prove anything.
>
> Can anyone suggest a next step for probing deeper into what happened,
> or finding a fix?
>
> Alexander Clark
>
>
You could just use emerge --webrsync...

Marcus

Alexander Clark

unread,
Nov 11, 2009, 2:10:02 PM11/11/09
to

Alan McKinnon

unread,
Nov 11, 2009, 2:20:02 PM11/11/09
to

The remote end cut you off. Try another mirror.

Alex Bennee

unread,
Nov 11, 2009, 3:00:02 PM11/11/09
to
2009/11/11 Alan McKinnon <alan.m...@gmail.com>:

> The remote end cut you off. Try another mirror.

Is this a know infrastructure issue. It seems to happening a lot
lately. I'm wary of retrying lest I end up on a ban list.

--
Alex, homepage: http://www.bennee.com/~alex/
http://www.half-llama.co.uk

Alexander Clark

unread,
Nov 11, 2009, 4:20:02 PM11/11/09
to
>> The remote end cut you off. Try another mirror.
>
> Is this a know infrastructure issue. It seems to happening a lot
> lately. I'm wary of retrying lest I end up on a ban list.

I've retried a lot. Maybe I ended up on the ban list. What I really
need to do is set up a local mirror since I've got a rack full of
Gentoo servers.

In any case, emerge-webrsync works for now (thanks Marcus, not sure
why I didn't think of that).

It seems there are some deeper issues, however, as gcc and emacs are
failing to emerge. Signal 4 again with emacs. Hm. Think I might try
scaling back my CFLAGS.

Alexander Clark

Marcus Wanner

unread,
Nov 11, 2009, 6:10:01 PM11/11/09
to
On 11/11/2009 4:10 PM, Alexander Clark wrote:
> In any case, emerge-webrsync works for now (thanks Marcus, not sure
> why I didn't think of that).
Glad I could help. However, a better solution is probably needed in the
long run.

Marcus

Alan McKinnon

unread,
Nov 12, 2009, 5:00:02 AM11/12/09
to
On Wednesday 11 November 2009 23:10:35 Alexander Clark wrote:
> >> The remote end cut you off. Try another mirror.
> >
> > Is this a know infrastructure issue. It seems to happening a lot
> > lately. I'm wary of retrying lest I end up on a ban list.
>
> I've retried a lot. Maybe I ended up on the ban list. What I really
> need to do is set up a local mirror since I've got a rack full of
> Gentoo servers.

Use my mirror and see if things are better. It's 12 hours behind the master
and I don't implement that mythical ban list:

ftp://ftp.is.co.za/mirror/gentoo-portage

http:// and rsync:// are also available

--
alan dot mckinnon at gmail dot com

Nelis Botha

unread,
Nov 12, 2009, 6:10:02 AM11/12/09
to
Hi Alan

Im Asking you directly as we share the same mirror and country :)
Also if I need to start a new thread just let me know ... I'm posting
here as it has to do with rsync

so the question: How do I set up rsync on the IS mirror I tried to edit
the make.conf by just adding the IS url to the rsync option and # out
the other rsync server I had set up but emerge --rsync just told me that
name could not be contacted my only option now is web-rsync but I'd
rather use --rsync (also I'm capped on Intl so Local only bandwith here).

Thnks

Nelis

Alan McKinnon

unread,
Nov 12, 2009, 6:30:01 AM11/12/09
to

Something like this in make.conf:

SYNC="rsync://ftp.is.co.za/gentoo-portage"
GENTOO_MIRRORS="ftp://ftp.is.co.za/mirror/gentoo.org/
http://distfiles.gentoo.org"

You should be able to rsync to rsync.is.co.za or to ftp.is.co.za, they are
different interfaces on the same machine

daid kahl

unread,
Nov 29, 2009, 9:10:02 PM11/29/09
to
> So I managed to fix the other wonkiness on my system (viz, gcc and emacs not
> emerging). Turns out, I had been sloppy in putting together my make.conf and
> used march=prescott when I should have been using march=pentium4. Fixed it,
> ran emerge -uDNe world. Things emerge now.

Really late post on this, but an emphasis on march settings is warranted.

This will totally bungle all kinds of compiling.

If you keep around things like gcc-3 for rainy days, you'll also find
that some newer march optimizations are not defined in older gcc
versions, and this will make you all confused why nothing will compile
with your hardened compiler (which, incidentally, has g77).

I have three march items commented out (with comments on what each one
is) in my make.conf so at least I think about it if I'm trouble
shooting.

I got thrown off the other day setting up a newer machine with the
same kind of problem (it needed old code and gcc3...grrr).

Regards,
daid

Alexander Clark

unread,
Dec 3, 2009, 7:30:02 PM12/3/09
to
Really late post on this, but an emphasis on march settings is warranted.

This will totally bungle all kinds of compiling.

Daid, thanks for your input. I keep an extra line of 'safe' cflags commented out, which saved the day in this case.

If it helps anyone, here's what the [continuing] problem was:

When I figured out that I was using the wrong march, I switched it out, but forgot to look over the cflags, which still contained -msse3. Hence some improvement but not a total fix. I was thinking of giving my safe cflags a go, when, looking at them and at my regular cflags, I realized that -msse3 didn't belong. Fixed it, emerge -uDNe world, and now emerge --sync works!

Based on this experience, I would submit that if you're running Gentoo and seeing SIGILL, double checking your march and your cflags would be a pretty good place to start.

Alexander Clark

daid kahl

unread,
Dec 4, 2009, 7:20:03 PM12/4/09
to
> When I figured out that I was using the wrong march, I switched it out, but
> forgot to look over the cflags, which still contained -msse3. Hence some
> improvement but not a total fix. I was thinking of giving my safe cflags a
> go, when, looking at them and at my regular cflags, I realized that -msse3
> didn't belong. Fixed it, emerge -uDNe world, and now emerge --sync works!
> Based on this experience, I would submit that if you're running Gentoo and
> seeing SIGILL, double checking your march and your cflags would be a pretty
> good place to start.
> Alexander Clark

Just for anyone who might be keyword searching, you should guess it
might be cflags when you get the error cannot make executables. Gotta
love compilers that can't compile anything!

~daid

0 new messages