When installing / upgrading Ruby18 port, one process will use LOTS of memory (about 300MB !), which is very problematic on small computers. When looking at the output, it looks like this memory usage is "just" for generating documentation ("Generating RDoc documentation"). As ruby1.8 is a dependancy for some admin's tools (portupgrade, etc...), it would be at least interesting to be able to disable the generation of that documentation, for users which just want some tools to work ! And I am also very interested in an explanation on such a memory usage !! Fix: Looks like configure is called without --enable-install-doc, but there are lots of stuff done related to doc in post-install. It would be great to have a WITHOUT_RDOC, or something like that.... Yvan. How-To-Repeat: Install / update ruby 1.8 port, and have a look at it's memory usage. On a computer with less than 256MB RAM, also look at SWAP usage....
State Changed From-To: open->feedback Awaiting maintainers feedback
Responsible Changed From-To: freebsd-ports-bugs->stas I'll take it.
stas 2006-10-01 19:10:48 UTC FreeBSD ports repository Modified files: lang/ruby18 Makefile pkg-plist lang/ruby18/files patch-mkmf.rb Added files: lang/ruby18/files obsoleted Log: - Prepare port to make ruby libraries PREFIX-clean (also requires bsd.ruby.mk modifications) - Add OPTIONS - Provide automatic pkg-plist generator to simplify updates - Guarantee permissions safety when installing docs and examples (eliminate ${CP} -r *) - Create handy docs and examples structure (install examples for external libraries in separate directories) - Remove unused KNOB (NORUBYLIB) - Add knob to disable RDOC generation [1] - Add knob to disable IPv6 support - Move list of obsoleted packages to the separate file (files/obsoleted) - Add additional .keep_me like files to allow shared directories to not be deleted by dependent ports - Minor cleanups and modifications - Bump-up portrevision All ruby ports were tested in tinderbox with these modifications. Requested by: VANHULLEBUS Yvan <vanhu_bsd@zeninc.net> [1] PR: ports/103353 [1], ports/102648, ports/102663, ports/102685, ports/102646 Approved by: sem (mentor) Revision Changes Path 1.115 +203 -130 ports/lang/ruby18/Makefile 1.1 +26 -0 ports/lang/ruby18/files/obsoleted (new) 1.6 +17 -3 ports/lang/ruby18/files/patch-mkmf.rb 1.56 +10886 -10888 ports/lang/ruby18/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed The functionality requested was committed in 1.115