Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 4620
Status: resolved
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: jwillmore [...] adelphia.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 804.025_beta8
Fixed in: (no value)



Subject: test 349 in t/create.t failed
from test results (sniped for brevity) ... t/browseentry2...............ok t/create.....................NOK 349# Test 349 got: 'Tk/DirTree.pm did not return a true value at (eval 36) line 1. ' (t/create.t at line 98 fail #24) # Expected: '' (Error loading Tk::DirTree) # t/create.t line 98 is: ok($@, "", "Error loading Tk::$class"); t/create.....................FAILED test 349 Failed 1/528 tests, 99.81% okay t/cursor.....................ok .... t/zzTixGrid..................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/create.t 528 1 0.19% 349 (31 subtests UNEXPECTEDLY SUCCEEDED), 17 subtests skipped. Failed 1/41 test scripts, 97.56% okay. 1/2545 subtests failed, 99.96% okay. make: *** [test_dynamic] Error 29 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force --------------------------- system information: jim@maxine:~> uname -a Linux maxine 2.4.19-4GB #1 Mon Aug 4 23:38:42 UTC 2003 i686 unknown jim@maxine:~> perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=linux, osvers=2.4.19, archname=i586-linux-thread-multi uname='linux bloembergen 2.4.19 #1 mon apr 15 08:57:26 gmt 2002 i686 unknown ' config_args='-ds -e -Dprefix=/usr -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Duseshrplib=true' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O3 --pipe', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing' ccversion='', gccversion='3.2', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags ='' libpth=/lib /usr/lib /usr/local/lib libs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil libc=, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under linux Compiled at Sep 9 2002 18:13:56 @INC: /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .
The test passes for me. How did you get the release? If you built it by patching perhaps the patch mis-applied. If you got a full tar-ball can you send me your copy of the .pm file which "fails to return a true value".
From: jwillmore [...] adelphia.net
[NI-S - Wed Dec 10 03:42:44 2003]: Show quoted text
> The test passes for me. > How did you get the release? > If you built it by patching perhaps the patch mis-applied. > If you got a full tar-ball can you send me your copy of the > .pm file which "fails to return a true value".
I was using the CPAN shell to install. The out of date item that showed was Tk::Balloon. Tk was up to date. I'm running the install again to see if the error will appear again. I'll post again when it's completed.
From: jwillmore [...] adelphia.net
[guest - Wed Dec 10 13:45:56 2003]: Show quoted text
> [NI-S - Wed Dec 10 03:42:44 2003]: >
> > The test passes for me. > > How did you get the release? > > If you built it by patching perhaps the patch mis-applied. > > If you got a full tar-ball can you send me your copy of the > > .pm file which "fails to return a true value".
> > I was using the CPAN shell to install. The out of date item that showed > was Tk::Balloon. Tk was up to date. > > I'm running the install again to see if the error will appear again. > I'll post again when it's completed.
Same error. The one thing I noticed (pls, double check me on this) was there was no Tk/DirTree.pm file in the tarball. I am unable to attach the tarball to this form (maybe I need an account?) - get "The document contains no data" alert box. Even chown from root to me on the file - no joy :-( The file I was attaching (from CPAN root directory of my system) was sources/authors/id/N/NI/NI-S/Tk-804.025_beta8.tar.gz If it appears it's just me, please let me know. You can email me in private and close the bug report if that's the case. Thx.
Subject: Re: [cpan #4620] test 349 in t/create.t failed
To: bug-Tk [...] rt.cpan.org
Date: Thu, 11 Dec 2003 12:00:20 +0000
From: Nick Ing-Simmons <nick.ing-simmons [...] elixent.com>
RT-Send-Cc:
Guest via RT <bug-Tk@rt.cpan.org> writes: Show quoted text
>> >> I'm running the install again to see if the error will appear again. >> I'll post again when it's completed.
> >Same error. The one thing I noticed (pls, double check me on this) was >there was no Tk/DirTree.pm file in the tarball.
No. It is Tixish/DirTree.pm in the tarball. In the original report was an error message which contained the pathname of the file. It gets put by make process into ./blib/lib/Tk/DirTree.pm That is the one I want ... and then installed from there into .../Tk/DirTree.pm Show quoted text
>I am unable to attach >the tarball to this form (maybe I need an account?) - get "The document >contains no data" alert box. Even chown from root to me on the file - >no joy :-(
Show quoted text
> >The file I was attaching (from CPAN root directory of my system) was >sources/authors/id/N/NI/NI-S/Tk-804.025_beta8.tar.gz
Will take a look but it still works for me on Win32 as well! Show quoted text
> >If it appears it's just me, please let me know. You can email me in >private and close the bug report if that's the case. > >Thx.
CC: <slaven [...] rezic.de>
Subject: Re: [cpan #4620] test 349 in t/create.t failed
To: bug-Tk [...] rt.cpan.org
Date: Thu, 11 Dec 2003 12:43:58 +0000
From: Nick Ing-Simmons <nick.ing-simmons [...] elixent.com>
RT-Send-Cc:
Guest via RT <bug-Tk@rt.cpan.org> writes: Show quoted text
>This message about Tk was sent to you by guest <> via rt.cpan.org > >Full context and any attached attachments can be found at: ><URL: https://rt.cpan.org/Ticket/Display.html?id=4620 > > >from test results (sniped for brevity) >... >t/browseentry2...............ok >t/create.....................NOK 349# Test 349 got: 'Tk/DirTree.pm did not return a true value at (eval 36) line 1. >' (t/create.t at line 98 fail #24) ># Expected: '' (Error loading Tk::DirTree)
Looking at DirTree.pm I see that Slaven's latest patch to that has added some code before __END__. Without that code DirTree.pm used to return a glob ref which was a "true value". It seems that sometimes (perl version dependant?) the new code does not return a value. If you add a traditional 1; before __END__ I think the problem should go away.
[nick.ing-simmons@elixent.com - Thu Dec 11 07:44:05 2003]: Show quoted text
> Looking at DirTree.pm I see that Slaven's latest patch to that has > added some code before __END__. > Without that code DirTree.pm used to return a glob ref which was > a "true value". It seems that sometimes (perl version dependant?) > the new code does not return a value. > > If you add a traditional > > 1; > > before __END__ > > I think the problem should go away. >
Okay. What I'll do is download the tarball and do the install manually. I'll check the file in question before and after doing make test and let you know the results.
[guest - Thu Dec 11 11:30:15 2003]: Show quoted text
> [nick.ing-simmons@elixent.com - Thu Dec 11 07:44:05 2003]: >
> > Looking at DirTree.pm I see that Slaven's latest patch to that has > > added some code before __END__. > > Without that code DirTree.pm used to return a glob ref which was > > a "true value". It seems that sometimes (perl version dependant?) > > the new code does not return a value. > > > > If you add a traditional > > > > 1; > > > > before __END__ > > > > I think the problem should go away. > >
> > Okay. What I'll do is download the tarball and do the install > manually. > I'll check the file in question before and after doing make test and > let > you know the results.
That did it. Worked great.