You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Gibbs, David" <da...@midrange.com> on 2014/04/21 17:59:57 UTC

SA 3.4 'make test' fails in 't/sa_sompile.t' with "Not found: able-to-use"

Folks:

I'm trying to upgrade from 3.3.2 to 3.4, but I'm running into a roadblock when I run the test suite on the package I downloaded from apache.org.

I ran a general "make && make test" and the tests failed in sa_compile.t

So I ran 'make test TEST_VERBOSE=1 TEST_FILES="t/sa_compile.t"' and got the following...

---------
Apr 21 10:47:26.904 [26989] info: generic: base extraction starting. this can take a while...
Apr 21 10:47:26.905 [26989] info: generic: extracting from rules of type body_0
100% [===========================================]  41.64 rules/sec 00m00s DONE
100% [===========================================]  46.17 bases/sec 00m00s DONE
Apr 21 10:47:27.089 [26989] info: body_0: 4 base strings extracted in 1 seconds
        Not found: able-to-use =  able to use 1/1 'body_0' compiled rules  at t/sa_compile.t line 148.
# Failed test 4 in t/SATest.pm at line 751
Output can be examined in: log/d.sa_compile/3
Failed 1/1 test programs. 1/5 subtests failed.
make: *** [test_dynamic] Error 255
---------

The full output of the test can be found here:
https://qtemp.net/sa-compile-test-fail.txt

The log file can be seen here: https://qtemp.net/sa-compile-test-fail-log.txt

I am running a rather old version of Fedora, but have perl 5.10.0 installed.

I ran the same test on a Centos 6 system and encountered the exact same failure.

Any suggestions?

Thanks!

david

-- 
IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding a metric century (100 km / 62 miles) in the 2014 Chicagoland Tour de Cure to raise money for diabetes research, education, and advocacy.  Sponsor me by visiting http://email.diabetessucks.net. Any amount is appreciated.

See where I get my donations from ... visit http://email.diabetessucks.net/mapdonations.php for an interactive map (it's a geeky thing).


Re: SA 3.4 'make test' fails in 't/sa_sompile.t' with "Not found: able-to-use"

Posted by David Gibbs <da...@midrange.com>.
On 4/24/2014 12:36 PM, Kevin A. McGrail wrote:
> Overall, it should let you know you can proceed.

Kevin:

Thanks for your help.  Got the update installed & running fine now.

david


-- 
IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding a metric century (100 km / 62 miles) in the 2014 Chicagoland Tour de Cure to raise money for diabetes research, education, and advocacy.  Sponsor me by visiting http://email.diabetessucks.net. Any amount is appreciated.

See where I get my donations from ... visit http://email.diabetessucks.net/mapdonations.php for an interactive map (it's a geeky thing).

Re: SA 3.4 'make test' fails in 't/sa_sompile.t' with "Not found: able-to-use"

Posted by "Kevin A. McGrail" <KM...@PCCC.com>.
On 4/24/2014 1:08 PM, Gibbs, David wrote:
> On 4/24/2014 11:59 AM, Kevin A. McGrail wrote:
>>> https://qtemp.net/sa-compile-test-fail-log-1.txt
>> But now you appear to be failing
>>
>> Checking FOO not the able-to-use
> That's what has been failing from the beginning, as far as I can tell.
The subject of your email chain led me otherwise ;-)
>> Can you try this as root?
> Yes, and it worked.
>
> Permissions problem then?
Not sure.  The test does not appear to run well unless root for me either.

Perhaps we need to move this to root_sa_compile.t and move it to the 
run_root_tests?  Or add a check for root?

Overall, it should let you know you can proceed.

Re: SA 3.4 'make test' fails in 't/sa_sompile.t' with "Not found: able-to-use"

Posted by "Gibbs, David" <da...@midrange.com>.
On 4/24/2014 11:59 AM, Kevin A. McGrail wrote:
>> https://qtemp.net/sa-compile-test-fail-log-1.txt
> But now you appear to be failing
> 
> Checking FOO not the able-to-use

That's what has been failing from the beginning, as far as I can tell.

> Can you try this as root?

Yes, and it worked.

Permissions problem then?

david


-- 
IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding a metric century (100 km / 62 miles) in the 2014 Chicagoland Tour de Cure to raise money for diabetes research, education, and advocacy.  Sponsor me by visiting http://email.diabetessucks.net. Any amount is appreciated.

See where I get my donations from ... visit http://email.diabetessucks.net/mapdonations.php for an interactive map (it's a geeky thing).


Re: SA 3.4 'make test' fails in 't/sa_sompile.t' with "Not found: able-to-use"

Posted by "Kevin A. McGrail" <KM...@PCCC.com>.
On 4/24/2014 12:40 PM, Gibbs, David wrote:
> On 4/24/2014 11:25 AM, Kevin A. McGrail wrote:
>> On the sa_compile.t, there is a line that says:
>>
>> system_or_die "$instdir/foo/$temp_binpath/sa-compile --keep-tmps"; #
>> --debug
>>
>> Can you turn on --debug and run prove -v t/sa_compile again.  Then
>> hopefully sa-compile throws a hint...
> Nothing useful that I can see :(
>
> https://qtemp.net/sa-compile-test-fail-log-1.txt
But now you appear to be failing

Checking FOO not the able-to-use

Can you try this as root?


Re: SA 3.4 'make test' fails in 't/sa_sompile.t' with "Not found: able-to-use"

Posted by "Gibbs, David" <da...@midrange.com>.
On 4/24/2014 11:25 AM, Kevin A. McGrail wrote:
> On the sa_compile.t, there is a line that says:
> 
> system_or_die "$instdir/foo/$temp_binpath/sa-compile --keep-tmps"; #
> --debug
> 
> Can you turn on --debug and run prove -v t/sa_compile again.  Then
> hopefully sa-compile throws a hint...

Nothing useful that I can see :(

https://qtemp.net/sa-compile-test-fail-log-1.txt

david

-- 
IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding a metric century (100 km / 62 miles) in the 2014 Chicagoland Tour de Cure to raise money for diabetes research, education, and advocacy.  Sponsor me by visiting http://email.diabetessucks.net. Any amount is appreciated.

See where I get my donations from ... visit http://email.diabetessucks.net/mapdonations.php for an interactive map (it's a geeky thing).


Re: SA 3.4 'make test' fails in 't/sa_sompile.t' with "Not found: able-to-use"

Posted by "Kevin A. McGrail" <KM...@PCCC.com>.
On 4/24/2014 12:12 PM, Gibbs, David wrote:
> On 4/24/2014 9:47 AM, Kevin A. McGrail wrote:
>> Bizarre...   The non-replicatable behavior is very confusing.
>>
>> And you were able to replicate this on a modern CentOS box?
> Yep.
>
> Even tried it on another system that's running Centos 5.
>
> OK, I just tried it on yet another box ... this one is more 'virgin', as it's ONLY used as a XEN virtual host.
>
> This time all the tests passed.
>
> So it's got to be something in the other systems configuration or environment ... but the question is what.
>
> It's clearly focused on the "able-to-use" test.  Are there any external dependencies related to that test?  Maybe some of my modules are out of date & need to be updated?  I did have a bunch of modules that wanted upgrades, so I upgraded a handful of them but no difference.
That's a test that basically tests if the compilation worked.

On the sa_compile.t, there is a line that says:

system_or_die "$instdir/foo/$temp_binpath/sa-compile --keep-tmps"; # --debug

Can you turn on --debug and run prove -v t/sa_compile again.  Then 
hopefully sa-compile throws a hint...

Re: SA 3.4 'make test' fails in 't/sa_sompile.t' with "Not found: able-to-use"

Posted by "Gibbs, David" <da...@midrange.com>.
On 4/24/2014 9:47 AM, Kevin A. McGrail wrote:
> Bizarre...   The non-replicatable behavior is very confusing.
> 
> And you were able to replicate this on a modern CentOS box?

Yep.  

Even tried it on another system that's running Centos 5.

OK, I just tried it on yet another box ... this one is more 'virgin', as it's ONLY used as a XEN virtual host.

This time all the tests passed.

So it's got to be something in the other systems configuration or environment ... but the question is what.

It's clearly focused on the "able-to-use" test.  Are there any external dependencies related to that test?  Maybe some of my modules are out of date & need to be updated?  I did have a bunch of modules that wanted upgrades, so I upgraded a handful of them but no difference.

david

-- 
IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding a metric century (100 km / 62 miles) in the 2014 Chicagoland Tour de Cure to raise money for diabetes research, education, and advocacy.  Sponsor me by visiting http://email.diabetessucks.net. Any amount is appreciated.

See where I get my donations from ... visit http://email.diabetessucks.net/mapdonations.php for an interactive map (it's a geeky thing).


Re: SA 3.4 'make test' fails in 't/sa_sompile.t' with "Not found: able-to-use"

Posted by "Kevin A. McGrail" <KM...@PCCC.com>.
Bizarre...   The non-replicatable behavior is very confusing.

And you were able to replicate this on a modern CentOS box?

On 4/23/2014 6:54 PM, David Gibbs wrote:
> On 04/23/2014 04:42 PM, Kevin A. McGrail wrote:
>> If you run make distclean and then perl Makefile.PL and then make 
>> tardist, does that
>> work?
>
> I blew away the directory and untar'ed it again ... this time it 
> didn't complain about Config.pm.
>
>     /usr/local/home/david/work/Mail-SpamAssassin-3.4.0/t/log/d.sa_compile/inst.basic/foo/bin/spamassassin 
> -p log/test_default.cf  -D -Lt < 
> /usr/local/home/david/work/Mail-SpamAssassin-3.4.0/t/data/spam/001
> ok 1
>     Checking FOO
> ok 2
>     /usr/local/home/david/work/Mail-SpamAssassin-3.4.0/t/log/d.sa_compile/inst.basic/foo/bin/sa-compile 
> --keep-tmps
> Apr 23 17:49:33.185 [5749] info: generic: base extraction starting. 
> this can take a while...
> Apr 23 17:49:33.185 [5749] info: generic: extracting from rules of 
> type body_0
> 100% [===========================================]  52.90 rules/sec 
> 00m00s DONE
> 100% [===========================================] 229.31 bases/sec 
> 00m00s DONE
> Apr 23 17:49:33.280 [5749] info: body_0: 4 base strings extracted in 0 
> seconds
> cd /tmp/.spamassassin5749FmkqRetmp
> reading bases_body_0.in
> cd Mail-SpamAssassin-CompiledRegexps-body_0
> re2c -i -b -o scanner1.c scanner1.re
> /usr/bin/perl Makefile.PL 
> PREFIX=/tmp/.spamassassin5749FmkqRetmp/ignored 
> INSTALLSITEARCH=/usr/local/home/david/work/Mail-SpamAssassin-3.4.0/t/log/d.sa_compile/inst.basic/foo/var/spamassassin/compiled/5.010/3.004000 
>
> Generating a Unix-style Makefile
> Writing Makefile for Mail::SpamAssassin::CompiledRegexps::body_0
> Writing MYMETA.yml and MYMETA.json
> make
> cp body_0.pm blib/lib/Mail/SpamAssassin/CompiledRegexps/body_0.pm
> Running Mkbootstrap for Mail::SpamAssassin::CompiledRegexps::body_0 ()
> chmod 644 body_0.bs
> /usr/bin/perl /usr/lib/perl5/5.10.0/ExtUtils/xsubpp  -typemap 
> /usr/lib/perl5/5.10.0/ExtUtils/typemap  body_0.xs > body_0.xsc && mv 
> body_0.xsc body_0.c
> gcc -c   -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING 
> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall 
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
> -fasynchronous-unwind-tables   -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" 
> -fPIC "-I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE"   body_0.c
> gcc -c   -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING 
> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall 
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
> -fasynchronous-unwind-tables   -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" 
> -fPIC "-I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE" scanner1.c
> rm -f blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
> gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
> -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 
> -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib body_0.o 
> scanner1.o  -o 
> blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so \
>              \
>
> chmod 755 
> blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
> /usr/bin/perl -MExtUtils::Command::MM -e 'cp_nonempty' -- body_0.bs 
> blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.bs 644
> Manifying blib/man3/Mail::SpamAssassin::CompiledRegexps::body_0.3pm
> make install
> Running Mkbootstrap for Mail::SpamAssassin::CompiledRegexps::body_0 ()
> chmod 644 body_0.bs
> Files found in blib/arch: installing files in blib/lib into 
> architecture dependent library tree
> Installing 
> /usr/local/home/david/work/Mail-SpamAssassin-3.4.0/t/log/d.sa_compile/inst.basic/foo/var/spamassassin/compiled/5.010/3.004000/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
> Installing 
> /usr/local/home/david/work/Mail-SpamAssassin-3.4.0/t/log/d.sa_compile/inst.basic/foo/var/spamassassin/compiled/5.010/3.004000/Mail/SpamAssassin/CompiledRegexps/body_0.pm
> Installing 
> /tmp/.spamassassin5749FmkqRetmp/ignored/share/man/man3/Mail::SpamAssassin::CompiledRegexps::body_0.3pm
> Appending installation info to 
> /tmp/.spamassassin5749FmkqRetmp/ignored/lib/perl5/5.10.0/i386-linux-thread-multi/perllocal.pod
> cp /tmp/.spamassassin5749FmkqRetmp/bases_body_0.pl 
> /usr/local/home/david/work/Mail-SpamAssassin-3.4.0/t/log/d.sa_compile/inst.basic/foo/var/spamassassin/compiled/5.010/3.004000/bases_body_0.pl
> temporary dir left due to --keep-tmps: /tmp/.spamassassin5749FmkqRetmp
>     /usr/local/home/david/work/Mail-SpamAssassin-3.4.0/t/log/d.sa_compile/inst.basic/foo/bin/spamassassin 
> -p log/test_default.cf  -D -Lt < 
> /usr/local/home/david/work/Mail-SpamAssassin-3.4.0/t/data/spam/001
> ok 3
>     Checking able-to-use
>     Not found: able-to-use =  able to use 1/1 'body_0' compiled rules  
> at t/sa_compile.t line 148.
> not ok 4
> # Failed test 4 in t/SATest.pm at line 751
>     Checking FOO
> ok 5
> Output can be examined in: log/d.sa_compile/3
> Failed 1/5 subtests
>
> Test Summary Report
> -------------------
> t/sa_compile.t (Wstat: 0 Tests: 5 Failed: 1)
>   Failed test:  4
> Files=1, Tests=5, 29 wallclock secs ( 0.37 usr  0.06 sys + 21.69 cusr  
> 5.31 csys = 27.43 CPU)
> Result: FAIL
>
>
>


-- 
*Kevin A. McGrail*
President

Peregrine Computer Consultants Corporation
3927 Old Lee Highway, Suite 102-C
Fairfax, VA 22030-2422

http://www.pccc.com/

703-359-9700 x50 / 800-823-8402 (Toll-Free)
703-359-8451 (fax)
KMcGrail@PCCC.com <ma...@pccc.com>


Re: SA 3.4 'make test' fails in 't/sa_sompile.t' with "Not found: able-to-use"

Posted by David Gibbs <da...@midrange.com>.
On 04/23/2014 04:42 PM, Kevin A. McGrail wrote:
> If you run make distclean and then perl Makefile.PL and then make tardist, does that
> work?

I blew away the directory and untar'ed it again ... this time it didn't complain 
about Config.pm.

	/usr/local/home/david/work/Mail-SpamAssassin-3.4.0/t/log/d.sa_compile/inst.basic/foo/bin/spamassassin   -p log/test_default.cf  -D -Lt < /usr/local/home/david/work/Mail-SpamAssassin-3.4.0/t/data/spam/001
ok 1
	Checking FOO
ok 2
	/usr/local/home/david/work/Mail-SpamAssassin-3.4.0/t/log/d.sa_compile/inst.basic/foo/bin/sa-compile --keep-tmps
Apr 23 17:49:33.185 [5749] info: generic: base extraction starting. this can take a 
while...
Apr 23 17:49:33.185 [5749] info: generic: extracting from rules of type body_0
100% [===========================================]  52.90 rules/sec 00m00s DONE
100% [===========================================] 229.31 bases/sec 00m00s DONE
Apr 23 17:49:33.280 [5749] info: body_0: 4 base strings extracted in 0 seconds
cd /tmp/.spamassassin5749FmkqRetmp
reading bases_body_0.in
cd Mail-SpamAssassin-CompiledRegexps-body_0
re2c -i -b -o scanner1.c scanner1.re
/usr/bin/perl Makefile.PL PREFIX=/tmp/.spamassassin5749FmkqRetmp/ignored 
INSTALLSITEARCH=/usr/local/home/david/work/Mail-SpamAssassin-3.4.0/t/log/d.sa_compile/inst.basic/foo/var/spamassassin/compiled/5.010/3.004000 

Generating a Unix-style Makefile
Writing Makefile for Mail::SpamAssassin::CompiledRegexps::body_0
Writing MYMETA.yml and MYMETA.json
make
cp body_0.pm blib/lib/Mail/SpamAssassin/CompiledRegexps/body_0.pm
Running Mkbootstrap for Mail::SpamAssassin::CompiledRegexps::body_0 ()
chmod 644 body_0.bs
/usr/bin/perl /usr/lib/perl5/5.10.0/ExtUtils/xsubpp  -typemap 
/usr/lib/perl5/5.10.0/ExtUtils/typemap  body_0.xs > body_0.xsc && mv body_0.xsc body_0.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING 
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 
-mtune=generic -fasynchronous-unwind-tables   -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" 
-fPIC "-I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE"   body_0.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING 
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 
-mtune=generic -fasynchronous-unwind-tables   -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" 
-fPIC "-I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE"   scanner1.c
rm -f blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables -L/usr/local/lib body_0.o scanner1.o  -o 
blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so 	\
	     	\
	
chmod 755 blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
/usr/bin/perl -MExtUtils::Command::MM -e 'cp_nonempty' -- body_0.bs 
blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.bs 644
Manifying blib/man3/Mail::SpamAssassin::CompiledRegexps::body_0.3pm
make install
Running Mkbootstrap for Mail::SpamAssassin::CompiledRegexps::body_0 ()
chmod 644 body_0.bs
Files found in blib/arch: installing files in blib/lib into architecture dependent 
library tree
Installing 
/usr/local/home/david/work/Mail-SpamAssassin-3.4.0/t/log/d.sa_compile/inst.basic/foo/var/spamassassin/compiled/5.010/3.004000/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
Installing 
/usr/local/home/david/work/Mail-SpamAssassin-3.4.0/t/log/d.sa_compile/inst.basic/foo/var/spamassassin/compiled/5.010/3.004000/Mail/SpamAssassin/CompiledRegexps/body_0.pm
Installing 
/tmp/.spamassassin5749FmkqRetmp/ignored/share/man/man3/Mail::SpamAssassin::CompiledRegexps::body_0.3pm
Appending installation info to 
/tmp/.spamassassin5749FmkqRetmp/ignored/lib/perl5/5.10.0/i386-linux-thread-multi/perllocal.pod
cp /tmp/.spamassassin5749FmkqRetmp/bases_body_0.pl 
/usr/local/home/david/work/Mail-SpamAssassin-3.4.0/t/log/d.sa_compile/inst.basic/foo/var/spamassassin/compiled/5.010/3.004000/bases_body_0.pl
temporary dir left due to --keep-tmps: /tmp/.spamassassin5749FmkqRetmp
	/usr/local/home/david/work/Mail-SpamAssassin-3.4.0/t/log/d.sa_compile/inst.basic/foo/bin/spamassassin   -p log/test_default.cf  -D -Lt < /usr/local/home/david/work/Mail-SpamAssassin-3.4.0/t/data/spam/001
ok 3
	Checking able-to-use
	Not found: able-to-use =  able to use 1/1 'body_0' compiled rules  at t/sa_compile.t 
line 148.
not ok 4
# Failed test 4 in t/SATest.pm at line 751
	Checking FOO
ok 5
Output can be examined in: log/d.sa_compile/3
Failed 1/5 subtests

Test Summary Report
-------------------
t/sa_compile.t (Wstat: 0 Tests: 5 Failed: 1)
   Failed test:  4
Files=1, Tests=5, 29 wallclock secs ( 0.37 usr  0.06 sys + 21.69 cusr  5.31 csys = 
27.43 CPU)
Result: FAIL



-- 
IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding a metric century (100 km / 62 miles) in the 2014 Chicagoland Tour de Cure 
to raise money for diabetes research, education, and advocacy.  Sponsor me by 
visiting http://email.diabetessucks.net. Any amount is appreciated.

See where I get my donations from ... visit 
http://email.diabetessucks.net/mapdonations.php for an interactive map (it's a geeky 
thing).

Re: SA 3.4 'make test' fails in 't/sa_sompile.t' with "Not found: able-to-use"

Posted by "Kevin A. McGrail" <KM...@PCCC.com>.
On 4/23/2014 12:35 PM, Gibbs, David wrote:
> On 4/23/2014 11:25 AM, Kevin A. McGrail wrote:
>> Can you run prove -v t/sa_compile.t  and send that output?
> I think something else is going wrong here ...
>
> $prove -v t/sa_compile.t
> t/sa_compile.t ..
> re2c version (001203) new enough? yes
> 1..5
> # Running under perl version 5.010000 for linux
> # Current time local: Wed Apr 23 11:30:07 2014
> # Current time GMT:   Wed Apr 23 16:30:07 2014
> # Using Test.pm version 1.25
>          cd .. && make tardist
> make: *** No rule to make target `/usr/lib/perl5/Config.pm', needed by `Makefile'.  Stop.
> 'cd .. && make tardist' failed: exit 2 at t/SATest.pm line 987.
> Dubious, test returned 2 (wstat 512, 0x200)
Ok, I just used an old RH73 with gcc3.7.3 in /usr/local and compiled 
re2c 0.13.6.

Not showing an issue on trunk or 3.4.0...

prove t/sa_compile.t
t/sa_compile....ok 2/5Apr 23 17:33:44.005 [32486] info: generic: base 
extraction starting. this can take a while...
Apr 23 17:33:44.005 [32486] info: generic: extracting from rules of type 
body_0
100% 
[========================================================================================================================================================================================================] 
7.81 rules/sec 00m00s DONE
100% 
[========================================================================================================================================================================================================] 
337.62 bases/sec 00m00s DONE
Apr 23 17:33:44.150 [32486] info: body_0: 1 base strings extracted in 0 
seconds
t/sa_compile....ok
All tests successful.
Files=1, Tests=5, 22 wallclock secs (12.96 cusr +  3.17 csys = 16.13 CPU)


Looking at the initial prove -f output, you are failing to do a make tardist

t/sa_compile....re2c version (001306) new enough? yes
1..5
# Running under perl version 5.008006 for linux
# Current time local: Wed Apr 23 17:38:53 2014
# Current time GMT:   Wed Apr 23 21:38:53 2014
# Using Test.pm version 1.25
         cd .. && make tardist

If you run make distclean and then perl Makefile.PL and then make 
tardist, does that work?

Regards,
KAM

Re: SA 3.4 'make test' fails in 't/sa_sompile.t' with "Not found: able-to-use"

Posted by "Gibbs, David" <da...@midrange.com>.
On 4/23/2014 11:25 AM, Kevin A. McGrail wrote:
> Can you run prove -v t/sa_compile.t  and send that output?

I think something else is going wrong here ...

$prove -v t/sa_compile.t
t/sa_compile.t .. 
re2c version (001203) new enough? yes
1..5
# Running under perl version 5.010000 for linux
# Current time local: Wed Apr 23 11:30:07 2014
# Current time GMT:   Wed Apr 23 16:30:07 2014
# Using Test.pm version 1.25
        cd .. && make tardist
make: *** No rule to make target `/usr/lib/perl5/Config.pm', needed by `Makefile'.  Stop.
'cd .. && make tardist' failed: exit 2 at t/SATest.pm line 987.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 5/5 subtests 

Test Summary Report
-------------------
t/sa_compile.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 5 tests but ran 0.
Files=1, Tests=0,  1 wallclock secs ( 0.06 usr  0.01 sys +  0.15 cusr  0.40 csys =  0.62 CPU)
Result: FAIL

> Also, what version of re2c are you using?

$re2c -v    
re2c 0.12.3


Thanks!

david

-- 
IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding a metric century (100 km / 62 miles) in the 2014 Chicagoland Tour de Cure to raise money for diabetes research, education, and advocacy.  Sponsor me by visiting http://email.diabetessucks.net. Any amount is appreciated.

See where I get my donations from ... visit http://email.diabetessucks.net/mapdonations.php for an interactive map (it's a geeky thing).


Re: SA 3.4 'make test' fails in 't/sa_sompile.t' with "Not found: able-to-use"

Posted by "Kevin A. McGrail" <KM...@PCCC.com>.
On 4/21/2014 11:59 AM, Gibbs, David wrote:
> Folks:
>
> I'm trying to upgrade from 3.3.2 to 3.4, but I'm running into a roadblock when I run the test suite on the package I downloaded from apache.org.
>
> I ran a general "make && make test" and the tests failed in sa_compile.t
>
> So I ran 'make test TEST_VERBOSE=1 TEST_FILES="t/sa_compile.t"' and got the following...
>
> ---------
> Apr 21 10:47:26.904 [26989] info: generic: base extraction starting. this can take a while...
> Apr 21 10:47:26.905 [26989] info: generic: extracting from rules of type body_0
> 100% [===========================================]  41.64 rules/sec 00m00s DONE
> 100% [===========================================]  46.17 bases/sec 00m00s DONE
> Apr 21 10:47:27.089 [26989] info: body_0: 4 base strings extracted in 1 seconds
>          Not found: able-to-use =  able to use 1/1 'body_0' compiled rules  at t/sa_compile.t line 148.
> # Failed test 4 in t/SATest.pm at line 751
> Output can be examined in: log/d.sa_compile/3
> Failed 1/1 test programs. 1/5 subtests failed.
> make: *** [test_dynamic] Error 255
> ---------
>
> The full output of the test can be found here:
> https://qtemp.net/sa-compile-test-fail.txt
>
> The log file can be seen here: https://qtemp.net/sa-compile-test-fail-log.txt
>
> I am running a rather old version of Fedora, but have perl 5.10.0 installed.
>
> I ran the same test on a Centos 6 system and encountered the exact same failure.
>
> Any suggestions?
>


Can you run prove -v t/sa_compile.t  and send that output?

Also, what version of re2c are you using?

Regards,
KAM