Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread Tanstaafl
On 2010-04-17 6:29 PM, Tanstaafl wrote:
 On 2010-04-17 6:06 PM, Vincent Launchbury wrote:
 On 04/17/10 17:09, Tanstaafl wrote:
 On 2010-04-17 4:59 PM, Tanstaafl wrote:
 emerge system -gcc (where '-gcc' serves to tell portage to compile
 everything *but* gcc)?
 
 Of course I meant:

 emerge -e system -gcc
 
 You could try temporarily masking it:
 #echo sys-devel/gcc  /etc/portage/package.mask

 Then updating:
 #emerge -e system

 Then removing the mask:
 #sed -i '$d' /etc/portage/package.mask

 I don't know of any emerge flag that does this in one step.
 
 Hmmm, good idea, thanks Vincent...

Crap, doesn't look like this will work...

After masking gcc (and glibc - same argument there), I get:

emerge -pev world

snip

Total: 351 packages (351 reinstalls), Size of downloads: 5 kB
Portage tree and overlays:
 [0] /usr/portage
 [?] indicates that the source repository could not be determined

!!! The following installed packages are masked:
- sys-devel/gcc-4.1.2 (masked by: package.mask)
- sys-libs/glibc-2.10.1-r1 (masked by: package.mask)
- sys-devel/gcc-4.3.4 (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


!!! All ebuilds that could satisfy sys-devel/gcc:4.1 have been masked.
!!! One of the following masked packages is required to complete your
request:
- sys-devel/gcc-4.1.2 (masked by: package.mask)


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


!!! All ebuilds that could satisfy sys-devel/gcc have been masked.
!!! One of the following masked packages is required to complete your
request:
- sys-devel/gcc-4.4.3 (masked by: package.mask, ~amd64 keyword)
- sys-devel/gcc-4.4.2 (masked by: package.mask, ~amd64 keyword)
- sys-devel/gcc-4.4.1 (masked by: package.mask, ~amd64 keyword)
- sys-devel/gcc-4.3.4 (masked by: package.mask)
- sys-devel/gcc-4.3.3-r2 (masked by: package.mask, ~amd64 keyword)
- sys-devel/gcc-4.3.2-r4 (masked by: package.mask, ~amd64 keyword)
- sys-devel/gcc-4.3.2-r3 (masked by: package.mask)
- sys-devel/gcc-4.2.4-r1 (masked by: package.mask, ~amd64 keyword)
- sys-devel/gcc-4.1.2 (masked by: package.mask)
- sys-devel/gcc-4.0.4 (masked by: package.mask, missing keyword)
- sys-devel/gcc-3.4.6-r2 (masked by: package.mask)
- sys-devel/gcc-3.3.6-r1 (masked by: package.mask, ~amd64 keyword)
- sys-devel/gcc-3.2.3-r4 (masked by: package.mask, missing keyword)
- sys-devel/gcc-3.2.2 (masked by: package.mask, missing keyword)
- sys-devel/gcc-3.1.1-r2 (masked by: package.mask, missing keyword)
- sys-devel/gcc-2.95.3-r10 (masked by: package.mask, missing keyword)
- sys-devel/gcc-2.95.3-r9 (masked by: package.mask, missing keyword)


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


!!! All ebuilds that could satisfy sys-libs/glibc have been masked.
!!! One of the following masked packages is required to complete your
request:
- sys-libs/glibc-2.11-r1 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.11 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.10.1-r1 (masked by: package.mask)
- sys-libs/glibc-2.10.1 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.9_p20081201-r3 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.9_p20081201-r2 (masked by: package.mask)
- sys-libs/glibc-2.8_p20080602-r1 (masked by: package.mask)
- sys-libs/glibc-2.7-r2 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.6.1 (masked by: package.mask)
- sys-libs/glibc-2.5.1 (masked by: package.mask, missing keyword)
- sys-libs/glibc-2.5-r4 (masked by: package.mask)
- sys-libs/glibc-2.2.5-r10 (masked by: profile, package.mask, missing
keyword)


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


!!! All ebuilds that could satisfy virtual/libc have been masked.
!!! One of the following masked packages is required to complete your
request:
- sys-libs/glibc-2.11-r1 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.11 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.10.1-r1 (masked by: package.mask)
- sys-libs/glibc-2.10.1 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.9_p20081201-r3 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.9_p20081201-r2 (masked by: package.mask)
- sys-libs/glibc-2.8_p20080602-r1 (masked by: package.mask)
- sys-libs/glibc-2.7-r2 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.6.1 (masked by: package.mask)
- sys-libs/glibc-2.5.1 (masked by: package.mask, missing keyword)
- sys-libs/glibc-2.5-r4 (masked by: package.mask)
- sys-libs/glibc-2.2.5-r10 (masked by: profile, package.mask, missing
keyword)


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

myhost : Sun Apr 18, 10:56:51 : ~
#

Any other ideas?

-- 

Charles



Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread Johannes Kimmel

Tanstaafl wrote:

On 2010-04-17 6:29 PM, Tanstaafl wrote:

On 2010-04-17 6:06 PM, Vincent Launchbury wrote:

On 04/17/10 17:09, Tanstaafl wrote:

On 2010-04-17 4:59 PM, Tanstaafl wrote:

emerge system -gcc (where '-gcc' serves to tell portage to compile
everything *but* gcc)?

Of course I meant:

emerge -e system -gcc

You could try temporarily masking it:
#echo sys-devel/gcc  /etc/portage/package.mask

Then updating:
#emerge -e system

Then removing the mask:
#sed -i '$d' /etc/portage/package.mask

I don't know of any emerge flag that does this in one step.

Hmmm, good idea, thanks Vincent...


Crap, doesn't look like this will work...

After masking gcc (and glibc - same argument there), I get:

emerge -pev world

snip

Total: 351 packages (351 reinstalls), Size of downloads: 5 kB
Portage tree and overlays:
 [0] /usr/portage
 [?] indicates that the source repository could not be determined

!!! The following installed packages are masked:
- sys-devel/gcc-4.1.2 (masked by: package.mask)
- sys-libs/glibc-2.10.1-r1 (masked by: package.mask)
- sys-devel/gcc-4.3.4 (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


!!! All ebuilds that could satisfy sys-devel/gcc:4.1 have been masked.
!!! One of the following masked packages is required to complete your
request:
- sys-devel/gcc-4.1.2 (masked by: package.mask)


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


!!! All ebuilds that could satisfy sys-devel/gcc have been masked.
!!! One of the following masked packages is required to complete your
request:
- sys-devel/gcc-4.4.3 (masked by: package.mask, ~amd64 keyword)
- sys-devel/gcc-4.4.2 (masked by: package.mask, ~amd64 keyword)
- sys-devel/gcc-4.4.1 (masked by: package.mask, ~amd64 keyword)
- sys-devel/gcc-4.3.4 (masked by: package.mask)
- sys-devel/gcc-4.3.3-r2 (masked by: package.mask, ~amd64 keyword)
- sys-devel/gcc-4.3.2-r4 (masked by: package.mask, ~amd64 keyword)
- sys-devel/gcc-4.3.2-r3 (masked by: package.mask)
- sys-devel/gcc-4.2.4-r1 (masked by: package.mask, ~amd64 keyword)
- sys-devel/gcc-4.1.2 (masked by: package.mask)
- sys-devel/gcc-4.0.4 (masked by: package.mask, missing keyword)
- sys-devel/gcc-3.4.6-r2 (masked by: package.mask)
- sys-devel/gcc-3.3.6-r1 (masked by: package.mask, ~amd64 keyword)
- sys-devel/gcc-3.2.3-r4 (masked by: package.mask, missing keyword)
- sys-devel/gcc-3.2.2 (masked by: package.mask, missing keyword)
- sys-devel/gcc-3.1.1-r2 (masked by: package.mask, missing keyword)
- sys-devel/gcc-2.95.3-r10 (masked by: package.mask, missing keyword)
- sys-devel/gcc-2.95.3-r9 (masked by: package.mask, missing keyword)


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


!!! All ebuilds that could satisfy sys-libs/glibc have been masked.
!!! One of the following masked packages is required to complete your
request:
- sys-libs/glibc-2.11-r1 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.11 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.10.1-r1 (masked by: package.mask)
- sys-libs/glibc-2.10.1 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.9_p20081201-r3 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.9_p20081201-r2 (masked by: package.mask)
- sys-libs/glibc-2.8_p20080602-r1 (masked by: package.mask)
- sys-libs/glibc-2.7-r2 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.6.1 (masked by: package.mask)
- sys-libs/glibc-2.5.1 (masked by: package.mask, missing keyword)
- sys-libs/glibc-2.5-r4 (masked by: package.mask)
- sys-libs/glibc-2.2.5-r10 (masked by: profile, package.mask, missing
keyword)


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


!!! All ebuilds that could satisfy virtual/libc have been masked.
!!! One of the following masked packages is required to complete your
request:
- sys-libs/glibc-2.11-r1 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.11 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.10.1-r1 (masked by: package.mask)
- sys-libs/glibc-2.10.1 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.9_p20081201-r3 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.9_p20081201-r2 (masked by: package.mask)
- sys-libs/glibc-2.8_p20080602-r1 (masked by: package.mask)
- sys-libs/glibc-2.7-r2 (masked by: package.mask, ~amd64 keyword)
- sys-libs/glibc-2.6.1 (masked by: package.mask)
- sys-libs/glibc-2.5.1 (masked by: package.mask, missing keyword)
- sys-libs/glibc-2.5-r4 (masked by: package.mask)
- sys-libs/glibc-2.2.5-r10 (masked by: profile, package.mask, missing
keyword)


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

myhost : Sun Apr 18, 10:56:51 : ~
#

Any other ideas?



well... you could use --keep-going and kill something when 

Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread Arttu V.
On 4/18/10, Tanstaafl tansta...@libertytrek.org wrote:
 You could try temporarily masking it:
 #echo sys-devel/gcc  /etc/portage/package.mask

 Then updating:
 #emerge -e system

 Then removing the mask:
 #sed -i '$d' /etc/portage/package.mask

 I don't know of any emerge flag that does this in one step.

 Hmmm, good idea, thanks Vincent...

 Crap, doesn't look like this will work...
snip/

 Any other ideas?

A guess: try it with package.provided instead of package.mask. See the
section on portage man page. The syntax for package.provided requires
a full version atom (e.g., sys-devel/gcc-4.4.3-r1), but this approach
might not interfere with dep tree calculations like masking does.

-- 
Arttu V.



Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread Tanstaafl
On 2010-04-18 11:45 AM, Johannes Kimmel wrote:
 well... you could use --keep-going and kill something when gcc compiles.
 not very nice, but will work without breaking anything.

Dang - I already started the emerge...

I'm surprised there's no easy way to do this... I guess just because you
don't do this very often, and most people just live with the triple
compiles of 2 versions of gcc?

Anyway, --keep-going option has been noted for future reference...

Thanks Johannes...

-- 

Charles



Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread Tanstaafl
On 2010-04-18 11:54 AM, Arttu V. wrote:
 On 4/18/10, Tanstaafl tansta...@libertytrek.org wrote:
 You could try temporarily masking it:
 #echo sys-devel/gcc  /etc/portage/package.mask

 Then updating:
 #emerge -e system

 Then removing the mask:
 #sed -i '$d' /etc/portage/package.mask

 I don't know of any emerge flag that does this in one step.

 Hmmm, good idea, thanks Vincent...

 Crap, doesn't look like this will work...
 snip/

 Any other ideas?

 A guess: try it with package.provided instead of package.mask. See the
 section on portage man page. The syntax for package.provided requires
 a full version atom (e.g., sys-devel/gcc-4.4.3-r1), but this approach
 might not interfere with dep tree calculations like masking does.

Noted for future reference as well Arttu, thanks... if it works I won't
have to sit there and watch for the gcc compiles...

-- 

Charles



Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread Tanstaafl
On 2010-04-18 11:57 AM, Tanstaafl wrote:
 On 2010-04-18 11:45 AM, Johannes Kimmel wrote:
 well... you could use --keep-going and kill something when gcc compiles.
 not very nice, but will work without breaking anything.

Hmmm... clarification though... when you say 'kill something'... how
would I kill just that one gcc emerge? Ctrl-c would kill the entire
emerge session...

-- 

Charles



Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread YoYo siska
On Sun, Apr 18, 2010 at 11:57:48AM -0400, Tanstaafl wrote:
 On 2010-04-18 11:45 AM, Johannes Kimmel wrote:
  well... you could use --keep-going and kill something when gcc compiles.
  not very nice, but will work without breaking anything.
 
 Dang - I already started the emerge...

You can still break the emerge (for example with ctrl-c) when it starts
to emerge gcc, the continue the emerge process with  emerge --resume --skipfirst


that's what I usually do with openoffice and similar apps when I do a quick 
update
and fail to notice the large app in there.. ;)

yoyo





Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread Tanstaafl
On 2010-04-18 12:29 PM, YoYo siska wrote:
 On Sun, Apr 18, 2010 at 11:57:48AM -0400, Tanstaafl wrote:
 On 2010-04-18 11:45 AM, Johannes Kimmel wrote:
 well... you could use --keep-going and kill something when gcc
 compiles. not very nice, but will work without breaking
 anything.

 Dang - I already started the emerge...

 You can still break the emerge (for example with ctrl-c) when it
 starts to emerge gcc, the continue the emerge process with emerge
 --resume --skipfirst

To clarify - I can do this with the currently running emerge (that did
not specify --keep-going)?

So, when it gets to gcc (its on package # 181 of 355 now, hasn't hit
either of the gcc's or glibc yet), hit ctrl-c, then:

emerge --resume --skipfirst

? Do I need to add the -ev world in there? Or does emerge just know
where to pick up all by itself?

This is good info to have.

Also - is it ok to do this during the actual compile? Or do I need to
catch it before the actual compiling starts?

 that's what I usually do with openoffice and similar apps when I do a
 quick update and fail to notice the large app in there.. ;)

Many thanks YoYo - this could save me a lot of time this afternoon!

:)

-- 

Charles



Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread YoYo siska
On Sat, Apr 17, 2010 at 04:59:07PM -0400, Tanstaafl wrote:
 Is there a way to emerge, say, system, but omit one package in it?
 
 For example, I've already recompiled gcc 4.3.4 with itself... is there a
 way to now do something like:
 
 emerge system -gcc (where '-gcc' serves to tell portage to compile
 everything *but* gcc)?
 
 Its not a big deal, I'm just curious...
 
 -- 
 
 Charles
 



You can do something like:

emerge -pe world | sed -e /^.ebuild/ ! d; s/.*] /=/; s/ .*//;   list

... edit list and remove anything you don't want to reinstall ...

emerge -av1 `cat list`

the -1 (or  --oneshot), means that the packages won't be added to the world
file (they would normally because you are listing them all on the
commandline)


yoyo




Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread YoYo siska
On Sun, Apr 18, 2010 at 12:52:26PM -0400, Tanstaafl wrote:
 On 2010-04-18 12:29 PM, YoYo siska wrote:
  On Sun, Apr 18, 2010 at 11:57:48AM -0400, Tanstaafl wrote:
  On 2010-04-18 11:45 AM, Johannes Kimmel wrote:
  well... you could use --keep-going and kill something when gcc
  compiles. not very nice, but will work without breaking
  anything.
 
  Dang - I already started the emerge...
 
  You can still break the emerge (for example with ctrl-c) when it
  starts to emerge gcc, the continue the emerge process with emerge
  --resume --skipfirst
 
 To clarify - I can do this with the currently running emerge (that did
 not specify --keep-going)?
 
 So, when it gets to gcc (its on package # 181 of 355 now, hasn't hit
 either of the gcc's or glibc yet), hit ctrl-c, then:
 
 emerge --resume --skipfirst
 
 ? Do I need to add the -ev world in there? Or does emerge just know
 where to pick up all by itself?
 
yes, it knows what the last emerge was, so you just say --resume
but if you do another emerge in between, it will forget the previous 
interrupted one

--resume just resumes the last interrupted (or failed) emerge , starting with 
the package that was interrupted,
so that you can fix the problem if it was a compilation failure, and then 
continue... no need to give
any special args to the first emerge.

--skipfirst makes it skip the first  package - the one that was interrupted
handy when the emerge fails on a packages that isn't a depency of something 
other, you can just skip it then,
very much like  a manual  --keep-going ;)

 This is good info to have.
 
 Also - is it ok to do this during the actual compile? Or do I need to
 catch it before the actual compiling starts?

you can break it whenever you want.. --resume than starts the package
again from beginning so you  just waste the time/work it allready did... 
which does not really matter if you are going to do  --skipfirst ;)


yoyo





Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread Vincent Launchbury
On 04/18/10 11:00, Tanstaafl wrote:
 Crap, doesn't look like this will work...
 
 After masking gcc (and glibc - same argument there), I get:
 
 emerge -pev world

snip

 !!! All ebuilds that could satisfy virtual/libc have been masked.
 !!! One of the following masked packages is required to complete your
 request:
 - sys-libs/glibc-2.11-r1 (masked by: package.mask, ~amd64 keyword)
 - sys-libs/glibc-2.11 (masked by: package.mask, ~amd64 keyword)
snip
 For more information, see the MASKED PACKAGES section in the emerge
 man page or refer to the Gentoo Handbook.
 
 myhost : Sun Apr 18, 10:56:51 : ~
 #
 
 Any other ideas?

This is normal, it's informing you that those packages are masked, but
not actually blocking the other updates. If you do:

#emerge -e world -av

i.e ask instead of pretend, it will output those warnings, and then ask
you if you want to proceed with updating the rest. I'm using the
unstable portage, but I'm pretty sure it's worked like this for quite a
while on the stable branch too.

Good luck :).



Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread Tanstaafl
On 2010-04-18 1:11 PM, Vincent Launchbury wrote:
 On 04/18/10 11:00, Tanstaafl wrote:
 Crap, doesn't look like this will work...
 
 After masking gcc (and glibc - same argument there), I get:
 
 emerge -pev world
 snip
 
 !!! All ebuilds that could satisfy virtual/libc have been masked.
 !!! One of the following masked packages is required to complete your
 request:
 - sys-libs/glibc-2.11-r1 (masked by: package.mask, ~amd64 keyword)
 - sys-libs/glibc-2.11 (masked by: package.mask, ~amd64 keyword)
 snip
 For more information, see the MASKED PACKAGES section in the emerge
 man page or refer to the Gentoo Handbook.
 
 myhost : Sun Apr 18, 10:56:51 : ~
 #
 
 Any other ideas?

 This is normal, it's informing you that those packages are masked, but
 not actually blocking the other updates. If you do:
 
 #emerge -e world -av
 
 i.e ask instead of pretend, it will output those warnings, and then ask
 you if you want to proceed with updating the rest.

Well of all the... !

:) Thanks Vincent... I guess that makes sense. The way those errors were
formatted though, it resembled the [B] blocking errors I've encountered
in the past, so I thought it meant they needed to be fixed first...

Anyway, I learned a few things (--resume --skipfirst, how to output a
list of packages to a file then emerge them, etc), so it wasn't wasted
bandwidth, for me at least... ;)

Thanks guys...

-- 

Charles



Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread Neil Bothwick
On Sun, 18 Apr 2010 11:00:40 -0400, Tanstaafl wrote:

 After masking gcc (and glibc - same argument there), I get:
 
 emerge -pev world
 
 snip
 
 Total: 351 packages (351 reinstalls), Size of downloads: 5 kB
 Portage tree and overlays:
  [0] /usr/portage
  [?] indicates that the source repository could not be determined
 
 !!! The following installed packages are masked:
 - sys-devel/gcc-4.1.2 (masked by: package.mask)
 - sys-libs/glibc-2.10.1-r1 (masked by: package.mask)
 - sys-devel/gcc-4.3.4 (masked by: package.mask)
 For more information, see the MASKED PACKAGES section in the emerge
 man page or refer to the Gentoo Handbook.

You could put it in /etc/portage/profile/package.provided too, so the
system knows it is there. But what's the big deal anyway, you could have
re-emerge gcc tens of times over in the time this thread has been running.

It's not as though you can't use your computer for other things while gcc
is compiling.


-- 
Neil Bothwick

I couldn't repair your brakes, so I made your horn louder.


signature.asc
Description: PGP signature


Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread Tanstaafl
On 2010-04-18 1:09 PM, YoYo siska wrote:
 On Sun, Apr 18, 2010 at 12:52:26PM -0400, Tanstaafl wrote:
 On 2010-04-18 12:29 PM, YoYo siska wrote:
 On Sun, Apr 18, 2010 at 11:57:48AM -0400, Tanstaafl wrote:
 On 2010-04-18 11:45 AM, Johannes Kimmel wrote:
 well... you could use --keep-going and kill something when gcc
 compiles. not very nice, but will work without breaking
 anything.

 Dang - I already started the emerge...

 You can still break the emerge (for example with ctrl-c) when it
 starts to emerge gcc, the continue the emerge process with emerge
 --resume --skipfirst

Worked a treat, many thanks! Saved me at least an hour of compile time... :)

-- 

Charles



Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread YoYo siska
On Sun, Apr 18, 2010 at 03:54:38PM -0400, Tanstaafl wrote:
 On 2010-04-18 3:49 PM, Tanstaafl wrote:
  On 2010-04-18 1:09 PM, YoYo siska wrote:
  On Sun, Apr 18, 2010 at 12:52:26PM -0400, Tanstaafl wrote:
  On 2010-04-18 12:29 PM, YoYo siska wrote:
  On Sun, Apr 18, 2010 at 11:57:48AM -0400, Tanstaafl wrote:
  On 2010-04-18 11:45 AM, Johannes Kimmel wrote:
  well... you could use --keep-going and kill something when gcc
  compiles. not very nice, but will work without breaking
  anything.
  
  Dang - I already started the emerge...
  
  You can still break the emerge (for example with ctrl-c) when it
  starts to emerge gcc, the continue the emerge process with emerge
  --resume --skipfirst
  
  Worked a treat, many thanks! Saved me at least an hour of compile time... :)
 
 Hmmm... one last question...
 
 Will etc-update still prompt for all necessary changes for config files
 for *all* of the installs done, considering I did ctrl-c 3 times (glibc,
 and both gcc's)?

yes, if new config files got installed, etc-update will show them 
(I think it uses 'find' to find them ;)

yoyo




Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread Tanstaafl
On 2010-04-18 3:57 PM, YoYo siska wrote:
 Will etc-update still prompt for all necessary changes for config
 files for *all* of the installs done, considering I did ctrl-c 3
 times (glibc, and both gcc's)?

 yes, if new config files got installed, etc-update will show them (I
 think it uses 'find' to find them ;)

Yep, I posed the question before the last package was done, but then it
finished, and etc-update went smooth...

Thanks again... and I just read that gcc 4.5 just went gold, so I guess
it won't be all that long before 4.4 is stabilized and I'll have to do
some of this again - but at least I know I may not always have to emerge
-e system/world every time... :)

-- 

Charles



Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread Tanstaafl
On 2010-04-18 1:58 PM, Neil Bothwick wrote:
 On Sun, 18 Apr 2010 11:00:40 -0400, Tanstaafl wrote:
 
 After masking gcc (and glibc - same argument there), I get:

 emerge -pev world

 snip

 Total: 351 packages (351 reinstalls), Size of downloads: 5 kB
 Portage tree and overlays:
  [0] /usr/portage
  [?] indicates that the source repository could not be determined

 !!! The following installed packages are masked:
 - sys-devel/gcc-4.1.2 (masked by: package.mask)
 - sys-libs/glibc-2.10.1-r1 (masked by: package.mask)
 - sys-devel/gcc-4.3.4 (masked by: package.mask)
 For more information, see the MASKED PACKAGES section in the emerge
 man page or refer to the Gentoo Handbook.

 You could put it in /etc/portage/profile/package.provided too, so the
 system knows it is there. But what's the big deal anyway, you could have
 re-emerge gcc tens of times over in the time this thread has been running.
 
 It's not as though you can't use your computer for other things while gcc
 is compiling.

I know, its more an exercise for my own knowledge. I learned a few
things today that will save me time in the future, and every little bit
helps...

Thanks a lot for the feedback...

-- 

Charles



Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread Peter Humphrey
On Sunday 18 April 2010 17:29:12 YoYo siska wrote:

 You can still break the emerge (for example with ctrl-c) when it
 starts to emerge gcc, the continue the emerge process with  emerge
 --resume --skipfirst
 
 that's what I usually do with openoffice and similar apps when I do a
 quick update and fail to notice the large app in there.. ;)

I assume you aren't specifying --jobs=[2,3,4,...]. Very useful 
embellishment of emerge: gets things done in half the time.

-- 
Rgds
Peter.



Re: [gentoo-user] Recompile system but omit package?

2010-04-18 Thread Neil Bothwick
On Sun, 18 Apr 2010 23:36:54 +0100, Peter Humphrey wrote:

 I assume you aren't specifying --jobs=[2,3,4,...]. Very useful 
 embellishment of emerge: gets things done in half the time.

--jobs=2 doubles the number of ebuilds being merged, not the number of
cores in your processor :-O

It is faster, but not by that much, unless you use MAKEOPTS=-j1


-- 
Neil Bothwick

Top Oxymorons Number 22: Childproof


signature.asc
Description: PGP signature


Re: [gentoo-user] Recompile system but omit package?

2010-04-17 Thread Tanstaafl
On 2010-04-17 4:59 PM, Tanstaafl wrote:
 emerge system -gcc (where '-gcc' serves to tell portage to compile
 everything *but* gcc)?

Of course I meant:

emerge -e system -gcc



Re: [gentoo-user] Recompile system but omit package?

2010-04-17 Thread Vincent Launchbury
On 04/17/10 17:09, Tanstaafl wrote:
 On 2010-04-17 4:59 PM, Tanstaafl wrote:
 emerge system -gcc (where '-gcc' serves to tell portage to compile
 everything *but* gcc)?
 
 Of course I meant:
 
 emerge -e system -gcc

You could try temporarily masking it:
#echo sys-devel/gcc  /etc/portage/package.mask

Then updating:
#emerge -e system

Then removing the mask:
#sed -i '$d' /etc/portage/package.mask

I don't know of any emerge flag that does this in one step.

Kind Regards,
Vincent.




Re: [gentoo-user] Recompile system but omit package?

2010-04-17 Thread Tanstaafl
On 2010-04-17 6:06 PM, Vincent Launchbury wrote:
 On 04/17/10 17:09, Tanstaafl wrote:
 On 2010-04-17 4:59 PM, Tanstaafl wrote:
 emerge system -gcc (where '-gcc' serves to tell portage to compile
 everything *but* gcc)?

 Of course I meant:

 emerge -e system -gcc

 You could try temporarily masking it:
 #echo sys-devel/gcc  /etc/portage/package.mask
 
 Then updating:
 #emerge -e system
 
 Then removing the mask:
 #sed -i '$d' /etc/portage/package.mask
 
 I don't know of any emerge flag that does this in one step.

Hmmm, good idea, thanks Vincent...

I just don't see any reason to recompile gcc so many times (system and
then again when I do world), when its already been recompiled with itself...

-- 

Charles