Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 764443 - sys-apps/portage: repeat postinst messages at the very end of emerge output (after preserved-libs)
Summary: sys-apps/portage: repeat postinst messages at the very end of emerge output (...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Blocks: preserve-libs
  Show dependency tree
Reported: 2021-01-08 12:38 UTC by Michał Górny
Modified: 2022-12-26 11:41 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-01-08 12:38:30 UTC
Right now, the postinst messages are repeated by Portage near end of build process.  However, they are followed by some more output, in particular preserved library listing that can get very long.

Example (of not so-long listing):
>>> dev-util/catfish-4.16.0 merged.
>>> Regenerating /etc/

 * Messages for package dev-python/python-distutils-extra-2.45:
 * Log file: /var/log/portage/dev-python:python-distutils-extra-2.45:20210108-123425.log

 * DISTUTILS_USE_SETUPTOOLS value is probably incorrect
 *   have:     DISTUTILS_USE_SETUPTOOLS=rdepend
 *   expected: DISTUTILS_USE_SETUPTOOLS=bdepend
>>> Auto-cleaning packages...

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

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

!!! existing preserved libs:
>>> package: dev-tcltk/blt-2.5.3-r1
 *  - /usr/lib64/
 *      used by /usr/lib64/python3.6/lib-dynload/ (dev-lang/python-3.6.12-r1)
>>> package: media-libs/qhull-2020.2-r2
 *  - /usr/lib64/
 *  - /usr/lib64/
 *      used by /usr/lib/python3.7/site-packages/matplotlib/ (dev-python/matplotlib-3.3.3-r1)
 *      used by /usr/lib/python3.8/site-packages/matplotlib/ (dev-python/matplotlib-3.3.3-r1)
 *      used by /usr/lib/python3.9/site-packages/matplotlib/ (dev-python/matplotlib-3.3.3-r1)
Use emerge @preserved-rebuild to rebuild packages using these libraries

Please move them to the very end, so that preserved-libs wouldn't cause them to go off-screen.