[oe] confusing qemu-native problem

Steffen Sledz sledz at dresearch.de
Thu Aug 13 07:44:20 UTC 2009


Steffen Sledz schrieb:
> Sledz, Steffen schrieb:
>> I've seen a very confusing, indetermined behaviour of the qemu-native build in the last time (current dev branch).
>>
>> When calling the following three commands back-to-back the first and the second fail with something like "/bin/sh: .../staging/i686-linux/usr/bin/pod2man: ...bad interpreter: Permission denied" but the third call succeeds (details see below).
>>
>>  bitbake hydraip-hipox-devimage
>>  bitbake qemu-native
>>  bitbake qemu-native
>>
>> In general it looks like the success of the qemu-native is really randomly.
>>
>> Why does the one call of "bitbake qemu-native" fails and the second succeeds?
>> ...
> 
> No more ideas here?
> 
> Such indetermined behaviour is really a horror!

My google searches result in some possible causes for a behaviour like this, but none of them matches my case. :(

1. DOS line endings -> checked: none

2. noexec mount option -> checked: exec

3. acl or user_xattr effects -> checked: not used

Looking into the logs and playing with the devshell i found these interesting points:

> /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/pod2man --help
bash: /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/pod2man: /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595: bad interpreter: Permission denied

> head -n1 /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/pod2man
#!/home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/perl

> /home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/perl --version

This is perl, v5.8.8 built for i686-linux-thread-multi
...

So the perl interpreter seems not to be the problem. Confusing for me is the original error message:

"/home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595: bad interpreter: Permission denied"

I would expect something like:

"/home/DRESEARCH/production/METABUILD/2009-08-03-15-24-27--hydraip-build--28595/OpenEmbedded/tmp.3/staging/i686-linux/usr/bin/pod2man: bad interpreter: Permission denied"

It looks like someone cut the path to the pod2man script.

I would be really grateful for some help.

Steffen






More information about the Openembedded-devel mailing list