Skip Menu |
 

This queue is for tickets about the Net-Interface CPAN distribution.

Report information
The Basics
Id: 120402
Status: new
Priority: 0/
Queue: Net-Interface

People
Owner: Nobody in particular
Requestors: linxdev [...] gmail.com
Cc:
AdminCc:

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



MIME-Version: 1.0
X-Spam-Status: No, score=-1.333 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_SOFTFAIL=0.665] autolearn=no
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
Content-Type: multipart/alternative; boundary="94eb2c1b54f23673f005497c747a"
Message-ID: <CAM9kbeNbN=w_2uwWDuiKyENGGLCr42ef1YuzRNYYuVNhH71jqQ [...] mail.gmail.com>
X-Received: by 10.223.179.15 with SMTP id j15mr11741828wrd.159.1488173758049; Sun, 26 Feb 2017 21:35:58 -0800 (PST)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -1.333
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id E18B524008A for <cpan-bug+Net-Interface [...] hipster.bestpractical.com>; Mon, 27 Feb 2017 00:36:19 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Us-3Cz0nDJw9 for <cpan-bug+Net-Interface [...] hipster.bestpractical.com>; Mon, 27 Feb 2017 00:36:17 -0500 (EST)
Received: from xx1.develooper.com (xx1.develooper.com [207.171.7.115]) by hipster.bestpractical.com (Postfix) with ESMTPS id 31FBD240039 for <bug-Net-Interface [...] rt.cpan.org>; Mon, 27 Feb 2017 00:36:16 -0500 (EST)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id B7FE011D899 for <bug-Net-Interface [...] rt.cpan.org>; Sun, 26 Feb 2017 21:36:15 -0800 (PST)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 9B33811D8A3 for <bug-Net-Interface [...] rt.cpan.org>; Sun, 26 Feb 2017 21:36:05 -0800 (PST)
Received: from mail-wr0-f170.google.com (mail-wr0-f170.google.com [209.85.128.170]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id 93E8611D899 for <bug-Net-Interface [...] rt.cpan.org>; Sun, 26 Feb 2017 21:35:59 -0800 (PST)
Received: by mail-wr0-f170.google.com with SMTP id m5so25590192wrm.0 for <bug-Net-Interface [...] rt.cpan.org>; Sun, 26 Feb 2017 21:35:59 -0800 (PST)
Received: by 10.28.48.131 with HTTP; Sun, 26 Feb 2017 21:35:57 -0800 (PST)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+Net-Interface [...] hipster.bestpractical.com
Subject: Test fails when pcap.h missing
Return-Path: <linxdev [...] gmail.com>
X-RT-Mail-Extension: net-interface
X-Original-To: cpan-bug+Net-Interface [...] hipster.bestpractical.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=WuN8r4kp1KlH4gItwzrc588cWOxm6GRKr4UxmHN1AJU=; b=vDxDQAs1dWhiNVytr2sXH9iCsE1WCjlL0gQ/nHQtmsNJrRca9+OJMjavShTtWNmPDr zUsy95Wxn5rccYAEilcMlrFkDi2Wxgg8vPtv7NhHLK0XwxSe4WJtUf3FLVw+KKMeoY3k yF/ky5U6RXcrsyzmqLumL4NY4CnhIfFlpgFF4hHIsrlg8iijy7FnZ64ELzTQeG9XZJN9 K7kHqt0593As/aSRwSYkLwX5OCp8BTbzqaxJBkog93VUt8Y0mWs0z0IFl34NPgEZbKD1 tJ9F3TCwK1yRGy16NpiuN+d7f/37STMLR74vpbZ0jM7d/zUwngC5fhhZsn4V+/7dOUkK LqQA==
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=WuN8r4kp1KlH4gItwzrc588cWOxm6GRKr4UxmHN1AJU=; b=IAqxw0nb4JmRlu7wh2EdD2C4eHKFvetKiW7pMAx3pTdNTNoXRvGe2QTfkBDk3uXfYQ dtbV5hl+R+xrmb066e46rljRgHIYUZDlFQvUZZjeII+R30jg4MSxybOMsSlSoSQiDzMO MFTcHSULedqyie2bTQF+NAPeh+Wx1vgXDY3CZhsXLuLbCDuIHdkrvXUBV5JA8pge2p2i vpVs0LZhxkev5i/w+7+Iv22jrmw8rJ+MA2LCWhEVbvY3Jbj/iVMWUVa74/U9ZtlE50Xm dwiuu2A9QUFmZd6/NYLg0l6+fVD2vn+Fqz0DLn3AuClyAPvbNp4OW4YLtbqumVAdCpNg DmEw==
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' BODYTEXTH_SIZE_10000_LESS 0, BODYTEXTH_SIZE_3000_MORE 0, BODY_SIZE_10000_PLUS 0, CTYPE_MULTIPART_NO_QUOTE 0, DATE_TZ_NA 0, DKIM_SIGNATURE 0, NO_URI_HTTPS 0, SPF_PASS 0, WEBMAIL_SOURCE 0, __ANY_URI 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_ALT 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __FRAUD_MONEY_DENOMINATION 0, __FRAUD_WEBMAIL 0, __FRAUD_WEBMAIL_FROM 0, __FROM_GMAIL 0, __HAS_FROM 0, __HAS_HTML 0, __HAS_MSGID 0, __HELO_GMAIL 0, __HIGHBITS 0, __HTML_AHREF_TAG 0, __HTML_TAG_DIV 0, __MIME_HTML 0, __MIME_TEXT_H 0, __MIME_TEXT_H1 0, __MIME_TEXT_H2 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_TEXT_P2 0, __MIME_VERSION 0, __PHISH_SPEAR_HTTP_RECEIVED 0, __PHISH_SPEAR_STRUCTURE_1 0, __RDNS_GMAIL 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_IN_BODY 0, __URI_NO_MAILTO 0, __URI_NO_PATH 0, __URI_NO_WWW 0, __URI_NS_NXDOMAIN , __YOUTUBE_RCVD 0, __zen.spamhaus.org_ERROR '
Date: Mon, 27 Feb 2017 00:35:57 -0500
X-Spam-Level:
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2017.2.27.53016
To: bug-Net-Interface [...] rt.cpan.org
From: Chris Fowler <linxdev [...] gmail.com>
X-GM-Message-State: AMke39lvOSjlvwI2XNtTFql4oIM6s/4xZpQrC/tukiN19dcPczwuXGHLl+PJM2nSjFHKFxJynt4dDWoMEalK0w==
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 6015
Download (untitled) / with headers
text/plain 5.8k
I ran into an issue on a new dev system where Net-Interface-0.16 passed compile, but failed testing. # at t/strlcpy.t line 13. # Compilation failed in require at t/strlcpy.t line 13. # BEGIN failed--compilation aborted at t/strlcpy.t line 13. Undefined subroutine &Net::Interface::strlcpy called at t/strlcpy.t line 38. # Looks like you planned 21 tests but ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test exited with 255 just after 1. t/strlcpy.t ....... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 21/21 subtests t/symbols.t ....... 1/? # Failed test 'use Net::Interface;' # at t/symbols.t line 13. # Tried to use 'Net::Interface'. # Error: Can't load '/home/cfowler/CS/system/perl-modules/modules/libnet-interface-perl/build/Net-Interface-1.012/blib/arch/auto/Net/Interface/Interface.so' for module Net::Interface: /home/cfowler/C S/system/perl-modules/modules/libnet-interface-perl/build/Net-Interface-1.012/blib/arch/auto/Net/Interface/Interface.so: undefined symbol: ni_in6_classify at /opt/cs/usr/lib/perl5/5.22/DynaLoader.pm line1 93. # at t/symbols.t line 13. # Compilation failed in require at t/symbols.t line 13. # BEGIN failed--compilation aborted at t/symbols.t line 13. # Failed test 'Undefined subroutine &main::PF_UNSPEC called at t/symbols.t line 21. # ' # at t/symbols.t line 33. # Failed test 'Undefined subroutine &main::PF_INET called at t/symbols.t line 21. # ' # at t/symbols.t line 33. # Failed test 'Undefined subroutine &main::AF_UNSPEC called at t/symbols.t line 21. In my case pcap.h is in a non-standard location. The fix was to use CPATH=<INLUCDE PATH> environment at configure and during make. Without that if I skipped testing any script using Net::Interface would dump core. I guess I was expecting Makefile.PL and configure to pull CFLAGS from perl's config. I may be mistaken as this module may be 1 of 3 or so out of 200 I use that uses configure. perl -V below: Summary of my perl5 (revision 5 version 22 subversion 3) configuration: Platform: osname=linux, osvers=2.6.18-274.12.1.el5, archname=i586-linux-thread-multi uname='linux cfowler-baytrail-d 2.6.18-274.12.1.el5 #29-ubuntu smp tue feb 14 13:56:31 utc 2012 i586 athlon i386 gnulinux ' config_args='-des -Dusethreads -Duseshrplib -Doptimize=-O2 -Dprefix=/opt/cs/usr -Dprivlib=/opt/cs/usr/share/perl5/5.22 -Darchlib=/opt/cs/usr/lib/perl5/5.22 -Dsitearch=/opt/cs/usr/lib/perl5/5.22.3 -Dsi telib=/opt/cs/usr/share/perl5/5.22.3 -Dsitescript=/opt/cs/usr/bin -Dvendorprefix=/opt/cs/usr -Dvendorarch=/opt/cs/usr/lib/perl5/vendor_perl -Dvendorlib=/opt/cs/usr/share/perl5/vendor_perl -Dvendorscript=/ opt/cs/usr/bin -Dscriptdir=/opt/cs/usr/bin -Dotherlibdirs=/opt/cs/usr/lib/perl5/other:/opt/cs/usr/share/perl5/other -Dman1dir=/opt/cs/usr/share/man/man1 -Dman3dir=/opt/cs/usr/share/man/man3 -Dsiteman1dir=/opt/cs/usr/share/man/man1 -Dsiteman3dir=/opt/cs/usr/share/man/man3 -Dvendorman1dir=/opt/cs/usr/share/man/man1 -Dvendorman3dir=/opt/cs/usr/share/man/man3 -Dinc_version_list=none -Darchname=i586-linux-thread-multi -Accflags=-m32 -march=i586 -I/opt/cs/usr/include -Dlddlflags=-shared -Wl,-rpath,/opt/cs/usr/lib -Wl,-rpath,/opt/cs/lib -L/opt/cs/usr/lib -L/opt/cs/lib -Dldflags=-Wl,-rpath,/opt/cs/usr/lib -Wl,-rpath,/opt/cs/lib -L/opt/cs/usr/lib -L/opt/cs/lib' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -m32 -march=i586 -I/opt/cs/usr/include -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -m32 -march=i586 -I/opt/cs/usr/include -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-55)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234, doublekind=3 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12, longdblkind=3 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags ='-Wl,-rpath,/opt/cs/usr/lib -Wl,-rpath,/opt/cs/lib -L/opt/cs/usr/lib -L/opt/cs/lib -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc libc=libc-2.5.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/opt/cs/usr/lib/perl5/5.22/CORE' cccdlflags='-fPIC', lddlflags='-shared -Wl,-rpath,/opt/cs/usr/lib -Wl,-rpath,/opt/cs/lib -L/opt/cs/usr/lib -L/opt/cs/lib -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_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under linux Compiled at Feb 26 2017 22:53:38 %ENV: PERLLIB="/opt/perl-lib" @INC: /opt/perl-lib /opt/cs/usr/lib/perl5/5.22.3 /opt/cs/usr/share/perl5/5.22.3 /opt/cs/usr/lib/perl5/vendor_perl /opt/cs/usr/share/perl5/vendor_perl /opt/cs/usr/lib/perl5/5.22 /opt/cs/usr/share/perl5/5.22 /opt/cs/usr/lib/perl5/other /opt/cs/usr/share/perl5/other . Thanks, Chris
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 7617


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.