Bug 1199360
| Summary: | Parallel build of webkitgtk4 fails with cmake 3.2 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael Catanzaro <mcatanzaro> |
| Component: | cmake | Assignee: | Orion Poplawski <orion> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | fedora, helio, jreznik, ltinkl, orion, pmachata, rdieter, terje.rosten, tpopela |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | cmake-3.2.1-1.fc22 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-03-18 10:34:15 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Michael Catanzaro
2015-03-06 03:29:34 UTC
I've heard of this before (but have not seen it myself). The fix before was to not use the same MAIN_DEPENDENCY for multiple add_custom_commands. Looking at the source tree of WebKit though doesn't seem to indicate that makeprop.pl is being used in that way though. Is it possible to get the debug output from make for why it is running the command? Also, how does the Ninja generator fare? Bug reported upstream: http://www.cmake.org/Bug/view.php?id=15434 Thanks for your help Ben! As noted in your upstream bug, it's probably the same issue as http://www.cmake.org/Bug/view.php?id=15116#c38168 which was hopefully fixed earlier today, so I'd rather see if that works before spending more time on this. Well, if you get a chance, it might be worth trying the Ninja generator to help get build times down as well (I'd also be interested in a %cmake_ninja macro for use in specfiles). You might need to set some pool limits to keep the memory usage down during link steps though. See: http://www.cmake.org/cmake/help/v3.1/prop_gbl/JOB_POOLS.html Can we have cmake updated to 3.2.1, will fix this bug (hopefully): http://www.kitware.com/blog/home/post/862 Thanks Orion! By the way, I've been using the Ninja generator pretty much exclusively for local development of WebKitGTK+ since last summer. It works great. (In reply to Orion Poplawski from comment #6) > Building - http://koji.fedoraproject.org/koji/taskinfo?taskID=9205195 Orion, can you please build it for F22 as well? cmake-3.2.1-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/cmake-3.2.1-1.fc22 Package cmake-3.2.1-1.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing cmake-3.2.1-1.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-3892/cmake-3.2.1-1.fc22 then log in and leave karma (feedback). cmake-3.2.1-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |