Michał Górny
2018-09-28 07:55:25 UTC
Hi,
Here's a proper fix for the problem, as promised. I've also taken
the liberty of reverting the ugly hack that is no longer necessary,
and reintroducing parallel compression as requested earlier.
I've also increased verbosity of the messages. If precompressed files
are found, Portage now explicitly prints the list of them. If colliding
files are found, Portage explicitly prints which files collide and asks
the ebuild maintainer to fix that.
It no longer tries to silently ignore this major issue and/or discard
some of the files but explicitly fails, given that there are no valid
circumstances for ebuilds to install colliding files. It only indicates
a serious issue with the ebuild, and Portage should explicitly force
the developer to fix it.
--
Best regards,
Michał Górny
Michał Górny (4):
Revert "ecompress-file: de-duplicate filtered_args (bug 667072)"
ecompress: Run compression in parallel
ecompress: Detect and report colliding (un)compressed files
ecompress: Fix duplicate pre-compressed file warning
bin/ecompress | 44 ++++++++++++++++++++++++++++++++++++++++++--
bin/ecompress-file | 22 ++++++----------------
2 files changed, 48 insertions(+), 18 deletions(-)
Here's a proper fix for the problem, as promised. I've also taken
the liberty of reverting the ugly hack that is no longer necessary,
and reintroducing parallel compression as requested earlier.
I've also increased verbosity of the messages. If precompressed files
are found, Portage now explicitly prints the list of them. If colliding
files are found, Portage explicitly prints which files collide and asks
the ebuild maintainer to fix that.
It no longer tries to silently ignore this major issue and/or discard
some of the files but explicitly fails, given that there are no valid
circumstances for ebuilds to install colliding files. It only indicates
a serious issue with the ebuild, and Portage should explicitly force
the developer to fix it.
--
Best regards,
Michał Górny
Michał Górny (4):
Revert "ecompress-file: de-duplicate filtered_args (bug 667072)"
ecompress: Run compression in parallel
ecompress: Detect and report colliding (un)compressed files
ecompress: Fix duplicate pre-compressed file warning
bin/ecompress | 44 ++++++++++++++++++++++++++++++++++++++++++--
bin/ecompress-file | 22 ++++++----------------
2 files changed, 48 insertions(+), 18 deletions(-)
--
2.19.0
2.19.0