NetBSD Problem Report #45409

From  Tue Sep 27 13:42:48 2011
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 02B1B63D41D
	for <>; Tue, 27 Sep 2011 13:42:48 +0000 (UTC)
Message-Id: <>
Date: Tue, 27 Sep 2011 13:42:47 +0000 (UTC)
Subject: pkg-config not installed in time
X-Send-Pr-Version: www-1.0

>Number:         45409
>Category:       pkg
>Synopsis:       pkg-config not installed in time
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    hans
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 27 13:45:00 +0000 2011
>Last-Modified:  Tue Jan 29 06:46:41 +0000 2019
>Originator:     Jörn Clausen
University of Bielefeld
Compilation of x11/libxcb just failed for me:

configure:11743: checking for XCBPROTO
configure:11750: $PKG_CONFIG --exists --print-errors "xcb-proto >= 1.6"
Package xcb-proto was not found in the pkg-config search path.
Perhaps you should add the directory containing `xcb-proto.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xcb-proto' found

Yet x11/xcb-proto was actually installed.

It turned out that devel/pkg-config was missing, instead /usr/bin/pkg-config was used, which did not know about xcb-proto - but about other native packages. So it might be possible that native libraries were used in the packages installed so far, instead of their pkgsrc counterparts.

Both x11/xcb-proto and x11/libxcb define "USE_TOOLS+=pkg-config", but this seems not to trigger the installation of devel/pkg-config. Has something changed wrt to this in the past? I have never had this problem before.



From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <>
Subject: Re: pkg/45409: pkg-config not installed in time
Date: Tue, 27 Sep 2011 16:25:00 +0200

 Hmmm, even after installing devel/pkg-config manually, I get the same 
 error. Only after adding


 to mk.conf, I was able to build this package.

   Jörn Clausen                   
   Universität Bielefeld

Responsible-Changed-From-To: pkg-manager->hans
Responsible-Changed-When: Thu, 29 Sep 2011 13:09:27 +0000
hans caused this, he says.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.