Page MenuHomeFreeBSD

devel/RStudio: Set MAKE_JOBS_NUMBER_LIMIT=1 to help builds on systems with insufficient kern.maxfiles
AbandonedPublic

Authored by yuri on Dec 5 2017, 8:30 AM.

Details

Reviewers
tcberner
adamw
mat
Summary

Central builds fail because they run out of files descriptors. This probably triggers other package failures too for packages built at the same time.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 13346
Build 13578: arc lint + arc unit

Event Timeline

yuri created this revision.Dec 5 2017, 8:30 AM
mat requested changes to this revision.Dec 5 2017, 3:44 PM
mat added inline comments.
devel/RStudio/Makefile
49

No. This variable is a global variable.

You want MAKE_JOBS_UNSAFE.

This revision now requires changes to proceed.Dec 5 2017, 3:44 PM
yuri marked an inline comment as done.Dec 5 2017, 4:24 PM
yuri added inline comments.
devel/RStudio/Makefile
49

Tobias, both MAKE_JOBS_NUMBER_LIMIT and MAKE_JOBS_UNSAFE are listed in the same section For build and install in Mk/bsd.port.mk.

Further, they influence MAKE_JOBS_NUMBER in a similar fashion. They also have different purposes. MAKE_JOBS_UNSAFE is ... To be used with known bad ports. which is not exactly the case here.

What determines that one is global and the other one isn't?

:)

yuri marked 2 inline comments as done.Dec 5 2017, 4:24 PM
mat added inline comments.Dec 5 2017, 4:58 PM
devel/RStudio/Makefile
49

I do :-) (If it says "User settable" it cannot be set in a Makefile.)

Use MAKE_JOBS_UNSAFE.

yuri marked an inline comment as done.Dec 5 2017, 6:44 PM
yuri added inline comments.
devel/RStudio/Makefile
49

Sorry, it was for Mat, not Tobias.

49

They both aren't labeled "User settable".

yuri marked 2 inline comments as done.Dec 5 2017, 6:45 PM
mat added a comment.Dec 6 2017, 11:32 AM

mmm, in any way, the problem you are experiencing is not jobs related so this will not fix anything.

yuri abandoned this revision.Dec 6 2017, 5:57 PM
In D13376#279691, @mat wrote:

mmm, in any way, the problem you are experiencing is not jobs related so this will not fix anything.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224146