From owner-freebsd-questions@FreeBSD.ORG Sun Sep 15 23:47:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1D3191A4 for ; Sun, 15 Sep 2013 23:47:56 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from mail.cyberleo.net (mtumishi.cyberleo.net [216.226.128.201]) by mx1.freebsd.org (Postfix) with ESMTP id ED8E82CEF for ; Sun, 15 Sep 2013 23:47:55 +0000 (UTC) Received: from [172.16.44.4] (vitani.den.cyberleo.net [216.80.73.130]) by mail.cyberleo.net (Postfix) with ESMTPSA id 7A2584E7E; Sun, 15 Sep 2013 19:40:38 -0400 (EDT) Message-ID: <52364575.3030500@cyberleo.net> Date: Sun, 15 Sep 2013 18:40:37 -0500 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130908 Thunderbird/17.0.8 MIME-Version: 1.0 To: "C. L. Martinez" Subject: Re: syslog-ng33 fails to build References: In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Sep 2013 23:47:56 -0000 On 09/13/2013 01:53 AM, C. L. Martinez wrote: > Hi all, > > I am trying to build syslog-ng33 (release 3.3.9) using a poudriere > server, but build process fails: > > configure: error: in > `/wrkdirs/usr/ports/sysutils/syslog-ng33/work/syslog-ng-3.3.9': > configure: error: The pkg-config script could not be found or is too > old. Make sure it > is in your PATH or set the PKG_CONFIG environment variable to the full > path to pkg-config. > > Alternatively, you may set the environment variables EVTLOG_CFLAGS > and EVTLOG_LIBS to avoid the need to call pkg-config. > See the pkg-config man page for more details. > > It is strange, because previous build (on August 27) works without problems ... > > Any idea?? Probably because syslog-ng relies upon pkgconfig, but assumes it will be installed by one of the dependent ports so doesn't explicitly declare the dependency. Poudriere has a habit of only installing the immediate dependencies of the package it is currently compiling, so exposes such issues when a port is updated, but none of its dependencies are. Bug ports/181098 is another I found like this. Add this to the port's Makefile after the include of bsd.port.options.mk: USES+= pkgconfig If that corrects the issue you're seeing, submit a pr. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://www.fur.com/peace/