[pgsql-pkg-yum] Postgres 9.6 pgperl vs Amazon Linux 2017.03 - Mailing list pgsql-pkg-yum

From Daniel Farina
Subject [pgsql-pkg-yum] Postgres 9.6 pgperl vs Amazon Linux 2017.03
Date
Msg-id CAOPfGFghBmgNaOXMj7z8a1oEfCiKcmOuY-nhOR=ByTknogD9+Q@mail.gmail.com
Whole thread Raw
List 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

pgsql-pkg-yum by date:

Previous
From: Ian Barwick
Date:
Subject: [pgsql-pkg-yum] Version number usage in new repmgr.spec file?
Next
From: Pim Rupert
Date:
Subject: [pgsql-pkg-yum] Please update nagios-plugins-pgactivity to 2.2