Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285225 - if a package fails due to unsatisfied deps, say so in output
Summary: if a package fails due to unsatisfied deps, say so in output
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-16 17:26 UTC by Jeremy Olexa (darkside) (RETIRED)
Modified: 2012-12-22 20:26 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 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-09-16 17:26:22 UTC
It is easier to show you:

 * The following 7 packages have failed to build or install:
<snip>
 *  ('ebuild', '/', 'media-libs/x264-0.0.20090629', 'merge'), Log file:
 *   '/public/tmp/linux-64/portage/media-libs/x264-0.0.20090629/temp/build.log'
 *  ('ebuild', '/', 'x11-libs/libX11-1.2.2', 'merge'), Log file:
 *   '/public/tmp/linux-64/portage/x11-libs/libX11-1.2.2/temp/build.log'
 *  ('ebuild', '/', 'x11-libs/libXext-1.0.5', 'merge')
 *  ('ebuild', '/', 'x11-misc/xscreensaver-5.10', 'merge'), Log file:
 *   '/public/tmp/linux-64/portage/x11-misc/xscreensaver-5.10/temp/build.log'

In this case, behind libXext it would be nice to say "Missing dependencies due to failure" or similar. Can this be done?
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-09-16 17:27:06 UTC
%% emerge --version
Portage 2.2.00.14200-prefix (prefix/linux/amd64, gcc-4.4.1, unavailable, 2.6.9-55.ELsmp x86_64)
Comment 2 Dennis Schridde 2012-12-22 12:36:03 UTC
There is output before that last block you quoted, where portage says:
 * emerge --keep-going: cat/pkg-ver dropped due to unsatisfied
 * dependency.

If that is not sufficient (I am not sure whether the output is repeated after a long emerge with lots of other output), maybe the list of "packages [that] have failed to build or install" could be divided into groups with more detailed headings? Like:

* The following X packages have failed to build or install:
* ... could not be merged into the system:
* ... were dropped due to unsatisfied dependencies:
Comment 3 Zac Medico gentoo-dev 2012-12-22 20:26:09 UTC
(In reply to comment #2)
> There is output before that last block you quoted, where portage says:
>  * emerge --keep-going: cat/pkg-ver dropped due to unsatisfied
>  * dependency.
> 
> If that is not sufficient (I am not sure whether the output is repeated
> after a long emerge with lots of other output),

It's logged via eerror, so it will be echoed by the mod_echo elog module before emerge exits, and you can also find the messages in /var/log/portage/elog/summary.log.

> maybe the list of "packages
> [that] have failed to build or install" could be divided into groups with
> more detailed headings? Like:
> 
> * The following X packages have failed to build or install:
> * ... could not be merged into the system:
> * ... were dropped due to unsatisfied dependencies:

Yeah, we could do that. The eerror messages are currently generated inside _calc_resume_list in pym/_emerge/Scheduler.py.