Subject: Re: Perl/Tk broken
To: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
From: Thomas Klausner <wiz@netbsd.org>
List: tech-pkg
Date: 04/08/2004 02:44:37
--mxv5cy4qt+RJ9ypb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Apr 07, 2004 at 01:33:44PM -0400, Mason Loring Bliss wrote:
> I've tried this on two i386 boxes, one running 1.6.2 and one running
> 2.0_BETA. I've also solicited data from folks on EFnet's #netbsd channel,
> and they've seen the same behaviour. I didn't record package version
> numbers from them, but at least in one case they built packages fresh
> from pkgrsc.

Strange.

I just tried it on a 2.0B/i386 system from Apr 3, and it works here too.
Output of 'make test' attached.

p5-Tk-804.026
perl-5.8.3
tcl-8.4.6nb2
No tk installed (?!)

Doesn't it need tk? It has no dependency...
Do you have an older tcl installed too?

Your script displays an empty window here too.
 Thomas

--mxv5cy4qt+RJ9ypb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=p5-tk-test

# make test
===> Checking for vulnerabilities in p5-Tk-804.026
===> Testing for p5-Tk-804.026
cd pTk && /usr/bin/make DEFINE=""
cd zlib && /usr/bin/make libz.a "CC=gcc -DPIC -fPIC " RANLIB=":"
`libz.a' is up to date.
cd jpeg && /usr/bin/make libjpeg.a
`libjpeg.a' is up to date.
PERL_DL_NONLAZY=1 /usr/pkg/bin/perl "-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/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/geomgr.....................ok
t/iso8859-1..................ok
t/JP.........................ok
t/KR.........................ok
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.................ok
t/zzText.....................ok
t/zzTixGrid..................ok
All tests successful (3 subtests UNEXPECTEDLY SUCCEEDED), 23 subtests skipped.
Files=46, Tests=2618, 47 wallclock secs (17.89 cusr +  1.77 csys = 19.66 CPU)
cd zlib && /usr/bin/make libz.a "CC=gcc -DPIC -fPIC " RANLIB=":"
`libz.a' is up to date.
PERL_DL_NONLAZY=1 /usr/pkg/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t
t/basic....ok
All tests successful.
Files=1, Tests=4,  1 wallclock secs ( 0.18 cusr +  0.04 csys =  0.22 CPU)
./pngtest
Testing libpng version 1.2.5
   with zlib   version 1.1.4

 libpng version 1.2.5 - October 3, 2002
   Copyright (c) 1998-2002 Glenn Randers-Pehrson
   Copyright (c) 1996-1997 Andreas Dilger
   Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
 library (10205): libpng version 1.2.5 - October 3, 2002 (header)
 pngtest (10205): libpng version 1.2.5 - October 3, 2002 (header)
 sizeof(png_struct)=596, sizeof(png_info)=288
Testing pngtest.png:
 Pass 0: rwrwrwrwrwrwrwrwrw
 Pass 1: rwrwrwrwrwrwrwrwrw
 Pass 2: rwrwrwrwrwrwrwrw
 Pass 3: rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
 Pass 4: rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
 Pass 5: rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
         rwrwrwrw
 Pass 6: rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
         rwrwrwrwrw
 PASS (9782 zero samples)
 Filter 0 was used 21 times
 Filter 1 was used 15 times
 Filter 2 was used 52 times
 Filter 3 was used 10 times
 Filter 4 was used 33 times
 tIME = 7 Jun 1996 17:58:08 +0000
 Current memory allocation:          0 bytes
 Maximum memory allocation:     337354 bytes
 Total   memory allocation:    1023540 bytes
     Number of allocations:        198
libpng passes test
hello world
uncompress(): hello, hello!
gzread(): hello, hello!
gzgets() after gzseek: hello!
inflate(): hello, hello!
large_inflate(): OK
after inflateSync(): hello, hello!
inflate with dictionary: hello, hello!
                *** zlib test OK ***
cd jpeg && /usr/bin/make libjpeg.a
`libjpeg.a' is up to date.
PERL_DL_NONLAZY=1 /usr/pkg/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t
t/more....ok
t/Read....ok
All tests successful.
Files=2, Tests=42,  2 wallclock secs ( 0.54 cusr +  0.04 csys =  0.58 CPU)
rm -f testout*
./djpeg -dct int -ppm -outfile testout.ppm  ./testorig.jpg
./djpeg -dct int -bmp -colors 256 -outfile testout.bmp  ./testorig.jpg
./cjpeg -dct int -outfile testout.jpg  ./testimg.ppm
./djpeg -dct int -ppm -outfile testoutp.ppm ./testprog.jpg
./cjpeg -dct int -progressive -opt -outfile testoutp.jpg ./testimg.ppm
./jpegtran -outfile testoutt.jpg ./testprog.jpg
cmp ./testimg.ppm testout.ppm
cmp ./testimg.bmp testout.bmp
cmp ./testimg.jpg testout.jpg
cmp ./testimg.ppm testoutp.ppm
cmp ./testimgp.jpg testoutp.jpg
cmp ./testorig.jpg testoutt.jpg
PERL_DL_NONLAZY=1 /usr/pkg/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t
t/basic....ok
All tests successful.
Files=1, Tests=1,  0 wallclock secs ( 0.05 cusr +  0.01 csys =  0.06 CPU)
#

--mxv5cy4qt+RJ9ypb--