Re: [gentoo-user] distcc problems: Ok from commandline, but emerge ignores it...

2012-10-15 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 14.10.2012 15:47, meino.cra...@gmx.de wrote:
 Hi,
 
 since my PC /and/ my embedded singlecomputer are involved, I dont
 know whether this is a normal GENTOO subject or a embedded
 GENTOO one...
 
 What I want: From my embedded system (Beaglebone) I want to sent
 compilation jobs to my PC.
 
 I set up cross-compiler on my PC, configured distcc and added some
 softlinks, since the relevant compiler is called 
 armv7a-softfp-linux-gnueabi-* on my beaglebone and 
 armv7a-unknown-linux-gnueabi-* on my PC.
 
 The compilation of a short C-program from the commandline 
 works...the job can be seen in the distcc log on the beaglebone.
 
 But emergeing (in this case emerge cmus) completly ignores 
 distcc
 
 How can I fix it?
 
 Thank you very much in advance for any help! Best regards, mcc

Have you added FEATURES=distcc to your make.conf?

WKR
Hinnerk

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQe+2KAAoJEJwwOFaNFkYcBzsIAJFpnZa0eNvN5AOzK7jZjahU
B86Wnnd3hp0lHrSCRIpqC4zap4QQVjnEvA0n33N6ZDZ/uO+UieBSwbyZBicS22gq
ho+woYR4XfgWErrAHNFLdBV7gpvipLIkQRayL5l5+9aScECfuj1lqdOJjm4ay7I9
wlFbXttCfGLfl3IotIj6vZSiVP9dOMMaShE9x7vyrsA+mNb9ZRc+jOTKSvFa29T4
nOlyZsVYbmektL2t2l3qgboy+LDt6smBrNEjO/lf+b3mdXQop4JGrtuApUZOJixF
20xPgRwnGxz4Nkxr1QY9ifoasZ9hbC6lbljeh5s+ShnlELDnLg3EiOYuTdhg9p4=
=VSPZ
-END PGP SIGNATURE-



Re: [gentoo-user] distcc problems: Ok from commandline, but emerge ignores it...

2012-10-15 Thread Yohan Pereira
On Sunday 14 Oct 2012 15:47:31 meino.cra...@gmx.de wrote:
 The compilation of a short C-program from the commandline
 works...the job can be seen in the distcc log on the beaglebone.
 
 But emergeing (in this case emerge cmus) completly ignores
 distcc
 
 How can I fix it?

Hi,
I've dabbled with distcc in the past and I remember having to add distcc to 
FEATURES in make.conf, Have you tried that ?

check this out
http://www.gentoo.org/doc/en/distcc.xml

-- 

- Yohan Pereira

The difference between a Miracle and a Fact is exactly the difference
between a mermaid and a seal.
-- Mark Twain




[gentoo-user] distcc problems: Ok from commandline, but emerge ignores it...

2012-10-14 Thread meino . cramer
Hi,

since my PC /and/ my embedded singlecomputer are involved,
I dont know whether this is a normal GENTOO subject or a
embedded GENTOO one...

What I want:
From my embedded system (Beaglebone) I want to sent compilation
jobs to my PC.

I set up cross-compiler on my PC, configured distcc and added
some softlinks, since the relevant compiler is called 
armv7a-softfp-linux-gnueabi-* on my beaglebone and 
armv7a-unknown-linux-gnueabi-* on my PC.

The compilation of a short C-program from the commandline
works...the job can be seen in the distcc log on the beaglebone.

But emergeing (in this case emerge cmus) completly ignores
distcc

How can I fix it?

Thank you very much in advance for any help!
Best regards,
mcc






[gentoo-user] distcc problems

2008-11-03 Thread Daryl Styrk
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I thought I had everything set up correctly but apparently not.

distccd[6820] (doc_execvp) ERROR: failed to exec x86_64-pc-linux-gnu-gcc
: No such file or directory
distccd[1246] ERROR: compile args.c on 10.0.1.8 failed with exit code 110
make: *** [args.o] Error 110
*
* ERROR: dev-util/ctags-5.7 failed.
* Call stack:
*   ebuild.sh, line 49: Called src_compile
*   environment, line 2107: Called die
*The specific snippet of code:
*   emake || die emake failed
* The die message:
*  emake failed

I'm pretty new to gentoo, and linux this far 'in' any help would be
greatly appreciated.  I just finished the base install and figured this
would be nice to help speed along compiling the rest of the system.

I'm a little lost where to start and where I might have gone wrong.

Any pointers to steer me back in the right direction?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJD0ytejxzjThnMmIRAsQOAKCRXwyczhOP3OysbXnYI+Qj6Ncc5QCgjfOs
sq+k1BKOCQQBhjLzZms2YYk=
=mINu
-END PGP SIGNATURE-



Re: [gentoo-user] distcc problems

2008-11-03 Thread Jeremy McSpadden
On Mon, 2008-11-03 at 14:10 -0500, Daryl Styrk wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I thought I had everything set up correctly but apparently not.
 
 distccd[6820] (doc_execvp) ERROR: failed to exec x86_64-pc-linux-gnu-gcc
 : No such file or directory
 distccd[1246] ERROR: compile args.c on 10.0.1.8 failed with exit code 110
 make: *** [args.o] Error 110
 *
 * ERROR: dev-util/ctags-5.7 failed.
 * Call stack:
 * ebuild.sh, line 49: Called src_compile
 * environment, line 2107: Called die
 *The specific snippet of code:
 * emake || die emake failed
 * The die message:
 *  emake failed
 
 I'm pretty new to gentoo, and linux this far 'in' any help would be
 greatly appreciated.  I just finished the base install and figured this
 would be nice to help speed along compiling the rest of the system.
 
 I'm a little lost where to start and where I might have gone wrong.
 
 Any pointers to steer me back in the right direction?
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFJD0ytejxzjThnMmIRAsQOAKCRXwyczhOP3OysbXnYI+Qj6Ncc5QCgjfOs
 sq+k1BKOCQQBhjLzZms2YYk=
 =mINu
 -END PGP SIGNATURE-
 

I don't think your looking for distcc/d - that's for distributed
compiling with other computers. maybe cccache ?

Jeremy McSpadden
UberPenguin.net


Re: [gentoo-user] distcc problems

2008-11-03 Thread Daryl Styrk
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeremy McSpadden wrote:
 On Mon, 2008-11-03 at 14:10 -0500, Daryl Styrk wrote:
 I thought I had everything set up correctly but apparently not.
 
 distccd[6820] (doc_execvp) ERROR: failed to exec x86_64-pc-linux-gnu-gcc
 : No such file or directory
 distccd[1246] ERROR: compile args.c on 10.0.1.8 failed with exit code 110
 make: *** [args.o] Error 110
 *
 * ERROR: dev-util/ctags-5.7 failed.
 * Call stack:
 * ebuild.sh, line 49: Called src_compile
 * environment, line 2107: Called die
 *The specific snippet of code:
 * emake || die emake failed
 * The die message:
 *  emake failed
 
 I'm pretty new to gentoo, and linux this far 'in' any help would be
 greatly appreciated.  I just finished the base install and figured this
 would be nice to help speed along compiling the rest of the system.
 
 I'm a little lost where to start and where I might have gone wrong.
 
 Any pointers to steer me back in the right direction?

 I don't think your looking for distcc/d - that's for distributed
 compiling with other computers. maybe cccache ?

 Jeremy McSpadden
 UberPenguin.net


No, that's what I'm looking for.  I have spare laptop sitting here next
to the thinkpad that I'm trying get it going on..  Ironically the error
came trying to emerge ccache.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJD06BejxzjThnMmIRAineAJ9OrivqpnX2awKJPZEsMd9hl9WryACgnFoW
rFmf9voXmbvnpTRq/j4ionw=
=SPi8
-END PGP SIGNATURE-



Re: [gentoo-user] distcc problems

2008-11-03 Thread Markos Chandras
On Monday 03 November 2008 21:10:37 Daryl Styrk wrote:
 I thought I had everything set up correctly but apparently not.

 distccd[6820] (doc_execvp) ERROR: failed to exec x86_64-pc-linux-gnu-gcc

 : No such file or directory

 distccd[1246] ERROR: compile args.c on 10.0.1.8 failed with exit code 110
 make: *** [args.o] Error 110
 *
 * ERROR: dev-util/ctags-5.7 failed.
 * Call stack:
 * ebuild.sh, line 49: Called src_compile
 * environment, line 2107: Called die
 *The specific snippet of code:
 * emake || die emake failed
 * The die message:
 *  emake failed

 I'm pretty new to gentoo, and linux this far 'in' any help would be
 greatly appreciated.  I just finished the base install and figured this
 would be nice to help speed along compiling the rest of the system.

 I'm a little lost where to start and where I might have gone wrong.

 Any pointers to steer me back in the right direction?

Are we talking about cross-compile too? What are the arches of your gentoo 
boxes?Tell us more about your configuration. Arches, who is compiling the 
packages for whom etc. :)

-- 
Markos Chandras



Re: [gentoo-user] distcc problems

2008-11-03 Thread Daryl Styrk
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Markos Chandras wrote:
 On Monday 03 November 2008 21:10:37 Daryl Styrk wrote:
 I thought I had everything set up correctly but apparently not.

 distccd[6820] (doc_execvp) ERROR: failed to exec x86_64-pc-linux-gnu-gcc

 : No such file or directory

 distccd[1246] ERROR: compile args.c on 10.0.1.8 failed with exit code 110
 make: *** [args.o] Error 110
 *
 * ERROR: dev-util/ctags-5.7 failed.
 * Call stack:
 *ebuild.sh, line 49: Called src_compile
 *environment, line 2107: Called die
 *The specific snippet of code:
 *emake || die emake failed
 * The die message:
 *  emake failed

 I'm pretty new to gentoo, and linux this far 'in' any help would be
 greatly appreciated.  I just finished the base install and figured this
 would be nice to help speed along compiling the rest of the system.

 I'm a little lost where to start and where I might have gone wrong.

 Any pointers to steer me back in the right direction?
 
 Are we talking about cross-compile too? What are the arches of your gentoo 
 boxes?Tell us more about your configuration. Arches, who is compiling the 
 packages for whom etc. :)
 

Sorry,
I would like to compile packages for gentoo.

Gentoo
uname -a
2.6.25-gentoo-r7 #1 SMP x86_64 Intel Core 2 Duo CPU T7500 @ 2.20GHz
gcc -v 4.1.2

Ubuntu 8.04
uname -a
2.6.25-21-generic #1 SMP x86_64 Intel Core 2 Duo CPU T550 @ 1.83GHz
gcc -v 4.2.4 (ubuntu 4.2.4-1ubuntu3)

some further reading looks like not having matching gcc versions will be
problematic and makes sense.

Could that be the exit code 110?

Any other system information needed?


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJD1j8ejxzjThnMmIRAuLBAJwK7u1XDKPuHpd8DqarlIItkCJvLQCeJFK9
qlysWBrdD7pcZpw49DOQy9Q=
=1VAk
-END PGP SIGNATURE-



Re: [gentoo-user] distcc problems

2008-11-03 Thread Markos Chandras
On Monday 03 November 2008 22:03:08 Daryl Styrk wrote:
 Markos Chandras wrote:
  On Monday 03 November 2008 21:10:37 Daryl Styrk wrote:
  I thought I had everything set up correctly but apparently not.
 
  distccd[6820] (doc_execvp) ERROR: failed to exec x86_64-pc-linux-gnu-gcc
 
  : No such file or directory
 
  distccd[1246] ERROR: compile args.c on 10.0.1.8 failed with exit code
  110 make: *** [args.o] Error 110
  *
  * ERROR: dev-util/ctags-5.7 failed.
  * Call stack:
  *  ebuild.sh, line 49: Called src_compile
  *  environment, line 2107: Called die
  *The specific snippet of code:
  *  emake || die emake failed
  * The die message:
  *  emake failed
 
  I'm pretty new to gentoo, and linux this far 'in' any help would be
  greatly appreciated.  I just finished the base install and figured this
  would be nice to help speed along compiling the rest of the system.
 
  I'm a little lost where to start and where I might have gone wrong.
 
  Any pointers to steer me back in the right direction?
 
  Are we talking about cross-compile too? What are the arches of your
  gentoo boxes?Tell us more about your configuration. Arches, who is
  compiling the packages for whom etc. :)

 Sorry,
 I would like to compile packages for gentoo.

 Gentoo
 uname -a
 2.6.25-gentoo-r7 #1 SMP x86_64 Intel Core 2 Duo CPU T7500 @ 2.20GHz
 gcc -v 4.1.2

 Ubuntu 8.04
 uname -a
 2.6.25-21-generic #1 SMP x86_64 Intel Core 2 Duo CPU T550 @ 1.83GHz
 gcc -v 4.2.4 (ubuntu 4.2.4-1ubuntu3)

 some further reading looks like not having matching gcc versions will be
 problematic and makes sense.

 Could that be the exit code 110?

 Any other system information needed?

Tricky one. I couldnt do the same with gentoo+debian. You can find both gcc 
versions by running gcc -v . You might want to read [1] and [2] about distcc 
on debian and gentoo

[1] http://www.gentoo.org/doc/en/distcc.xml
[2] http://www.debian-administration.org/articles/112

-- 
Markos Chandras



Re: [gentoo-user] Distcc problems...

2007-10-13 Thread William Kenworthy
all my systems running distcc are missing a few links to compilers in
the distcc directories.  Seemed to vary across systems.

one was a link to cc (found when compiling ccze for instance) but it was
always one of the less common calls.

The fix was to create a symlink to the generic version.

Check out /usr/lib/distcc/bin/ distcc and /usr/lib/ccache/bin/ if you
are using ccache for missing flavours of gcc.

Billk

On Fri, 2007-10-12 at 17:33 -0500, Dan Farrell wrote:
 On Fri, 12 Oct 2007 18:26:26 -0400
 Jerry McBride [EMAIL PROTECTED] wrote:
 
  
  
  I've identified a few packages that simply will not compile when
  distcc is being used.
  
  Has anyone noticed problems with; ncurses, groff or libpcre? 
  
  I'm thinking about modifying /etc/portage/bashrc to detect a new file
  named /etc/portage/package.distcc that will turn off distcc for
  each package listed. Maybe even honor a custom make option -j for
  listed packaged too.
  
  Would anyone else find this useful?
  
  
  --
  
  Jerry McBride
 I have found the same thing.  
 I don't know the specific packages, but it seems to be true.
-- 
William Kenworthy [EMAIL PROTECTED]
Home in Perth!
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Distcc problems...

2007-10-13 Thread Jerry McBride
On Fri, 12 Oct 2007 19:37:21 -0500
Tim [EMAIL PROTECTED] wrote:

 Jerry McBride wrote:
  
  I've identified a few packages that simply will not compile when
  distcc is being used.
  
  Has anyone noticed problems with; ncurses, groff or libpcre? 
  
  I'm thinking about modifying /etc/portage/bashrc to detect a new
  file named /etc/portage/package.distcc that will turn off distcc for
  each package listed. Maybe even honor a custom make option -j for
  listed packaged too.
  
  Would anyone else find this useful?
  
  
  --
  
  Jerry McBride
 
 I just recompiled ncurses with seven distcc slaves and am currently
 working on groff and libpcre with no problems so far.
 
 Are you sure that all the participating machines have the same
 versions of gcc, CHOST, and CFLAGS? Often a small error in one or
 more of these settings can completely ruin a compile.

I'm positive. I've spent hours on this so far and I can recreate the
failures without error... Sorry, just some humor there...

-- 




Jerry McBride

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Distcc problems...

2007-10-12 Thread Jerry McBride


I've identified a few packages that simply will not compile when distcc
is being used.

Has anyone noticed problems with; ncurses, groff or libpcre? 

I'm thinking about modifying /etc/portage/bashrc to detect a new file
named /etc/portage/package.distcc that will turn off distcc for
each package listed. Maybe even honor a custom make option -j for
listed packaged too.

Would anyone else find this useful?


--

Jerry McBride
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Distcc problems...

2007-10-12 Thread Tim
Jerry McBride wrote:
 
 I've identified a few packages that simply will not compile when distcc
 is being used.
 
 Has anyone noticed problems with; ncurses, groff or libpcre? 
 
 I'm thinking about modifying /etc/portage/bashrc to detect a new file
 named /etc/portage/package.distcc that will turn off distcc for
 each package listed. Maybe even honor a custom make option -j for
 listed packaged too.
 
 Would anyone else find this useful?
 
 
 --
 
 Jerry McBride

I just recompiled ncurses with seven distcc slaves and am currently
working on groff and libpcre with no problems so far.

Are you sure that all the participating machines have the same versions
of gcc, CHOST, and CFLAGS? Often a small error in one or more of these
settings can completely ruin a compile.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Distcc problems...

2007-10-12 Thread Dan Farrell
On Fri, 12 Oct 2007 18:26:26 -0400
Jerry McBride [EMAIL PROTECTED] wrote:

 
 
 I've identified a few packages that simply will not compile when
 distcc is being used.
 
 Has anyone noticed problems with; ncurses, groff or libpcre? 
 
 I'm thinking about modifying /etc/portage/bashrc to detect a new file
 named /etc/portage/package.distcc that will turn off distcc for
 each package listed. Maybe even honor a custom make option -j for
 listed packaged too.
 
 Would anyone else find this useful?
 
 
 --
 
 Jerry McBride
I have found the same thing.  
I don't know the specific packages, but it seems to be true.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Distcc problems...

2007-10-12 Thread Tim
Dan Farrell wrote:
 On Fri, 12 Oct 2007 18:26:26 -0400
 Jerry McBride [EMAIL PROTECTED] wrote:
 

 I've identified a few packages that simply will not compile when
 distcc is being used.

 Has anyone noticed problems with; ncurses, groff or libpcre? 

 I'm thinking about modifying /etc/portage/bashrc to detect a new file
 named /etc/portage/package.distcc that will turn off distcc for
 each package listed. Maybe even honor a custom make option -j for
 listed packaged too.

 Would anyone else find this useful?


 --

 Jerry McBride
 I have found the same thing.  
 I don't know the specific packages, but it seems to be true.
There are some packages (IIRC qt and OOo are some examples) that will
not compile with distcc; however, these packages already filter -jN (N 
1) flags.
-- 
[EMAIL PROTECTED] mailing list