From nobody@FreeBSD.org  Thu Feb 28 08:20:05 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 30EB9152
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 28 Feb 2013 08:20:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 228F811DC
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 28 Feb 2013 08:20:05 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r1S8K4ZB013504
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 28 Feb 2013 08:20:04 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r1S8K4FW013503;
	Thu, 28 Feb 2013 08:20:04 GMT
	(envelope-from nobody)
Message-Id: <201302280820.r1S8K4FW013503@red.freebsd.org>
Date: Thu, 28 Feb 2013 08:20:04 GMT
From: John Marino <draco@marino.st>
To: freebsd-gnats-submit@FreeBSD.org
Subject: graphics/povray36 install files not in pkg-plist in /root
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         176495
>Category:       ports
>Synopsis:       graphics/povray36 install files not in pkg-plist in /root
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    maho
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 28 08:30:00 UTC 2013
>Closed-Date:    Mon Mar 18 01:42:28 UTC 2013
>Last-Modified:  Mon Mar 18 01:42:28 UTC 2013
>Originator:     John Marino
>Release:        
>Organization:
>Environment:
>Description:
During package building, in which the majority of the world is set to read-only, graphics/povray36 failed to install with the following errors:

Copying user configuration and INI files...
mkdir /root/.povray
mkdir: /root/.povray: Read-only file system
mkdir /root/.povray/3.6
mkdir: /root/.povray: No such file or directory
install: /root/.povray/3.6/povray.conf: No such file or directory
install: /root/.povray/3.6/povray.ini: No such file or directory
gmake[2]: *** [install-data-local] Error 71
gmake[2]: Leaving directory `/wrkdirs/graphics/povray36/work/povray-3.6.1'
gmake[1]: *** [install-am] Error 2
gmake[1]: Leaving directory `/wrkdirs/graphics/povray36/work/povray-3.6.1'
gmake: *** [install-recursive] Error 1
*** Error code 2


First, a package should not be installing in specific user home directories
secondly, these files are not on pkg-plist
>How-To-Repeat:

>Fix:
I suggest patching the povray36 make to avoid installing these files.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->maho 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Feb 28 08:30:08 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=176495 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/176495: commit references a PR
Date: Tue,  5 Mar 2013 03:10:23 +0000 (UTC)

 Author: maho
 Date: Tue Mar  5 03:10:10 2013
 New Revision: 313434
 URL: http://svnweb.freebsd.org/changeset/ports/313434
 
 Log:
   Now we do not install files at /root .
   
   PR:             176495
   Spotted by:   John Marino <draco@marino.st>
 
 Added:
   head/graphics/povray36/files/patch-Makefile.in   (contents, props changed)
 Modified:
   head/graphics/povray36/Makefile
 
 Modified: head/graphics/povray36/Makefile
 ==============================================================================
 --- head/graphics/povray36/Makefile	Tue Mar  5 03:05:45 2013	(r313433)
 +++ head/graphics/povray36/Makefile	Tue Mar  5 03:10:10 2013	(r313434)
 @@ -7,7 +7,7 @@
  
  PORTNAME=	povray
  PORTVERSION=	3.6.1
 -PORTREVISION=	10
 +PORTREVISION=	11
  CATEGORIES=	graphics
  MASTER_SITES=	ftp://ftp.povray.org/pub/povray/%SUBDIR%/ \
  		ftp://ftp.mirrorservice.org/sites/ftp.povray.org/pub/povray/%SUBDIR%/ \
 
 Added: head/graphics/povray36/files/patch-Makefile.in
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/povray36/files/patch-Makefile.in	Tue Mar  5 03:10:10 2013	(r313434)
 @@ -0,0 +1,33 @@
 +$FreeBSD$
 +
 +--- Makefile.in~	2004-08-03 08:20:09.000000000 +0900
 ++++ Makefile.in	2013-03-05 11:42:15.000000000 +0900
 +@@ -813,17 +813,17 @@
 + 	for f in $$filelist ; do \
 + 	  $(INSTALL_DATA) $(top_srcdir)/doc/$$f $(DESTDIR)$(povdocdir)/$$f ; \
 + 	done
 +-	@echo "Copying user configuration and INI files..."; \
 +-	$(mkinstalldirs) $(povconfuser); \
 +-	filelist='povray.conf povray.ini'; \
 +-	for f in $$filelist ; do \
 +-	  if test -e $(povconfuser)/$$f; then \
 +-	    echo "Creating backup of $(povconfuser)/$$f"; \
 +-	    mv -f $(povconfuser)/$$f $(povconfuser)/$$f.bak; \
 +-	  fi; \
 +-	done; \
 +-	$(INSTALL_DATA) $(top_srcdir)/povray.conf $(povconfuser)/povray.conf ; \
 +-	$(INSTALL_DATA) $(top_builddir)/povray.ini $(povconfuser)/povray.ini
 ++#	@echo "Copying user configuration and INI files..."; \
 ++#	$(mkinstalldirs) $(povconfuser); \
 ++#	filelist='povray.conf povray.ini'; \
 ++#	for f in $$filelist ; do \
 ++#	  if test -e $(povconfuser)/$$f; then \
 ++#	    echo "Creating backup of $(povconfuser)/$$f"; \
 ++#	    mv -f $(povconfuser)/$$f $(povconfuser)/$$f.bak; \
 ++#	  fi; \
 ++#	done; \
 ++#	$(INSTALL_DATA) $(top_srcdir)/povray.conf $(povconfuser)/povray.conf ; \
 ++#	$(INSTALL_DATA) $(top_builddir)/povray.ini $(povconfuser)/povray.ini
 + 
 + # For 'make uninstall' we remove the whole POV-Ray data directory.
 + # We have to use uninstall-local and not uninstall-data-local.
 _______________________________________________
 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"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/176495: commit references a PR
Date: Tue,  5 Mar 2013 03:10:23 +0000 (UTC)

 Author: maho
 Date: Tue Mar  5 03:10:10 2013
 New Revision: 313434
 URL: http://svnweb.freebsd.org/changeset/ports/313434
 
 Log:
   Now we do not install files at /root .
   
   PR:             176495
   Spotted by:   John Marino <draco@marino.st>
 
 Added:
   head/graphics/povray36/files/patch-Makefile.in   (contents, props changed)
 Modified:
   head/graphics/povray36/Makefile
 
 Modified: head/graphics/povray36/Makefile
 ==============================================================================
 --- head/graphics/povray36/Makefile	Tue Mar  5 03:05:45 2013	(r313433)
 +++ head/graphics/povray36/Makefile	Tue Mar  5 03:10:10 2013	(r313434)
 @@ -7,7 +7,7 @@
  
  PORTNAME=	povray
  PORTVERSION=	3.6.1
 -PORTREVISION=	10
 +PORTREVISION=	11
  CATEGORIES=	graphics
  MASTER_SITES=	ftp://ftp.povray.org/pub/povray/%SUBDIR%/ \
  		ftp://ftp.mirrorservice.org/sites/ftp.povray.org/pub/povray/%SUBDIR%/ \
 
 Added: head/graphics/povray36/files/patch-Makefile.in
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/povray36/files/patch-Makefile.in	Tue Mar  5 03:10:10 2013	(r313434)
 @@ -0,0 +1,33 @@
 +$FreeBSD$
 +
 +--- Makefile.in~	2004-08-03 08:20:09.000000000 +0900
 ++++ Makefile.in	2013-03-05 11:42:15.000000000 +0900
 +@@ -813,17 +813,17 @@
 + 	for f in $$filelist ; do \
 + 	  $(INSTALL_DATA) $(top_srcdir)/doc/$$f $(DESTDIR)$(povdocdir)/$$f ; \
 + 	done
 +-	@echo "Copying user configuration and INI files..."; \
 +-	$(mkinstalldirs) $(povconfuser); \
 +-	filelist='povray.conf povray.ini'; \
 +-	for f in $$filelist ; do \
 +-	  if test -e $(povconfuser)/$$f; then \
 +-	    echo "Creating backup of $(povconfuser)/$$f"; \
 +-	    mv -f $(povconfuser)/$$f $(povconfuser)/$$f.bak; \
 +-	  fi; \
 +-	done; \
 +-	$(INSTALL_DATA) $(top_srcdir)/povray.conf $(povconfuser)/povray.conf ; \
 +-	$(INSTALL_DATA) $(top_builddir)/povray.ini $(povconfuser)/povray.ini
 ++#	@echo "Copying user configuration and INI files..."; \
 ++#	$(mkinstalldirs) $(povconfuser); \
 ++#	filelist='povray.conf povray.ini'; \
 ++#	for f in $$filelist ; do \
 ++#	  if test -e $(povconfuser)/$$f; then \
 ++#	    echo "Creating backup of $(povconfuser)/$$f"; \
 ++#	    mv -f $(povconfuser)/$$f $(povconfuser)/$$f.bak; \
 ++#	  fi; \
 ++#	done; \
 ++#	$(INSTALL_DATA) $(top_srcdir)/povray.conf $(povconfuser)/povray.conf ; \
 ++#	$(INSTALL_DATA) $(top_builddir)/povray.ini $(povconfuser)/povray.ini
 + 
 + # For 'make uninstall' we remove the whole POV-Ray data directory.
 + # We have to use uninstall-local and not uninstall-data-local.
 _______________________________________________
 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"
 

From: John Marino <freebsdml@marino.st>
To: bug-followup@FreeBSD.org, draco@marino.st
Cc:  
Subject: Re: ports/176495: graphics/povray36 install files not in pkg-plist
 in /root
Date: Mon, 11 Mar 2013 21:50:12 +0100

 FYI - povray36 now builds successfully in the same environment that was 
 used before.
 
 John
State-Changed-From-To: open->closed 
State-Changed-By: maho 
State-Changed-When: Mon Mar 18 01:41:58 UTC 2013 
State-Changed-Why:  
thanks for your report! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=176495 
>Unformatted:
