From nobody@FreeBSD.org  Sat May 24 23:34:52 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2D3D31065678
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 24 May 2008 23:34:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 34D678FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 24 May 2008 23:34:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m4ONXLBv024867
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 24 May 2008 23:33:21 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m4ONXLod024866;
	Sat, 24 May 2008 23:33:21 GMT
	(envelope-from nobody)
Message-Id: <200805242333.m4ONXLod024866@www.freebsd.org>
Date: Sat, 24 May 2008 23:33:21 GMT
From: Anatoly Borodin <anatoly.borodin@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: x11/libxcb: message isn't shown sometimes
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: wahjava@gmail.com

>Number:         123966
>Category:       ports
>Synopsis:       x11/libxcb: message isn't shown sometimes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 24 23:40:01 UTC 2008
>Closed-Date:    Wed May 28 12:30:50 UTC 2008
>Last-Modified:  Wed May 28 13:10:03 UTC 2008
>Originator:     Anatoly Borodin
>Release:        
>Organization:
>Environment:
>Description:
When installing x11/libxcb pkg-message may not be shown if /usr/obj is used and /usr/obj/usr/ports/x11/libxcb dir exist.
>How-To-Repeat:
cd /usr/ports/x11/libxcb; rm -rf /usr/obj/*
make FORCE_PKG_REGISTER install

OK, package is installed. Then

make clean; make FORCE_PKG_REGISTER install
..
 install  -o root -g wheel -m 444 'xcb-xv.pc' '/usr/local/libdata/pkgconfig/xcb-xv.pc'
 install  -o root -g wheel -m 444 'xcb-xvmc.pc' '/usr/local/libdata/pkgconfig/xcb-xvmc.pc'
gmake[2]: Leaving directory `/usr/obj/usr/ports/x11/libxcb/work/libxcb-1.1'
gmake[1]: Leaving directory `/usr/obj/usr/ports/x11/libxcb/work/libxcb-1.1'

cat: pkg-message: No such file or directory
*** Error code 1

Stop in /usr/ports/x11/libxcb.

>Fix:
The roots of the problem seem strange, but some simple workaround exist.

Patch attached with submission follows:

From f1ac381272095057d65882829348f2dd8251a8e1 Mon Sep 17 00:00:00 2001
From: Anatoly Borodin <anatoly.borodin@gmail.com>
Date: Sun, 25 May 2008 02:33:44 +0300
Subject: [PATCH] x11/libxcb: bug with message fixed.

---
 x11/libxcb/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/x11/libxcb/Makefile b/x11/libxcb/Makefile
index 821d009..4fa0ddf 100644
--- a/x11/libxcb/Makefile
+++ b/x11/libxcb/Makefile
@@ -48,7 +48,7 @@ XPROTO_LIBS=	-L${LOCALBASE}/lib
 
 post-install:
 	@${ECHO_MSG} ''
-	@${CAT} pkg-message
+	@${CAT} ${.CURDIR}/pkg-message
 	@${ECHO_MSG} ''
 
 .include <bsd.port.mk>
-- 
1.5.5



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sat May 24 23:40:08 UTC 2008 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: wahjava@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/123966: x11/libxcb: message isn't shown sometimes
Date: Sat, 24 May 2008 23:40:07 UT

 Maintainer of x11/libxcb,
 
 Please note that PR ports/123966 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/123966
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: wahjava@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IOCktg==?=
 =?utf-8?B?4KWB4KSV4KWN4KSy?=)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/123966: x11/libxcb: message isn't shown sometimes
Date: Sun, 25 May 2008 14:47:30 +0530

 =2D----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 >>>>> Edwin Groothuis writes:
     Edwin> Maintainer of x11/libxcb,
 
     Edwin> Please note that PR ports/123966 has just been submitted.
 
     Edwin> If it contains a patch for an upgrade, an enhancement or a bug f=
 ix
     Edwin> you agree on, reply to this email stating that you approve the p=
 atch
     Edwin> and a committer will take care of it.
 
 Yes, I approve the patch.
 
 Thanks to  Anatoly for the patch.
 =2D --=20
 Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=E0=A4=
 =95=E0=A5=8D=E0=A4=B2                      http://wahjava.wordpress.com/
 =C2=B7-- =C2=B7- =C2=B7=C2=B7=C2=B7=C2=B7 =C2=B7--- =C2=B7- =C2=B7=C2=B7=C2=
 =B7- =C2=B7- =C2=B7--=C2=B7-=C2=B7 --=C2=B7 -- =C2=B7- =C2=B7=C2=B7 =C2=B7-=
 =C2=B7=C2=B7 =C2=B7-=C2=B7-=C2=B7- -=C2=B7-=C2=B7 --- --
 =2D----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.9 (GNU/Linux)
 
 iEYEARECAAYFAkg5LqoACgkQHy+EEHYuXnS5vACgzPAwdMOJJ15Ui42IwlPd7Isz
 +REAn1VWR6G4HYxHrcrI97dmzPushTV4
 =3DZcFp
 =2D----END PGP SIGNATURE-----
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Mon May 26 00:46:08 UTC 2008 
State-Changed-Why:  
Maintainer approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123966 
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Wed May 28 12:30:48 UTC 2008 
State-Changed-Why:  
Committed, thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/123966: commit references a PR
Date: Wed, 28 May 2008 12:30:51 +0000 (UTC)

 edwin       2008-05-28 12:30:43 UTC
 
   FreeBSD ports repository
 
   Modified files:
     x11/libxcb           Makefile 
   Log:
   x11/libxcb: message isn't shown sometimes
   
           When installing x11/libxcb pkg-message may not be shown if
           /usr/obj is used and /usr/obj/usr/ports/x11/libxcb dir
           exist.
   
   PR:             ports/123966
   Submitted by:   Anatoly Borodin <anatoly.borodin@gmail.com>
   
   Revision  Changes    Path
   1.9       +1 -1      ports/x11/libxcb/Makefile
 _______________________________________________
 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"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/123966: commit references a PR
Date: Wed, 28 May 2008 13:07:44 +0000 (UTC)

 edwin       2008-05-28 13:07:31 UTC
 
   FreeBSD ports repository
 
   Modified files:
     x11/libxcb           Makefile 
   Log:
   ${.CURDIR}/pkg-message -> ${PKGMESSAGE}
   Noticed by: flz@
   
   PR:             ports/123966
   Submitted by:   Anatoly Borodin <anatoly.borodin@gmail.com>
   
   Revision  Changes    Path
   1.10      +1 -1      ports/x11/libxcb/Makefile
 _______________________________________________
 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"
 
>Unformatted:
