Closed p5pRT closed 15 years ago
I'm attempting to build SpamAssassin. I have built perl v5.10.0 (including running its tests) and installed it. I have run CPAN to initialize it and exited. I have re-run CPAN to install Bundle::CPAN and exited. I have then tried to install the SpamAssassin dependencies in the order specified in
http://svn.apache.org/repos/asf/spamassassin/branches/3.2/INSTALL
I installed and tested Digest::SHA1 and HTML::Parser without issue.
In attempting to install Net::DNS\, two dependencies are found\, Digest::HMAC_MD5 and Net::IP. I installed and tested Digest::HMAC_MD5 without any problem but when I attempted to install/test Net::IP\, I got a panic in the perl interpreter. The panic is triggerred at line 1450 of IP.pm but the RE on that line looks good to me.
Hopefully the following will be of use:
Running make for M/MA/MANU/Net-IP-1.25.tar.gz LWP not available
Trying with "/opt/sfw/bin/curl -L -f -s -S --netrc-optional" to get http://www.ibiblio.org/pub/mirrors/CPAN/authors/id/M/MA/MANU/Net-IP-1.25.tar.gz LWP not available
Trying with "/opt/sfw/bin/curl -L -f -s -S --netrc-optional" to get http://www.ibiblio.org/pub/mirrors/CPAN/authors/id/M/MA/MANU/CHECKSUMS Checksum for /tmp/.cpan/sources/authors/id/M/MA/MANU/Net-IP-1.25.tar.gz ok x Net-IP-1.25\, 0 bytes\, 0 tape blocks x Net-IP-1.25/iptab\, 888 bytes\, 2 tape blocks x Net-IP-1.25/META.yml\, 288 bytes\, 1 tape blocks x Net-IP-1.25/IP.pm\, 66060 bytes\, 130 tape blocks x Net-IP-1.25/COPYING\, 1851 bytes\, 4 tape blocks x Net-IP-1.25/Changes\, 2518 bytes\, 5 tape blocks x Net-IP-1.25/t\, 0 bytes\, 0 tape blocks x Net-IP-1.25/t/ExtUtils\, 0 bytes\, 0 tape blocks x Net-IP-1.25/t/ExtUtils/TBone.pm\, 10824 bytes\, 22 tape blocks x Net-IP-1.25/t/ipv4.t\, 2497 bytes\, 5 tape blocks x Net-IP-1.25/t/ipv6.t\, 2215 bytes\, 5 tape blocks x Net-IP-1.25/ipcount\, 3628 bytes\, 8 tape blocks x Net-IP-1.25/MANIFEST\, 197 bytes\, 1 tape blocks x Net-IP-1.25/Net-IP.spec.PL\, 760 bytes\, 2 tape blocks x Net-IP-1.25/README\, 839 bytes\, 2 tape blocks x Net-IP-1.25/Makefile.PL\, 1048 bytes\, 3 tape blocks
CPAN.pm: Going to build M/MA/MANU/Net-IP-1.25.tar.gz
Checking if your kit is complete... Looks good Writing Makefile for Net::IP cp IP.pm blib/lib/Net/IP.pm cp ipcount blib/script/ipcount /tmp/perl-v5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/ipcount cp iptab blib/script/iptab /tmp/perl-v5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/iptab Manifying blib/man3/Net::IP.3 /tmp/perl-v5.10.0/bin/perl "-Iblib/arch" "-Iblib/lib" Net-IP.spec.PL Net-IP.spec MANU/Net-IP-1.25.tar.gz /usr/ccs/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /tmp/perl-v5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0\, 'blib/lib'\, 'blib/arch')" t/*.t t/ipv4......t/ipv4......1/27 t/ipv4......ok t/ipv6......panic: unknown regstclass 0 at /tmp/.cpan/build/Net-IP-1.25-wiSM5d/blib/lib/Net/IP.pm line 1450. t/ipv6......1/21 t/ipv6...... Dubious\, test returned 255 (wstat 65280\, 0xff00) Failed 5/21 subtests
Test Summary Report ------------------- t/ipv6.t (Wstat: 65280 Tests: 16 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 21 tests but ran 16. Files=2\, Tests=43\, 2 wallclock secs ( 0.12 usr 0.04 sys + 1.66 cusr 0.11 csys = 1.93 CPU) Result: FAIL Failed 1/2 test programs. 0/43 subtests failed. *** Error code 255 make: Fatal error: Command failed for target `test_dynamic' MANU/Net-IP-1.25.tar.gz /usr/ccs/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module\, try: reports MANU/Net-IP-1.25.tar.gz Running make install make test had returned bad status\, won't install without force
2008/6/8 via RT drl @ mailhost3. vuse. vanderbilt. edu \perlbug\-followup@​perl\.org:
# New Ticket Created by drl@mailhost3.vuse.vanderbilt.edu # Please include the string: [perl #55466] # in the subject line of all future correspondence about this issue. # \<URL: http://rt.perl.org/rt3/Ticket/Display.html?id=55466 >
This is a bug report for perl from drl@mailhost3.vuse.vanderbilt.edu\, generated with the help of perlbug 1.36 running under perl 5.10.0.
----------------------------------------------------------------- [Please enter your report here]
I'm attempting to build SpamAssassin. I have built perl v5.10.0 (including running its tests) and installed it. I have run CPAN to initialize it and exited. I have re-run CPAN to install Bundle::CPAN and exited. I have then tried to install the SpamAssassin dependencies in the order specified in
http://svn.apache.org/repos/asf/spamassassin/branches/3.2/INSTALL
I installed and tested Digest::SHA1 and HTML::Parser without issue.
In attempting to install Net::DNS\, two dependencies are found\, Digest::HMAC_MD5 and Net::IP. I installed and tested Digest::HMAC_MD5 without any problem but when I attempted to install/test Net::IP\, I got a panic in the perl interpreter. The panic is triggerred at line 1450 of IP.pm but the RE on that line looks good to me.
Hopefully the following will be of use:
Running make for M/MA/MANU/Net-IP-1.25.tar.gz LWP not available
Trying with "/opt/sfw/bin/curl -L -f -s -S --netrc-optional" to get http://www.ibiblio.org/pub/mirrors/CPAN/authors/id/M/MA/MANU/Net-IP-1.25.tar.gz LWP not available
Trying with "/opt/sfw/bin/curl -L -f -s -S --netrc-optional" to get http://www.ibiblio.org/pub/mirrors/CPAN/authors/id/M/MA/MANU/CHECKSUMS Checksum for /tmp/.cpan/sources/authors/id/M/MA/MANU/Net-IP-1.25.tar.gz ok x Net-IP-1.25\, 0 bytes\, 0 tape blocks x Net-IP-1.25/iptab\, 888 bytes\, 2 tape blocks x Net-IP-1.25/META.yml\, 288 bytes\, 1 tape blocks x Net-IP-1.25/IP.pm\, 66060 bytes\, 130 tape blocks x Net-IP-1.25/COPYING\, 1851 bytes\, 4 tape blocks x Net-IP-1.25/Changes\, 2518 bytes\, 5 tape blocks x Net-IP-1.25/t\, 0 bytes\, 0 tape blocks x Net-IP-1.25/t/ExtUtils\, 0 bytes\, 0 tape blocks x Net-IP-1.25/t/ExtUtils/TBone.pm\, 10824 bytes\, 22 tape blocks x Net-IP-1.25/t/ipv4.t\, 2497 bytes\, 5 tape blocks x Net-IP-1.25/t/ipv6.t\, 2215 bytes\, 5 tape blocks x Net-IP-1.25/ipcount\, 3628 bytes\, 8 tape blocks x Net-IP-1.25/MANIFEST\, 197 bytes\, 1 tape blocks x Net-IP-1.25/Net-IP.spec.PL\, 760 bytes\, 2 tape blocks x Net-IP-1.25/README\, 839 bytes\, 2 tape blocks x Net-IP-1.25/Makefile.PL\, 1048 bytes\, 3 tape blocks
CPAN.pm: Going to build M/MA/MANU/Net-IP-1.25.tar.gz
Checking if your kit is complete... Looks good Writing Makefile for Net::IP cp IP.pm blib/lib/Net/IP.pm cp ipcount blib/script/ipcount /tmp/perl-v5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/ipcount cp iptab blib/script/iptab /tmp/perl-v5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/iptab Manifying blib/man3/Net::IP.3 /tmp/perl-v5.10.0/bin/perl "-Iblib/arch" "-Iblib/lib" Net-IP.spec.PL Net-IP.spec MANU/Net-IP-1.25.tar.gz /usr/ccs/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /tmp/perl-v5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0\, 'blib/lib'\, 'blib/arch')" t/*.t t/ipv4......t/ipv4......1/27 t/ipv4......ok t/ipv6......panic: unknown regstclass 0 at /tmp/.cpan/build/Net-IP-1.25-wiSM5d/blib/lib/Net/IP.pm line 1450. t/ipv6......1/21 t/ipv6...... Dubious\, test returned 255 (wstat 65280\, 0xff00) Failed 5/21 subtests
If you can reduce this to a pattern that i can work with i will at least /try/ to fix it. But i dont have time to extract it from this code. I wish i did\, and sorry i dont.
Yves
-- perl -Mre=debug -e "/just|another|perl|hacker/"
The RT System itself - Status changed from 'new' to 'open'
t/ipv6......panic: unknown regstclass 0 at /tmp/.cpan/build/Net-IP-
If you can reduce this to a pattern that i can work with i will at least /try/ to fix it. But i dont have time to extract it from this code. I wish i did\, and sorry i dont.
The following command triggers the error: perl -e '$c = "0"x50; $c =~ s/0{50}/1/; print "$c\n";' Output: panic: unknown regstclass 0 at -e line 1.
The panic occurs with perl 5.10.0 on Solaris 10 sparc and AIX 5.3.
The same command does not fail on FreeBSD or Linux. The same command also works on perl 5.8.2 on the same machines.
This problem also appears to be sensitive to the shell environment variables. The following does not panic: env -i perl -e '$c = "0"x50; $c =~ s/0{50}/1/; print "$c\n";' Output: 1
Also\, s/0{49}/1 and s/0{51}/1 does not panic.
Please let me know if I can be of any further help.
Looks like I missed the resolved ticket which has the fix.
This problem is the same as #50114\, which is resolved.
I can confirm the patch described in the other ticket fixes the problem for me.
module@renee-baecker.de - Status changed from 'open' to 'resolved'
For what it's worth\, the problem seems to be limited to bigendian systems. That may be diagnostic or it may be irrelevant.
Dave doesn't know if this is a regression.
On Thu May 28 08:15:21 2009\, nicholas wrote:
Dave doesn't know if this is a regression.
A regression test was added with the original fix in change 33324.
http://public.activestate.com/cgi-bin/perlbrowse/p/33324 Change 33324 by demerphq@demerphq-gemini on 2008/02/17 15:39:22
Fix perlbug 50114 and document what the code does a bit better
Migrated from rt.perl.org#55466 (status was 'resolved')
Searchable as RT55466$