RE: [gentoo-user] continue emerge on failure

2007-09-20 Thread Daevid Vincent

> -Original Message-
> From: Pawel K [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 20, 2007 8:28 AM
> 
> Hello
> When package build fails during:
> 
> emerge --update world
> 
> I use the:
> 
> emerge --resume --skipfirst
> 
> How to force emerge to continue build with the next
> package in case previous build failed.
> 
> Thank you for help.

Ah yes, quite possibly one of the most useful 'tricks' ever discovered:

emerge -Davu world || until emerge --resume --skipfirst; do :; done

Why there isn't an option like --auto_resume as part of emerge, is beyond
me...

If they went through, I attached the original emails I got this tip from and
thanks to Boyd Stephen and Neil Bothwick. Some interesting dialogs in there
too...
--- Begin Message ---
I think this is a given, but just in case...

It certainly should allow me to do an 'emerge -Davu world' equivallent, and
allow me to then select only the packages (or all or none) to install and of
course their dependencies. 

It should show me the 'blocking' packages (if any), and allow me to easily
unmerge them right there.

It should absolutely be smart enough that if a package fails to compile,
SKIP IT! And move on to the next one. There is nothing more frustrating than
having like 100 packages to install, setting it up to run through the night,
excited to see the new stuff, and then the utter dissapointment to see that
portage shit the bed on the second package and just sat there doing nothing
all night long. GRR. :)  why "emerge --resume --skipfirst" is not the
default exception handling routine for 'emerge' is beyond my comprehension.
'emerge' should at least have a command line option to invoke that!

It should also alert me to all the 'notifications' that are in the
PORTAGE_LOGS for things that I might have to manually do after the packages
are installed.

It should do a revdep-rebuild to make sure all packages are proper.

> -Original Message-
> From: Arturo 'Buanzo' Busleiman [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, May 16, 2006 2:29 PM
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] New Portage browser
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> People,
> 
>   I'm working on a new portage browser, and I was looking 
> for ideas from USERS, that's why I'm
> posting here.
> 
>   I've never found a program that would allow me to 
> browse portage categories, then packages, showing
> in one window description, version, etc, etc.
> 
>   Thus, I'm working on one now, but I want to develop 
> something that will run in console and X, too,
> like suse's yast.
> 
>   So, I would like to know:
> 
>   1) do you prefer a console, a GUI, or both?
>   2) what additional functionality would you like? 
> (mask/unmask packages, install/remove, emerge
> command generator [much like nmapfe], etc)
> 
>   If you have any idea regarding development (because of 
> the both console and X-compatible
> script/program), please let me know. If not, I may end up 
> writing an API, and two different programs.
> 
>   Sincerely,
> 
> - --
> Arturo "Buanzo" Busleiman - VPN Mail Project - 
> http://vpnmail.buanzo.com.ar
> Consultor en Seguridad Informatica - http://www.buanzo.com.ar
> My Linux and Security Blog at http://linux-consulting.buanzo.com.ar/
> 
> Romper un sistema de seguridad los acerca tanto a ser hackers como
> encender autos puenteando los convierte en ingenieros automotrices.
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFEakQgAlpOsGhXcE0RAu1BAJ9VUuXbrASHULoEAp2H8cjp4tJajACfZYW5
> mGlOmqARA9F3LM7gqNywopY=
> =SGKH
> -END PGP SIGNATURE-
> -- 
> [EMAIL PROTECTED] mailing list
> 
> 

-- 
[EMAIL PROTECTED] mailing list

--- End Message ---
--- Begin Message ---
On Wednesday 17 May 2006 20:47, "Daevid Vincent" <[EMAIL PROTECTED]> wrote 
about 'RE: [gentoo-user] New Portage browser':
> It should absolutely be smart enough that if a package fails to compile,
> SKIP IT! And move on to the next one. There is nothing more frustrating
> than having like 100 packages to install, setting it up to run through
> the night, excited to see the new stuff, and then the utter
> dissapointment to see that portage shit the bed on the second package
> and just sat there doing nothing all night long. GRR. :)  why "emerge
> --resume --skipfirst" is not the default exception handling routine for
> 'emerge' is beyond my comprehension. 'emerge' should at least have a
> command line option to invoke that!

Is there some problem with:
emerge -uND world || until emerge --resume --skipfirst; do :; done
?

A more complex version of that is in my nightly update script.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh


pgpZLzq9HVBpJ.pgp
Descript

Re: [gentoo-user] continue emerge on failure

2007-09-20 Thread Bo Ørsted Andresen
On Thursday 20 September 2007 17:28:14 Pawel K wrote:
> How to force emerge to continue build with the next
> package in case previous build failed.

Paludis >= 0.25 now has support for the ideal solution to this.. :)

# paludis --help | grep continue -A 4
  --continue-on-failure  Whether to continue after a fetch or install error
  if-fetch-onlyIf fetching only (default)
  neverNever
  if-satisfied If remaining packages' dependencies are satisfied
  always   Always (UNSAFE)

# paludis --version
paludis 0.25.0
[...]

Until 0.26.x gets released this requires paludis-scm from trunk. 0.26.x 
shouldn't be too far away though..

http://paludis.pioto.org

-- 
Bo Andresen


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] continue emerge on failure

2007-09-20 Thread Neil Bothwick
On Thu, 20 Sep 2007 08:28:14 -0700 (PDT), Pawel K wrote:

> When package build fails during:
> 
> emerge --update world
> 
> I use the:
> 
> emerge --resume --skipfirst
> 
> How to force emerge to continue build with the next
> package in case previous build failed.

emerge --update world || while emerge --resume --skipfirst; do : done

But be aware that you have have a significant number of packages fail to
compile as they depend on previous failures.


-- 
Neil Bothwick

Sex is better than logic. You can't prove it, but it is.


signature.asc
Description: PGP signature


[gentoo-user] continue emerge on failure

2007-09-20 Thread Pawel K
Hello
When package build fails during:

emerge --update world

I use the:

emerge --resume --skipfirst

How to force emerge to continue build with the next
package in case previous build failed.

Thank you for help.


  

Tonight's top picks. What will you watch tonight? Preview the hottest shows on 
Yahoo! TV.
http://tv.yahoo.com/ 

-- 
[EMAIL PROTECTED] mailing list