From nobody@FreeBSD.org  Mon Apr 23 15:08:30 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id A6653106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Apr 2012 15:08:30 +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 90EE58FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Apr 2012 15:08:30 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q3NF8UmP069153
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Apr 2012 15:08:30 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q3NF8T9P069152;
	Mon, 23 Apr 2012 15:08:29 GMT
	(envelope-from nobody)
Message-Id: <201204231508.q3NF8T9P069152@red.freebsd.org>
Date: Mon, 23 Apr 2012 15:08:29 GMT
From: Olivier Cochard-Labbe <olivier@cochard.me>
To: freebsd-gnats-submit@FreeBSD.org
Subject: x11-drivers/xf86-video-intel :Missing dependency  (x11/xcb-util)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         167228
>Category:       ports
>Synopsis:       x11-drivers/xf86-video-intel :Missing dependency  (x11/xcb-util)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-x11
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 23 15:10:08 UTC 2012
>Closed-Date:    Wed Jun 26 18:31:04 UTC 2013
>Last-Modified:  Wed Jun 26 18:31:04 UTC 2013
>Originator:     Olivier Cochard-Labbe
>Release:        9.0-RELEASE
>Organization:
BSD Router Project
>Environment:
FreeBSD bigdev.bsdrp.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Sat Jan  7 19:32:30 CET 2012     root@bigdev.bsdrp.net:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
I'm trying to build some packagse on an juste-instaled FBSD:
1. x11/xorg-minimal -DWITH_NEW_XORG -DWITH_KMS
2. x11-drivers/xf86-video-intel -DWITH_NEW_XORG

But building xf86-video-intel package failed: It didn't found some "lib/lib*XvMC" files.
Troubleshooting this problem I've found that it didn't build all "lib/lib*XvMC" files because autoconf disable XVMCLIB and XVMCLIB was disabled because it didn't found "xcb-aux.pc" (from x11/xcb-util)

Here is an extract of the resulting xf86-video-intel config.log :

  configure:13117: checking for XVMCLIB
  configure:13124: $PKG_CONFIG --exists --print-errors "xvmc xext xfixes dri2proto
   x11-xcb xcb-dri2 xcb-aux"
  Package xcb-aux was not found in the pkg-config search path.
  Perhaps you should add the directory containing `xcb-aux.pc'

=> Missing x11/xcb-util dependency somewhere

>How-To-Repeat:
Install x11/xorg-minimal with -DWITH_NEW_XORG -DWITH_KM, then x11-drivers/xf86-video-intel -DWITH_NEW_XORG.
>Fix:
Adding this line in x11-drivers/xf86-video-intel/Makefile fix the problem:
LIB_DEPENDS=   xcb-util.0:${PORTSDIR}/x11/xcb-util


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-x11 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Apr 23 15:10:26 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167228 
State-Changed-From-To: open->closed 
State-Changed-By: zeising 
State-Changed-When: Wed Jun 26 18:31:04 UTC 2013 
State-Changed-Why:  
Fixed in the latest xorg update. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=167228 
>Unformatted:
