[CMake] Parallel jobs failed for cmake
Igor Sobinov
sluge at mail.ru
Thu Dec 10 00:19:10 EST 2015
Hello All,
Here is the small description of the issue:
OS: RHEL 6.6
cmake ver. 2.8.12.2
gmake ver. 3.81
I launch the build and got the following error:
make build_release -j5
make[1]: Entering directory `/home/igor/build_root/release_target'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. So, make[1] reported that's job server is unavailable.
Here is typical process subtree of my make:
root 1731 0.0 0.0 66688 580 ? Ss Nov18 0:00 /usr/sbin/sshd
root 30968 0.0 0.0 100436 4744 ? Ss 07:44 0:00 \_ sshd: root at pts/3
root 30975 0.0 0.0 108432 1888 pts/3 Ss 07:44 0:00 | \_ -bash
root 31043 0.0 0.0 163856 2212 pts/3 S 07:49 0:00 | \_ su - igor
igor 31045 0.0 0.0 108472 1896 pts/3 S 07:49 0:00 | \_ -bash
igor 5460 0.0 0.0 101152 972 pts/3 S+ 08:10 0:00 | \_ make build_release -j5
igor 5466 0.0 0.0 106096 1164 pts/3 S+ 08:10 0:00 | \_ /bin/sh -c cd /home/igor/build_root/release_target; make release
igor 5467 0.0 0.0 101184 1060 pts/3 S+ 08:10 0:00 | \_ make release
igor 5470 0.0 0.0 101448 1256 pts/3 S+ 08:10 0:00 | \_ make -f CMakeFiles/Makefile2 release
igor 5475 0.0 0.0 101448 1260 pts/3 S+ 08:10 0:00 | \_ make -f CMakeFiles/Makefile2 install/CMakeFiles/release.dir/all
igor 5480 0.0 0.0 101052 944 pts/3 S+ 08:10 0:00 | \_ make -f CMakeFiles/make_install.dir/build.make CMakeFiles/make_install.dir/build
igor 5481 0.0 0.0 101184 1020 pts/3 S+ 08:10 0:00 | \_ make install
igor 5486 0.0 0.0 101448 1256 pts/3 S+ 08:10 0:00 | \_ make -f CMakeFiles/Makefile2 all
igor 5880 6.3 0.1 106980 6892 pts/3 S+ 08:11 0:00 | \_ make -f mydaemon/CMakeFiles/snmp.dir/build.make mydaemon/CMakeFiles/snmp.dir/build
Hope it helps to find the issue
Regards, Igor
>Среда, 9 декабря 2015, 10:57 -05:00 от Paul Smith <paul at mad-scientist.net>:
>
>On Wed, 2015-12-09 at 07:15 -0800, J Decker wrote:
>> Probably you're building on windows; which doesn't do 'fork' so it's
>> not possible to parallel make, and you'll have to suffer with
>> single-target makes.
>
>You just need a newer version of GNU make. GNU make for Windows has
>supported the jobserver feature since GNU make 4.0 (released in October
>2013). There were some issues with that release so I recommend getting
>4.1, the latest. There are pre-built versions available for download
>from various places, such as Eli's archives:
>
>http://sourceforge.net/projects/ezwinports/files/make-4.1-2-without-gui
>le-w32-bin.zip/download
>
>http://sourceforge.net/projects/ezwinports/files/make-4.1-2-with-guile-
>w32-bin.zip/download
Bye, Igor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20151210/88aa1662/attachment.html>
More information about the CMake
mailing list