wkentaro
11/18/2015 - 3:28 AM

nlpt build log which fails and reported at https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/39#issuecomment-157593593

% catkin bt --force-cmake -iv --start-with-this -c
==> Expanding alias 'bt' from 'catkin bt --force-cmake -iv --start-with-this -c' to 'catkin b --this --force-cmake -iv --start-with-this -c'
==> Expanding alias 'b' from 'catkin b --this --force-cmake -iv --start-with-this -c' to 'catkin build --this --force-cmake -iv --start-with-this -c'
-------------------------------------------------------------------------------------
Profile:                     default
Extending:          [cached] /home/wkentaro/ros/indigo_parent/install:/opt/ros/indigo
Workspace:                   /home/wkentaro/ros/indigo
Source Space:       [exists] /home/wkentaro/ros/indigo/src
Build Space:        [exists] /home/wkentaro/ros/indigo/build
Devel Space:        [exists] /home/wkentaro/ros/indigo/devel
Install Space:     [missing] /home/wkentaro/ros/indigo/install
DESTDIR:                     None
-------------------------------------------------------------------------------------
Isolate Develspaces:         False
Install Packages:            False
Isolate Installs:            False
-------------------------------------------------------------------------------------
Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
-------------------------------------------------------------------------------------
Whitelisted Packages:        None
Blacklisted Packages:        None
-------------------------------------------------------------------------------------
Workspace configuration appears valid.

NOTE: Forcing CMake to run for each package.
-------------------------------------------------------------------------------------
Found '174' packages in 0.2 seconds.
Starting ==> nlopt
[nlopt] ==> '/home/wkentaro/ros/indigo/build/nlopt/build_env.sh /usr/bin/cmake /home/wkentaro/ros/indigo/src/jsk-ros-pkg/jsk_3rdparty/3rdparty/nlopt -DCATKIN_DEVEL_PREFIX=/home/wkentaro/ros/indigo/devel -DCMAKE_INSTALL_PREFIX=/home/wkentaro/ros/indigo/install' in '/home/wkentaro/ros/indigo/build/nlopt'
[nlopt] -- Using CATKIN_DEVEL_PREFIX: /home/wkentaro/ros/indigo/devel
[nlopt] -- Using CMAKE_PREFIX_PATH: /home/wkentaro/ros/indigo/devel;/home/wkentaro/ros/indigo_parent/install;/opt/ros/indigo
[nlopt] -- This workspace overlays: /home/wkentaro/ros/indigo/devel;/home/wkentaro/ros/indigo_parent/install;/opt/ros/indigo
[nlopt] -- Using PYTHON_EXECUTABLE: /usr/bin/python
[nlopt] -- Using Debian Python package layout
[nlopt] -- Using empy: /usr/bin/empy
[nlopt] -- Using CATKIN_ENABLE_TESTING: ON
[nlopt] -- Call enable_testing()
[nlopt] -- Using CATKIN_TEST_RESULTS_DIR: /home/wkentaro/ros/indigo/build/nlopt/test_results
[nlopt] -- Found gtest sources under '/usr/src/gtest': gtests will be built
[nlopt] -- Using Python nosetests: /home/wkentaro/.local/bin/nosetests-2.7
[nlopt] -- catkin 0.6.16
[nlopt] -- Configuring done
[nlopt] -- Generating done
[nlopt] -- Build files have been written to: /home/wkentaro/ros/indigo/build/nlopt
[nlopt] <== '/home/wkentaro/ros/indigo/build/nlopt/build_env.sh /usr/bin/cmake /home/wkentaro/ros/indigo/src/jsk-ros-pkg/jsk_3rdparty/3rdparty/nlopt -DCATKIN_DEVEL_PREFIX=/home/wkentaro/ros/indigo/devel -DCMAKE_INSTALL_PREFIX=/home/wkentaro/ros/indigo/install' finished with return code '0'
[nlopt] ==> '/home/wkentaro/ros/indigo/build/nlopt/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j' in '/home/wkentaro/ros/indigo/build/nlopt'
[nlopt] [ 50%] Generating /home/wkentaro/ros/indigo/devel/lib/libnlopt_cxx.so, /home/wkentaro/ros/indigo/devel/include/nlopt
[nlopt] make[3]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
[nlopt] checking for a BSD-compatible install... /usr/bin/install -c
[nlopt] checking whether build environment is sane... yes
[nlopt] checking for a thread-safe mkdir -p... /bin/mkdir -p
[nlopt] checking for gawk... gawk
[nlopt] checking whether make sets $(MAKE)... yes
[nlopt] checking whether to enable maintainer-specific portions of Makefiles... no
[nlopt] checking for gcc... gcc
[nlopt] checking whether the C compiler works... yes
[nlopt] checking for C compiler default output file name... a.out
[nlopt] checking for suffix of executables...
[nlopt] checking whether we are cross compiling... no
[nlopt] checking for suffix of object files... o
[nlopt] checking whether we are using the GNU C compiler... yes
[nlopt] checking whether gcc accepts -g... yes
[nlopt] checking for gcc option to accept ISO C89... none needed
[nlopt] checking for style of include used by make... GNU
[nlopt] checking dependency style of gcc... gcc3
[nlopt] checking for gcc option to accept ISO C99... -std=gnu99
[nlopt] checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
[nlopt] checking whether ln -s works... yes
[nlopt] checking whether make sets $(MAKE)... (cached) yes
[nlopt] checking build system type... x86_64-unknown-linux-gnu
[nlopt] checking host system type... x86_64-unknown-linux-gnu
[nlopt] checking how to print strings... printf
[nlopt] checking for a sed that does not truncate output... /bin/sed
[nlopt] checking for grep that handles long lines and -e... /bin/grep
[nlopt] checking for egrep... /bin/grep -E
[nlopt] checking for fgrep... /bin/grep -F
[nlopt] checking for ld used by gcc -std=gnu99... /usr/bin/ld
[nlopt] checking if the linker (/usr/bin/ld) is GNU ld... yes
[nlopt] checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
[nlopt] checking the name lister (/usr/bin/nm -B) interface... BSD nm
[nlopt] checking the maximum length of command line arguments... 3458764513820540925
[nlopt] checking whether the shell understands some XSI constructs... yes
[nlopt] checking whether the shell understands "+="... yes
[nlopt] checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
[nlopt] checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
[nlopt] checking for /usr/bin/ld option to reload object files... -r
[nlopt] checking for objdump... objdump
[nlopt] checking how to recognize dependent libraries... pass_all
[nlopt] checking for dlltool... dlltool
[nlopt] checking how to associate runtime and link libraries... printf %s\n
[nlopt] checking for ar... ar
[nlopt] checking for archiver @FILE support... @
[nlopt] checking for strip... strip
[nlopt] checking for ranlib... ranlib
[nlopt] checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
[nlopt] checking for sysroot... no
[nlopt] checking for mt... mt
[nlopt] checking if mt is a manifest tool... no
[nlopt] checking how to run the C preprocessor... gcc -std=gnu99 -E
[nlopt] checking for ANSI C header files... yes
[nlopt] checking for sys/types.h... yes
[nlopt] checking for sys/stat.h... yes
[nlopt] checking for stdlib.h... yes
[nlopt] checking for string.h... yes
[nlopt] checking for memory.h... yes
[nlopt] checking for strings.h... yes
[nlopt] checking for inttypes.h... yes
[nlopt] checking for stdint.h... yes
[nlopt] checking for unistd.h... yes
[nlopt] checking for dlfcn.h... yes
[nlopt] checking for objdir... .libs
[nlopt] checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
[nlopt] checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
[nlopt] checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
[nlopt] checking if gcc -std=gnu99 static flag -static works... yes
[nlopt] checking if gcc -std=gnu99 supports -c -o file.o... yes
[nlopt] checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
[nlopt] checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
[nlopt] checking whether -lc should be explicitly linked in... no
[nlopt] checking dynamic linker characteristics... GNU/Linux ld.so
[nlopt] checking how to hardcode library paths into programs... immediate
[nlopt] checking whether stripping libraries is possible... yes
[nlopt] checking if libtool supports shared libraries... yes
[nlopt] checking whether to build shared libraries... yes
[nlopt] checking whether to build static libraries... yes
[nlopt] checking for g++... g++
[nlopt] checking whether we are using the GNU C++ compiler... yes
[nlopt] checking whether g++ accepts -g... yes
[nlopt] checking dependency style of g++... gcc3
[nlopt] checking how to run the C++ preprocessor... g++ -E
[nlopt] checking for ld used by g++... /usr/bin/ld -m elf_x86_64
[nlopt] checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
[nlopt] checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
[nlopt] checking for g++ option to produce PIC... -fPIC -DPIC
[nlopt] checking if g++ PIC flag -fPIC -DPIC works... yes
[nlopt] checking if g++ static flag -static works... yes
[nlopt] checking if g++ supports -c -o file.o... yes
[nlopt] checking if g++ supports -c -o file.o... (cached) yes
[nlopt] checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
[nlopt] checking dynamic linker characteristics... (cached) GNU/Linux ld.so
[nlopt] checking how to hardcode library paths into programs... immediate
[nlopt] checking for ANSI C header files... (cached) yes
[nlopt] checking whether time.h and sys/time.h may both be included... yes
[nlopt] checking for unistd.h... (cached) yes
[nlopt] checking getopt.h usability... yes
[nlopt] checking getopt.h presence... yes
[nlopt] checking for getopt.h... yes
[nlopt] checking for stdint.h... (cached) yes
[nlopt] checking for an ANSI C-conforming const... yes
[nlopt] checking for inline... inline
[nlopt] checking for C thread-local keyword... __thread
[nlopt] checking size of unsigned int... 4
[nlopt] checking size of unsigned long... 8
[nlopt] checking for uint32_t... yes
[nlopt] checking for sin in -lm... yes
[nlopt] checking for BSDgettimeofday... no
[nlopt] checking for gettimeofday... yes
[nlopt] checking for time... yes
[nlopt] checking for qsort_r... yes
[nlopt] checking for getpid... yes
[nlopt] checking for gettid syscall... yes
[nlopt] checking for isnan... yes
[nlopt] checking for isinf... yes
[nlopt] checking for copysign... yes
[nlopt] checking for guile-config... unknown
[nlopt] configure: WARNING: can't find guile-config, disabling Guile wrapper
[nlopt] checking for guile... unknown
[nlopt] configure: WARNING: can't find guile, disabling Guile wrapper
[nlopt] checking for python... /usr/bin/python
[nlopt] checking for python version... 2.7
[nlopt] checking for python platform... linux2
[nlopt] checking for python script directory... ${prefix}/lib/python2.7/site-packages
[nlopt] checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
[nlopt] checking for Python include directory... /usr/include/python2.7
[nlopt] checking Python.h usability... yes
[nlopt] checking Python.h presence... yes
[nlopt] checking for Python.h... yes
[nlopt] checking for Numpy include directory... /usr/local/lib/python2.7/dist-packages/numpy/core/include
[nlopt] checking for numpy/arrayobject.h... yes
[nlopt] checking for mkoctfile... mkoctfile
[nlopt] checking for octave... octave
[nlopt] checking for octave-config... octave-config
[nlopt] checking where octave plugins go... /usr/lib/x86_64-linux-gnu/octave/4.0.0/site/oct/x86_64-pc-linux-gnu
[nlopt] checking where octave scripts go... /usr/share/octave/4.0.0/site/m
[nlopt] checking for mex... no
[nlopt] configure: WARNING: can't find mex: won't be able to compile Matlab plugin
[nlopt] checking for working HUGE_VAL... ok
[nlopt] checking that generated files are newer than configure... done
[nlopt] configure: creating ./config.status
[nlopt] config.status: creating Makefile
[nlopt] config.status: creating nlopt.pc
[nlopt] config.status: creating api/Makefile
[nlopt] config.status: creating util/Makefile
[nlopt] config.status: creating octave/Makefile
[nlopt] config.status: creating direct/Makefile
[nlopt] config.status: creating cdirect/Makefile
[nlopt] config.status: creating stogo/Makefile
[nlopt] config.status: creating praxis/Makefile
[nlopt] config.status: creating lbfgs/Makefile
[nlopt] config.status: creating luksan/Makefile
[nlopt] config.status: creating crs/Makefile
[nlopt] config.status: creating mlsl/Makefile
[nlopt] config.status: creating mma/Makefile
[nlopt] config.status: creating cobyla/Makefile
[nlopt] config.status: creating newuoa/Makefile
[nlopt] config.status: creating neldermead/Makefile
[nlopt] config.status: creating auglag/Makefile
[nlopt] config.status: creating bobyqa/Makefile
[nlopt] config.status: creating isres/Makefile
[nlopt] config.status: creating slsqp/Makefile
[nlopt] config.status: creating test/Makefile
[nlopt] config.status: creating swig/Makefile
[nlopt] config.status: creating swig/nlopt.scm
[nlopt] config.status: creating config.h
[nlopt] config.status: config.h is unchanged
[nlopt] config.status: executing depfiles commands
[nlopt] config.status: executing libtool commands
[nlopt] Making all in util
[nlopt] Making all in direct
[nlopt] Making all in cdirect
[nlopt] Making all in stogo
[nlopt] Making all in praxis
[nlopt] Making all in luksan
[nlopt] Making all in crs
[nlopt] Making all in mlsl
[nlopt] Making all in mma
[nlopt] Making all in cobyla
[nlopt] Making all in newuoa
[nlopt] Making all in lbfgs
[nlopt] Making all in neldermead
[nlopt] Making all in auglag
[nlopt] Making all in bobyqa
[nlopt] Making all in isres
[nlopt] Making all in slsqp
[nlopt] Making all in api
[nlopt] Making all in .
[nlopt] Making all in octave
[nlopt] ./nlopt_optimize-oct.cc:32:31: error: Octave_map was not declared in this scope
[nlopt]  static int struct_val_default(Octave_map &m, const std::string& k,
[nlopt]                                ^
[nlopt] ./nlopt_optimize-oct.cc:32:43: error: m was not declared in this scope
[nlopt]  static int struct_val_default(Octave_map &m, const std::string& k,
[nlopt]                                            ^
[nlopt] ./nlopt_optimize-oct.cc:32:46: error: expected primary-expression before const
[nlopt]  static int struct_val_default(Octave_map &m, const std::string& k,
[nlopt]                                               ^
[nlopt] ./nlopt_optimize-oct.cc:33:6: error: expected primary-expression before int
[nlopt]       int dflt)
[nlopt]       ^
[nlopt] ./nlopt_optimize-oct.cc:33:14: error: expression list treated as compound expression in initializer [-fpermissive]
[nlopt]       int dflt)
[nlopt]               ^
[nlopt] ./nlopt_optimize-oct.cc:34:1: error: expected , or ; before { token
[nlopt]  {
[nlopt]  ^
[nlopt] make[7]: *** [nlopt_optimize.oct] Error 1
[nlopt] make[6]: *** [all] Error 2
[nlopt] make[5]: *** [all-recursive] Error 1
[nlopt] make[4]: *** [all] Error 2
[nlopt] make[3]: *** [installed] Error 2
[nlopt] make[2]: *** [/home/wkentaro/ros/indigo/devel/lib/libnlopt_cxx.so] Error 2
[nlopt] make[1]: *** [CMakeFiles/libnlopt_cxx.dir/all] Error 2
[nlopt] make: *** [all] Error 2
[nlopt] <== '/home/wkentaro/ros/indigo/build/nlopt/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j' failed with return code '2'
Failed   <== nlopt [ 3.8 seconds ]
[build] There were '1' errors:

Failed to build package 'nlopt' because the following command:

# Command to reproduce:
cd /home/wkentaro/ros/indigo/build/nlopt && /home/wkentaro/ros/indigo/build/nlopt/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j; cd -

# Path to log:
cat /home/wkentaro/ros/indigo/build/build_logs/nlopt.log

Exited with return code: 2


Build summary:
 Not built  assimp_devel                 Not built  baxter_common                Not built  baxter_core_msgs
 Not built  baxter_description           Not built  baxter_examples              Not built  baxter_gazebo
 Not built  baxter_interface             Not built  baxter_maintenance_msgs      Not built  baxter_sdk
 Not built  baxter_sim_controllers       Not built  baxter_sim_hardware          Not built  baxter_sim_io
 Not built  baxter_sim_kinematics        Not built  baxter_simulator             Not built  baxter_tools
 Not built  baxtereus                    Not built  bayesian_belief_networks     Not built  camera_calibration
 Not built  checkerboard_detector        Not built  collada_urdf_jsk_patch       Not built  contact_states_observer
 Not built  cv_bridge                    Not built  depth_image_proc             Not built  detect_cans_in_fridge_201202
 Not built  docomo_perception            Not built  downward                     Not built  drc_com_common
 Not built  drc_task_common              Not built  drc_valve_task               Not built  dynamic_tf_publisher
 Not built  elevator_move_base_pr2       Not built  eus_assimp                   Not built  eus_nlopt
 Not built  eus_qp                       Not built  eus_qpoases                  Not built  euscollada
 Not built  eusurdf                      Not built  ff                           Not built  ffha
 Not built  gazebo_drive_simulator       Not built  image_geometry               Not built  image_pipeline
 Not built  image_proc                   Not built  image_rotate                 Not built  image_view
 Not built  image_view2                  Not built  imagesift                    Not built  joy_mouse
 Not built  jsk_2011_07_pr2_semantic     Not built  jsk_2013_04_pr2_610          Not built  jsk_2013_05_pr2_tatu
 Not built  jsk_2014_06_pr2_drcbox       Not built  jsk_201504_miraikan          Not built  jsk_2015_05_baxter_apc
 Not built  jsk_3rdparty                 Not built  jsk_android_gui              Not built  jsk_android_gui_api9
 Not built  jsk_apc                      Not built  jsk_apc2015_common           Not built  jsk_baxter_desktop
 Not built  jsk_baxter_startup           Not built  jsk_baxter_web               Not built  jsk_calibration
 Not built  jsk_common                   Not built  jsk_common_msgs              Not built  jsk_control
 Not built  jsk_data                     Not built  jsk_demo_common              Not built  jsk_footstep_controller
 Not built  jsk_footstep_msgs            Not built  jsk_footstep_planner         Not built  jsk_gui_msgs
 Not built  jsk_hark_msgs                Not built  jsk_ik_server                Not built  jsk_interactive
 Not built  jsk_interactive_marker       Not built  jsk_interactive_test         Not built  jsk_maps
 Not built  jsk_model_tools              Not built  jsk_nao_startup              Not built  jsk_network_tools
 Not built  jsk_openni_kinect            Not built  jsk_pcl_ros                  Not built  jsk_pepper_startup
 Not built  jsk_perception               Not built  jsk_planning                 Not built  jsk_pr2_calibration
 Not built  jsk_pr2_core_apps            Not built  jsk_pr2_startup              Not built  jsk_pr2eus
 Not built  jsk_recognition              Not built  jsk_recognition_msgs         Not built  jsk_recognition_utils
 Not built  jsk_robot_startup            Not built  jsk_robot_utils              Not built  jsk_roseus
 Not built  jsk_rqt_plugins              Not built  jsk_rviz_plugins             Not built  jsk_semantic_maps
 Not built  jsk_smart_gui                Not built  jsk_teleop_joy               Not built  jsk_tilt_laser
 Not built  jsk_tools                    Not built  jsk_topic_tools              Not built  jsk_visualization
 Not built  julius                       Not built  kinect_near_mode_calibration Not built  laser_filters_jsk_patch
 Not built  libcmt                       Not built  libsiftfast                  Not built  local_app_manager
 Not built  mini_maxwell                 Not built  multi_map_server             Not built  naoeus
 Not built  naoqieus                     Not built  opencv_apps                  Not built  opencv_tests
 Not built  openni_pointer               Not built  openni_scene                 Not built  openni_swipe
 Not built  opt_camera                   Not built  pcl_ros                      Not built  pddl_msgs
 Not built  pddl_planner                 Not built  pddl_planner_viewer          Not built  peppereus
 Not built  perception_pcl               Not built  pgm_learner                  Not built  pointcloud_to_laserscan
 Not built  posedetection_msgs           Not built  pr2_base_trajectory_action   Not built  pr2eus
 Not built  pr2eus_moveit                Not built  resized_image_transport      Not built  roseus
 Not built  roseus_mongo                 Not built  roseus_remote                Not built  roseus_smach
 Not built  roseus_tutorials             Not built  rospatlite                   Not built  rosping
 Not built  rospy_service_experiment     Not built  rostwitter                   Not built  rqt_action
 Not built  rqt_bag                      Not built  rqt_bag_plugins              Not built  rqt_common_plugins
 Not built  rqt_console                  Not built  rqt_dep                      Not built  rqt_graph
 Not built  rqt_image_view               Not built  rqt_launch                   Not built  rqt_logger_level
 Not built  rqt_msg                      Not built  rqt_plot                     Not built  rqt_publisher
 Not built  rqt_py_common                Not built  rqt_py_console               Not built  rqt_reconfigure
 Not built  rqt_service_caller           Not built  rqt_shell                    Not built  rqt_srv
 Not built  rqt_top                      Not built  rqt_topic                    Not built  rqt_web
 Not built  sklearn                      Not built  speech_recognition_msgs      Not built  stereo_image_proc
 Not built  task_compiler                Not built  virtual_force_publisher      Not built  vision_opencv
 Not built  voice_text                   Not built  wkentaro_ros_pkg

Failed packages:
 Failed     nlopt

[build] Successfully built '0' packages, failed to build '1' packages, and did not try to build '173' packages.
[build] Runtime: 4.4 seconds