Skip Menu |

This queue is for tickets about the Linux-Epoll CPAN distribution.

Report information
The Basics
Id: 97723
Status: rejected
Priority: 0/
Queue: Linux-Epoll

People
Owner: LEONT [...] cpan.org
Requestors: MARKLE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.010
Fixed in: (no value)



Subject: cannot build in 5.20.0 - undefined symbol: epoll_pwait
Show quoted text
---- Unsatisfied dependencies detected during ---- ---- PEVANS/IO-Async-Loop-Epoll-0.16.tar.gz ---- Linux::Epoll [requires] Running install for module 'Linux::Epoll' Fetching with LWP: http://cpan.perl.org/authors/id/L/LE/LEONT/Linux-Epoll-0.010.tar.gz Fetching with LWP: http://cpan.perl.org/authors/id/L/LE/LEONT/CHECKSUMS Checksum for /tmp/cpan/sources/authors/id/L/LE/LEONT/Linux-Epoll-0.010.tar.gz ok Linux-Epoll-0.010/ Linux-Epoll-0.010/INSTALL Linux-Epoll-0.010/t/ Linux-Epoll-0.010/t/release-pod-syntax.t Linux-Epoll-0.010/t/release-pod-coverage.t Linux-Epoll-0.010/t/00-compile.t Linux-Epoll-0.010/t/10-basics.t Linux-Epoll-0.010/Build.PL Linux-Epoll-0.010/lib/ Linux-Epoll-0.010/lib/Linux/ Linux-Epoll-0.010/lib/Linux/ppport.h Linux-Epoll-0.010/lib/Linux/Epoll.pm Linux-Epoll-0.010/lib/Linux/Epoll.xs Linux-Epoll-0.010/dist.ini Linux-Epoll-0.010/LICENSE Linux-Epoll-0.010/META.json Linux-Epoll-0.010/Changes Linux-Epoll-0.010/MANIFEST Linux-Epoll-0.010/META.yml Linux-Epoll-0.010/README Configuring L/LE/LEONT/Linux-Epoll-0.010.tar.gz with Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Linux-Epoll' version '0.010' LEONT/Linux-Epoll-0.010.tar.gz /ntfhome/local/bin/perl Build.PL -- OK Running Build for L/LE/LEONT/Linux-Epoll-0.010.tar.gz Building Linux-Epoll cc -I/ntfhome/local/lib/perl5/5.20.0/x86_64-linux-thread-multi-ld/CORE -DVERSION="0.010" -DXS_VERSION="0.010" -fPIC -c -D_REENTRANT -D_GNU_SOURCE -fPIC -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/ntfhome/local/include -I/usr/include -O2 -o lib/Linux/Epoll.o lib/Linux/Epoll.c ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Linux/Epoll/Epoll.bs') cc -shared -O2 -L/usr/local/lib -fstack-protector -o blib/arch/auto/Linux/Epoll/Epoll.so lib/Linux/Epoll.o LEONT/Linux-Epoll-0.010.tar.gz ./Build -- OK Running Build test t/00-compile.t ............ 1/1 # Failed test 'Linux/Epoll.pm loaded ok' # at t/00-compile.t line 35. # got: '65280' # expected: '0' Can't load '/tmp/cpan/build/Linux-Epoll-0.010-uHwS6n/blib/arch/auto/Linux/Epoll/Epoll.so' for module Linux::Epoll: /tmp/cpan/build/Linux-Epoll-0.010-uHwS6n/blib/arch/auto/Linux/Epoll/Epoll.so: undefined symbol: epoll_pwait at /ntfhome/local/lib/perl5/5.20.0/x86_64-linux-thread-multi-ld/DynaLoader.pm line 193. at -e line 1. Compilation failed in require at -e line 1. # Looks like you failed 1 test of 1. t/00-compile.t ............ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/10-basics.t ............. Can't load '/tmp/cpan/build/Linux-Epoll-0.010-uHwS6n/blib/arch/auto/Linux/Epoll/Epoll.so' for module Linux::Epoll: /tmp/cpan/build/Linux-Epoll-0.010-uHwS6n/blib/arch/auto/Linux/Epoll/Epoll.so: undefined symbol: epoll_pwait at /ntfhome/local/lib/perl5/5.20.0/x86_64-linux-thread-multi-ld/DynaLoader.pm line 193. at t/10-basics.t line 6. Compilation failed in require at t/10-basics.t line 6. BEGIN failed--compilation aborted at t/10-basics.t line 6. # Looks like your test exited with 2 before it could output anything. t/10-basics.t ............. Dubious, test returned 2 (wstat 512, 0x200) Failed 19/19 subtests t/release-pod-coverage.t .. skipped: these tests are for release candidate testing t/release-pod-syntax.t .... skipped: these tests are for release candidate testing Test Summary Report ------------------- t/00-compile.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/10-basics.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. Files=4, Tests=1, 1 wallclock secs ( 0.05 usr 0.01 sys + 0.19 cusr 0.08 csys = 0.33 CPU) Result: FAIL Failed 2/4 test programs. 1/1 subtests failed. LEONT/Linux-Epoll-0.010.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports LEONT/Linux-Epoll-0.010.tar.gz Stopping: 'install' failed for 'Linux::Epoll'. Failed during this command: LEONT/Linux-Epoll-0.010.tar.gz : make_test NO 2014-08-03 13:54:06 Sun $ perl -V Summary of my perl5 (revision 5 version 20 subversion 0) configuration: Platform: osname=linux, osvers=2.6.18-308.0.0.0.1.el5xen, archname=x86_64-linux-thread-multi-ld uname='linux tst1.ntf.cftdev1.coresys.tmcs 2.6.18-308.0.0.0.1.el5xen #1 smp sat feb 25 16:26:29 est 2012 x86_64 x86_64 x86_64 gnulinux ' config_args='-de -Dprefix=/ntfhome/local -Duse64bitall -Dusethreads -Dinc_version_list=none -Duselongdouble -Dusemorebits -Dotherlibdirs=/ntf/shared/ntf/lib/perl5 -A ccflags=-fPIC' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define use64bitint=define, use64bitall=define, uselongdouble=define usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fPIC -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -fPIC -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-54)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='long double', nvsize=16, Off_t='off_t', lseeksize=8 alignbytes=16, prototype=define Linker and Libraries: ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib /lib64 /usr/lib64 /usr/local/lib64 libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=libc-2.5.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LONG_DOUBLE USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under linux Compiled at Jul 5 2014 19:25:13 @INC: /ntfhome/local/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld /ntfhome/local/lib/perl5/site_perl/5.20.0 /ntfhome/local/lib/perl5/5.20.0/x86_64-linux-thread-multi-ld /ntfhome/local/lib/perl5/5.20.0 .
Subject: Re: [rt.cpan.org #97723] cannot build in 5.20.0 - undefined symbol: epoll_pwait
Date: Mon, 4 Aug 2014 00:44:38 +0200
To: bug-Linux-Epoll [...] rt.cpan.org
From: Leon Timmermans <fawaka [...] gmail.com>
On Sun, Aug 3, 2014 at 10:56 PM, Mark Hedges via RT < bug-Linux-Epoll@rt.cpan.org> wrote: Show quoted text
> Can't load > '/tmp/cpan/build/Linux-Epoll-0.010-uHwS6n/blib/arch/auto/Linux/Epoll/Epoll.so' > for module Linux::Epoll: > /tmp/cpan/build/Linux-Epoll-0.010-uHwS6n/blib/arch/auto/Linux/Epoll/Epoll.so: > undefined symbol: epoll_pwait at > /ntfhome/local/lib/perl5/5.20.0/x86_64-linux-thread-multi-ld/DynaLoader.pm > line 193. > > osname=linux, osvers=2.6.18-308.0.0.0.1.el5xen, > archname=x86_64-linux-thread-multi-ld >
Thank you for your bug report. To quote the epoll_pwait manpage: «epoll_pwait() was added to Linux in kernel 2.6.19. Library support is provided in glibc starting with version 2.6.». If you want to use modern multiplexing primitives, you need a modern kernel and libc. 2.6.18 was released 8 years ago: you may want to try IO::Async::Loop::Ppoll instead of ::Epoll on such legacy systems. There is not much I can do for you in this case. I should probably document this better though. Leon