Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 2729
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: andy [...] petdance.com
Requestors: adamm [...] wazamatta.com
cpan.org [...] paulm.com
mactech [...] webdragon.net
Cc:
AdminCc:

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



Subject: Constant subroutine __need_size_t redefined at /usr/lib/perl/5.8.0/stddef.ph line 146
Debian testing/Linux 2.4.20 This is perl, v5.8.0 built for i386-linux-thread-multi (Debian stock Version: 5.8.0-17) t/test-harness.....NOK 9# Failed test (t/test-harness.t at line 531) # got: 'Constant subroutine __need_size_t redefined at /usr/lib/perl/5.8.0/stddef.ph line 146. # ' # expected: '' t/test-harness.....ok 193/201# Looks like you failed 1 tests of 201. Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/test-harness.t 1 256 201 1 0.50% 9 1 test and 54 subtests skipped. Failed 1/10 test scripts, 90.00% okay. 1/476 subtests failed, 99.79% okay.
<waltman> Andy: i'm trying to update Test::Harness, and when i run the tests I get got: 'Constant subroutine __need_size_t redefined at /usr/lib/perl/5.8.0/stddef.ph line 146.' in t/test-harness.t <Schwern> waltman: Seen it all the time. Your .ph files are screwy. <Schwern> waltman: Test::Harness tries to supress the warning (it comes from loading wait.ph) but that doesn't seem to work. <waltman> Schwern: any advice on unscrewying them? <Schwern> waltman: Umm, try a later version of h2ph?
Show quoted text
> <Schwern> waltman: Umm, try a later version of h2ph?
Is this the final fix? Any suggestions on how I submit this to the Debian Perl maintainer so as to get the perl package's .ph's unscrewyed? Thanks
Date: Mon, 28 Jul 2003 14:23:46 -0700
From: Michael G Schwern <schwern [...] pobox.com>
To: Guest via RT <bug-Test-Harness [...] rt.cpan.org>
CC: "AdminCc of cpan Ticket #2729": ;
Subject: Re: [cpan #2729] Constant subroutine __need_size_t redefined at /usr/lib/perl/5.8.0/stddef.ph line 146
RT-Send-Cc:
On Mon, Jul 28, 2003 at 02:47:28PM -0400, Guest via RT wrote: Show quoted text
> This message about Test-Harness 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=2729 > >
> > <Schwern> waltman: Umm, try a later version of h2ph?
> > Is this the final fix?
Its *a* fix. I've tried everything to get Test::Harness to supress that warning but for some reason can't. Show quoted text
> Any suggestions on how I submit this to the > Debian Perl maintainer so as to get the perl package's .ph's unscrewyed?
http://www.debian.org/Bugs/Reporting Just show that perl -wle 'require wait.ph' throws warnings. I'd check to see if their version in testing and/or unstable continues to do it. I'd also check so see if bleadperl's h2ph fixes the problem. If it doesn't, then its not Debian's fault but Perl's. -- Don't step on my funk
[schwern@pobox.com - Mon Jul 28 17:23:51 2003]: Show quoted text
> > Any suggestions on how I submit this to the > > Debian Perl maintainer so as to get the perl package's .ph's
> unscrewyed? > > http://www.debian.org/Bugs/Reporting > > Just show that perl -wle 'require wait.ph' throws warnings. I'd check > to > see if their version in testing and/or unstable continues to do it. > I'd also check so see if bleadperl's h2ph fixes the problem. If it > doesn't, > then its not Debian's fault but Perl's. >
Well, I've verified that both testing and unstable have this problem, but am unsure on how to get ahold of and test bleadperl. Documentation seems to be sparse, or I'm looking in the wrong places (which is the more likely of the two). Thanks for your previous answers, hopefully this final pointer in the right direction will set me on my way...
Date: Tue, 19 Aug 2003 20:48:04 -0700
From: Michael G Schwern <schwern [...] pobox.com>
To: Guest via RT <bug-Test-Harness [...] rt.cpan.org>
CC: "AdminCc of cpan Ticket #2729": ;
Subject: Re: [cpan #2729] Constant subroutine __need_size_t redefined at /usr/lib/perl/5.8.0/stddef.ph line 146
RT-Send-Cc:
On Tue, Aug 19, 2003 at 06:06:42PM -0400, Guest via RT wrote: Show quoted text
> Well, I've verified that both testing and unstable have this problem, > but am unsure on how to get ahold of and test bleadperl. Documentation > seems to be sparse, or I'm looking in the wrong places (which is the > more likely of the two).
Look at the perlhack man page. rsync -avuz rsync://ftp.linux.activestate.com/perl-current -- Michael G Schwern schwern@pobox.com http://www.pobox.com/~schwern/ "The method employed I would gladly explain, While I have it so clear in my head, If I had but the time and you had but the brain-- But much yet remains to be said." -- "Hunting of the Snark", Lewis Carroll
From a machine this fails on, note that there is a linux/stddef.ph and stddef.ph. find / -name '*.ph' /usr/lib/perl/5.8.0/_h2ph_pre.ph /usr/lib/perl/5.8.0/asm/posix_types.ph /usr/lib/perl/5.8.0/asm/termios.ph /usr/lib/perl/5.8.0/asm/termbits.ph /usr/lib/perl/5.8.0/asm/ioctls.ph /usr/lib/perl/5.8.0/asm/ioctl.ph /usr/lib/perl/5.8.0/asm/unistd.ph /usr/lib/perl/5.8.0/asm/socket.ph /usr/lib/perl/5.8.0/asm/sigcontext.ph /usr/lib/perl/5.8.0/asm/sockios.ph /usr/lib/perl/5.8.0/sys/ttydefaults.ph /usr/lib/perl/5.8.0/sys/ioctl.ph /usr/lib/perl/5.8.0/sys/socket.ph /usr/lib/perl/5.8.0/sys/time.ph /usr/lib/perl/5.8.0/sys/syscall.ph /usr/lib/perl/5.8.0/sys/syslog.ph /usr/lib/perl/5.8.0/sys/select.ph /usr/lib/perl/5.8.0/sys/uio.ph /usr/lib/perl/5.8.0/sys/cdefs.ph /usr/lib/perl/5.8.0/sys/wait.ph /usr/lib/perl/5.8.0/sys/sysmacros.ph /usr/lib/perl/5.8.0/sys/types.ph /usr/lib/perl/5.8.0/sys/resource.ph /usr/lib/perl/5.8.0/sys/ucontext.ph /usr/lib/perl/5.8.0/bits/ioctl-types.ph /usr/lib/perl/5.8.0/bits/ioctls.ph /usr/lib/perl/5.8.0/bits/typesizes.ph /usr/lib/perl/5.8.0/bits/socket.ph /usr/lib/perl/5.8.0/bits/types.ph /usr/lib/perl/5.8.0/bits/time.ph /usr/lib/perl/5.8.0/bits/syscall.ph /usr/lib/perl/5.8.0/bits/uio.ph /usr/lib/perl/5.8.0/bits/sockaddr.ph /usr/lib/perl/5.8.0/bits/wordsize.ph /usr/lib/perl/5.8.0/bits/waitflags.ph /usr/lib/perl/5.8.0/bits/select.ph /usr/lib/perl/5.8.0/bits/sigset.ph /usr/lib/perl/5.8.0/bits/waitstatus.ph /usr/lib/perl/5.8.0/bits/siginfo.ph /usr/lib/perl/5.8.0/bits/pthreadtypes.ph /usr/lib/perl/5.8.0/bits/signum.ph /usr/lib/perl/5.8.0/bits/sigaction.ph /usr/lib/perl/5.8.0/bits/sigcontext.ph /usr/lib/perl/5.8.0/bits/sigstack.ph /usr/lib/perl/5.8.0/bits/sigthread.ph /usr/lib/perl/5.8.0/bits/resource.ph /usr/lib/perl/5.8.0/bits/endian.ph /usr/lib/perl/5.8.0/bits/sched.ph /usr/lib/perl/5.8.0/linux/posix_types.ph /usr/lib/perl/5.8.0/linux/stddef.ph /usr/lib/perl/5.8.0/gnu/stubs.ph /usr/lib/perl/5.8.0/syslimits.ph /usr/lib/perl/5.8.0/syscall.ph /usr/lib/perl/5.8.0/syslog.ph /usr/lib/perl/5.8.0/wait.ph /usr/lib/perl/5.8.0/features.ph /usr/lib/perl/5.8.0/stddef.ph /usr/lib/perl/5.8.0/time.ph /usr/lib/perl/5.8.0/stdarg.ph /usr/lib/perl/5.8.0/limits.ph /usr/lib/perl/5.8.0/xlocale.ph /usr/lib/perl/5.8.0/signal.ph /usr/lib/perl/5.8.0/endian.ph /usr/lib/perl/5.8.0/ucontext.ph
Date: Sat, 13 Dec 2003 15:08:27 -0800
From: Adam Monsen <adamm [...] wazamatta.com>
To: bug-test-harness [...] rt.cpan.org
Subject: Test-Harness-2.38 fails 'make test'
perlbug-assisted bug report is attached. -- Adam Monsen

Message body is not shown because sender requested not to inline it.

Date: Tue, 27 Jan 2004 16:02:11 -0500 (EST)
From: "Scott R. Godin" <mactech [...] webdragon.net>
To: Andy Lester <andy [...] petdance.com>
Subject: Test::Harness 2.40 under Fedora Core 1 has test errors
perl -Mblib t/test-harness.t [snip] not ok 40 # Failed test (t/test-harness.t at line 535) # got: 'Scalar found where operator expected at (eval 163) line 1, near "'int' $__val" # (Missing operator before $__val?) # ' # expected: '' [snip] I tried looking at the code but can't (yet) make heads or tails out of it. heh. hopefully this means something to _you_ however. -- Laughing Dragon Services http://www.webdragon.net/
This is fixed in Test::Harness 2.45_01, which will eventually become 2.46. We've removed the code that uses wait.ph, so there's no external dependency.