FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 04-17-2010, 09:09 PM
Tanstaafl
 
Default Recompile system but omit package?

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
 
Old 04-17-2010, 10:06 PM
Vincent Launchbury
 
Default Recompile system but omit package?

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.
 
Old 04-17-2010, 10:29 PM
Tanstaafl
 
Default Recompile system but omit package?

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
 
Old 04-18-2010, 03:00 PM
Tanstaafl
 
Default Recompile system but omit package?

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
 
Old 04-18-2010, 03:45 PM
Johannes Kimmel
 
Default Recompile system but omit package?

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 gcc compiles.
not very nice, but will work without breaking anything.
 
Old 04-18-2010, 03:54 PM
"Arttu V."
 
Default Recompile system but omit package?

On 4/18/10, Tanstaafl <tanstaafl@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.
 
Old 04-18-2010, 03:57 PM
Tanstaafl
 
Default Recompile system but omit package?

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
 
Old 04-18-2010, 04:10 PM
Tanstaafl
 
Default Recompile system but omit package?

On 2010-04-18 11:54 AM, Arttu V. wrote:
> On 4/18/10, Tanstaafl <tanstaafl@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
 
Old 04-18-2010, 04:13 PM
Tanstaafl
 
Default Recompile system but omit package?

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
 
Old 04-18-2010, 04:29 PM
YoYo siska
 
Default Recompile system but omit package?

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
 

Thread Tools




All times are GMT. The time now is 01:06 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org