Skip Menu |

This queue is for tickets about the Win32-GUI-HyperLink CPAN distribution.

Report information
The Basics
Id: 49622
Status: open
Priority: 0/
Queue: Win32-GUI-HyperLink

People
Owner: Nobody in particular
Requestors: BOLDRA [...] boldra.org
Cc:
AdminCc:

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



Subject: all tests fail syntax error in HyperLink.pm
HyperLink.pm line 431 is: Carp::carp "Failed opening ".$self->Url()." ShellExecute($exitval) $^E"; should be: Carp::carp("Failed opening ".$self->Url()." ShellExecute($exitval) $^E");
On Fri Sep 11 07:58:34 2009, BOLDRA wrote: Show quoted text
> > HyperLink.pm line 431 > is: > Carp::carp "Failed opening ".$self->Url()." ShellExecute($exitval) $^E"; > should be: > Carp::carp("Failed opening ".$self->Url()." ShellExecute($exitval) $^E"); >
Please can you provide the output of perl -V for your perl, and the output of make test. Thanks for the report - the additional information is so that I can confirm that your suggestion is the correct solution given that I cannot currently reproduce this failure. Regards, Rob.
Hi Rob, sorry for the delayed reply, I was travelling. This happens with cygwin perl 5.10.0 . I had thought it was due to using require without import, and would therefore be true for any perl, but that doesn't seem to be the case. Full -V output attached. Thanks very much for your help!
Summary of my perl5 (revision 5 version 10 subversion 0 patch 34065) configuration: Platform: osname=cygwin, osvers=1.5.25(0.15642), archname=cygwin-thread-multi-64int uname='cygwin_nt-5.1 reini 1.5.25(0.15642) 2008-06-12 19:34 i686 cygwin ' config_args='-de -Dmksymlinks -Dusethreads -Dmad=y -Dusedevel' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=y, bincompat5005=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/include', optimize='-O3', cppflags='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='3.4.4 (cygming special, gdc 0.12, using dmd 0.125)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags =' -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--stack,8388608 -Wl,--enable-auto-image-base -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -ldb -ldl -lcrypt -lgdbm_compat perllibs=-ldl -lcrypt libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--stack,8388608 -Wl,--enable-auto-image-base -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY MYMALLOC PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MAD PERL_MALLOC_WRAP PERL_USE_SAFE_PUTENV USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Locally applied patches: MAINT34065 CYG11 no-bs CYG12 no archlib in otherlibdirs CYG14 Dynaloader CYG15 static-Win32CORE Bug#55162 File::Spec::case_tolerant performance Built under cygwin Compiled at Jun 30 2008 16:05:15 %ENV: PERL5LIB="/Users/C5111692/p4_perforce50015001_WDFN00198661A/hosttools/ap_hosttools/dev/school_admin/apache/cgi-bin/:/Users/C5111692/p4_perforce50015001_WDFN00198661A/hosttools/ap_hosttools/dev/d030147/cpr3/CPR3_MODULES/:/Users/C5111692/p4_perforce50015001_WDFN00198661A/hosttools/ap_hosttools/dev/d030147/cpr3/lib/:/Users/C5111692/p4_perforce50015001_WDFN00198661A/hosttools/ap_hosttools/dev/d030147/cpr3/" CYGWIN="server" @INC: /Users/C5111692/p4_perforce50015001_WDFN00198661A/hosttools/ap_hosttools/dev/school_admin/apache/cgi-bin/ /Users/C5111692/p4_perforce50015001_WDFN00198661A/hosttools/ap_hosttools/dev/d030147/cpr3/CPR3_MODULES/ /Users/C5111692/p4_perforce50015001_WDFN00198661A/hosttools/ap_hosttools/dev/d030147/cpr3/lib/ /Users/C5111692/p4_perforce50015001_WDFN00198661A/hosttools/ap_hosttools/dev/d030147/cpr3/ /usr/lib/perl5/5.10/i686-cygwin /usr/lib/perl5/5.10 /usr/lib/perl5/site_perl/5.10/i686-cygwin /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/vendor_perl/5.10/i686-cygwin /usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .
Hi Rob, I can repeat this problem with strawberry 5.10 (see attached install log + perl -V output). This is only a completely different machine with a fresh perl install. Only the following modules (and their dependencies) were installed when the Win32::GUI::HyperLink install failed: Readonly Class::Accessor Win32::GUI MooseX::Declare DateTime As before, changing line 431 to call Carp with brackets solves the problem. Paul Boldra On Mon Sep 21 04:41:05 2009, BOLDRA wrote: Show quoted text
> Hi Rob, > sorry for the delayed reply, I was travelling. > > This happens with cygwin perl 5.10.0 . I had thought it was due to > using require without import, and would therefore be true for any perl, > but that doesn't seem to be the case. Full -V output attached. > > Thanks very much for your help! >
Download perl-V
application/octet-stream 2.2k

Message body not shown because it is not plain text.

C:\>cpan Win32::GUI::HyperLink Database was generated on Thu, 01 Oct 2009 08:23:52 GMT Running install for module 'Win32::GUI::HyperLink' Running make for R/RO/ROBERTMAY/Win32-GUI-HyperLink/Win32-GUI-HyperLink-0.14.tar.gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/R/RO/ROBERTMAY/Win32-GUI-HyperLink/Win32-GUI-HyperLink-0.14.tar.gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/R/RO/ROBERTMAY/Win32-GUI-HyperLink/CHECKSUMS Checksum for C:\strawberry\cpan\sources\authors\id\R\RO\ROBERTMAY\Win32-GUI-HyperLink\Win32-GUI-HyperLink-0.14.tar.gz ok CPAN.pm: Going to build R/RO/ROBERTMAY/Win32-GUI-HyperLink/Win32-GUI-HyperLink-0.14.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Win32::GUI::HyperLink cp lib/Win32/GUI/demos/HyperLink/HyperLinkDemo.pl blib\lib\Win32\GUI\demos\HyperLink\HyperLinkDemo.pl cp lib/Win32/GUI/HyperLink.pm blib\lib\Win32\GUI\HyperLink.pm ROBERTMAY/Win32-GUI-HyperLink/Win32-GUI-HyperLink-0.14.tar.gz C:\strawberry\c\bin\dmake.EXE -- OK Running make test C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/00.dependancies.t ... ok t/01.load.t ........... String found where operator expected at C:\strawberry\cpan\build\Win32-GUI-HyperLink-0.14-tL54Ne\bl ib\lib/Win32/GUI/HyperLink.pm line 431, near "Carp::carp "Failed opening "" (Do you need to predeclare Carp::carp?) t/01.load.t ........... 1/1 # Failed test 'use Win32::GUI::HyperLink;' # at t/01.load.t line 8. # Tried to use 'Win32::GUI::HyperLink'. # Error: syntax error at C:\strawberry\cpan\build\Win32-GUI-HyperLink-0.14-tL54Ne\blib\lib/Win32/GUI/HyperLink.pm line 431, near "Carp::carp "Failed opening "" # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. Use of uninitialized value $Win32::GUI::HyperLink::VERSION in concatenation (.) or string at t/01.load.t line 9. # Testing Win32::GUI::HyperLink # Looks like you failed 1 test of 1. t/01.load.t ........... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/02.methods.t ........ String found where operator expected at C:\strawberry\cpan\build\Win32-GUI-HyperLink-0.14-tL54Ne\bl ib\lib/Win32/GUI/Hyperlink.pm line 431, near "Carp::carp "Failed opening "" (Do you need to predeclare Carp::carp?) syntax error at C:\strawberry\cpan\build\Win32-GUI-HyperLink-0.14-tL54Ne\blib\lib/Win32/GUI/Hyperlink.pm line 431, near "Ca rp::carp "Failed opening "" Compilation failed in require at t/02.methods.t line 8. BEGIN failed--compilation aborted at t/02.methods.t line 8. t/02.methods.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/1 subtests t/03.method-new.t ..... String found where operator expected at C:\strawberry\cpan\build\Win32-GUI-HyperLink-0.14-tL54Ne\bl ib\lib/Win32/GUI/Hyperlink.pm line 431, near "Carp::carp "Failed opening "" (Do you need to predeclare Carp::carp?) syntax error at C:\strawberry\cpan\build\Win32-GUI-HyperLink-0.14-tL54Ne\blib\lib/Win32/GUI/Hyperlink.pm line 431, near "Ca rp::carp "Failed opening "" Compilation failed in require at t/03.method-new.t line 8. BEGIN failed--compilation aborted at t/03.method-new.t line 8. t/03.method-new.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 16/16 subtests t/04.method-Url.t ..... String found where operator expected at C:\strawberry\cpan\build\Win32-GUI-HyperLink-0.14-tL54Ne\bl ib\lib/Win32/GUI/Hyperlink.pm line 431, near "Carp::carp "Failed opening "" (Do you need to predeclare Carp::carp?) syntax error at C:\strawberry\cpan\build\Win32-GUI-HyperLink-0.14-tL54Ne\blib\lib/Win32/GUI/Hyperlink.pm line 431, near "Ca rp::carp "Failed opening "" Compilation failed in require at t/04.method-Url.t line 8. BEGIN failed--compilation aborted at t/04.method-Url.t line 8. t/04.method-Url.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 5/5 subtests t/05.method-Launch.t .. String found where operator expected at C:\strawberry\cpan\build\Win32-GUI-HyperLink-0.14-tL54Ne\bl ib\lib/Win32/GUI/Hyperlink.pm line 431, near "Carp::carp "Failed opening "" (Do you need to predeclare Carp::carp?) syntax error at C:\strawberry\cpan\build\Win32-GUI-HyperLink-0.14-tL54Ne\blib\lib/Win32/GUI/Hyperlink.pm line 431, near "Ca rp::carp "Failed opening "" Compilation failed in require at t/05.method-Launch.t line 8. BEGIN failed--compilation aborted at t/05.method-Launch.t line 8. t/05.method-Launch.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/1 subtests t/98.pod.t ............ skipped: Test::Pod 1.14 required for testing POD t/99.pod-coverage.t ... skipped: Test::Pod::Coverage 1.04 required for testing POD coverage Test Summary Report ------------------- t/01.load.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/02.methods.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 1 tests but ran 0. t/03.method-new.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 16 tests but ran 0. t/04.method-Url.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 5 tests but ran 0. t/05.method-Launch.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=8, Tests=2, 2 wallclock secs ( 0.09 usr + 0.03 sys = 0.13 CPU) Result: FAIL Failed 5/8 test programs. 1/2 subtests failed. dmake.EXE: Error code 255, while making 'test_dynamic' ROBERTMAY/Win32-GUI-HyperLink/Win32-GUI-HyperLink-0.14.tar.gz C:\strawberry\c\bin\dmake.EXE test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports ROBERTMAY/Win32-GUI-HyperLink/Win32-GUI-HyperLink-0.14.tar.gz Running make install make test had returned bad status, won't install without force