public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Portage not longer 'sourcing' make.conf
@ 2002-12-20 11:25 Pat Double
  2002-12-21 10:53 ` Christian Skarby
  2002-12-22  3:16 ` [gentoo-dev] " Paul
  0 siblings, 2 replies; 5+ messages in thread
From: Pat Double @ 2002-12-20 11:25 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It appears that portage is no longer sourcing make.conf before doing an 
ebuild, although I'm not sure that it ever did. I added in make.conf the 
necessary environment vars to enable distcc:

DISTCC_HOSTS
CC
CXX
MAKEOPTS

and until 2.0.45-r5 (I think, possibly -r3 or -r4) this worked great. Now it 
does not. Has some behavior changed? I would really like to be able to 
specify things like this in make.conf instead of in the shell before running 
emerge.

Thanks.

- -- 
Pat Double, double@inebraska.com
"In the beginning God created the heaven and the earth."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Av4ZdOmLNuoWoKgRAlI+AJ48Wx3cmC2O6uA4nG9zpszFj+hTyACgjLqS
a69N1HXIjGQWUDDAoLnVpIM=
=sm7d
-----END PGP SIGNATURE-----


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] Portage not longer 'sourcing' make.conf
  2002-12-20 11:25 [gentoo-dev] Portage not longer 'sourcing' make.conf Pat Double
@ 2002-12-21 10:53 ` Christian Skarby
  2002-12-21 16:06   ` Henti Smith
  2002-12-22  3:16 ` [gentoo-dev] " Paul
  1 sibling, 1 reply; 5+ messages in thread
From: Christian Skarby @ 2002-12-21 10:53 UTC (permalink / raw
  To: double; +Cc: gentoo-dev

Interesting ... :)

I would be interested in the answer to this.

regards,
Christian

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> It appears that portage is no longer sourcing make.conf before doing an
> ebuild, although I'm not sure that it ever did. I added in make.conf the
>  necessary environment vars to enable distcc:
>
> DISTCC_HOSTS
> CC
> CXX
> MAKEOPTS
>
> and until 2.0.45-r5 (I think, possibly -r3 or -r4) this worked great.
> Now it  does not. Has some behavior changed? I would really like to be
> able to  specify things like this in make.conf instead of in the shell
> before running  emerge.
>
> Thanks.
>
> - --
> Pat Double, double@inebraska.com
> "In the beginning God created the heaven and the earth."
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
>
> iD8DBQE+Av4ZdOmLNuoWoKgRAlI+AJ48Wx3cmC2O6uA4nG9zpszFj+hTyACgjLqS
> a69N1HXIjGQWUDDAoLnVpIM=
> =sm7d
> -----END PGP SIGNATURE-----
>
>
> --
> gentoo-dev@gentoo.org mailing list




--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] Portage not longer 'sourcing' make.conf
  2002-12-21 10:53 ` Christian Skarby
@ 2002-12-21 16:06   ` Henti Smith
  2002-12-21 16:53     ` Markus Wagner
  0 siblings, 1 reply; 5+ messages in thread
From: Henti Smith @ 2002-12-21 16:06 UTC (permalink / raw
  To: Christian Skarby; +Cc: double, gentoo-dev

On Sat, 21 Dec 2002 11:53:26 +0100 (CET)
"Christian Skarby" <christian@skarby.no> wrote:

> > It appears that portage is no longer sourcing make.conf before doing an
> > ebuild, although I'm not sure that it ever did. I added in make.conf the
> >  necessary environment vars to enable distcc:
> >
> > DISTCC_HOSTS
> > CC
> > CXX
> > MAKEOPTS

Very intrerresting for myself 

I just added distcc to all my machiens and tried adding lines to make.conf to get distcc to work as it should.
I never got it working and have since abandoned the effort.

Can you send me the details of what to add to make.conf and how to test to see if this acually works.
I think I might have had incorrect settings in make.conf 

Henti 

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] Portage not longer 'sourcing' make.conf
  2002-12-21 16:06   ` Henti Smith
@ 2002-12-21 16:53     ` Markus Wagner
  0 siblings, 0 replies; 5+ messages in thread
From: Markus Wagner @ 2002-12-21 16:53 UTC (permalink / raw
  To: gentoo-dev

Hi!



On Saturday 21 December 2002 17:06, Henti Smith wrote:
> Can you send me the details of what to add to make.conf and how to test
> to see if this acually works. I think I might have had incorrect
> settings in make.conf

distcc works fine here on my two boxes (called alpha and beta).

make.conf on alpha:
------------------------------------
MAKEOPTS="-j4"
CC="ccache distcc gcc"
CXX="ccache distcc g++"
DISTCC_HOSTS="alpha beta"
------------------------------------

make.conf on beta:
------------------------------------
MAKEOPTS="-j4"
CC="ccache distcc gcc"
CXX="ccache distcc g++"
DISTCC_HOSTS="beta alpha"
------------------------------------

But make sure that distccd is running on every box listed in DISTCC_HOSTS!

HTH,
Markus

-- 
Woah... I did a "cat /boot/vmlinuz >> /dev/dsp" 
and I think I heard god.


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-dev] Re: Portage not longer 'sourcing' make.conf
  2002-12-20 11:25 [gentoo-dev] Portage not longer 'sourcing' make.conf Pat Double
  2002-12-21 10:53 ` Christian Skarby
@ 2002-12-22  3:16 ` Paul
  1 sibling, 0 replies; 5+ messages in thread
From: Paul @ 2002-12-22  3:16 UTC (permalink / raw
  To: Pat Double; +Cc: gentoo-dev

Pat Double <double@inebraska.com>, on Fri Dec 20, 2002 [05:25:12 AM] said:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> It appears that portage is no longer sourcing make.conf before doing an 
> ebuild, although I'm not sure that it ever did. I added in make.conf the 
> necessary environment vars to enable distcc:
> 
> DISTCC_HOSTS
> CC
> CXX
> MAKEOPTS
> 
> and until 2.0.45-r5 (I think, possibly -r3 or -r4) this worked great. Now it 
> does not. Has some behavior changed? I would really like to be able to 
> specify things like this in make.conf instead of in the shell before running 
> emerge.
> 
> Thanks.
> 
> - -- 
> Pat Double, double@inebraska.com

	Possible reason:
	Later gcc ebuilds added CC and CXX to
/etc/env.d/05gcc* . This ends up killing those settings in
/etc/make.conf. You can set them in 05gcc, but then you
will not be able to override them on the command line
when distcc chokes. (which it has for me compiling gcc,
glibc, and binutils) I am not convinced of the utility
of setting CC and CXX in env.d, so I just axe that
and keep the settings in make.conf
	Remember to run env-update after you alter
stuff in env.d

Paul
set@pobox.com

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-12-22  3:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-20 11:25 [gentoo-dev] Portage not longer 'sourcing' make.conf Pat Double
2002-12-21 10:53 ` Christian Skarby
2002-12-21 16:06   ` Henti Smith
2002-12-21 16:53     ` Markus Wagner
2002-12-22  3:16 ` [gentoo-dev] " Paul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox