qt5-qtwebengine on macOS 10.13, Xcode version

Ken Cunningham ken.cunningham.webuse at gmail.com
Fri Jan 8 02:52:27 UTC 2021


On 2021-01-07 2:45 p.m., Davide Liessi wrote:
> Dear Ken,
>
> I decided to upgrade to Xcode 10.1.
> I was able to install qt5-qtwebengine, but the build stopped several
> times due to errors of the kind
> ninja: fatal: posix_spawn: Too many open files
> ninja: fatal: pipe: Too many open files
> I adjusted the open files limit with ulimit, but kept getting these errors.
> I resumed the build several times, it eventually succeeded and the
> port seems to be working correctly.
>
> Did you encounter this problem, too?

I have not noted this issue with ninja, so far at least. Googling that 
error does show some hits about 'too many open files' with respect to 
ninja around the web, though.  Other than the usual free memory issues, 
or disabling parallel building (yuk) etc, I don't really have much 
intelligent to say about how to fix that -- I would have done what you did.

I haven't tried it, but most of these builds use ninja optionally, so we 
could remove that dep from the portfile I suppose and (presumably) fall 
back to make.

I don't think this error has anything to do with Xcode 10...at least  I 
can't see how it could -- unless we find out that Xcode 10 comes with a 
broken ninja binary or something that I don't know about.


> Do you think I can trust the installed port?

Oh, I would think so. qt5-qtwebengine has like 22,000 build lines or 
some similar number, but each one seems fairly self-contained and I 
would think that if that build line finished then the object is OK.

Ken


More information about the macports-users mailing list