Closed lantw44 closed 2 years ago
This issue is due to a system limit (maximum size of the argument list), and should occur very rarely. While it might possible to work around such issues (e.g. using xargs and post-processing of results from multiple invocations of "make"), the effort required seems to be relatively high for such a rare case. I'd consider accepting a pull request (if it does not significantly increase the portmaster run-time or correctness of other features), but I'm not going to work out a solution (and I have never been affected by this issue). (If this issue is critical, enlarging the argument size limit on the system might be a possible work-around ...)
I have more than 2000 ports installed on this system, and it seems the problem is that portmaster exports too many data into environment variables. Adding
--no-confirm
can help sometimes becausebuild_l
isn't set, but it still fails after building a few ports.