public inbox for [email protected]  
help / color / mirror / Atom feed
libevent2 requirement in pgbouncer package (1.7.2-7) breaks install on Amazon Linux
3+ messages / 2 participants
[nested] [flat]

* libevent2 requirement in pgbouncer package (1.7.2-7) breaks install on Amazon Linux
@ 2017-07-21 00:15  Lukas Fittl <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Lukas Fittl @ 2017-07-21 00:15 UTC (permalink / raw)
  To: pgsql-pkg-yum

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/master/pgbouncer/master/pgbo...

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

-- 
Lukas Fittl

Skype: lfittl
Phone: +1 415 321 0630


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: libevent2 requirement in pgbouncer package (1.7.2-7) breaks install on Amazon Linux
@ 2017-07-25 15:09  Devrim Gündüz <[email protected]>
  parent: Lukas Fittl <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Devrim Gündüz @ 2017-07-25 15:09 UTC (permalink / raw)
  To: Lukas Fittl <[email protected]>; 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


Attachments:

  [application/pgp-signature] signature.asc (833B, 2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: libevent2 requirement in pgbouncer package (1.7.2-7) breaks install on Amazon Linux
@ 2017-07-25 17:13  Lukas Fittl <[email protected]>
  parent: Devrim Gündüz <[email protected]>
  0 siblings, 0 replies; 3+ messages in thread

From: Lukas Fittl @ 2017-07-25 17:13 UTC (permalink / raw)
  To: Devrim Gündüz <[email protected]>; +Cc: pgsql-pkg-yum

On Tue, Jul 25, 2017 at 8:09 AM, Devrim Gündüz <[email protected]> wrote:
>
> 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
>

Of course, wasn't sure if the bug tracker was the right place to file
things - done now: https://redmine.postgresql.org/issues/2601

We've worked around with our own packages for now, but seems like this
could affect others. Let me know if you need anything tested, happy to help
(with my limited understanding of RPM packaging).

Thanks,
Lukas

-- 
Lukas Fittl

Skype: lfittl
Phone: +1 415 321 0630 <(415)%20321-0630>


^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2017-07-25 17:13 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-07-21 00:15 libevent2 requirement in pgbouncer package (1.7.2-7) breaks install on Amazon Linux Lukas Fittl <[email protected]>
2017-07-25 15:09 ` Devrim Gündüz <[email protected]>
2017-07-25 17:13   ` Lukas Fittl <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox