From owner-freebsd-ports@FreeBSD.ORG Fri Jun 14 09:34:38 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CECEAA8C for ; Fri, 14 Jun 2013 09:34:38 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 4EE7811B5 for ; Fri, 14 Jun 2013 09:34:38 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r5E9YOnx057063 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 14 Jun 2013 10:34:33 +0100 (BST) (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r5E9YOnx057063 Authentication-Results: smtp.infracaninophile.co.uk/r5E9YOnx057063; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <51BAE3A0.2020600@freebsd.org> Date: Fri, 14 Jun 2013 10:34:24 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130518 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: [SOLVED] Re: Can't build Xorg --> make failed for ports-mgmt/pkg References: <1184690713-1371062081-cardhu_decombobulator_blackberry.rim.net-150318100-@b2.c8.bise7.blackberry> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 09:34:38 -0000 On 13/06/2013 15:24, Miguel Clara wrote: > Than I tried to rebuild just "libdrm" and not xorg, with portmaster > -f, pkg was mentioned again but this time the update worked and I'm > now with pkg-1.0.13 > > pkg info | grep pkg > pkg-1.0.13 New generation package manager > > I'm not exactly sure why it worked now and not before... The only > difference now is that I made a "make deinstall", I'm glad its > solved... still having issues with "xorg" but that is a totally > different discussion! The errors you were seeing are symptomatic of your build system not finding pkg.h or libpkg.so.0 in your build tree, but using the installed copies from the previous version of pkg already installed on your system. That is works when you remove the instaleld version of pkg means the problem is incorrect ordering of the include file (-I) or shared library (-L) search path options. This works fine if you eg. just check the sources out of git and run make -- meaning there is something in your environment overriding the default settings and causing mayhem. Cheers, Matthew