Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127199 - Feature Request: --away flag.
Summary: Feature Request: --away flag.
Status: RESOLVED DUPLICATE of bug 12768
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Low normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-22 09:24 UTC by Karsten Schmiedecke
Modified: 2006-03-22 09:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten Schmiedecke 2006-03-22 09:24:17 UTC
In #gentoo on euIRC.net we discussed how sometimes it happens that you do a huge emerge and leave the computer or maybe even the house. Then you come back after, say, twelve hours to find something like

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

and that quite possibly on emerge (4 of 32). One way was a simple shell script that would call `emerge --resume --skipfirst` until the exit code would equal zero, which is a dirty hack. A better idea was to add an --away flag to portage. Here's what it should (or could) do:

- If an emerge fails, remember and continue with the next one (or possibly with the next one that doesn't depend on it)
- At the end, print out a summary, which ebuilds failed to emerge and which ones were skipped because dependencies could not be fulfilled.

This is what it could look like:

<code>
$ emerge -at --away kde
...
[ snip ]
...
!!! emerge failed. This is what was supposed to be merged:

[ebuild  S ] kde-base/kde-3.5.1  0 kB 
[ebuild M  ]  kde-base/kdeartwork-3.5.1  16,206 kB 
[ebuild M  ]  kde-base/kdetoys-3.5.1  3,099 kB 
[ebuild M  ]  kde-base/kdeutils-3.5.1  2,904 kB 
[ebuild M  ]   dev-libs/gmp-4.1.4-r3  2,278 kB 
[ebuild   F]  kde-base/kdeedu-3.5.1  29,269 kB 
[ebuild  S ]  kde-base/kdegraphics-3.5.1-r2  7,151 kB 
[ebuild M  ]   media-libs/imlib-1.9.14-r3  574 kB 
[ebuild   F]   dev-libs/fribidi-0.10.7  579 kB 
[ebuild M  ]  kde-base/kdewebdev-3.5.1  5,884 kB 
[ebuild M  ]   app-doc/quanta-docs-20051201  941 kB 
[ebuild M  ]  kde-base/kdeadmin-3.5.1  2,049 kB 
[ebuild M  ]  kde-base/kdenetwork-3.5.1-r1  7,289 kB 
[ebuild M  ]   app-crypt/qca-tls-1.0-r3  22 kB 
[ebuild M  ]   app-crypt/qca-1.0-r2  29 kB 
[ebuild  S ]  kde-base/kdeaddons-3.5.1  1,580 kB 
[ebuild  S ]   kde-base/kdemultimedia-3.5.1  5,373 kB 
[ebuild M  ]    media-sound/lame-3.96.1-r1  1,226 kB 
[ebuild M  ]    media-libs/akode-2.0_rc1  634 kB 
[ebuild M  ]     media-libs/libsamplerate-0.1.2  691 kB 
[ebuild M  ]      sci-libs/fftw-3.1  2,629 kB 
[ebuild  S ]    media-sound/vorbis-tools-1.1.1-r2  926 kB 
[ebuild   F]     media-libs/libao-0.8.6-r2  380 kB 
[ebuild M  ]    media-libs/tunepimp-0.3.0-r1  512 kB 
[ebuild M  ]   kde-base/kdegames-3.5.1  10,571 kB 
[ebuild   F]   kde-base/kdepim-3.5.1  12,583 kB 
[ebuild M  ]    app-crypt/gpgme-1.1.0  841 kB 
[ebuild M  ]     dev-libs/pth-2.0.6  632 kB 
[ebuild M  ]    kde-base/kdebase-3.5.1-r3 0 kB

F: emerge failed
S: package skipped due to dependency problems
M: package successfully merged

Please repeat the emerge and take care of the problems.
</code>

I used kde as an example as it shows a nice dependency tree.

This is my very first bug report, I hope it's OK ;). I didn't put any Information about my system here, as it is a Feature Request. I didn't know where else to put it. If there's a better place for it, please let me know and I'll file it there.

By the way, I LOVE portage. It's the best package manager I've ever seen!

Cheers,
Karsten S., gentoo user since Jan 02, 2006.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-22 09:48:58 UTC

*** This bug has been marked as a duplicate of 12768 ***