Skip Menu |

This queue is for tickets about the Event-Lib CPAN distribution.

Report information
The Basics
Id: 124603
Status: new
Priority: 0/
Queue: Event-Lib

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.03
Fixed in: (no value)



Subject: Fails to build with libvent-2.1: Lib.xs:131:14: error: 'struct event' has no member named 'ev_arg'
Event-Lib-1.03 fails to build with libevent-2.1: gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fstack-clash-protection -DVERSION=\"1.03\" -DXS_VERSION=\"1.03\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAVE_CONFIG_H -DHAVE_LOG_CALLBACKS -DHAVE_PRIORITIES Lib.c Lib.xs: In function 'refresh_event': Lib.xs:131:14: error: 'struct event' has no member named 'ev_arg'; did you mean 'ev_fd'? args->ev.ev_arg = (void*)sv; ^~~~~~ libevent-2.1 has changed API. PDL Linux has a fix <http://git.pld-linux.org/gitweb.cgi?p=packages/perl-Event-Lib.git;a=blob_plain;f=libevent-2.1.patch;h=7e0e0ac503ffdfbbc7ffd983c2b5a3d9e72ba9b3;hb=d735f6ac4ae17f4dc1cfe16232ea605c9acb89d2>.