[Scons-users] Random build failure with 'Resource temporarily unavailable' on mac
Julien Pommier
pommier at pianoteq.com
Fri Jun 12 13:58:54 EDT 2020
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> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20200612/e494b1a9/attachment.html>
More information about the Scons-users
mailing list