public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] How do I modify work list of emerge --resume?
@ 2006-09-10 18:21 Mark Knecht
  2006-09-10 18:35 ` [gentoo-user] " Mark Knecht
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Mark Knecht @ 2006-09-10 18:21 UTC (permalink / raw
  To: gentoo-user

Hi,
   I was 8 hours through the emerge -eav world part of upgrading gcc
when it hit the pysol package it's not happy with. The messages are
telling me I need to recompile python with Tkinter support and asked
me to add dev/lang/python X tk to package.use, which I did. However
emerge --resume won't go back and recompile python at this point and
if I start over it's a 575 package compile job and I was already
through about 200 of the packages.

   Is there any way to get python updated and then to resume the
remaining 375 packages where I am currently stopped?

   Can I somehow save the file emerge --resume is currently using,
emerge python with the changes, and then put the current worl list
back in?

   Better yet, can I somehow remove pysol from the list so the emerge
--resume just stoarts from the next package?

Thanks,
Mark
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-user] Re: How do I modify work list of emerge --resume?
  2006-09-10 18:21 [gentoo-user] How do I modify work list of emerge --resume? Mark Knecht
@ 2006-09-10 18:35 ` Mark Knecht
  2006-09-10 18:35 ` [gentoo-user] " Bo Ørsted Andresen
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 12+ messages in thread
From: Mark Knecht @ 2006-09-10 18:35 UTC (permalink / raw
  To: gentoo-user

emerge --resume --skipfirst

seems to be doing what I need.

Sorry for the distraction

- Mark

On 9/10/06, Mark Knecht <markknecht@gmail.com> wrote:
> Hi,
>    I was 8 hours through the emerge -eav world part of upgrading gcc
> when it hit the pysol package it's not happy with. The messages are
> telling me I need to recompile python with Tkinter support and asked
> me to add dev/lang/python X tk to package.use, which I did. However
> emerge --resume won't go back and recompile python at this point and
> if I start over it's a 575 package compile job and I was already
> through about 200 of the packages.
>
>    Is there any way to get python updated and then to resume the
> remaining 375 packages where I am currently stopped?
>
>    Can I somehow save the file emerge --resume is currently using,
> emerge python with the changes, and then put the current worl list
> back in?
>
>    Better yet, can I somehow remove pysol from the list so the emerge
> --resume just stoarts from the next package?
>
> Thanks,
> Mark
>
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] How do I modify work list of emerge --resume?
  2006-09-10 18:21 [gentoo-user] How do I modify work list of emerge --resume? Mark Knecht
  2006-09-10 18:35 ` [gentoo-user] " Mark Knecht
@ 2006-09-10 18:35 ` Bo Ørsted Andresen
  2006-09-10 18:45 ` Matthias Langer
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 12+ messages in thread
From: Bo Ørsted Andresen @ 2006-09-10 18:35 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1603 bytes --]

On Sunday 10 September 2006 20:21, Mark Knecht wrote:
> Hi,
>    I was 8 hours through the emerge -eav world part of upgrading gcc
> when it hit the pysol package it's not happy with. The messages are
> telling me I need to recompile python with Tkinter support and asked
> me to add dev/lang/python X tk to package.use, which I did. However
> emerge --resume won't go back and recompile python at this point and
> if I start over it's a 575 package compile job and I was already
> through about 200 of the packages.
>
>    Is there any way to get python updated and then to resume the
> remaining 375 packages where I am currently stopped?
>
>    Can I somehow save the file emerge --resume is currently using,
> emerge python with the changes, and then put the current worl list
> back in?

I don't know if you have other options but the following will work:

# emerge --resume --ask

Press Ctrl+z when you see the following question (that will suspend the emerge 
process after it has loaded the resume list):

"Would you like to resume merging these packages? [Yes/No]"

Then: 

# emerge -va1dev/lang/python

And when that is compiled with the X use flag enabled:

# fg

That will resume the emerge process. Now type yes[ENTER] to make it resume the 
compilation by answering that was asked before you suspended the process.

I hope that is clear enough.

>    Better yet, can I somehow remove pysol from the list so the emerge
> --resume just stoarts from the next package?

That's an alternative route:

# emerge --skipfirst

HtH

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] How do I modify work list of emerge --resume?
  2006-09-10 18:21 [gentoo-user] How do I modify work list of emerge --resume? Mark Knecht
  2006-09-10 18:35 ` [gentoo-user] " Mark Knecht
  2006-09-10 18:35 ` [gentoo-user] " Bo Ørsted Andresen
@ 2006-09-10 18:45 ` Matthias Langer
  2006-09-10 18:58 ` Etaoin Shrdlu
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 12+ messages in thread
From: Matthias Langer @ 2006-09-10 18:45 UTC (permalink / raw
  To: gentoo-user

On Sun, 2006-09-10 at 11:21 -0700, Mark Knecht wrote:
> Hi,
>    I was 8 hours through the emerge -eav world part of upgrading gcc
> when it hit the pysol package it's not happy with. The messages are
> telling me I need to recompile python with Tkinter support and asked
> me to add dev/lang/python X tk to package.use, which I did. However
> emerge --resume won't go back and recompile python at this point and
> if I start over it's a 575 package compile job and I was already
> through about 200 of the packages.
> 
>    Is there any way to get python updated and then to resume the
> remaining 375 packages where I am currently stopped?
> 
>    Can I somehow save the file emerge --resume is currently using,
> emerge python with the changes, and then put the current worl list
> back in?
> 
>    Better yet, can I somehow remove pysol from the list so the emerge
> --resume just stoarts from the next package?
> 
Try "emerge --resume --skipfirst" and care about that python stuff
later ...

HTH,
Matthias

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] How do I modify work list of emerge --resume?
  2006-09-10 18:21 [gentoo-user] How do I modify work list of emerge --resume? Mark Knecht
                   ` (2 preceding siblings ...)
  2006-09-10 18:45 ` Matthias Langer
@ 2006-09-10 18:58 ` Etaoin Shrdlu
  2006-09-10 19:19 ` Dale
  2006-09-10 20:18 ` [gentoo-user] " Alexander Skwar
  5 siblings, 0 replies; 12+ messages in thread
From: Etaoin Shrdlu @ 2006-09-10 18:58 UTC (permalink / raw
  To: gentoo-user

On Sunday 10 September 2006 20:21, Mark Knecht wrote:

>    Better yet, can I somehow remove pysol from the list so the emerge
> --resume just stoarts from the next package?

That's what emerge --resume --skipfirst is for.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] How do I modify work list of emerge --resume?
  2006-09-10 18:21 [gentoo-user] How do I modify work list of emerge --resume? Mark Knecht
                   ` (3 preceding siblings ...)
  2006-09-10 18:58 ` Etaoin Shrdlu
@ 2006-09-10 19:19 ` Dale
  2006-09-10 19:27   ` Bo Ørsted Andresen
  2006-09-10 20:18 ` [gentoo-user] " Alexander Skwar
  5 siblings, 1 reply; 12+ messages in thread
From: Dale @ 2006-09-10 19:19 UTC (permalink / raw
  To: gentoo-user

Mark Knecht wrote:
> Hi,
>   I was 8 hours through the emerge -eav world part of upgrading gcc
> when it hit the pysol package it's not happy with. The messages are
> telling me I need to recompile python with Tkinter support and asked
> me to add dev/lang/python X tk to package.use, which I did. However
> emerge --resume won't go back and recompile python at this point and
> if I start over it's a 575 package compile job and I was already
> through about 200 of the packages.
>
>   Is there any way to get python updated and then to resume the
> remaining 375 packages where I am currently stopped?
>
>   Can I somehow save the file emerge --resume is currently using,
> emerge python with the changes, and then put the current worl list
> back in?
>
>   Better yet, can I somehow remove pysol from the list so the emerge
> --resume just stoarts from the next package?
>
> Thanks,
> Mark

For future reference, you can preserve the resume in two ways. 

1:  Rename /var/log/emerge.log to something else then go do what you
want and restore it after you are done.  I have done that a couple times.

2:  Open /var/log/emerge.log and put something in there you will find
easily.  You can put end of resume in all caps or something.  Go do what
needs doing then come back and delete everything back up to the line you
added, including the line you added.

I have not done that last one but have read it works well.

Also for furture reference since you likely already know this by now,
tkinter was replaced by tk.  If it helps you to feel any better, I found
out the same way you did.  Pysol failed to emerge for me too.  :-(

Hope that helps.

Dale
:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] How do I modify work list of emerge --resume?
  2006-09-10 19:19 ` Dale
@ 2006-09-10 19:27   ` Bo Ørsted Andresen
  2006-09-10 19:52     ` Dale
  0 siblings, 1 reply; 12+ messages in thread
From: Bo Ørsted Andresen @ 2006-09-10 19:27 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

On Sunday 10 September 2006 21:19, Dale wrote:
> For future reference, you can preserve the resume in two ways.
>
> 1:  Rename /var/log/emerge.log to something else then go do what you
> want and restore it after you are done.  I have done that a couple times.
>
> 2:  Open /var/log/emerge.log and put something in there you will find
> easily.  You can put end of resume in all caps or something.  Go do what
> needs doing then come back and delete everything back up to the line you
> added, including the line you added.

Err... what?? Did you mean /var/cache/edb/mtimedb??

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] How do I modify work list of emerge --resume?
  2006-09-10 19:27   ` Bo Ørsted Andresen
@ 2006-09-10 19:52     ` Dale
  2006-09-10 19:57       ` Bo Ørsted Andresen
  0 siblings, 1 reply; 12+ messages in thread
From: Dale @ 2006-09-10 19:52 UTC (permalink / raw
  To: gentoo-user

Bo Ørsted Andresen wrote:
> On Sunday 10 September 2006 21:19, Dale wrote:
>   
>> For future reference, you can preserve the resume in two ways.
>>
>> 1:  Rename /var/log/emerge.log to something else then go do what you
>> want and restore it after you are done.  I have done that a couple times.
>>
>> 2:  Open /var/log/emerge.log and put something in there you will find
>> easily.  You can put end of resume in all caps or something.  Go do what
>> needs doing then come back and delete everything back up to the line you
>> added, including the line you added.
>>     
>
> Err... what?? Did you mean /var/cache/edb/mtimedb??
>
>   

Nope.  Just edit the /var/log/emerge.log file from what I have read.  I
have read it on the forums and read it here a few days ago.  I have
never tried it but others say it works.

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] How do I modify work list of emerge --resume?
  2006-09-10 19:52     ` Dale
@ 2006-09-10 19:57       ` Bo Ørsted Andresen
  2006-09-10 20:20         ` Dale
  0 siblings, 1 reply; 12+ messages in thread
From: Bo Ørsted Andresen @ 2006-09-10 19:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 434 bytes --]

On Sunday 10 September 2006 21:52, Dale wrote:
> Nope.  Just edit the /var/log/emerge.log file from what I have read.  I
> have read it on the forums and read it here a few days ago.  I have
> never tried it but others say it works.

Well, I assure you it is complete nonsense. According to portage devs, 
indeed... /var/log/emerge.log is just a log file. /var/cache/edb/mtimedb 
contains the resume data.

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-user]  Re: How do I modify work list of emerge --resume?
  2006-09-10 18:21 [gentoo-user] How do I modify work list of emerge --resume? Mark Knecht
                   ` (4 preceding siblings ...)
  2006-09-10 19:19 ` Dale
@ 2006-09-10 20:18 ` Alexander Skwar
  5 siblings, 0 replies; 12+ messages in thread
From: Alexander Skwar @ 2006-09-10 20:18 UTC (permalink / raw
  To: gentoo-user

· Mark Knecht <markknecht@gmail.com>:

> Hi,
>    I was 8 hours through the emerge -eav world part of upgrading gcc
> when it hit the pysol package it's not happy with. The messages are
> telling me I need to recompile python with Tkinter support and asked
> me to add dev/lang/python X tk to package.use, which I did. However
> emerge --resume won't go back and recompile python at this point and
> if I start over it's a 575 package compile job and I was already
> through about 200 of the packages.

Yep. One of the reasons, why I *never* use "--resume".

When I need to recompile world, I use a tiny selfmade script, which
you can find on <http://askwar.pastebin.ca/166335>. This script will
rebuild a list of packages and will make sure, that packages, which
have already been built will NOT be built again.

Alexander Skwar
-- 
Eigenlob stimmt.


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] How do I modify work list of emerge --resume?
  2006-09-10 19:57       ` Bo Ørsted Andresen
@ 2006-09-10 20:20         ` Dale
  2006-09-10 20:29           ` Bo Ørsted Andresen
  0 siblings, 1 reply; 12+ messages in thread
From: Dale @ 2006-09-10 20:20 UTC (permalink / raw
  To: gentoo-user

Bo Ørsted Andresen wrote:
> On Sunday 10 September 2006 21:52, Dale wrote:
>   
>> Nope.  Just edit the /var/log/emerge.log file from what I have read.  I
>> have read it on the forums and read it here a few days ago.  I have
>> never tried it but others say it works.
>>     
>
> Well, I assure you it is complete nonsense. According to portage devs, 
> indeed... /var/log/emerge.log is just a log file. /var/cache/edb/mtimedb 
> contains the resume data.
>
>   
Could that be renamed in a similar fashion and that work?  It looks like
it is not editable to me since it is a binary type of file.

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user] How do I modify work list of emerge --resume?
  2006-09-10 20:20         ` Dale
@ 2006-09-10 20:29           ` Bo Ørsted Andresen
  0 siblings, 0 replies; 12+ messages in thread
From: Bo Ørsted Andresen @ 2006-09-10 20:29 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 554 bytes --]

On Sunday 10 September 2006 22:20, Dale wrote:
> > Well, I assure you it is complete nonsense. According to portage devs,
> > indeed... /var/log/emerge.log is just a log file. /var/cache/edb/mtimedb
> > contains the resume data.
>
> Could that be renamed in a similar fashion and that work?  It looks like
> it is not editable to me since it is a binary type of file.

Given the alternative posted in my first reply to this thread I wouldn't 
recommend it unless you know what you are doing. But I am not a portage 
dev...

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-09-10 20:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-10 18:21 [gentoo-user] How do I modify work list of emerge --resume? Mark Knecht
2006-09-10 18:35 ` [gentoo-user] " Mark Knecht
2006-09-10 18:35 ` [gentoo-user] " Bo Ørsted Andresen
2006-09-10 18:45 ` Matthias Langer
2006-09-10 18:58 ` Etaoin Shrdlu
2006-09-10 19:19 ` Dale
2006-09-10 19:27   ` Bo Ørsted Andresen
2006-09-10 19:52     ` Dale
2006-09-10 19:57       ` Bo Ørsted Andresen
2006-09-10 20:20         ` Dale
2006-09-10 20:29           ` Bo Ørsted Andresen
2006-09-10 20:18 ` [gentoo-user] " Alexander Skwar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox