Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

execvp: catkin_generated/env_cached.sh: Text file busy #859

Closed
kopp opened this issue Mar 1, 2017 · 3 comments
Closed

execvp: catkin_generated/env_cached.sh: Text file busy #859

kopp opened this issue Mar 1, 2017 · 3 comments

Comments

@kopp
Copy link
Contributor

kopp commented Mar 1, 2017

Hi,

I get the following strange error from time to time when building a catkin package (called PACKAGE here). If I just do a catkin build again, it typically works. It also happens for different packages with no clear structure.

I use the following packages

% dpkg -l | grep catkin
ii  python-catkin-pkg                                     0.3.1-1                                             all          catkin package library
ii  python-catkin-pkg-modules                             0.3.1-1                                             all          catkin package library
ii  python-catkin-tools                                   0.4.4-1                                             all          Command line tools for working with catkin.
ii  ros-jade-catkin                                       0.6.18-0trusty-20160318-200207-0700                 amd64        Low-level build system macros and infrastructure for ROS.

under ubuntu 14.04.

Error output:

Errors     << PACKAGE:make workspace/logs_current/PACKAGE/build.make.319.log
make[2]: execvp: catkin_generated/env_cached.sh: Text file busy
make[2]: *** [CMakeFiles/_PACKAGE_generate_messages_check_deps_PredictionProbability] Error 127
make[1]: *** [CMakeFiles/_PACKAGE_generate_messages_check_deps_PredictionProbability.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
cd workspace/build_current/PACKAGE; catkin build --get-env PACKAGE | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -


% cat workspace/logs_current/PACKAGE/build.make.319.log                                              :(
make[2]: execvp: catkin_generated/env_cached.sh: Text file busy
make[2]: *** [CMakeFiles/_PACKAGE_generate_messages_check_deps_PredictionProbability] Error 127
make[1]: *** [CMakeFiles/_PACKAGE_generate_messages_check_deps_PredictionProbability.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  0%] Built target geometry_msgs_generate_messages_py
[  0%] Built target _PACKAGE_generate_messages_check_deps_DynamicWorld
[  0%] Built target _PACKAGE_generate_messages_check_deps_ServerSpeedLimits
make: *** [all] Error 2
@kopp
Copy link
Contributor Author

kopp commented Mar 1, 2017

I don't know, whether this is a catkin or a catkin-tools error -- it might be the latter as well...?!?

@dirk-thomas
Copy link
Member

If the problem happens when you invoke catkin build please report the issue to catkin_tools instead (please look to the new ticket and close this one).

If the problem happens with catkin_make or catkin_make_isolated please provide the steps to reproduce the problem here.

@kopp
Copy link
Contributor Author

kopp commented Mar 2, 2017

Closed here and reopened in catkin_tools.

@kopp kopp closed this as completed Mar 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants