Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2012 20:57:04 +0000
From:      Chris Rees <utisoft@gmail.com>
To:        Matthew Seaman <matthew@freebsd.org>
Cc:        kuriyama@freebsd.org, freebsd-ports <freebsd-ports@freebsd.org>, pgsql@freebsd.org
Subject:   Re: databases/pglessog, databases/pg_rman problems after the last bsd.database.mk update
Message-ID:  <CADLo838GEgZSsHsSqEdaTrE=Dw00Y5683BsOLCPDv7Di1OB_6w@mail.gmail.com>
In-Reply-To: <CADLo839sYkS0P-tWfv3SyeNfbRLFpN-CCASNnM%2BfUpo9J6ddow@mail.gmail.com>
References:  <4F55E619.3080305@FreeBSD.org> <CADLo839sYkS0P-tWfv3SyeNfbRLFpN-CCASNnM%2BfUpo9J6ddow@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6 March 2012 20:50, Chris Rees <utisoft@gmail.com> wrote:
> On 6 March 2012 10:25, Matthew Seaman <matthew@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo838GEgZSsHsSqEdaTrE=Dw00Y5683BsOLCPDv7Di1OB_6w>