[Scons-users] Random build failure with 'Resource temporarily unavailable' on mac
Julien Pommier
pommier at pianoteq.com
Mon Jun 15 12:02:11 EDT 2020
It still happens with Python 3.8.3, it seems — I could even reproduce with scons -j1 so it does not seem to be caused by threading issues.
> On 12 Jun 2020, at 20:35, Bill Deegan <bill at baddogconsulting.com> wrote:
>
> Odd.
> Have you tried with python 3.8? (Or 3.9 betas)?
> I think there are some multi-thread fixes in later versions.
> (Could be wrong)
>
> On Fri, Jun 12, 2020 at 10:59 AM Julien Pommier <pommier at pianoteq.com <mailto:pommier at pianoteq.com>> wrote:
> When it happens, it is on compile steps that have nothing really special. Just compiling a .o or building a static library. There is not much output, between 4 and 20 lines I would say, all sent to stdout.
>
> A strange thing is that, a some point, I decided that the shell script that calls scons should automatically retry scons a few time when scons fails. If the first call to scons fails, it try again. And again… But this strategy does not help with this issue: scons will fail at the same point each time the shell script re-runs it ! However, when I kill the shell script , and launch it again, then scons will most likely succeed. So the issue must depend on some subtle circumstance that I can’t figure
>
>> On 12 Jun 2020, at 18:10, Bill Deegan <bill at baddogconsulting.com <mailto:bill at baddogconsulting.com>> wrote:
>>
>> Does it seem to happen when one (or many) of the compile steps are generating a lot of output to either stderr or stdout?
>>
>>
>> On Fri, Jun 12, 2020 at 6:39 AM Julien Pommier <pommier at pianoteq.com <mailto:pommier at pianoteq.com>> wrote:
>> Unfortunately I can’t manage to reproduce it on something simplified, and it is really complicated to track because it is the kind of bug that disappears when you look at it.
>>
>> It is not a big deal to me anymore as I have a workaround, but I wanted to know if this issue was also encountered by other scons users.
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org <mailto:Scons-users at scons.org>
> https://pairlist4.pair.net/mailman/listinfo/scons-users <https://pairlist4.pair.net/mailman/listinfo/scons-users>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20200615/b8c276f6/attachment-0001.html>
More information about the Scons-users
mailing list