failure of catkin_make_isolated on FreeBSD
I'm attempting to install ROS Kinetic on FreeBSD 12.1 (at my peril).
I'm following the 'from source' instructions at: http://wiki.ros.org/kinetic/Installat...
I am performing step 2.1.3 (Building the catkin workspace), which directs invoking catkin_make_isolated
as follows:
./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
I get the following output:
==> Processing catkin package: 'catkin'
...
==> make -j4 -l4 in '$PATH/ros_catkin_ws/build_isolated/catkin'
...
<== Failed to process package 'catkin':
Command '['make', '-j4', '-l4']' returned non-zero exit status 2
This seems to be due to FreeBSD make
not having the loading average flag -l
.
I have tried both setting the MAKEFLAGS
and ROS_PARALLEL_JOBS
environment variables to avoid setting the -l
flag. E.g., set ROS_PARALLEL_JOBS='-j4'
.
The result is that it sends a flag -pn
to make
, as follows:
==> Processing catkin package: 'catkin'
...
==> make -j4 in '$PATH/ros_catkin_ws/build_isolated/catkin'
...
<== Failed to process package 'catkin':
Command '['make', '-pn']' returned non-zero exit status 2
Interestingly, it appears that it's invoking make -j4
, but then says that the actual flag sent to make
is -pn
.
I have also attempted to set the flags when invoking catkin_make_isolated
, but get the same result (with -pn
). For example:
./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release -j4