Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 714620 - sys-apps/portage: After emerge - duplication of messages with default PORTAGE_ELOG_SYSTEM="echo" setting (and not emerge --jobs or --quiet-build)
Summary: sys-apps/portage: After emerge - duplication of messages with default PORTAGE...
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-25 04:15 UTC by Vitaly Zdanevich
Modified: 2020-03-25 15:57 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 Vitaly Zdanevich 2020-03-25 04:15:34 UTC
For example after emerging darktable:

```
   /usr/lib/darktable/plugins/imageio/storage/liblatex.so
   /usr/lib/darktable/plugins/imageio/storage/libflickr.so
   /usr/lib/darktable/plugins/imageio/storage/libpicasa.so
   /usr/lib/darktable/plugins/imageio/storage/libfacebook.so
   /usr/lib/darktable/plugins/imageio/storage/libpiwigo.so
   /usr/bin/darktable-cli
   /usr/bin/darktable-generate-cache
   /usr/bin/darktable-chart
   /usr/bin/darktable-cmstest

>>> Installing (6 of 6) media-gfx/darktable-2.6.2::gentoo
 * Updating .desktop files database ...                                                                         [ ok ]
 * Updating icons cache ...                                                                                     [ ok ]
 * when updating from the currently stable 1.6 series,
 * please bear in mind that your edits will be preserved during this process,
 * but it will not be possible to downgrade from 2.0 to 1.6 any more.

 * It will not be possible to downgrade!

>>> Recording media-gfx/darktable in "world" favorites file...

 * Messages for package media-gfx/darktable-2.6.2:

 * when updating from the currently stable 1.6 series,
 * please bear in mind that your edits will be preserved during this process,
 * but it will not be possible to downgrade from 2.0 to 1.6 any more.
 * It will not be possible to downgrade!
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
```

or another example:
```
>>> Installing (1 of 1) sys-kernel/gentoo-sources-4.19.97::gentoo

 * Note: Even though you have successfully unmerged 
 * your kernel package, directories in kernel source location: 
 * /usr/src/linux-4.19.97-gentoo
 * with modified files will remain behind. By design, package managers
 * will not remove these modified files and the directories they reside in.

 * For more detailed kernel removal instructions, please see: 
 * https://wiki.gentoo.org/wiki/Kernel/Removal


 * If you are upgrading from a previous kernel, you may be interested
 * in the following document:
 *   - General upgrade guide: https://wiki.gentoo.org/wiki/Kernel/Upgrade

 * For more info on this patchset, and how to report problems, see:
 * https://dev.gentoo.org/~mpagano/genpatches

 * Messages for package sys-kernel/gentoo-sources-4.19.97:

 * Note: Even though you have successfully unmerged 
 * your kernel package, directories in kernel source location: 
 * /usr/src/linux-4.19.97-gentoo
 * with modified files will remain behind. By design, package managers
 * will not remove these modified files and the directories they reside in.
 * For more detailed kernel removal instructions, please see: 
 * https://wiki.gentoo.org/wiki/Kernel/Removal

 * Messages for package sys-kernel/gentoo-sources-4.19.97:

 * If you are upgrading from a previous kernel, you may be interested
 * in the following document:
 *   - General upgrade guide: https://wiki.gentoo.org/wiki/Kernel/Upgrade
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
```

I asked here https://www.reddit.com/r/Gentoo/comments/eva93s/emerge_duplication_of_message_when_installing_one/
Comment 1 Zac Medico gentoo-dev 2020-03-25 04:39:37 UTC
The second set of messages at the end come from the elog echo module which is enabled by this default setting:

PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo"

People using emerge --jobs or --quiet-build don't see the first set of messages because they're redirected to the build log.
Comment 2 Vitaly Zdanevich 2020-03-25 09:05:57 UTC
Anyway, this is odd default behavior.
Comment 3 Zac Medico gentoo-dev 2020-03-25 15:57:03 UTC
Yeah it can seem odd, but the reasons are understandable. I think most people are using --jobs or --quiet, and the elog echo module is obviously useful in this case.