Bug 393726

Summary: Parallelized translation build slower then seriallized build
Product: [Frameworks and Libraries] frameworks-ki18n Reporter: Markus <darkvision>
Component: generalAssignee: Chusslove Illich <caslav.ilic>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 5.45.0   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: output of ps aux | grep msgfmt

Description Markus 2018-05-01 12:28:18 UTC
Created attachment 112344 [details]
output of ps aux | grep msgfmt

With ki18n-5.44 building plasma-workspace takes less then 10min on a AMD 6-core-FX3100MHz CPU. With 5.45 and this commit https://cgit.kde.org/ki18n.git/commit/?id=5a70e96795f1e8529780f49ab30b19fcfab12a11 build takes ages to finish (unsure how long the build takes, after 1h i cancelled the build). I reverted that commit and recompiled 5.45 and everything is fine.

That commit should improve build times but for some packages, at least on my system, build will take much, much longer.

Some other packages affected by that are plasma-desktop and konqueror.

Using make -j6 to build the package. make -j1 does not make any difference.

Any suggestions on how to debug that issue? make VERBOSE=1 does not give any more detailed output except 'make' prints some msgfmt commands which take lots of time to finish.
While the package plasma-workspace compiles i tried the following command on another console:
ps aux | grep -c msgfmt 
Sometimes i get more then 3000 active commands. Might that be the problem? Attached is a logfile of 'ps aux | grep msgfmt' that shows lots of msgfmt commands.
Without the commit above i get about a maximum of 2-3 msgfmt commands at the same time and build finishes much faster.
Comment 1 Justin Zobel 2022-11-21 08:22:08 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-12-06 05:17:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-12-21 05:20:05 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!