* [gentoo-user] howto recover gcc from another system
@ 2011-02-24 16:54 James
2011-02-24 17:42 ` Dale
` (2 more replies)
0 siblings, 3 replies; 17+ messages in thread
From: James @ 2011-02-24 16:54 UTC (permalink / raw
To: gentoo-user
Hello,
Well running a routine --depclean somehow
I lost the only copy of gcc on the system....
CFLAGS="-march=k8 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
I have a a similar system set like this:
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
Since there is no gcc-bin to emerge (ha ha)
I guess I'll have to copy over the binary of
orsys-devel/gcc-4.4.4-r2 from another system.
GUIDANCE on that is most welcome.
Additionally, this could be prevented by keeping
the latest current stable gcc as well as the
previous current stable gcc on the system,
perhaps via the world file? Or Another method
to ensure at least 2 versions of gcc are
always on a given system?
It's a first time deleting the compiler,
still do not know how it happened, as I
did look over the -p --depclean first....
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "/usr/bin/x86_64-pc-linux-gnu-gcc" is not able to compile a
simple test program.
James
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] howto recover gcc from another system
2011-02-24 16:54 [gentoo-user] howto recover gcc from another system James
@ 2011-02-24 17:42 ` Dale
2011-02-24 18:39 ` [gentoo-user] " james
2011-02-24 18:16 ` [gentoo-user] " Florian Philipp
2011-02-24 19:38 ` [gentoo-user] " Neil Bothwick
2 siblings, 1 reply; 17+ messages in thread
From: Dale @ 2011-02-24 17:42 UTC (permalink / raw
To: gentoo-user
James wrote:
> Hello,
>
> Well running a routine --depclean somehow
> I lost the only copy of gcc on the system....
>
> CFLAGS="-march=k8 -msse3 -O2 -pipe"
> CHOST="x86_64-pc-linux-gnu"
> CXXFLAGS="${CFLAGS}"
>
> I have a a similar system set like this:
>
> CFLAGS="-march=k8 -O2 -pipe"
> CHOST="x86_64-pc-linux-gnu"
> CXXFLAGS="${CFLAGS}"
>
>
> Since there is no gcc-bin to emerge (ha ha)
> I guess I'll have to copy over the binary of
> orsys-devel/gcc-4.4.4-r2 from another system.
> GUIDANCE on that is most welcome.
>
> Additionally, this could be prevented by keeping
> the latest current stable gcc as well as the
> previous current stable gcc on the system,
> perhaps via the world file? Or Another method
> to ensure at least 2 versions of gcc are
> always on a given system?
>
> It's a first time deleting the compiler,
> still do not know how it happened, as I
> did look over the -p --depclean first....
>
> -- The C compiler identification is unknown
> -- The CXX compiler identification is unknown
> -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
> -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- broken
> CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
> The C compiler "/usr/bin/x86_64-pc-linux-gnu-gcc" is not able to compile a
> simple test program.
>
>
> James
>
>
>
>
I would be glad to email you the binary from mine if it would help.
Here is some info:
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
sys-devel/gcc: 4.4.4-r2
Since it is set to native, I have a AMD X4 955 Deneb 3.2GHz CPU. If you
think it will work, let me know and I'll send you my copy. I promise
not to spit on it first too. lol
Let me know if you need more info.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] howto recover gcc from another system
2011-02-24 16:54 [gentoo-user] howto recover gcc from another system James
2011-02-24 17:42 ` Dale
@ 2011-02-24 18:16 ` Florian Philipp
2011-02-24 19:12 ` [gentoo-user] " James
2011-02-24 19:37 ` james
2011-02-24 19:38 ` [gentoo-user] " Neil Bothwick
2 siblings, 2 replies; 17+ messages in thread
From: Florian Philipp @ 2011-02-24 18:16 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 861 bytes --]
Am 24.02.2011 17:54, schrieb James:
> Hello,
>
> Well running a routine --depclean somehow
> I lost the only copy of gcc on the system....
>
[...]
>
>
> Since there is no gcc-bin to emerge (ha ha)
> I guess I'll have to copy over the binary of
> orsys-devel/gcc-4.4.4-r2 from another system.
> GUIDANCE on that is most welcome.
>
[...]
>
> It's a first time deleting the compiler,
> still do not know how it happened, as I
> did look over the -p --depclean first....
>
This should get you going:
http://www.gossamer-threads.com/lists/gentoo/user/168951?do=post_view_threaded#168951
Was your profile setting messed up? Maybe on an unmounted device?
AFAIK, the system set is defined by your profile. GCC is right in the
"base" file for every profile:
${PORTDIR}/profiles/base/packages
Hope this helps,
Florian Philipp
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-user] Re: howto recover gcc from another system
2011-02-24 17:42 ` Dale
@ 2011-02-24 18:39 ` james
2011-02-24 19:55 ` Dale
0 siblings, 1 reply; 17+ messages in thread
From: james @ 2011-02-24 18:39 UTC (permalink / raw
To: gentoo-user
Dale <rdalek1967 <at> gmail.com> writes:
> > I lost the only copy of gcc on the system....
> I would be glad to email you the binary from mine if it would help.
Dale,
I have several system to copy from (thanks anyway).
Is that all I have to do, just copy over the binary?
then rebuild gcc via the local ebuild package?
(using the copied over binary) that's all?
locate gcc (just a snippet)
/usr/x86_64-pc-linux-gnu/gcc-bin
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2
/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4
/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/c++
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/cpp
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/g++
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gcc
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gccbug
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gcov
/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gfortran
So copy over
/usr/x86_64-pc-linux-gnu/gcc-bin
to the same location only?
Copy over all of them?
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-user] Re: howto recover gcc from another system
2011-02-24 18:16 ` [gentoo-user] " Florian Philipp
@ 2011-02-24 19:12 ` James
2011-02-24 19:37 ` james
1 sibling, 0 replies; 17+ messages in thread
From: James @ 2011-02-24 19:12 UTC (permalink / raw
To: gentoo-user
Florian Philipp <lists <at> binarywings.net> writes:
> This should get you going:
>
http://www.gossamer-threads.com/lists/gentoo/user/168951?do=post_view_threaded#168951
ok, after reading I tried this:
emerge --usepkg gcc
which did not work.....
Can you be more specific on the syntax?
It looks like this thread will prevent accidential
deletion of gcc, in the future, but, I have not
gleaned from the thread, nor from the emerge pages
the correct (syntactically) version of how to
use quickpkg to fix the problem. Do I first
copy over the binary(ies) for gcc from another system?
> Was your profile setting messed up? Maybe on an unmounted device?
> AFAIK, the system set is defined by your profile. GCC is right in the
> "base" file for every profile:
> ${PORTDIR}/profiles/base/packages
[2] default/linux/amd64/10.0/desktop *
No unmounted device, just the internal ide drive
in the laptop.... It was installed back in 2004
so there may be cruft in the laptop, since
it's been dual boot Gentoo XP for a long time.
it's not the first time I've run depclean on
it though.....
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-user] Re: howto recover gcc from another system
2011-02-24 18:16 ` [gentoo-user] " Florian Philipp
2011-02-24 19:12 ` [gentoo-user] " James
@ 2011-02-24 19:37 ` james
1 sibling, 0 replies; 17+ messages in thread
From: james @ 2011-02-24 19:37 UTC (permalink / raw
To: gentoo-user
Florian Philipp <lists <at> binarywings.net> writes:
> > Since there is no gcc-bin to emerge (ha ha)
> > I guess I'll have to copy over the binary of
> > orsys-devel/gcc-4.4.4-r2 from another system.
> > GUIDANCE on that is most welcome.
> [...]
OK, if this the first step, then I'm confused.
/usr/bin has this:
-rwxr-xr-x 1 root root 14512 Jan 14 2010 gcc
lrwxrwxrwx 1 root root 62 Nov 6 14:08 gcc-4.4.4 ->
/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4/x86_64-pc-linux-gnu-gcc
-rwxr-xr-x 1 root root 21709 Sep 22 2009 gcc-config
-rwxr-xr-x 1 root root 14512 Jan 14 2010 x86_64-pc-linux-gnu-gcc
lrwxrwxrwx 1 root root 62 Nov 6 14:08 x86_64-pc-linux-gnu-gcc-4.4.4 ->
/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4/x86_64-pc-linux-gnu-gcc
So can I just rebuild the links, as it is fine
in /usr/bin:
file gcc
gcc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked
(uses shared libs), for GNU/Linux 2.6.9, stripped
Or do I use quickpkg to fix it, since the binary is
in place? (confused here so detail is appreciated!)
I already downloaded gcc-4.4.4 but it will
not build, so the symbolic link being used
is broken?
gcc-config -l
* gcc-config: Active gcc profile is invalid!
[1] x86_64-pc-linux-gnu-4.4.4
I understand that quickpkg can be used
to protect gcc in the future, but, I think
I need to use the /usr/bin binary to rebuild
the links and then the entire (gcc) package
from sources?
confused,
James
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] howto recover gcc from another system
2011-02-24 16:54 [gentoo-user] howto recover gcc from another system James
2011-02-24 17:42 ` Dale
2011-02-24 18:16 ` [gentoo-user] " Florian Philipp
@ 2011-02-24 19:38 ` Neil Bothwick
2011-02-24 21:29 ` [gentoo-user] " James
2 siblings, 1 reply; 17+ messages in thread
From: Neil Bothwick @ 2011-02-24 19:38 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 443 bytes --]
On Thu, 24 Feb 2011 16:54:36 +0000 (UTC), James wrote:
> Since there is no gcc-bin to emerge (ha ha)
> I guess I'll have to copy over the binary of
> orsys-devel/gcc-4.4.4-r2 from another system.
> GUIDANCE on that is most welcome.
quickpkg gcc on the other system, copy the gcc-*.tbz2 package from
$PKGDIR on that to the broken system, then emerge -1k gcc.
--
Neil Bothwick
STATUS QUO is Latin for "the mess we're in."
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: howto recover gcc from another system
2011-02-24 18:39 ` [gentoo-user] " james
@ 2011-02-24 19:55 ` Dale
0 siblings, 0 replies; 17+ messages in thread
From: Dale @ 2011-02-24 19:55 UTC (permalink / raw
To: gentoo-user
james wrote:
> Dale<rdalek1967<at> gmail.com> writes:
>
>
>
>>> I lost the only copy of gcc on the system....
>>>
>
>> I would be glad to email you the binary from mine if it would help.
>>
> Dale,
>
> I have several system to copy from (thanks anyway).
> Is that all I have to do, just copy over the binary?
>
> then rebuild gcc via the local ebuild package?
> (using the copied over binary) that's all?
>
> locate gcc (just a snippet)
>
> /usr/x86_64-pc-linux-gnu/gcc-bin
> /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2
> /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4
> /usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4
> /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/c++
> /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/cpp
> /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/g++
> /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gcc
> /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gccbug
> /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gcov
> /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2/gfortran
>
>
> So copy over
> /usr/x86_64-pc-linux-gnu/gcc-bin
> to the same location only?
>
> Copy over all of them?
>
>
If I recall correctly, you put the binary in
/usr/portage/packages/sys-devel/ and then emerge -Ka
=sys-devel/gcc-4.4.4-r2 and it should just unpack and install gcc. I
have done this before but I was using my own binary that portage made
sure was put in the right place. This also assumes you are using the
portage defaults as to the location of the portage directory and such.
Mine looks like this:
root@fireball / # emerge -Ka =sys-devel/gcc-4.4.4-r2
These are the packages that would be merged, in order:
Calculating dependencies... done!
[binary R ] sys-devel/gcc-4.4.4-r2
Would you like to merge these packages? [Yes/No]
Note it says binary? If it says something else, then there may be a
problem.
It's been a while but I think all that is right.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-user] Re: howto recover gcc from another system
2011-02-24 19:38 ` [gentoo-user] " Neil Bothwick
@ 2011-02-24 21:29 ` James
2011-02-24 23:23 ` Neil Bothwick
2011-02-25 0:36 ` James
0 siblings, 2 replies; 17+ messages in thread
From: James @ 2011-02-24 21:29 UTC (permalink / raw
To: gentoo-user
Neil Bothwick <neil <at> digimed.co.uk> writes:
> > GUIDANCE on that is most welcome.
> quickpkg gcc on the other system,
> copy the gcc-*.tbz2 package from
> $PKGDIR on that to the broken system,
OK I ran 'quickpkg gcc' got this:
ls /usr/portage/packages/sys-devel
gcc-4.1.2.tbz2 gcc-4.1.2.tbz2.28680 gcc-4.3.4.tbz2 gcc-4.4.4-r2.tbz2
now run scp ./*tbz2 <remotehost>://usr/portage/packages/sys-devel
or somewhere in /usr/portage/sys-devel/gcc
(where to copy which *tbz2 file(s) to?
Ignore copying the 'gcc-4.1.2.tbz2.28680' file?
> copy the gcc-*.tbz2 package from
> $PKGDIR on that to the broken system,
> then emerge -1k gcc.
Got this part....
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: howto recover gcc from another system
2011-02-24 21:29 ` [gentoo-user] " James
@ 2011-02-24 23:23 ` Neil Bothwick
2011-02-25 0:36 ` James
1 sibling, 0 replies; 17+ messages in thread
From: Neil Bothwick @ 2011-02-24 23:23 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 939 bytes --]
On Thu, 24 Feb 2011 21:29:50 +0000 (UTC), James wrote:
> > quickpkg gcc on the other system,
> > copy the gcc-*.tbz2 package from
> > $PKGDIR on that to the broken system,
>
> OK I ran 'quickpkg gcc' got this:
>
> ls /usr/portage/packages/sys-devel
> gcc-4.1.2.tbz2 gcc-4.1.2.tbz2.28680 gcc-4.3.4.tbz2 gcc-4.4.4-r2.tbz2
>
> now run scp ./*tbz2 <remotehost>://usr/portage/packages/sys-devel
You only need to copy the file for the version you want to install.
> or somewhere in /usr/portage/sys-devel/gcc
>
> (where to copy which *tbz2 file(s) to?
Copy to /usr/portage/packages/sys-devel, the same location as they are in
on the good system. Unless you have redefined PKGDIR.
> Ignore copying the 'gcc-4.1.2.tbz2.28680' file?
Yes, it looks like a failed attempt to package an old version.
--
Neil Bothwick
Walking on water and writing software to specification is easy if they're
frozen.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-user] Re: howto recover gcc from another system
2011-02-24 21:29 ` [gentoo-user] " James
2011-02-24 23:23 ` Neil Bothwick
@ 2011-02-25 0:36 ` James
2011-02-25 0:50 ` Dale
1 sibling, 1 reply; 17+ messages in thread
From: James @ 2011-02-25 0:36 UTC (permalink / raw
To: gentoo-user
James <wireless <at> tampabay.rr.com> writes:
> > copy the gcc-*.tbz2 package from
> > $PKGDIR on that to the broken system,
> > then emerge -1k gcc.
emergeing gcc now (thanks Neil!)
One last question:
so I've learned the hard way
of the value of quickpkg.
Besides gcc, what is a good list
of critical software to use guickpkg
as to keep backup binaries?
James
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: howto recover gcc from another system
2011-02-25 0:36 ` James
@ 2011-02-25 0:50 ` Dale
2011-02-25 1:29 ` James
0 siblings, 1 reply; 17+ messages in thread
From: Dale @ 2011-02-25 0:50 UTC (permalink / raw
To: gentoo-user
James wrote:
> James<wireless<at> tampabay.rr.com> writes:
>
>
>
>>> copy the gcc-*.tbz2 package from
>>> $PKGDIR on that to the broken system,
>>>
>
>>> then emerge -1k gcc.
>>>
> emergeing gcc now (thanks Neil!)
>
> One last question:
> so I've learned the hard way
> of the value of quickpkg.
>
> Besides gcc, what is a good list
> of critical software to use guickpkg
> as to keep backup binaries?
>
>
>
> James
>
>
I have this set in my make.conf:
FEATURES="buildpkg sandbox fixpackages parallel-fetch --keep-going"
Yours may vary but the buildpkg part is what you need. There is also
buildsyspkg but in the past, I had it to not keep some system packages.
If you use either of those, man eclean. That will keep the cruft out.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-user] Re: howto recover gcc from another system
2011-02-25 0:50 ` Dale
@ 2011-02-25 1:29 ` James
2011-02-25 1:59 ` Dale
2011-02-25 8:43 ` Marc Joliet
0 siblings, 2 replies; 17+ messages in thread
From: James @ 2011-02-25 1:29 UTC (permalink / raw
To: gentoo-user
Dale <rdalek1967 <at> gmail.com> writes:
> > Besides gcc, what is a good list
> > of critical software to use guickpkg
> > as to keep backup binaries?
> FEATURES="buildpkg sandbox fixpackages parallel-fetch --keep-going"
I saw this (FEATURES="buildpkg") googling around.
1. What is a good list of software to use buildpkg on?
2. Once you decide those packages, where do you put
the list?
Surely I do not wish to use buildpkg on every installed
package, a few or maybe the entire @system. I have not
found the answer to [1] or [2].
This is muddy, because supposedly the "profile"
is suppose to protect the key packages for --depclean ?
[2] default/linux/amd64/10.0/desktop *
So is gcc protected somehow by the "profile"?
I think not......
Still googling but not find any clear answers,
mostly cruft from years ago....
James
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: howto recover gcc from another system
2011-02-25 1:29 ` James
@ 2011-02-25 1:59 ` Dale
2011-02-25 8:44 ` Neil Bothwick
2011-02-25 8:43 ` Marc Joliet
1 sibling, 1 reply; 17+ messages in thread
From: Dale @ 2011-02-25 1:59 UTC (permalink / raw
To: gentoo-user
James wrote:
> Dale<rdalek1967<at> gmail.com> writes:
>
>
>
>>> Besides gcc, what is a good list
>>> of critical software to use guickpkg
>>> as to keep backup binaries?
>>>
>
>
>> FEATURES="buildpkg sandbox fixpackages parallel-fetch --keep-going"
>>
> I saw this (FEATURES="buildpkg") googling around.
>
> 1. What is a good list of software to use buildpkg on?
>
> 2. Once you decide those packages, where do you put
> the list?
>
> Surely I do not wish to use buildpkg on every installed
> package, a few or maybe the entire @system. I have not
> found the answer to [1] or [2].
>
> This is muddy, because supposedly the "profile"
> is suppose to protect the key packages for --depclean ?
> [2] default/linux/amd64/10.0/desktop *
>
> So is gcc protected somehow by the "profile"?
> I think not......
>
>
> Still googling but not find any clear answers,
> mostly cruft from years ago....
>
>
> James
>
>
Short version, man make.conf for more info. buildpkg, keeps a binary of
EVERYTHING installed. Now buildsyspkg only keeps binaries for system
packages. If you have plenty of disk space, I would use buildpkg. If
you have a lappy or are short of disk space, then buildpkg would work.
Just keep in mind that some packages may not get saved. After thinking
about this, I'm pretty sure I lost python once and buildsyspkg didn't
keep a binary copy around. Just try to emerge something without python
installed. :-(
There is no list for you to keep. Portage does that.
That help?
Dale
:-) :-)
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: howto recover gcc from another system
2011-02-25 1:29 ` James
2011-02-25 1:59 ` Dale
@ 2011-02-25 8:43 ` Marc Joliet
2011-02-25 9:23 ` [gentoo-user] FIXED: " James
1 sibling, 1 reply; 17+ messages in thread
From: Marc Joliet @ 2011-02-25 8:43 UTC (permalink / raw
To: Gentoo-User ML
[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]
Am Fri, 25 Feb 2011 01:29:29 +0000 (UTC)
schrieb James <wireless@tampabay.rr.com>:
> Dale <rdalek1967 <at> gmail.com> writes:
>
>
> > > Besides gcc, what is a good list
> > > of critical software to use guickpkg
> > > as to keep backup binaries?
>
>
> > FEATURES="buildpkg sandbox fixpackages parallel-fetch --keep-going"
>
> I saw this (FEATURES="buildpkg") googling around.
>
> 1. What is a good list of software to use buildpkg on?
>
> 2. Once you decide those packages, where do you put
> the list?
AFAIK, there is no list that portage uses. However, maybe you could use
quickpkg for this? You could script it, e.g. write the list yourself (it also
accepts sets as input argument) and feed it to quickpkg periodically. Maybe
that or something similar would work for you?
> Surely I do not wish to use buildpkg on every installed
> package, a few or maybe the entire @system. I have not
> found the answer to [1] or [2].
You can restrict it to the system set by using buildsyspkg instead of buildpkg
(see make.conf(5)).
[...]
HTH
--
Marc Joliet
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: howto recover gcc from another system
2011-02-25 1:59 ` Dale
@ 2011-02-25 8:44 ` Neil Bothwick
0 siblings, 0 replies; 17+ messages in thread
From: Neil Bothwick @ 2011-02-25 8:44 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 536 bytes --]
On Thu, 24 Feb 2011 19:59:36 -0600, Dale wrote:
> I'm pretty sure I lost python once and buildsyspkg didn't
> keep a binary copy around. Just try to emerge something without python
> installed. :-(
emerge paludis, it's an alternative package manager that doesn't use
Python. You don't have to use it, just keep it on your system in case you
ever break portage (again).
--
Neil Bothwick
When you go to court you are putting yourself in the hands of 12 people
that were not smart enough to get out of jury duty.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-user] FIXED: Re: howto recover gcc from another system
2011-02-25 8:43 ` Marc Joliet
@ 2011-02-25 9:23 ` James
0 siblings, 0 replies; 17+ messages in thread
From: James @ 2011-02-25 9:23 UTC (permalink / raw
To: gentoo-user
Marc Joliet <marcec <at> gmx.de> writes:
> AFAIK, there is no list that portage uses.
> You can restrict it to the system set by using buildsyspkg instead of buildpkg
> (see make.conf(5)).
OK,
Thanks to everyone that help me with this thread.
I'm going to mull over my options a bit, after setting
buildsyspkg up for now.
thanks again!
James
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2011-02-25 10:04 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-24 16:54 [gentoo-user] howto recover gcc from another system James
2011-02-24 17:42 ` Dale
2011-02-24 18:39 ` [gentoo-user] " james
2011-02-24 19:55 ` Dale
2011-02-24 18:16 ` [gentoo-user] " Florian Philipp
2011-02-24 19:12 ` [gentoo-user] " James
2011-02-24 19:37 ` james
2011-02-24 19:38 ` [gentoo-user] " Neil Bothwick
2011-02-24 21:29 ` [gentoo-user] " James
2011-02-24 23:23 ` Neil Bothwick
2011-02-25 0:36 ` James
2011-02-25 0:50 ` Dale
2011-02-25 1:29 ` James
2011-02-25 1:59 ` Dale
2011-02-25 8:44 ` Neil Bothwick
2011-02-25 8:43 ` Marc Joliet
2011-02-25 9:23 ` [gentoo-user] FIXED: " James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox