databases/pglessog, databases/pg_rman problems after the last bsd.database.mk update

Chris Rees utisoft at gmail.com
Tue Mar 6 20:51:18 UTC 2012


On 6 March 2012 10:25, Matthew Seaman <matthew at freebsd.org> wrote:
>
> Dear all,
>
> I noticed this when building indexes.  Seems 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:
>        postgresql-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.  It seems that these are the
> only two ports affected.

Yes-- these ports will have IGNORE set for them, so the INDEX entry
will be bogus anyway.

Chris


More information about the freebsd-ports mailing list