Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2008 23:33:21 GMT
From:      Anatoly Borodin <anatoly.borodin@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/123966: x11/libxcb: message isn't shown sometimes
Message-ID:  <200805242333.m4ONXLod024866@www.freebsd.org>
Resent-Message-ID: <200805242340.m4ONe2df047391@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         123966
>Category:       ports
>Synopsis:       x11/libxcb: message isn't shown sometimes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 24 23:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805242333.m4ONXLod024866>