Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: tomwilliams14 [...] comcast.com
Cc:
AdminCc:

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



Subject: Install of Tk via -MCPAN fails
On Slackware 10.0 (all slackware patches applied) as root in KDE 3.2.3 desktop environment. Refuses to install with -MCPAN -e 'install Tk' because of failed tests. Following steps to manually build and install, captured the following output from make test with LANG=us_EN: cd pTk && make DEFINE="" make[1]: Entering directory `/root/.cpan/build/Tk-804.027/pTk' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/pTk' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/pTk' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/pTk' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/pod' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/pod' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/demos' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/demos' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Xlib' make[2]: Entering directory `/root/.cpan/build/Tk-804.027/Xlib/X' make[2]: Leaving directory `/root/.cpan/build/Tk-804.027/Xlib/X' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Xlib' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/WinPhoto' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/WinPhoto' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Tixish' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Tixish' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/TixPixmap' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/TixPixmap' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/TixGrid' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/TixGrid' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/TextList' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/TextList' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Text' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Text' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/TList' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/TList' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Scrollbar' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Scrollbar' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Scale' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Scale' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/PNG' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/PNG' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/NBFrame' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/NBFrame' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Mwm' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Mwm' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Menubutton' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Menubutton' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Listbox' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Listbox' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/JPEG' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/JPEG' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/InputO' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/InputO' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/IO' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/IO' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/HList' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/HList' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Event' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Event' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Entry' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Entry' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/DragDrop' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/DragDrop' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Compound' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Compound' make[1]: Entering directory `/root/.cpan/build/Tk-804.027/Canvas' make[1]: Leaving directory `/root/.cpan/build/Tk-804.027/Canvas' PERL_DL_NONLAZY=1 /usr/bin/perl5.8.4 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/JP.t t/KR.t t/Require.t t/Trace.t t/X.t t/after.t t/autoload.t t/balloon.t t/browseentry-grabtest.t t/browseentry-subclassing.t t/browseentry.t t/browseentry2.t t/button.t t/create.t t/cursor.t t/dash.t t/dialogbox.t t/entry.t t/fbox.t t/fileevent.t t/fileselect.t t/font.t t/fork.t t/geomgr.t t/iso8859-1.t t/leak.t t/list.t t/listbox.t t/listvar.t t/magic.t t/mega.t t/mwm.t t/optmenu.t t/photo.t t/pixmap.t t/progbar.t t/regexp.t t/slaves.t t/trace1.t t/widget.t t/wm-time.t t/wm.t t/zzHList.t t/zzPhoto.t t/zzScrolled.t t/zzText.t t/zzTixGrid.t t/after......................ok t/autoload...................ok t/balloon....................ok t/browseentry-grabtest.......ok t/browseentry-subclassing....ok t/browseentry................ok t/browseentry2...............ok t/button.....................ok t/create.....................ok t/cursor.....................ok t/dash.......................ok t/dialogbox..................ok t/entry......................ok 15/336 skipped: various reasons t/fbox.......................ok t/fileevent..................ok t/fileselect.................ok t/font.......................ok t/fork.......................ok t/geomgr.....................ok t/iso8859-1..................ok t/JP.........................skipped all skipped: locale's 'iso-8859-1' cannot represent Japanese. t/KR.........................skipped all skipped: locale's 'iso-8859-1' cannot represent Korean. t/leak.......................ok t/list.......................ok t/listbox....................ok 4/437 skipped: various reasons, 3/437 unexpectedly succeeded t/listvar....................ok t/magic......................ok t/mega.......................ok t/mwm........................ok t/optmenu....................ok t/photo......................ok 4/100 skipped: various reasons t/pixmap.....................ok t/progbar....................ok t/regexp.....................ok t/Require....................ok t/slaves.....................ok t/Trace......................ok t/trace1.....................ok t/widget.....................ok t/wm-time....................ok t/wm.........................ok t/X..........................ok t/zzHList....................ok t/zzPhoto....................ok t/zzScrolled.................FAILED tests 66, 94 Failed 2/94 tests, 97.87% okay t/zzText.....................ok t/zzTixGrid..................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/zzScrolled.t 94 2 2.13% 66 94 (3 subtests UNEXPECTEDLY SUCCEEDED), 2 tests and 23 subtests skipped. Output from perl -V is: Summary of my perl5 (revision 5 version 8 subversion 4) configuration: Platform: osname=linux, osvers=2.4.26, archname=i486-linux uname='linux midas 2.4.26 #6 wed apr 14 16:31:11 pdt 2004 i686 unknown unknown gnulinux ' config_args='-de -Dprefix=/usr -Dcccdlflags=-fPIC -Dinstallprefix=/usr -Doptimize=-O2 -march=i486 -mcpu=i686 -Dinc_version_list=5.8.3 5.8.2 5.8.1 5.8.0 -Darchname=i486-linux' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -march=i486 -mcpu=i686', cppflags='-fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='3.3.3', 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 =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.3.2' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under linux Compiled at May 26 2004 11:50:03 @INC: /usr/lib/perl5/5.8.4/i486-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i486-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl . Notes: /usr/bin/cc is symbolic link to gcc Perl configuration is as distributed by Slackware. In CPAN testor report 138074, Tk install is successful so perhaps the problem is somehow related to the way Perl is configured???
CC: ptk [...] lists.stanford.edu
Subject: Re: [cpan #11444] Install of Tk via -MCPAN fails
To: bug-Tk [...] rt.cpan.org
Date: Sun, 27 Feb 2005 20:58:54 +0000
From: Nick Ing-Simmons <nick [...] ing-simmons.net>
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=11444 > > >On Slackware 10.0 (all slackware patches applied) as root in KDE 3.2.3 desktop environment. > >Refuses to install with -MCPAN -e 'install Tk' because of failed tests. Following steps to manually build and install, captured the following output from make test with LANG=us_EN: > >t/zzScrolled.................FAILED tests 66, 94 > Failed 2/94 tests, 97.87% okay >t/zzText.....................ok >t/zzTixGrid..................ok >Failed Test Stat Wstat Total Fail Failed List of Failed >------------------------------------------------------------------------------- >t/zzScrolled.t 94 2 2.13% 66 94 > (3 subtests UNEXPECTEDLY SUCCEEDED), 2 tests and 23 subtests skipped.
FWIW that is much cleaner than I get on SuSE KDE. Thanks for the report, I haven't installed from CPAN for a while (my local copy always being to hand.) The fails seem to be window manager related - which ones are you using? That said there are still quite a few tests which "normally fail" for some combination of locale, available fonts and window manager. This could do with more tuning, Show quoted text
> >Notes: >/usr/bin/cc is symbolic link to gcc >Perl configuration is as distributed by Slackware. >In CPAN testor report 138074, Tk install is successful so perhaps the problem is somehow related to the way Perl is configured???
I don't think so.
From: m.romani [...] spinsoft.it

Message body is not shown because it is too large.

From: m.romani [...] spinsoft.it
Sorry, my message ended up as an attachment... It's about CPAN install problems under Mandrake 10.1 because of failed test. Marcello
From: DJH [...] cpan.org
On Sun Feb 27 16:09:34 2005, nick@ing-simmons.net wrote: Show quoted text
> FWIW that is much cleaner than I get on SuSE KDE.
FWIW I just saw similar results to the OP on Suse 9.3 Gnome. Show quoted text
> Thanks for the report, I haven't installed from CPAN for a while > (my local copy always being to hand.) > > The fails seem to be window manager related - which ones are you > using?
I'm using icewm. I got a slightly more explicit error message (below) Show quoted text
> That said there are still quite a few tests which "normally fail" > for some combination of locale, available fonts and window manager. > This could do with more tuning,
t/zzScrolled.................NOK 66/94# Test 66 got: "589x341+0+32" (t/zzScrolled.t at line 104 fail #2) # Expected: "589x341+0+0" (Sizechk: geometry has not changed not reset for -height => 24+(5)) # t/zzScrolled.t line 104 is: ok($newgeo, $oldgeo, "Sizechk: geometry has not changed not reset" . t/zzScrolled.................NOK 94/94# Test 94 got: "589x341+17+32" (t/zzScrolled.t at line 104 fail #4) # Expected: "589x341+0+32" (Sizechk: geometry has not changed not reset for -width => 80+(5)) t/zzScrolled.................FAILED tests 66, 94 Failed 2/94 tests, 97.87% okay I also got one that 'unexpectedly succeeded: t/listbox....................ok 100/437# Test 274 got: "15x20" (t/listbox.t at line 1000 *TODO*) # Expected: "30x20" # t/listbox.t line 1000 is: ok(getsize($mw), "30x20"); # TODO t/listbox....................ok 4/437 skipped: various reasons, 2/437 unexpectedly succeeded TODO PASSED tests 275-276 HTH, Dave PS If I understand your reply in general, I'll probably be OK to force the install?
From: DJH [...] cpan.org
On Sun Feb 27 16:09:34 2005, nick@ing-simmons.net wrote: Show quoted text
> FWIW that is much cleaner than I get on SuSE KDE.
FWIW I just saw similar results to the OP on Suse 9.3 Gnome. Show quoted text
> Thanks for the report, I haven't installed from CPAN for a while > (my local copy always being to hand.) > > The fails seem to be window manager related - which ones are you > using?
I'm using icewm. I got a slightly more explicit error message (below) Show quoted text
> That said there are still quite a few tests which "normally fail" > for some combination of locale, available fonts and window manager. > This could do with more tuning,
t/zzScrolled.................NOK 66/94# Test 66 got: "589x341+0+32" (t/zzScrolled.t at line 104 fail #2) # Expected: "589x341+0+0" (Sizechk: geometry has not changed not reset for -height => 24+(5)) # t/zzScrolled.t line 104 is: ok($newgeo, $oldgeo, "Sizechk: geometry has not changed not reset" . t/zzScrolled.................NOK 94/94# Test 94 got: "589x341+17+32" (t/zzScrolled.t at line 104 fail #4) # Expected: "589x341+0+32" (Sizechk: geometry has not changed not reset for -width => 80+(5)) t/zzScrolled.................FAILED tests 66, 94 Failed 2/94 tests, 97.87% okay I also got one that 'unexpectedly succeeded: t/listbox....................ok 100/437# Test 274 got: "15x20" (t/listbox.t at line 1000 *TODO*) # Expected: "30x20" # t/listbox.t line 1000 is: ok(getsize($mw), "30x20"); # TODO t/listbox....................ok 4/437 skipped: various reasons, 2/437 unexpectedly succeeded TODO PASSED tests 275-276 HTH, Dave PS If I understand your reply in general, I'll probably be OK to force the install?
On Tue Jun 05 10:27:30 2007, DJH wrote: Show quoted text
> On Sun Feb 27 16:09:34 2005, nick@ing-simmons.net wrote:
> > FWIW that is much cleaner than I get on SuSE KDE.
> > FWIW I just saw similar results to the OP on Suse 9.3 Gnome. >
> > Thanks for the report, I haven't installed from CPAN for a while > > (my local copy always being to hand.) > > > > The fails seem to be window manager related - which ones are you > > using?
> > I'm using icewm. I got a slightly more explicit error message (below) >
> > That said there are still quite a few tests which "normally fail" > > for some combination of locale, available fonts and window manager. > > This could do with more tuning,
> > t/zzScrolled.................NOK 66/94# Test 66 got: "589x341+0+32" > (t/zzScrolled.t at line 104 fail #2) > # Expected: "589x341+0+0" (Sizechk: geometry has not changed not > reset for -height => 24+(5)) > # t/zzScrolled.t line 104 is: ok($newgeo, $oldgeo, > "Sizechk: geometry has not changed not reset" . > t/zzScrolled.................NOK 94/94# Test 94 got: "589x341+17+32" > (t/zzScrolled.t at line 104 fail #4) > # Expected: "589x341+0+32" (Sizechk: geometry has not changed not > reset for -width => 80+(5)) > t/zzScrolled.................FAILED tests 66, 94 > Failed 2/94 tests, 97.87% okay > > I also got one that 'unexpectedly succeeded: > > t/listbox....................ok 100/437# Test 274 got: "15x20" > (t/listbox.t at line 1000 *TODO*) > # Expected: "30x20" > # t/listbox.t line 1000 is: ok(getsize($mw), "30x20"); # TODO > t/listbox....................ok > 4/437 skipped: various reasons, 2/437 unexpectedly succeeded > TODO PASSED tests 275-276 > > > HTH, Dave > > PS If I understand your reply in general, I'll probably be OK to force > the install?
Yes. You can also try the development version of Tk: <http://search.cpan.org/~srezic/Tk-804.027_500/> Regards, Slaven