Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234301 - portage-2.2-rc6 doesn't show pkg_nofetch() stuff with --jobs
Summary: portage-2.2-rc6 doesn't show pkg_nofetch() stuff with --jobs
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 210077
  Show dependency tree
 
Reported: 2008-08-09 11:18 UTC by Justin Lecher (RETIRED)
Modified: 2008-11-02 00:58 UTC (History)
0 users

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 Justin Lecher (RETIRED) gentoo-dev 2008-08-09 11:18:08 UTC
I tried to install nmrpipe which has a fetch restiction. With emerge --jobs=4 -v sci-chemistry/nmrpipe the einfo from pkg_nofetch() isn't shown. As a result the sense of this is lost. W/o --jobs everything works like expected.
Comment 1 Zac Medico gentoo-dev 2008-08-09 20:17:29 UTC
This will be handled a little better in 2.2_rc7 by automatically displaying the content of /var/log/emerge-fetch.log in cases like this.

In a later version I plan to add support for a temp directory during fetch, for holding elog messages from pkg_nofetch or whatnot.

Not that with --verbose enabled you can see a summary of fetch restrictions at the bottom of the merge list display and in any case you can see the pkg_nofetch output in /var/log/emerge-fetch.log.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2008-08-10 07:58:39 UTC
> Not that with --verbose enabled you can see a summary of fetch restrictions at
> the bottom of the merge list display 
I don't see any einfo from pkg_nofetch at the bottom. All other einfos are shown except that one.
Isn't that problem to take a quick look into the ebuild to find the packages to fetch, but I was sure to have them fetched and was confused that the fetch restriction is still not full filled. 
Comment 3 Zac Medico gentoo-dev 2008-08-10 10:01:14 UTC
(In reply to comment #2)
> > Not that with --verbose enabled you can see a summary of fetch restrictions at
> > the bottom of the merge list display 
> I don't see any einfo from pkg_nofetch at the bottom. All other einfos are
> shown except that one.

Right, with <2.2_rc7 you won't see the einfo unless you look in /var/log/emerge-fetch.log. In 2.2_rc7 it will display the fetch log automatically if that's the only thing that failed.

For normal elog support in pkg_nofetch, we need to allocate a temporary for the ebuild to store elog messages in. This will not be fixed until after 2.2_rc7 has been released.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2008-08-15 18:33:02 UTC
(In reply to comment #3)
> Right, with <2.2_rc7 you won't see the einfo unless you look in
> /var/log/emerge-fetch.log. In 2.2_rc7 it will display the fetch log
> automatically if that's the only thing that failed.
Perhaps it would be better only show the failed fetch and not the whole log. I was I little stunned as this whole bunch of fetches scrolls down in front of me.
Comment 5 Zac Medico gentoo-dev 2008-08-15 23:17:38 UTC
I suppose we can take the output from a failed fetch and use it to generate an elog message. Then it can easily be displayed, similar to how die messages are displayed.
Comment 6 Zac Medico gentoo-dev 2008-10-12 23:58:40 UTC
In svn r11686 is fixed to generate an eerror message that includes the path of the fetch log.
Comment 7 Zac Medico gentoo-dev 2008-11-02 00:58:27 UTC
This is fixed in 2.2_rc13.