From owner-freebsd-questions@FreeBSD.ORG Tue Sep 17 07:36:39 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8F6A5A87 for ; Tue, 17 Sep 2013 07:36:39 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2E3C62126 for ; Tue, 17 Sep 2013 07:36:39 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id cb5so4553260wib.10 for ; Tue, 17 Sep 2013 00:36:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=KU4z6l0lJ4vK0zLbk4IWsFG0MXkFX1jLc4lkqKGebNQ=; b=VVsDcu21zbblCG/k8O6naVbL41IAQxD/lGY5yAWlmonU+qRPdiCJ78cngLL/5tYXlb YtA5Roy6yY9Ygc4oFIkHFyqtCdCLlnAhS3YwrReCr5LTmkGDuI1NtlZKV0AfE+qrAvBf KM2H06u2OZngGKxJRqocowV+0SEGsJkVLZdZ/iQK0cxUCArVkLF3D3whLKmm4c8WjfRh tTSxUv0Ibxe9L3lFH3Vw/EpayYQpLA03T85NNsXO9AiWlOlrvFQyJDjkLQHj8kmAjJVZ GZCB3tZoXnlTwGSIWYD6olUqpXfHie54WcTEnHdgAIgM1CONRs9C4DNqayB/xsfWjqOD RVLQ== MIME-Version: 1.0 X-Received: by 10.194.77.2 with SMTP id o2mr10643wjw.57.1379403397568; Tue, 17 Sep 2013 00:36:37 -0700 (PDT) Received: by 10.194.46.33 with HTTP; Tue, 17 Sep 2013 00:36:37 -0700 (PDT) In-Reply-To: <52364575.3030500@cyberleo.net> References: <52364575.3030500@cyberleo.net> Date: Tue, 17 Sep 2013 07:36:37 +0000 Message-ID: Subject: Re: syslog-ng33 fails to build From: "C. L. Martinez" To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 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: Tue, 17 Sep 2013 07:36:39 -0000 On Sun, Sep 15, 2013 at 11:40 PM, CyberLeo Kitsana wrote: > 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 > > Many thanks CyberLeo ... It works. I have opened pr last week about this (but instead against syslog-ng33, it is about syslog-ng 3.4.3, but the problem is the same) http://www.freebsd.org/cgi/query-pr.cgi?pr=182061