[oe] bitbake git head issue

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Sat Dec 18 16:15:30 UTC 2010


2010/12/18 Chris Larson <clarson at kergoth.com>:
> On Sat, Dec 18, 2010 at 4:16 AM, Frans Meulenbroeks
> <fransmeulenbroeks at gmail.com> wrote:
>> If I use bitbake git head I get:
>>
>> frans at linux-suse:~/oe/openembedded> bitbake james-image
>> Process ProcessServer-1:
>> Traceback (most recent call last):
>>  File "/usr/lib/python2.6/multiprocessing/process.py", line 231, in _bootstrap
>>    self.run()
>>  File "/home/frans/oe/bitbake/lib/bb/server/process.py", line 95, in run
>>    [NULL, NULL, NULL]):
>>  File "/usr/lib/python2.6/contextlib.py", line 16, in __enter__
>>    return self.gen.next()
>>  File "/home/frans/oe/bitbake/lib/bb/utils.py", line 805, in redirected_fds
>>    old_fds.append(os.dup(fd))
>> OSError: [Errno 9] Bad file descriptor
>>
>> I did not fully bisect it but rev
>> 144887553097a288a76b8de78f71548d5ef9a350 still works fine with me.
>> The problem seems to be introduced in one of the next 5 or so commits
>> after that one.
>
> There are 32 commits after that one, not 5 ;)

I know, that was not what I wanted to say.
I found the commit above to be ok, I did a rough manual bisect, at
that point I already popped about 25 commits, then dropped another 5
and ended up loosing the error.
416dfe211ff0c37d746efe113bb6064b7e57d43a seems to be the bad guy.
apparently this:  old_fds.append(os.dup(fd)) gives EBADF.

And on your other msg
git head (commit db14a900e140ba084bd2841c3708cbf1069e2354 ) still has
the same problem.
As reported before my /dev/null is sound and has mode 666

Frans




More information about the Openembedded-devel mailing list