NetBSD Problem Report #45409
From www@NetBSD.org Tue Sep 27 13:42:48 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 02B1B63D41D
for <gnats-bugs@gnats.NetBSD.org>; Tue, 27 Sep 2011 13:42:48 +0000 (UTC)
Message-Id: <20110927134247.401DE63B924@www.NetBSD.org>
Date: Tue, 27 Sep 2011 13:42:47 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joernc@gmail.com
To: gnats-bugs@NetBSD.org
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: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 27 13:45:00 +0000 2011
>Closed-Date: Wed Nov 13 19:04:57 +0000 2019
>Last-Modified: Wed Nov 13 19:04:57 +0000 2019
>Originator: Jörn Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
>Description:
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.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc:
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
TOOLS_PATH.pkg-config=/usr/pkgsrc/20110926/bin/pkg-config
to mk.conf, I was able to build this package.
--
Jörn Clausen joern.clausen@uni-bielefeld.de
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
Responsible-Changed-From-To: pkg-manager->hans
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Thu, 29 Sep 2011 13:09:27 +0000
Responsible-Changed-Why:
hans caused this, he says.
State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 13 Nov 2019 19:04:57 +0000
State-Changed-Why:
Assuming stale bug. Let me know if I'm wrong.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.