From owner-freebsd-ports@FreeBSD.ORG Tue Mar 6 20:57:35 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7563F106566B; Tue, 6 Mar 2012 20:57:35 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0ED638FC13; Tue, 6 Mar 2012 20:57:34 +0000 (UTC) Received: by iahk25 with SMTP id k25so10269233iah.13 for ; Tue, 06 Mar 2012 12:57:34 -0800 (PST) Received-SPF: pass (google.com: domain of utisoft@gmail.com designates 10.50.222.135 as permitted sender) client-ip=10.50.222.135; Authentication-Results: mr.google.com; spf=pass (google.com: domain of utisoft@gmail.com designates 10.50.222.135 as permitted sender) smtp.mail=utisoft@gmail.com; dkim=pass header.i=utisoft@gmail.com Received: from mr.google.com ([10.50.222.135]) by 10.50.222.135 with SMTP id qm7mr12225355igc.9.1331067454597 (num_hops = 1); Tue, 06 Mar 2012 12:57:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=Kl8FQgkohg9n8oBoLrfCUBEoNJr8Jtp/PJqHtpIX34c=; b=W4X8ZnaTwpBNKQijmqtBHAk7ZZHPycqIlAichKFyV7vLm0n1tsy28/4dnikLOnoYuK QCUfiuOmQ8TJItojgI6DZikqWGVURogLT3u+3vjxjkUv728DzziopRCpryn28CV6ZUUv wKGbbgl+eGtWqln3RGs4eMQu/yJDtSLoV0OxT+iUZFtF0v3OGaqMpqAR/OVJU1PdRqY/ 3qc7N8/mmbGpTDXpbttm1mHHT4NYHk0oIALn8S8iOGwzOj52xYyORXjrrYkc3FSqCFkf lJsObSslNaYAST+HVpHPItpz4/nVeiuxTxFLbKgX6KUIfHM8xwfcatoswL3dFkYB8MLQ LYPQ== Received: by 10.50.222.135 with SMTP id qm7mr10182091igc.9.1331067454501; Tue, 06 Mar 2012 12:57:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.53.67 with HTTP; Tue, 6 Mar 2012 12:57:04 -0800 (PST) In-Reply-To: References: <4F55E619.3080305@FreeBSD.org> From: Chris Rees Date: Tue, 6 Mar 2012 20:57:04 +0000 Message-ID: To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: kuriyama@freebsd.org, freebsd-ports , pgsql@freebsd.org Subject: Re: databases/pglessog, databases/pg_rman problems after the last bsd.database.mk update X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 20:57:35 -0000 On 6 March 2012 20:50, Chris Rees wrote: > On 6 March 2012 10:25, Matthew Seaman wrote: >> >> Dear all, >> >> I noticed this when building indexes. =A0Seems that databases/pglesslog >> and databases/pg_rman are unhappy as a consequence of the last >> bsd.database.mk update, but only if postgresql (other than version 8.3) >> is already installed: >> >> Initially -- with postgresql-client-9.0.7_1 installed: >> >> databases/pglesslog:# make -V PGSQL_VER >> >> databases/pglesslog:# make -V BUILD_DEPENDS >> /nonexistent:/usr/ports/databases/postgresql-server:build >> gmake:/usr/ports/devel/gmake >> >> >> PGSQL_VER ends up empty, causing the BUILD_DEPENDS to refer to a >> non-existent 'postgresql-server' port. >> >> Simply deleting the postgresql client ... >> >> databases/pglesslog:# pkg delete -x postgresql >> The following packages will be deinstalled: >> =A0 =A0 =A0 =A0postgresql-client-9.0.7_1 >> >> The deinstallation will save 8 MB >> >> Proceed with deinstalling packages [y/N]: y >> Deinstalling postgresql-client-9.0.7_1... done >> >> >> ... fixes the INDEX: >> >> databases/pglesslog:# make -V PGSQL_VER >> 83 >> databases/pglesslog:# make -V BUILD_DEPENDS >> /nonexistent:/usr/ports/databases/postgresql83-server:build >> gmake:/usr/ports/devel/gmake >> >> Since this is dependent on postgresql !8.3 already being installed I >> guess it wouldn't have shown up in testing. =A0It seems that these are t= he >> only two ports affected. > > Yes-- these ports will have IGNORE set for them, so the INDEX entry > will be bogus anyway. I meant to add-- now the preferred way to depend on the server is to use: USE_PGSQL=3D server (also still depends on -client, but then so does -server) I'll work on getting server:extract to work-- looks popular. Chris