Summary: | revdep-rebuild: incorrect exit status for masked packages | ||
---|---|---|---|
Product: | Portage Development | Reporter: | James Broadhead <jamesbroadhead> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | 2kmm, max.gentoo.bugzilla, pacho |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
revdep-rebuild temp files revdep-rebuild files console output patch as described |
Description
James Broadhead
2010-07-04 20:44:12 UTC
Created attachment 237487 [details]
emerge --info
Created attachment 237489 [details]
revdep-rebuild temp files
Created attachment 237491 [details]
revdep-rebuild files
revdep-rebuild --library libpng12.so.0 &>> file ; echo $? &>> file file attached as console-output Created attachment 237493 [details]
console output
Just for completeness :
>> emerge -1 php-gtk ; echo $?
Calculating dependencies... done!
!!! All ebuilds that could satisfy "dev-php5/php-gtk" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-php5/php-gtk-2.0.1-r3 (masked by: ~x86 keyword)
- dev-php5/php-gtk-2.0.1-r2 (masked by: ~x86 keyword)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
1
The fix is trivial....but it is late so I can't be bothered to make a patch. For the interested find the bit which looks a bit like this and make it look exactly like this. :-) ## # Finish up cleanup() { EMERGE_STATUS=$(<"$STATUS_FILE") if (( $EMERGE_STATUS != 0 )); then ewarn ewarn "$APP_NAME failed to emerge all packages." Suffice to say the original does not have the variable assignment. :-( Created attachment 241463 [details, diff]
patch as described
Thanks for doing the legwork :)
*** Bug 323185 has been marked as a duplicate of this bug. *** (In reply to comment #8) > Created an attachment (id=241463) [details] > patch as described > > Thanks for doing the legwork :) > Can we have this merged at some point ? Patched version now available in my overlay: jamesbroadhead.googlecode.com/hg/portage-overlay This is fixed in the following commit: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commitdiff;h=3e51df74595c535656ef9f38bf7a577a4f64d0f5;hp=d1ee16c4194e7a94c91924d62332363d06e64aae Released in gentoolkit-0.3.0.5 |