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.

Reply via email to