* [gentoo-dev] Recompile but NOT upgrade
@ 2002-05-02 15:08 Sean P. Kane
2002-05-02 18:49 ` Ian Smith
0 siblings, 1 reply; 10+ messages in thread
From: Sean P. Kane @ 2002-05-02 15:08 UTC (permalink / raw
To: gentoo-dev
Is there a way to re-compile all your packages, but NOT upgrade them?
I.e. if I have new USE or CCFLAGS settings that I want to be considered
by all packages, or just updated GCC is some significant way.
Thanks,
Sean
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Recompile but NOT upgrade
2002-05-02 15:08 Sean P. Kane
@ 2002-05-02 18:49 ` Ian Smith
0 siblings, 0 replies; 10+ messages in thread
From: Ian Smith @ 2002-05-02 18:49 UTC (permalink / raw
To: gentoo-dev
Sean P. Kane wrote:
> Is there a way to re-compile all your packages, but NOT upgrade them?
> I.e. if I have new USE or CCFLAGS settings that I want to be considered
> by all packages, or just updated GCC is some significant way.
No, 'fraid not. This is a FAQ, although it is not in the FAQ.
--
----------------------------------------------------------------------------
Ian Smith
----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [gentoo-dev] Recompile but NOT upgrade
@ 2002-05-02 20:25 Sean P. Kane
2002-05-02 21:55 ` Ian Smith
2002-05-02 22:00 ` Bjarke Sørensen
0 siblings, 2 replies; 10+ messages in thread
From: Sean P. Kane @ 2002-05-02 20:25 UTC (permalink / raw
To: gentoo-dev
Is this something that anyone is considering doing in portage or would
it be worth trying to write a script to handle this?
Sean
-----Original Message-----
From: Ian Smith [mailto:ian.c.smith@btinternet.com]
Sent: Thursday, May 02, 2002 11:50
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Recompile but NOT upgrade
Sean P. Kane wrote:
> Is there a way to re-compile all your packages, but NOT upgrade them?
> I.e. if I have new USE or CCFLAGS settings that I want to be
> considered by all packages, or just updated GCC is some significant
> way.
No, 'fraid not. This is a FAQ, although it is not in the FAQ.
--
------------------------------------------------------------------------
----
Ian Smith
------------------------------------------------------------------------
----
_______________________________________________
gentoo-dev mailing list
gentoo-dev@gentoo.org
http://lists.gentoo.org/mailman/listinfo/gentoo-dev
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Recompile but NOT upgrade
2002-05-02 20:25 [gentoo-dev] Recompile but NOT upgrade Sean P. Kane
@ 2002-05-02 21:55 ` Ian Smith
2002-05-02 22:00 ` Bjarke Sørensen
1 sibling, 0 replies; 10+ messages in thread
From: Ian Smith @ 2002-05-02 21:55 UTC (permalink / raw
To: gentoo-dev
Sean P. Kane wrote:
> Is this something that anyone is considering doing in portage or would
> it be worth trying to write a script to handle this?
It really need to be done as part of portage, but you can get a list of
installed packages using:
/usr/lib/portage/bin/pkglist
and eliminate the duplicates (apart from the packages which need
duplicates, but that's where it starts getting messy!). Try starting with:
/usr/lib/portage/bin/pkglist | xargs emerge -p
which won't work, but gives the general approach.
--
----------------------------------------------------------------------------
Ian Smith
----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Recompile but NOT upgrade
2002-05-02 20:25 [gentoo-dev] Recompile but NOT upgrade Sean P. Kane
2002-05-02 21:55 ` Ian Smith
@ 2002-05-02 22:00 ` Bjarke Sørensen
2002-05-03 3:18 ` Dustin Knie
1 sibling, 1 reply; 10+ messages in thread
From: Bjarke Sørensen @ 2002-05-02 22:00 UTC (permalink / raw
To: Sean P. Kane; +Cc: gentoo-dev
On Thu, May 02, 2002 at 01:25:31PM -0700, Sean P. Kane wrote:
> Is this something that anyone is considering doing in portage or would
> it be worth trying to write a script to handle this?
Writing a script, will help a lot of people now.
Waiting for such in Portage wont.
Portage has other issues right now that have to dealt with first
(IMHO).
Tell us what you'll do :)
--
| 9000.WASD
|
| Bjarke Sørensen
| http://wasd.dk/
|
| There are 10 types of people in this world:
| Those who understand binary, and those who don't.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Recompile but NOT upgrade
2002-05-02 22:00 ` Bjarke Sørensen
@ 2002-05-03 3:18 ` Dustin Knie
0 siblings, 0 replies; 10+ messages in thread
From: Dustin Knie @ 2002-05-03 3:18 UTC (permalink / raw
To: gentoo-dev; +Cc: Sean P. Kane
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 1174 bytes --]
I recently started using gentoo, and love it. I'm working on learning the
ebuild, emerge and portage system right now, and I'll see if I can figure
out how to do something like this. I figure it'll be a great way to learn
the system, and give back to the community!!!!
I'm not gonna guarentee anything, but I'll see what I can do.
Dustin Knie
On Fri, 3 May 2002, Bjarke [iso-8859-1] Sørensen wrote:
> On Thu, May 02, 2002 at 01:25:31PM -0700, Sean P. Kane wrote:
> > Is this something that anyone is considering doing in portage or would
> > it be worth trying to write a script to handle this?
>
> Writing a script, will help a lot of people now.
>
> Waiting for such in Portage wont.
> Portage has other issues right now that have to dealt with first
> (IMHO).
>
> Tell us what you'll do :)
> --
> | 9000.WASD
> |
> | Bjarke Sørensen
> | http://wasd.dk/
> |
> | There are 10 types of people in this world:
> | Those who understand binary, and those who don't.
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [gentoo-dev] Recompile but NOT upgrade
@ 2002-05-03 15:49 Sean P. Kane
2002-05-03 16:55 ` Chad M. Huneycutt
0 siblings, 1 reply; 10+ messages in thread
From: Sean P. Kane @ 2002-05-03 15:49 UTC (permalink / raw
To: Dustin Knie, gentoo-dev
I figured out a few things that will help, but haven't spent more then a few minutes on it so far. It looks like to build a specific ebuild you need to feed it to emerge like this:
emerge sys-apps/less/less-358-r3.ebuild
So, taking the output of '/usr/lib/portage/bin/pkglist | sort' which gives you lines like:
sys-apps/less-358-r3
sys-apps/net-tools-160-r1
And then modifying them to look like:
sys-apps/less/less-358-r3.ebuild
sys-apps/net-tools/net-tools-160-r1.ebuild
Doing an "emerge -p" on them letting people "ok" or even add and remove some things at this point.....Then do the real thing. There may be an order that is wise here. I.e. gcc first......
Sean
-----Original Message-----
From: Dustin Knie [mailto:dustin@attbi.com]
Sent: Thursday, May 02, 2002 20:18
To: gentoo-dev@gentoo.org
Cc: Sean P. Kane
Subject: Re: [gentoo-dev] Recompile but NOT upgrade
I recently started using gentoo, and love it. I'm working on learning the ebuild, emerge and portage system right now, and I'll see if I can figure out how to do something like this. I figure it'll be a great way to learn the system, and give back to the community!!!!
I'm not gonna guarentee anything, but I'll see what I can do.
Dustin Knie
On Fri, 3 May 2002, Bjarke [iso-8859-1] Sørensen wrote:
> On Thu, May 02, 2002 at 01:25:31PM -0700, Sean P. Kane wrote:
> > Is this something that anyone is considering doing in portage or
> > would it be worth trying to write a script to handle this?
>
> Writing a script, will help a lot of people now.
>
> Waiting for such in Portage wont.
> Portage has other issues right now that have to dealt with first
> (IMHO).
>
> Tell us what you'll do :)
> --
> | 9000.WASD
> |
> | Bjarke Sørensen
> | http://wasd.dk/
> |
> | There are 10 types of people in this world:
> | Those who understand binary, and those who don't.
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Recompile but NOT upgrade
2002-05-03 15:49 Sean P. Kane
@ 2002-05-03 16:55 ` Chad M. Huneycutt
2002-05-03 20:40 ` Zach Forrest
0 siblings, 1 reply; 10+ messages in thread
From: Chad M. Huneycutt @ 2002-05-03 16:55 UTC (permalink / raw
To: gentoo-dev
Sean P. Kane wrote:
> I figured out a few things that will help, but haven't spent more then a
> few minutes on it so far. It looks like to build a specific ebuild you
> need to feed it to emerge like this:
>
> emerge sys-apps/less/less-358-r3.ebuild
>
> So, taking the output of '/usr/lib/portage/bin/pkglist | sort' which
> gives you lines like:
>
> sys-apps/less-358-r3 sys-apps/net-tools-160-r1
>
> And then modifying them to look like:
>
> sys-apps/less/less-358-r3.ebuild
> sys-apps/net-tools/net-tools-160-r1.ebuild
Actually, you can do emerge =sys-apps/less-358-r3, so that will make it a
bit easier on you.
Chad
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Recompile but NOT upgrade
2002-05-03 16:55 ` Chad M. Huneycutt
@ 2002-05-03 20:40 ` Zach Forrest
2002-05-03 21:42 ` Bjarke Sørensen
0 siblings, 1 reply; 10+ messages in thread
From: Zach Forrest @ 2002-05-03 20:40 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]
This script might do (mostly) what you're looking for. It may try to update the
odd package, but it will remerge most of your system. It will also report any
errors returned by emerge and skip any "problem" packages.
Regards,
Zach
Chad M. Huneycutt wrote:
> Sean P. Kane wrote:
> > I figured out a few things that will help, but haven't spent more then a
> > few minutes on it so far. It looks like to build a specific ebuild you
> > need to feed it to emerge like this:
> >
> > emerge sys-apps/less/less-358-r3.ebuild
> >
> > So, taking the output of '/usr/lib/portage/bin/pkglist | sort' which
> > gives you lines like:
> >
> > sys-apps/less-358-r3 sys-apps/net-tools-160-r1
> >
> > And then modifying them to look like:
> >
> > sys-apps/less/less-358-r3.ebuild
> > sys-apps/net-tools/net-tools-160-r1.ebuild
>
> Actually, you can do emerge =sys-apps/less-358-r3, so that will make it
> a bit easier on you.
>
> Chad
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
[-- Attachment #2: remerge-system --]
[-- Type: application/x-java-vm, Size: 2146 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] Recompile but NOT upgrade
2002-05-03 20:40 ` Zach Forrest
@ 2002-05-03 21:42 ` Bjarke Sørensen
0 siblings, 0 replies; 10+ messages in thread
From: Bjarke Sørensen @ 2002-05-03 21:42 UTC (permalink / raw
To: gentoo-dev
On Fri, May 03, 2002 at 01:40:28PM -0700, Zach Forrest wrote:
> >Actually, you can do emerge =sys-apps/less-358-r3, so that will make it
> >a bit easier on you.
Come to think of it. Portage has this pin functionality.
Where you tell Portage which packages to upgrade just pin them to the
version you want with the above "=".
Also see the from 1.0_rc6 announcement and the docs.
Regards,
--
| 9000.WASD
|
| Bjarke Sørensen
| http://wasd.dk/
|
| There are 10 types of people in this world:
| Those who understand binary, and those who don't.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2002-05-03 21:42 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-02 20:25 [gentoo-dev] Recompile but NOT upgrade Sean P. Kane
2002-05-02 21:55 ` Ian Smith
2002-05-02 22:00 ` Bjarke Sørensen
2002-05-03 3:18 ` Dustin Knie
-- strict thread matches above, loose matches on Subject: below --
2002-05-03 15:49 Sean P. Kane
2002-05-03 16:55 ` Chad M. Huneycutt
2002-05-03 20:40 ` Zach Forrest
2002-05-03 21:42 ` Bjarke Sørensen
2002-05-02 15:08 Sean P. Kane
2002-05-02 18:49 ` Ian Smith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox