print/latex2slides tries to create a directory at $HOME even if it's not asked to install locally (which is a bug in the install script). here's proof on a system where $HOME is read-only in a jail ================================ Traceback (most recent call last): File "./install", line 299, in <module> os.mkdir(USER_DIR) # make sure USER_DIR exists OSError: [Errno 30] Read-only file system: '/root/.latex2slides/' *** Error code 1 ================================ patch to fix this below. Ports should not be modifying $HOME directories as part of a package build. add it to port as "files/patch-install" Fix: Patch attached with submission follows:
State Changed From-To: open->closed Committed. Thanks!
Author: rakuco Date: Sun Apr 28 13:20:06 2013 New Revision: 316716 URL: http://svnweb.freebsd.org/changeset/ports/316716 Log: Do not create a directory in $HOME when building. PR: ports/178021 Submitted by: John Marino <draco@marino.st> Added: head/print/latex2slides/files/ head/print/latex2slides/files/patch-install (contents, props changed) Added: head/print/latex2slides/files/patch-install ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/latex2slides/files/patch-install Sun Apr 28 13:20:06 2013 (r316716) @@ -0,0 +1,11 @@ +--- install.orig 2003-10-27 15:40:41.000000000 +0000 ++++ install +@@ -295,8 +295,6 @@ def parse_command_line(): + + # execution starts here + +-if not os.access(USER_DIR, os.F_OK): +- os.mkdir(USER_DIR) # make sure USER_DIR exists + p=Parameters() + parse_command_line() + install() _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"