Re: libevent2 requirement in pgbouncer package (1.7.2-7) breaks install on Amazon Linux

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: Lukas Fittl <lukas(at)fittl(dot)com>, pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: libevent2 requirement in pgbouncer package (1.7.2-7) breaks install on Amazon Linux
Date: 2017-07-25 15:09:32
Message-ID: 1500995372.23355.56.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum


Hi Lukas,

I can fix this, if there is an RPM conditional for Amazon Linux. Can you please
create a ticket so that I don't forget?

https://redmine.postgresql.org/projects/pgrpms/issues/new

Regards, Devrim

On Thu, 2017-07-20 at 17:15 -0700, Lukas Fittl wrote:
> Hi all,
>
> It seems this recent change in the pgbouncer package breaks installation on
> Amazon Linux:
> https://git.postgresql.org/gitweb/?p=pgrpms.git;a=blobdiff;f=rpm/redhat/maste
> r/pgbouncer/master/pgbouncer.spec;h=a43aa7912ca4ba99df961c4de51c71be8025a5d0;
> hp=e86c0c7ae26d6b5808ad6bc0e1a8c0facac52b83;hb=ea84a30659ba40e8eecb57bf43b804
> 802f106ee4;hpb=f79f757b60b26e53a5fcbe8edd170da32125e5d5
>
> The installation fails with:
>
> Error: Package: pgbouncer-1.7.2-7.rhel6.x86_64 (pgdg95)
> Requires: libevent2 >= 2.0
>
> Note that "libevent" seems to be the correct package for Amazon Linux:
>
> libevent.i686 2.0.21-4.19.amzn1 amzn-main
>
>
> Amazon Linux is odd in that its initially RHEL 6 based, but nowadays has
> slightly different packages.
>
> Previously the pgbouncer package worked fine, so this seems like an
> unfortunate regression due to the explicit requirement in the package
> definition. Maybe this can be special cased in some way?
>
> Thanks,
> Lukas
>

--
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Lukas Fittl 2017-07-25 17:13:35 Re: libevent2 requirement in pgbouncer package (1.7.2-7) breaks install on Amazon Linux
Previous Message Martín Marqués 2017-07-22 10:20:36 Re: patch bug in 9.6 spec