From nobody@FreeBSD.org  Thu Feb 28 08:31:37 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 F19B35D9
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 28 Feb 2013 08:31:37 +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 CC46112B2
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 28 Feb 2013 08:31:37 +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 r1S8VblK041276
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 28 Feb 2013 08:31:37 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r1S8VbUa041269;
	Thu, 28 Feb 2013 08:31:37 GMT
	(envelope-from nobody)
Message-Id: <201302280831.r1S8VbUa041269@red.freebsd.org>
Date: Thu, 28 Feb 2013 08:31:37 GMT
From: John Marino <draco@marino.st>
To: freebsd-gnats-submit@FreeBSD.org
Subject: x11/rxvt-unicode tries to modify outside of /usr/local
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         176498
>Category:       ports
>Synopsis:       x11/rxvt-unicode tries to modify outside of /usr/local
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    thierry
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 28 08:40:01 UTC 2013
>Closed-Date:    Sun Mar 24 15:53:23 UTC 2013
>Last-Modified:  Sun Mar 24 16:00:01 UTC 2013
>Originator:     John Marino
>Release:        
>Organization:
>Environment:
>Description:
In a package building environment, the world that packages aren't supposed to touch is mounted as readonly.  When installing x11/rxvt-unicode, the following error occurs:


/usr/bin/install -c -o root -g wheel -m 644 rxvtd.1.man /usr/local/man/man1/urxvtd.1
/usr/bin/install -c -o root -g wheel -m 644 rxvt.7.man  /usr/local/man/man7/urxvt.7
/usr/bin/tic ./etc/rxvt-unicode.terminfo
r/rxvt-unicode: Read-only file system
"./etc/rxvt-unicode.terminfo", line 5, terminal 'rxvt-unicode': can't open /usr/share/terminfo/r/rxvt-unicode
*** Signal 6

Stop.
make: stopped in /wrkdirs/x11/rxvt-unicode/work/rxvt-unicode-9.16/doc
*** Error code 1


It appears that tic is trying to install files in /usr/share/terminfo.
A port should not be modifying /usr/share.
>How-To-Repeat:

>Fix:


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

http://www.freebsd.org/cgi/query-pr.cgi?pr=176498 
State-Changed-From-To: open->feedback 
State-Changed-By: thierry 
State-Changed-When: sam 23 mar 2013 15:05:19 UTC 
State-Changed-Why:  

I don't know why, but it seems that $(srcdir) is undefined in your 
environment; could you please test the hereunder patch? 

--- rxvt-unicode.diff begins here --- 
diff -urN x11/rxvt-unicode.orig/Makefile x11/rxvt-unicode/Makefile 
--- x11/rxvt-unicode.orig/Makefile	2013-01-27 21:15:31.000000000 +0100 
+++ x11/rxvt-unicode/Makefile	2013-03-23 15:58:03.000000000 +0100 
@@ -207,6 +207,7 @@ 

pre-configure: 
${RM} ${WRKSRC}/src/perl/kuake.orig 
+	${REINPLACE_CMD} -e 's|$$(srcdir)/etc/|etc/|' ${WRKSRC}/doc/Makefile.in 

post-install: 
${CHMOD} 4711 ${PREFIX}/bin/urxvt ${PREFIX}/bin/urxvtd 
--- rxvt-unicode.diff ends here --- 



http://www.freebsd.org/cgi/query-pr.cgi?pr=176498 
State-Changed-From-To: feedback->closed 
State-Changed-By: thierry 
State-Changed-When: dim 24 mar 2013 15:52:48 UTC 
State-Changed-Why:  

Thanks for your feedback! 
Fix committed. 


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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/176498: commit references a PR
Date: Sun, 24 Mar 2013 15:52:40 +0000 (UTC)

 Author: thierry
 Date: Sun Mar 24 15:52:23 2013
 New Revision: 315132
 URL: http://svnweb.freebsd.org/changeset/ports/315132
 
 Log:
   Force the usage of tic from the ports even if /usr/bin/tic exists.
   
   PR:		ports/176498
   Submitted by:	John Marino <draco (at) marino.st>
 
 Modified:
   head/x11/rxvt-unicode/Makefile
 
 Modified: head/x11/rxvt-unicode/Makefile
 ==============================================================================
 --- head/x11/rxvt-unicode/Makefile	Sun Mar 24 15:52:21 2013	(r315131)
 +++ head/x11/rxvt-unicode/Makefile	Sun Mar 24 15:52:23 2013	(r315132)
 @@ -21,7 +21,7 @@ USE_GNOME=		pkgconfig
  USE_XORG=		xpm xft xrender
  GNU_CONFIGURE=		yes
  CPPFLAGS+=		-I${LOCALBASE}/include
 -CONFIGURE_ENV=		LIBS="-lstdc++ -lutil"
 +CONFIGURE_ENV=		LIBS="-lstdc++ -lutil" TIC=${LOCALBASE}/bin/tic
  CONFIGURE_ARGS=		--enable-everything --with-term=rxvt	\
  			--with-terminfo=${LOCALBASE}/share/misc/terminfo.db
  USE_BZIP2=		yes
 _______________________________________________
 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"
 
>Unformatted:
