From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 24 23:40:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EE731065678 for ; Sat, 24 May 2008 23:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 539518FC17 for ; Sat, 24 May 2008 23:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4ONe2NV047392 for ; Sat, 24 May 2008 23:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4ONe2df047391; Sat, 24 May 2008 23:40:02 GMT (envelope-from gnats) Resent-Date: Sat, 24 May 2008 23:40:02 GMT Resent-Message-Id: <200805242340.m4ONe2df047391@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anatoly Borodin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D3D31065678 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/123966: x11/libxcb: message isn't shown sometimes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 23:40:02 -0000 >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 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 -- 1.5.5 >Release-Note: >Audit-Trail: >Unformatted: