http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5705

           Summary: t/meta.t has a prototype problem which seems to be
                    ignored
           Product: Spamassassin
           Version: 3.2.3
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Regression Tests
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


When I run the 3.2.3 test suite against current development version of perl
which is due to come out as 5.10 soonish, all tests pass. But I see the
following output:


t/meta..........................Illegal character in prototype for bytes::length
: _ at
/home/src/perl/repoperls/installed-perls/perl/pm5CFa8/[EMAIL 
PROTECTED]/lib/5.10.0/bytes.pm
line 22.
Illegal character in prototype for bytes::chr : _ at
/home/src/perl/repoperls/installed-perls/perl/pm5CFa8/[EMAIL 
PROTECTED]/lib/5.10.0/bytes.pm
line 23.
Illegal character in prototype for bytes::ord : _ at
/home/src/perl/repoperls/installed-perls/perl/pm5CFa8/[EMAIL 
PROTECTED]/lib/5.10.0/bytes.pm
line 24.
Can't load
'/home/src/perl/repoperls/installed-perls/perl/pm5CFa8/[EMAIL 
PROTECTED]/lib/5.10.0/i686-linux-64int/auto/Data/Dumper/Dumper.so'
for module Data::Dumper:
/home/src/perl/repoperls/installed-perls/perl/pm5CFa8/[EMAIL 
PROTECTED]/lib/5.10.0/i686-linux-64int/auto/Data/Dumper/Dumper.so:
undefined symbol: PL_unitcheckav at
/home/src/perl/repoperls/installed-perls/perl/pm5CFa8/[EMAIL 
PROTECTED]/lib/5.10.0/i686-linux-64int/XSLoader.pm
line 64.
 at
/home/src/perl/repoperls/installed-perls/perl/pm5CFa8/[EMAIL 
PROTECTED]/lib/5.10.0/i686-linux-64int/Data/Dumper.pm
line 36
Compilation failed in require at ../build/parse-rules-for-masses line 37.
BEGIN failed--compilation aborted at ../build/parse-rules-for-masses line 37.
parse-rules-for-masses failed! at t/meta.t line 43.
log/rules-0.pl is unparseable: Can't locate log/rules-0.pl in @INC (@INC
contains: ../blib/lib
/home/sand/.cpan/build/Mail-SpamAssassin-3.2.3-Tqk5Pb/blib/lib
/home/sand/.cpan/build/Mail-SpamAssassin-3.2.3-Tqk5Pb/blib/arch
/home/src/perl/repoperls/installed-perls/perl/pm5CFa8/[EMAIL 
PROTECTED]/lib/5.10.0/i686-linux-64int
/home/src/perl/repoperls/installed-perls/perl/pm5CFa8/[EMAIL 
PROTECTED]/lib/5.10.0/i686-linux-64int
/home/src/perl/repoperls/installed-perls/perl/pm5CFa8/[EMAIL 
PROTECTED]/lib/5.10.0
/home/src/perl/repoperls/installed-perls/perl/pm5CFa8/[EMAIL 
PROTECTED]/lib/site_perl/5.10.0/i686-linux-64int
/home/src/perl/repoperls/installed-perls/perl/pm5CFa8/[EMAIL 
PROTECTED]/lib/site_perl/5.10.0/i686-linux-64int
/home/src/perl/repoperls/installed-perls/perl/pm5CFa8/[EMAIL 
PROTECTED]/lib/site_perl/5.10.0
.
/home/src/perl/repoperls/installed-perls/perl/pm5CFa8/[EMAIL 
PROTECTED]/lib/5.10.0/i686-linux-64int
/home/src/perl/repoperls/installed-perls/perl/pm5CFa8/[EMAIL 
PROTECTED]/lib/5.10.0
/home/src/perl/repoperls/installed-perls/perl/pm5CFa8/[EMAIL 
PROTECTED]/lib/site_perl/5.10.0/i686-linux-64int
/home/src/perl/repoperls/installed-perls/perl/pm5CFa8/[EMAIL 
PROTECTED]/lib/site_perl/5.10.0
.) at t/meta.t line 46.
giving up on test. at t/meta.t line 50.
ok




This indicates for me that probably somebody calls a different perl (probably
the old one that I have in the PATH) instead of the current one (which would be
in $^X). The "_" prototype has been introduced since 5.8 and specifies a code
block. Somebody who does not understand this prototype.

Let me know if you need further info.

Thanks,



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to