Active Oldest Votes. Improve this answer. This is the most common reason I've seen for this problem, using file will identify this quite quickly. So there is no solution to this? You can not run Software for other Instruction set as native Programs.
Add a comment. For Googlers: bit or bit? Check with file yourbinary Permission to execute? Ravan 8, 17 17 gold badges 55 55 silver badges 79 79 bronze badges. Onurhan Onurhan 71 1 1 silver badge 5 5 bronze badges. Mark Amery Mark Amery 1 1 gold badge 1 1 silver badge 12 12 bronze badges.
Michael Davidson Michael Davidson 1 1 bronze badge. Pocketsand Pocketsand 8 8 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Helping communities build their own LTE networks.
Podcast Making Agile work for data science. Add a comment. Active Oldest Votes. Some information about the target, such as the output of uname -a if it's unix-like. Check that the target sees the same file contents each time: run cksum. Check that the results are the same in the Hudson invocation, in your successful manual invocation and on server B. Add set -x at the top of yet-another-bash-script just below the! This will produce a trace of everything the script does.
Compare the traces and report any difference or oddity. Describe how the target is booting when you run the scripts manually and when Hudson is involved.
It could be that the target is booted differently and some loadable module that provides the support for the format of. You might want to use set -x in other scripts to help you there, and inspect the boot logs from the target. Improve this answer. Gilles 'SO- stop being evil' Gilles 'SO- stop being evil' k gold badges silver badges bronze badges. If the script contains ". When I invoke ". You're right that I shouldn't make assumptions in the question, but since the only thing that's different is how the parent script is invoked, where one way is by hand in an open ssh terminal and the other is automatically by Hudson, it seems the answer lies in that difference.
See my revised answer, and try to provide as much of the suggested additional data as you can. I admit red faced for the benefit of others that the scripts were not doing exactly what I thought. Gilles nailed it; the executables had been built for a different target. In a "make -C" line of one script, I had left off a target name, so the default target was built instead of the one I intended. Once I fixed that, Hudson is successfully able to drive the minicom sesson.
Thanks Gilles! Make sure the script starts with:! Michael Mrozek Kevin Lamse Kevin Lamse 1. Sign up or log in Sign up using Google. Create a free Team What is Teams? Learn more. Asked 4 years, 2 months ago. Active 2 years, 11 months ago. Viewed 42k times. Can someone help me out? Improve this question. Isuru Isuru 1 1 gold badge 1 1 silver badge 3 3 bronze badges. Add a comment. Active Oldest Votes.
0コメント