Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 641700

Summary: Please make install-qa-check.d/60pngfix run in parallel
Product: Portage Development Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: 2.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-12-19 11:13:12 UTC
Hi,

while updating my dev machine I found out that games-simulation/flightgear-data spends a massive amount of time running install-qa-check.d/60pngfix. This is due to the package containing roughly 5000 png files.

To be more precise, games-simulation/flightgear-data-2017.3.1 installs 4811 png files on my system and needs about 15 minutes for the whole installation although there's no compilation involved. 

Looking at the code it seems as if all found png files are checked one after each other by pngfix. This is quite some waste of time and resources on today's multi-processor machines. 
Therefor I'd like to request a parallel run of pngfix to save time and to use modern systems more efficiently.
My idea was to re-use the -j<num> from MAKEOPTS for the numer of parallel pngfix runs but that's just my naive idea of a possible solution. Perhaps you devs have some better solution in mind.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-12-19 11:13:50 UTC

*** This bug has been marked as a duplicate of bug 630292 ***