Ask Your Question
0

jenkins fails to build with "No such file or directory"

asked 2013-05-14 06:05:15 -0500

130s gravatar image

updated 2013-05-14 16:58:42 -0500

I've asked about similar issue that happens on local catkin_make.

Now it's solved, but with the same pkgs that I discussed there, I'm seeing similar issue happening on jenkins that complains the .h file from .msg is not found, although the console output implies it is built. Here's the excerpt from jenkins' output:

Executing command 'make'
[  4%] Generating ui_widgets_list.h
[  9%] Generating include/rqt_cpp_common/moc_widgets_list.cxx
Scanning dependencies of target rqt_cpp_common
[ 13%] Building CXX object rqt_common_plugins/rqt_cpp_common/CMakeFiles/rqt_cpp_common.dir/src/rqt_cpp_common/widgets_list.cpp.o
[ 18%] Building CXX object rqt_common_plugins/rqt_cpp_common/CMakeFiles/rqt_cpp_common.dir/include/rqt_cpp_common/moc_widgets_list.cxx.o
Linking CXX shared library ../../devel/lib/librqt_cpp_common.so
[ 18%] Built target rqt_cpp_common
Scanning dependencies of target rqt_cpp_common_gencpp
[ 22%] Generating C++ code from rqt_cpp_common/RouteGps.msg
[ 22%] Built target rqt_cpp_common_gencpp
Scanning dependencies of target rqt_cpp_common_genlisp
[ 27%] Generating Lisp code from rqt_cpp_common/RouteGps.msg
[ 27%] Built target rqt_cpp_common_genlisp
Scanning dependencies of target rqt_cpp_common_genpy
[ 31%] Generating Python from MSG rqt_cpp_common/RouteGps
[ 36%] Generating Python msg __init__.py for rqt_cpp_common
[ 36%] Built target rqt_cpp_common_genpy
:
[ 72%] Generating ui_marble_plugin.h
[ 77%] Generating include/rqt_marble/moc_marble_plugin.cxx
[ 81%] Generating include/rqt_marble/moc_bridge_ros_marble.cxx
Scanning dependencies of target rqt_marble
[ 86%] Building CXX object rqt_common_plugins/rqt_marble/CMakeFiles/rqt_marble.dir/src/rqt_marble/marble_plugin.cpp.o
In file included from /tmp/test_repositories/src_repository/rqt_common_plugins/rqt_marble/include/rqt_marble/marble_plugin.h:42:0,
                 from /tmp/test_repositories/src_repository/rqt_common_plugins/rqt_marble/src/rqt_marble/marble_plugin.cpp:48:
/tmp/test_repositories/src_repository/rqt_common_plugins/rqt_marble/include/rqt_marble/bridge_ros_marble.h:47:37: fatal error: rqt_cpp_common/RouteGps.h: No such file or directory
compilation terminated.

What's wrong?

The rendition of the sources that were used for building: rqt_cpp_common, rqt_marble

By the way, the pkg that tries to refer to the missing .h file, rqt_marble pkg, is not even released. It just resides within the source repo of the metapkg being built. So I'm not expecting that this particular pkg to be built but I feel I should open a new thread for it.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-05-14 10:37:27 -0500

tfoote gravatar image

Your title is misleading. The problem is not that the file doesn't exist, the problem is that you are missing the dependency on rqt_cpp_common from your rqt_marble CMakeLists.txt in the find_package catkin line.

edit flag offensive delete link more

Comments

After adding rqt_cpp_common in find_package, looks like jenkins stops failing (the latest build says unstable, not failure). I also modified the title accordingly.

130s gravatar image 130s  ( 2013-05-14 17:01:08 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-05-14 06:05:15 -0500

Seen: 4,080 times

Last updated: May 14 '13