Re: /bin/sh: bad interpreter: Text file busy
Re: /bin/sh: bad interpreter: Text file busy
- Subject: Re: /bin/sh: bad interpreter: Text file busy
- From: Alastair Houghton <email@hidden>
- Date: Sat, 17 Dec 2005 12:57:26 +0000
On 16 Dec 2005, at 11:01, j o a r wrote:
Hello,
We've seen a new type of failure in our nightly & rolling builds:
/bin/sh -c /path/to/build/folder/Script-D02E2E8606DF865600595B32.sh
/bin/sh: /path/to/build/folder/Script-D02E2E8606DF865600595B32.sh: /
bin/sh: bad interpreter: Text file busy
** BUILD FAILED **
Does one of the daily/monthly scripts try to pre-bind executables on
the system volume, by any chance?
"Text file busy" means that the program file in question is open for
writing (that is, "text" here means program code, as I'm sure many
people will already have guessed); you can see this by writing a
short test program like the following
#include <fcntl.h>
int main (int argc, char **argv) {
int fd = open (argv[1], O_RDWR);
while (1);
return 0;
}
then using it to open e.g. itself.
e.g.
alastair$ ./open open &
[2] 461
alastair$ ./open
-bash: ./open: Text file busy
Kind regards,
Alastair.
--
http://www.alastairs-place.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden