Skip Menu |

This queue is for tickets about the Data-Validation CPAN distribution.

Report information
The Basics
Id: 82896
Status: rejected
Priority: 0/
Queue: Data-Validation

People
Owner: Nobody in particular
Requestors: LGODDARD [...] cpan.org
Cc:
AdminCc:

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



Subject: Fails tests on OSX
Hope this helps. OS X 10.8.6 (Snow Leopard). perl -V is below. Lee:FifteenGifts-Engine leegoddard$ sudo cpan Data::Validation CPAN: Storable loaded ok (v2.34) Reading '/Users/leegoddard/.cpan/Metadata' Database was generated on Tue, 22 Jan 2013 16:29:02 GMT Running install for module 'Data::Validation' Running make for P/PJ/PJFL/data-validation/Data-Validation-0.9.172.tar.gz CPAN: Digest::SHA loaded ok (v5.71) CPAN: Compress::Zlib loaded ok (v2.048) Checksum for /Users/leegoddard/.cpan/sources/authors/id/P/PJ/PJFL/data-validation/Data-Validation-0.9.172.tar.gz ok CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4404) CPAN: CPAN::Meta loaded ok (v2.120921) CPAN: Module::CoreList loaded ok (v2.76) CPAN.pm: Building P/PJ/PJFL/data-validation/Data-Validation-0.9.172.tar.gz Checking prerequisites... recommends: * Class::Usul::Time is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Data-Validation' version 'v0.9.172' Building Data-Validation PJFL/data-validation/Data-Validation-0.9.172.tar.gz ./Build -- OK CPAN: YAML loaded ok (v0.84) Running Build test t/01always_pass.t .. ok t/02pod.t .......... skipped: POD test only for developers t/07podspelling.t .. skipped: POD spelling test only for developers t/10base.t ......... 1/? # Failed test 'Not valid hostname' # at t/10base.t line 61. # got: 'does_not_exist' # expected: 'eValidHostname' # Looks like you failed 1 test of 51. t/10base.t ......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/51 subtests Test Summary Report ------------------- t/10base.t (Wstat: 256 Tests: 51 Failed: 1) Failed test: 11 Non-zero exit status: 1 Files=4, Tests=52, 1 wallclock secs ( 0.04 usr 0.02 sys + 0.78 cusr 0.13 csys = 0.97 CPU) Result: FAIL Failed 1/4 test programs. 1/52 subtests failed. PJFL/data-validation/Data-Validation-0.9.172.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PJFL/data-validation/Data-Validation-0.9.172.tar.gz Running Build install make test had returned bad status, won't install without force Lee:FifteenGifts-Engine leegoddard$ perl -V Summary of my perl5 (revision 5 version 16 subversion 2) configuration: Platform: osname=darwin, osvers=10.8.0, archname=darwin-2level uname='darwin lee.local 10.8.0 darwin kernel version 10.8.0: tue jun 7 16:33:36 pdt 2011; root:xnu-1504.15.3~1release_i386 i386 ' config_args='-de -Dprefix=/Users/leegoddard/perl5/perlbrew/perls/perl-5.16.2 -Aeval:scriptdir=/Users/leegoddard/perl5/perlbrew/perls/perl-5.16.2/bin' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/opt/local/include', optimize='-O3', cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/opt/local/include' ccversion='', gccversion='4.2.1 (Apple Inc. build 5646)', 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='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack-protector -L/usr/local/lib -L/opt/local/lib' libpth=/usr/local/lib /opt/local/lib /usr/lib libs=-lgdbm -ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=, so=dylib, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib -L/opt/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF Built under darwin Compiled at Dec 21 2012 20:16:03 %ENV: PERLBREW_BASHRC_VERSION="0.58" PERLBREW_HOME="/Users/leegoddard/.perlbrew" PERLBREW_MANPATH="/Users/leegoddard/perl5/perlbrew/perls/perl-5.16.2/man" PERLBREW_PATH="/Users/leegoddard/perl5/perlbrew/bin:/Users/leegoddard/perl5/perlbrew/perls/perl-5.16.2/bin" PERLBREW_PERL="perl-5.16.2" PERLBREW_ROOT="/Users/leegoddard/perl5/perlbrew" PERLBREW_VERSION="0.58" @INC: /Users/leegoddard/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/darwin-2level /Users/leegoddard/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2 /Users/leegoddard/perl5/perlbrew/perls/perl-5.16.2/lib/5.16.2/darwin-2level /Users/leegoddard/perl5/perlbrew/perls/perl-5.16.2/lib/5.16.2 . Lee:FifteenGifts-Engine leegoddard$
The configuration of your computer is broken. The core Perl function gethostbyname should return undefined if the hostname does not exist. Your system is returning the hostname which is wrong. See http://www.cpantesters.org/cpan/report/017915cc-462e-11e2-afd9-bb8ffba891c2 for an example of this distribution passing it's tests on a properly configured Mac OSX computer
Subject: Re: [rt.cpan.org #82896] Fails tests on OSX
Date: Wed, 23 Jan 2013 14:13:53 +0100
To: bug-Data-Validation [...] rt.cpan.org
From: Lee Goddard <leegee [...] gmail.com>
Thanks for the reply. I suppose it doesn't matter that the report below is for a different Perl, and different OS X. I might have a look at the test if there's time. On 23/01/2013 14:05, Peter Flanigan via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=82896 > > > The configuration of your computer is broken. The core Perl function > gethostbyname should return undefined if the hostname does not exist. > Your system is returning the hostname which is wrong. See > http://www.cpantesters.org/cpan/report/017915cc-462e-11e2-afd9-bb8ffba891c2 > for an example of this distribution passing it's tests > on a properly configured Mac OSX computer >
Subject: Re: [rt.cpan.org #82896] Fails tests on OSX
Date: Wed, 23 Jan 2013 14:28:25 +0100
To: bug-Data-Validation [...] rt.cpan.org
From: Lee Goddard <leegee [...] gmail.com>
It is because the system here is using OpenDNS,not because the configuration of my computer is broken. On 23/01/2013 14:05, Peter Flanigan via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=82896 > > > The configuration of your computer is broken. The core Perl function > gethostbyname should return undefined if the hostname does not exist. > Your system is returning the hostname which is wrong. See > http://www.cpantesters.org/cpan/report/017915cc-462e-11e2-afd9-bb8ffba891c2 > for an example of this distribution passing it's tests > on a properly configured Mac OSX computer >
Subject: Re: [rt.cpan.org #82896] Fails tests on OSX
Date: Wed, 23 Jan 2013 14:38:12 +0100
To: bug-Data-Validation [...] rt.cpan.org
From: Lee Goddard <leegee [...] gmail.com>
On 23/01/2013 14:28, lee@leegoddard.net via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=82896 > > > It is because the system here is using OpenDNS,not because the > configuration of my computer is broken.
use Socket; $packed_ip = gethostbyname("anyoldthing.asdfasdfasdfasdf"); if (defined $packed_ip) { $ip_address = inet_ntoa($packed_ip); print `whois $ip_address`; } Outputs: # # Query terms are ambiguous. The query is assumed to be: # "n 67.215.65.132" # # Use "?" to get help. # # # The following results may also be obtained via: # http://whois.arin.net/rest/nets;q=67.215.65.132?showDetails=true&showARIN=false&ext=netref2 # NetRange: 67.215.64.0 - 67.215.95.255 CIDR: 67.215.64.0/19 OriginAS: AS36692 NetName: OPENDNS-NET-3 NetHandle: NET-67-215-64-0-1 Parent: NET-67-0-0-0-0 NetType: Direct Assignment RegDate: 2007-10-12 Updated: 2012-03-02 Ref: http://whois.arin.net/rest/net/NET-67-215-64-0-1 OrgName: OpenDNS, LLC OrgId: OPEND-2 Address: 145 Bluxome st. City: San Francisco StateProv: CA PostalCode: 94107 Country: US RegDate: 2008-02-26 Updated: 2012-10-22 Comment: http://www.opendns.com/ Comment: Use OpenDNS to make your Internet faster, safer, Comment: and smarter. Comment: DNS Servers: 208.67.222.222 208.67.220.220 Comment: IPv4/IPv6 Peering: peering@opendns.com Ref: http://whois.arin.net/rest/org/OPEND-2 OrgNOCHandle: GBP7-ARIN OrgNOCName: Patterson, George B OrgNOCPhone: +1-415-513-0439 OrgNOCEmail: abuse@opendns.com OrgNOCRef: http://whois.arin.net/rest/poc/GBP7-ARIN OrgTechHandle: GBP7-ARIN OrgTechName: Patterson, George B OrgTechPhone: +1-415-513-0439 OrgTechEmail: abuse@opendns.com OrgTechRef: http://whois.arin.net/rest/poc/GBP7-ARIN OrgTechHandle: DUL4-ARIN OrgTechName: Ulevitch, David OrgTechPhone: +1-415-287-7721 OrgTechEmail: david@opendns.com OrgTechRef: http://whois.arin.net/rest/poc/DUL4-ARIN OrgAbuseHandle: GBP7-ARIN OrgAbuseName: Patterson, George B OrgAbusePhone: +1-415-513-0439 OrgAbuseEmail: abuse@opendns.com OrgAbuseRef: http://whois.arin.net/rest/poc/GBP7-ARIN # # ARIN WHOIS data and services are subject to the Terms of Use # available at: https://www.arin.net/whois_tou.html #