From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 31 10:20:03 2009 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 DAFD51065672 for ; Fri, 31 Jul 2009 10:20:03 +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 B64828FC15 for ; Fri, 31 Jul 2009 10:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6VAK3Z4063003 for ; Fri, 31 Jul 2009 10:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6VAK3Yd063002; Fri, 31 Jul 2009 10:20:03 GMT (envelope-from gnats) Resent-Date: Fri, 31 Jul 2009 10:20:03 GMT Resent-Message-Id: <200907311020.n6VAK3Yd063002@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, Ashish SHUKLA Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 812761065674 for ; Fri, 31 Jul 2009 10:11:36 +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 54D4C8FC1B for ; Fri, 31 Jul 2009 10:11:36 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n6VABau0033440 for ; Fri, 31 Jul 2009 10:11:36 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n6VABapG033439; Fri, 31 Jul 2009 10:11:36 GMT (envelope-from nobody) Message-Id: <200907311011.n6VABapG033439@www.freebsd.org> Date: Fri, 31 Jul 2009 10:11:36 GMT From: Ashish SHUKLA To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/137298: [PATCH] Update x11/libxcb port to depend on x11/xcb-proto >= 1.5 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: Fri, 31 Jul 2009 10:20:04 -0000 >Number: 137298 >Category: ports >Synopsis: [PATCH] Update x11/libxcb port to depend on x11/xcb-proto >= 1.5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 31 10:20:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Ashish SHUKLA >Release: FreeBSD 8.0-BETA2 >Organization: N/A >Environment: FreeBSD monte-cristo.france 8.0-BETA2 FreeBSD 8.0-BETA2 #0: Wed Jul 15 21:48:41 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: One of the reporter reported me that he is not able to build x11/libxcb as it requires xcb-proto >= 1.5 but port doesn't tell him to do so. The attached diff fixes this. >How-To-Repeat: 1. Make sure x11/xcb-proto < 1.5 is installed. 2. Now upgrade or install x11/libxcb port. # make -C /usr/ports/x11/libxcb build deinstall install clean 3. You'll get an error something like given below in config.log: configure:12436: $? = 1 Requested 'xcb-proto >= 1.5' but version of XCB Proto is 1.n configure:12464: error: Package requirements (xcb-proto >= 1.5) were not met: Requested 'xcb-proto >= 1.5' but version of XCB Proto is 1.n Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XCBPROTO_CFLAGS and XCBPROTO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. >Fix: diff -urN /usr/ports/x11/libxcb/Makefile libxcb/Makefile --- /usr/ports/x11/libxcb/Makefile 2009-07-31 20:04:38.000000000 +0530 +++ libxcb/Makefile 2009-07-31 20:55:13.000000000 +0530 @@ -17,8 +17,10 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libcheck.a:${PORTSDIR}/devel/libcheck \ xsltproc:${PORTSDIR}/textproc/libxslt \ ${LOCALBASE}/libdata/pkgconfig/xcb-proto.pc:${PORTSDIR}/x11/xcb-proto \ + xcb-proto>=1.5:${PORTSDIR}/x11/xcb-proto \ ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:${PORTSDIR}/devel/libpthread-stubs RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/xcb-proto.pc:${PORTSDIR}/x11/xcb-proto \ + xcb-proto>=1.5:${PORTSDIR}/x11/xcb-proto \ ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:${PORTSDIR}/devel/libpthread-stubs CONFIGURE_ARGS+= --disable-build-docs --without-doxygen >Release-Note: >Audit-Trail: >Unformatted: