Postgres 9.6 pgperl vs Amazon Linux 2017.03

From: Daniel Farina <daniel(at)citusdata(dot)com>
To: "pgsql-pkg-yum(at)postgresql(dot)org" <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: Postgres 9.6 pgperl vs Amazon Linux 2017.03
Date: 2017-05-26 21:41:19
Message-ID: CAOPfGFghBmgNaOXMj7z8a1oEfCiKcmOuY-nhOR=ByTknogD9+Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

Hello everyone,

This story starts with my trying to install postgresql96-plperl on Amazon
Linux 2017.03. I am using the Amazon Linux repo, but as I'm sure you know,
Amazon Linux tend to upgrade packages somewhat more frequently, often for
the better, but it causes stuff like this semi-regularly. I eventually
found that the issues are not that deep and a re-compile worked well, but I
wanted to document this issue.

In any case, "yum install" it does not work, dying like so:

Resolving Dependencies
--> Running transaction check
---> Package postgresql96-plperl.x86_64 0:9.6.3-1PGDG.rhel6 will be
installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.10.1) for package:
postgresql96-plperl-9.6.3-1PGDG.rhel6.x86_64
--> Finished Dependency Resolution
Error: Package: postgresql96-plperl-9.6.3-1PGDG.rhel6.x86_64 (pgdg96)
Requires: perl(:MODULE_COMPAT_5.10.1)

The perl version is:

rpm -qv perl-devel
perl-devel-5.16.3-286.38.amzn1.x86_64

I downloaded the pgrpms repo and built postgres packages on Amazon Linux
2017.03 and it basically worked without a hitch....except, to throw in a
macro to disable systemd support (somehow, auto-detection isn't doing the
right thing there).

Cheers,
Daniel

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Pim Rupert 2017-05-29 10:38:58 Please update nagios-plugins-pgactivity to 2.2
Previous Message Ian Barwick 2017-05-25 04:30:07 Version number usage in new repmgr.spec file?