Skip Menu |

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

Report information
The Basics
Id: 99898
Status: resolved
Priority: 0/
Queue: Net-Address-Ethernet

People
Owner: Nobody in particular
Requestors: ckb [...] xerocole.com
Cc:
AdminCc:

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



Subject: CENTOS/RH7 issues
Date: Wed, 29 Oct 2014 15:53:20 -0700
To: "bug-Net-Address-Ethernet [...] rt.cpan.org" <bug-Net-Address-Ethernet [...] rt.cpan.org>
From: "Christopher K. Brown" <ckb [...] xerocole.com>
Greetings! Fresh new CENTOS/RH7 install here and I noticed this module fails its tests. I think the ifconfig format changed enough to bork it. [root@build-rh7-64 ckb]# uname -a Linux build-rh7-64 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Here's the first failure: Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/import_0.t ...... ok t/import_all.t .... 1/? EEE Ifconfig failed: Command '/sbin/ifconfig -a 2>&1', exit code '0'enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.12.0.125 netmask 255.255.255.0 broadcast 10.12.0.255 inet6 2001:dead:beef::27ff:fefa:fbb6 prefixlen 64 scopeid 0x0<global> inet6 fe80::a00:27ff:fefa:fbb6 prefixlen 64 scopeid 0x20<link> ether 08:00:27:fa:fb:b6 txqueuelen 1000 (Ethernet) RX packets 13690908 bytes 16485463227 (15.3 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 12614339 bytes 14604948823 (13.6 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 30244919 bytes 3228960431 (3.0 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 30244919 bytes 3228960431 (3.0 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 Here is the full output of my ifconfig -a...actually it's the same as above, interface is enp0s3. Let me know if you want any more info or if I should take a crack at repairing it. Full perl info. I did not upgrade this from the standard distribution. [root@build-rh7-64 ckb]# perl -V Summary of my perl5 (revision 5 version 16 subversion 3) configuration: Platform: osname=linux, osvers=2.6.32-220.17.1.el6.x86_64, archname=x86_64-linux-thread-multi uname='linux worker1.bsys.centos.org 2.6.32-220.17.1.el6.x86_64 #1 smp wed may 16 00:01:37 bst 2012 x86_64 x86_64 x86_64 gnulinux ' config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Dccdlflags=-Wl,--enable-new-dtags -Dlddlflags=-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro -DDEBUGGING=-g -Dversion=5.16.3 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl5 -Dsitearch=/usr/local/lib64/perl5 -Dprivlib=/usr/share/perl5 -Dvendorlib=/usr/share/perl5/vendor_perl -Darchlib=/usr/lib64/perl5 -Dvendorarch=/usr/lib64/perl5/vendor_perl -Darchname=x86_64-linux-thread-multi -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Duseshrplib -Dusethreads -Duseithreads -Dusedtrace=/usr/bin/dtrace -Duselargefiles -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto -Dscriptdir=/usr/bin -Dusesitecustomize' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.8.2 20140120 (Red Hat 4.8.2-16)', 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='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc', ldflags =' -fstack-protector' libpth=/usr/local/lib64 /lib64 /usr/lib64 libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.17' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro ' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP 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_PERLIO USE_PERL_ATOF USE_REENTRANT_API USE_SITECUSTOMIZE Locally applied patches: Fedora Patch1: Removes date check, Fedora/RHEL specific Fedora Patch3: support for libdir64 Fedora Patch4: use libresolv instead of libbind Fedora Patch5: USE_MM_LD_RUN_PATH Fedora Patch6: Skip hostname tests, due to builders not being network capable Fedora Patch7: Dont run one io test due to random builder failures Fedora Patch9: Fix find2perl to translate ? glob properly (RT#113054) Fedora Patch10: Fix broken atof (RT#109318) Fedora Patch13: Clear $@ before "do" I/O error (RT#113730) Fedora Patch14: Do not truncate syscall() return value to 32 bits (RT#113980) Fedora Patch15: Override the Pod::Simple::parse_file (CPANRT#77530) Fedora Patch16: Do not leak with attribute on my variable (RT#114764) Fedora Patch17: Allow operator after numeric keyword argument (RT#105924) Fedora Patch18: Extend stack in File::Glob::glob, (RT#114984) Fedora Patch19: Do not crash when vivifying $| Fedora Patch20: Fix misparsing of maketext strings (CVE-2012-6329) Fedora Patch21: Add NAME headings to CPAN modules (CPANRT#73396) Fedora Patch22: Fix leaking tied hashes (RT#107000) [1] Fedora Patch23: Fix leaking tied hashes (RT#107000) [2] Fedora Patch24: Fix leaking tied hashes (RT#107000) [3] Fedora Patch25: Fix dead lock in PerlIO after fork from thread (RT#106212) Fedora Patch26: Make regexp safe in a signal handler (RT#114878) Fedora Patch27: Update h2ph(1) documentation (RT#117647) Fedora Patch28: Update pod2html(1) documentation (RT#117623) Fedora Patch29: Document Math::BigInt::CalcEmu requires Math::BigInt (CPAN RT#85015) Built under linux Compiled at Jun 17 2014 17:36:59 @INC: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #99898] AutoReply: CENTOS/RH7 issues
Date: Wed, 29 Oct 2014 17:56:11 -0700
To: "bug-Net-Address-Ethernet [...] rt.cpan.org" <bug-Net-Address-Ethernet [...] rt.cpan.org>
From: "Christopher K. Brown" <ckb [...] xerocole.com>
Debugged it a bit and, sure enough, Net::Ifconfig::Wrapper is not matching the ifconfig output. I guess you are off the hook, although the Ifconfig module doesn't look like it is actively maintained. Show quoted text
>________________________________ > From: Bugs in Net-Address-Ethernet via RT <bug-Net-Address-Ethernet@rt.cpan.org> >To: ckb@xerocole.com >Sent: Wednesday, October 29, 2014 6:56 PM >Subject: [rt.cpan.org #99898] AutoReply: CENTOS/RH7 issues > > > >Greetings, > >This message has been automatically generated in response to the >creation of a trouble ticket regarding: > "CENTOS/RH7 issues", >a summary of which appears below. > >There is no need to reply to this message right now. Your ticket has been >assigned an ID of [rt.cpan.org #99898]. Your ticket is accessible >on the web at: > > https://rt.cpan.org/Ticket/Display.html?id=99898 > >Please include the string: > > [rt.cpan.org #99898] > >in the subject line of all future correspondence about this issue. To do so, >you may reply to this message. > > Thank you, > bug-Net-Address-Ethernet@rt.cpan.org > > > > > >------------------------------------------------------------------------- > > >Greetings! > >Fresh new CENTOS/RH7 install here and I noticed this module fails its tests. I think the ifconfig format changed enough to bork it. > >[root@build-rh7-64 ckb]# uname -a >Linux build-rh7-64 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux > > >Here's the first failure: > > >Running make test >PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t >t/import_0.t ...... ok >t/import_all.t .... 1/? EEE Ifconfig failed: Command '/sbin/ifconfig -a 2>&1', exit code '0'enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet 10.12.0.125 netmask 255.255.255.0 broadcast 10.12.0.255 > inet6 2001:dead:beef::27ff:fefa:fbb6 prefixlen 64 scopeid 0x0<global> > inet6 fe80::a00:27ff:fefa:fbb6 prefixlen 64 scopeid 0x20<link> > ether 08:00:27:fa:fb:b6 txqueuelen 1000 (Ethernet) > RX packets 13690908 bytes 16485463227 (15.3 GiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 12614339 bytes 14604948823 (13.6 GiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 > inet 127.0.0.1 netmask 255.0.0.0 > inet6 ::1 prefixlen 128 scopeid 0x10<host> > loop txqueuelen 0 (Local Loopback) > RX packets 30244919 bytes 3228960431 (3.0 GiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 30244919 bytes 3228960431 (3.0 GiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > >Here is the full output of my ifconfig -a...actually it's the same as above, interface is enp0s3. > >Let me know if you want any more info or if I should take a crack at repairing it. > >Full perl info. I did not upgrade this from the standard distribution. > > >[root@build-rh7-64 ckb]# perl -V >Summary of my perl5 (revision 5 version 16 subversion 3) configuration: > > Platform: > osname=linux, osvers=2.6.32-220.17.1.el6.x86_64, archname=x86_64-linux-thread-multi > uname='linux worker1.bsys.centos.org 2.6.32-220.17.1.el6.x86_64 #1 smp wed may 16 00:01:37 bst 2012 x86_64 x86_64 x86_64 gnulinux ' > config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Dccdlflags=-Wl,--enable-new-dtags -Dlddlflags=-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro -DDEBUGGING=-g -Dversion=5.16.3 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl5 -Dsitearch=/usr/local/lib64/perl5 -Dprivlib=/usr/share/perl5 -Dvendorlib=/usr/share/perl5/vendor_perl -Darchlib=/usr/lib64/perl5 -Dvendorarch=/usr/lib64/perl5/vendor_perl -Darchname=x86_64-linux-thread-multi -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Duseshrplib -Dusethreads -Duseithreads -Dusedtrace=/usr/bin/dtrace -Duselargefiles -Dd_semctl_semun -Di_db >-Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto -Dscriptdir=/usr/bin -Dusesitecustomize' > hint=recommended, useposix=true, d_sigaction=define > useithreads=define, usemultiplicity=define > useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef > use64bitint=define, use64bitall=define, uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', > optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic', > cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' > ccversion='', gccversion='4.8.2 20140120 (Red Hat 4.8.2-16)', 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='double', nvsize=8, Off_t='off_t', lseeksize=8 > alignbytes=8, prototype=define > Linker and Libraries: > ld='gcc', ldflags =' -fstack-protector' > libpth=/usr/local/lib64 /lib64 /usr/lib64 > libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat > perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc > libc=, so=so, useshrplib=true, libperl=libperl.so > gnulibc_version='2.17' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE' > cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro ' > >Characteristics of this binary (from libperl): > Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS > PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT > PERL_MALLOC_WRAP 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_PERLIO USE_PERL_ATOF > USE_REENTRANT_API USE_SITECUSTOMIZE > Locally applied patches: > Fedora Patch1: Removes date check, Fedora/RHEL specific > Fedora Patch3: support for libdir64 > Fedora Patch4: use libresolv instead of libbind > Fedora Patch5: USE_MM_LD_RUN_PATH > Fedora Patch6: Skip hostname tests, due to builders not being network capable > Fedora Patch7: Dont run one io test due to random builder failures > Fedora Patch9: Fix find2perl to translate ? glob properly (RT#113054) > Fedora Patch10: Fix broken atof (RT#109318) > Fedora Patch13: Clear $@ before "do" I/O error (RT#113730) > Fedora Patch14: Do not truncate syscall() return value to 32 bits (RT#113980) > Fedora Patch15: Override the Pod::Simple::parse_file (CPANRT#77530) > Fedora Patch16: Do not leak with attribute on my variable (RT#114764) > Fedora Patch17: Allow operator after numeric keyword argument (RT#105924) > Fedora Patch18: Extend stack in File::Glob::glob, (RT#114984) > Fedora Patch19: Do not crash when vivifying $| > Fedora Patch20: Fix misparsing of maketext strings (CVE-2012-6329) > Fedora Patch21: Add NAME headings to CPAN modules (CPANRT#73396) > Fedora Patch22: Fix leaking tied hashes (RT#107000) [1] > Fedora Patch23: Fix leaking tied hashes (RT#107000) [2] > Fedora Patch24: Fix leaking tied hashes (RT#107000) [3] > Fedora Patch25: Fix dead lock in PerlIO after fork from thread (RT#106212) > Fedora Patch26: Make regexp safe in a signal handler (RT#114878) > Fedora Patch27: Update h2ph(1) documentation (RT#117647) > Fedora Patch28: Update pod2html(1) documentation (RT#117623) > Fedora Patch29: Document Math::BigInt::CalcEmu requires Math::BigInt (CPAN RT#85015) > Built under linux > Compiled at Jun 17 2014 17:36:59 > @INC: > /usr/local/lib64/perl5 > /usr/local/share/perl5 > /usr/lib64/perl5/vendor_perl > /usr/share/perl5/vendor_perl > /usr/lib64/perl5 > /usr/share/perl5 > . > > >

Message body is not shown because it is too large.

Net::Ifconfig::Wrapper version 0.13 has been fixed for CentOS. Please try that version -- - - Martin 'Kingpin' Thurn