Re: RHEL5 postgresql94-contrib is broken, unsatisfied dependency on uuid-ossp

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: Jeff Frost <jeff(at)pgexperts(dot)com>, pgsql-pkg-yum <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: Re: RHEL5 postgresql94-contrib is broken, unsatisfied dependency on uuid-ossp
Date: 2014-08-27 04:08:58
Message-ID: 53FD59DA.2030802@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

On 08/26/2014 12:07 AM, Devrim Gündüz wrote:
>> > There's no explicit RPM-level dependency, just a shared object
>> > dependency. So at least some users will have no idea how to find this
>> > "libossp-uuid.so.15" that we require.
> Right. Let's fix it in the next set of releases.

Sounds good - A Requires: plus some references to EPEL being recommended
for RHEL/CentOS would do the job.

We don't need it for 9.4 though; the conditional uuid support may be
removed entirely and replaced with:

# Over time the package containing this has varied. If in doubt use:
# yum whatprovides /usr/lib64/libuuid.so
# to find out.
%if 0%{?rhel} == 5
BuildRequires: e2fsprogs-devel
%else
BuildRequires: libuuid-devel
%endif

and instead of --with-ossp-uuid to configure, use:

--with-uuid=e2fs

then there's no need for core postgresql94 packages to depend on EPEL at
all anymore.

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Craig Ringer 2014-08-27 04:14:07 Re: proposal: rpm package for plpgsql_check
Previous Message im4LF 2014-08-26 06:53:33 Re: org2org have lost PostgreSQL driver support