You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Nigel Frankcom <ni...@blue-canoe.net> on 2007/05/30 19:54:33 UTC
sa-compile
Hi All,
This may well have been covered before, if so my apologies and can
someone point me to the relevant thread.
Is there anything to be concerned about with this lot? In particular
the
>body_0.xs:43: warning: ISO C90 forbids mixed declarations and code
lines
>[root@ratsnest ~]# sa-compile
>[13273] info: zoom: able to use 477/477 'body_0' compiled rules (100%)
>[13273] info: generic: base extraction starting. this can take a while...
>[13273] info: generic: extracting from rules of type body_0
>100% [=========================================================================================================================] 86.02 rules/sec 00m13s DONE
>100% [=========================================================================================================================] 61.92 bases/sec 00m34s DONE
>[13273] info: body_0: 1631 base strings extracted in 48 seconds
>[13273] info: rules: meta test HS_PHARMA_1 has dependency 'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score
>cd /tmp/.spamassassin13273KGsGSotmp
>cd Mail-SpamAssassin-CompiledRegexps-body_0
>re2c -i -b -o scanner1.c scanner1.re
>re2c -i -b -o scanner2.c scanner2.re
>re2c -i -b -o scanner3.c scanner3.re
>re2c -i -b -o scanner4.c scanner4.re
>re2c -i -b -o scanner5.c scanner5.re
>re2c -i -b -o scanner6.c scanner6.re
>re2c -i -b -o scanner7.c scanner7.re
>re2c -i -b -o scanner8.c scanner8.re
>re2c -i -b -o scanner9.c scanner9.re
>/usr/bin/perl Makefile.PL PREFIX=/tmp/.spamassassin13273KGsGSotmp/ignored INSTALLSITEARCH=/var/lib/spamassassin/compiled/3.002000
>Writing Makefile for Mail::SpamAssassin::CompiledRegexps::body_0
>make
>cp body_0.pm blib/lib/Mail/SpamAssassin/CompiledRegexps/body_0.pm
>/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap body_0.xs > body_0.xsc && mv body_0.xsc body_0.c
>gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" body_0.c
>body_0.xs: In function `XS_Mail__SpamAssassin__CompiledRegexps__body_0_scan':
>body_0.xs:43: warning: ISO C90 forbids mixed declarations and code
>body_0.xs:51: warning: ISO C90 forbids mixed declarations and code
>body_0.xs:59: warning: ISO C90 forbids mixed declarations and code
>body_0.xs:67: warning: ISO C90 forbids mixed declarations and code
>body_0.xs:75: warning: ISO C90 forbids mixed declarations and code
>body_0.xs:83: warning: ISO C90 forbids mixed declarations and code
>body_0.xs:91: warning: ISO C90 forbids mixed declarations and code
>body_0.xs:99: warning: ISO C90 forbids mixed declarations and code
>body_0.xs:107: warning: ISO C90 forbids mixed declarations and code
>gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner1.c
>gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner2.c
>gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner3.c
>gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner4.c
>gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner5.c
>gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner6.c
>gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner7.c
>gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner8.c
>gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner9.c
>Running Mkbootstrap for Mail::SpamAssassin::CompiledRegexps::body_0 ()
>chmod 644 body_0.bs
>rm -f blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
>gcc -shared body_0.o scanner1.o scanner2.o scanner3.o scanner4.o scanner5.o scanner6.o scanner7.o scanner8.o scanner9.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
>cp body_0.bs blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.bs
>chmod 644 blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.bs
>Manifying blib/man3/Mail::SpamAssassin::CompiledRegexps::body_0.3pm
>make install
>Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
>Installing /tmp/.spamassassin13273KGsGSotmp/ignored/share/man/man3/Mail::SpamAssassin::CompiledRegexps::body_0.3pm
>Writing /var/lib/spamassassin/compiled/3.002000/auto/Mail/SpamAssassin/CompiledRegexps/body_0/.packlist
>Appending installation info to /tmp/.spamassassin13273KGsGSotmp/ignored/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
>cp /tmp/.spamassassin13273KGsGSotmp/bases_body_0.pl /var/lib/spamassassin/compiled/3.002000/bases_body_0.pl
>cd /
>rm -rf /tmp/.spamassassin13273KGsGSotmp
KR
Nigel
Re: sa-compile
Posted by Nigel Frankcom <ni...@blue-canoe.net>.
Thanks Justin.
Been a tad manic here and I've not kept up with the lists lately.
Kind regards
Nigel
On Wed, 30 May 2007 19:02:58 +0100, jm@jmason.org (Justin Mason)
wrote:
>
>Nigel Frankcom writes:
>> Hi All,
>>
>> This may well have been covered before, if so my apologies and can
>> someone point me to the relevant thread.
>>
>> Is there anything to be concerned about with this lot? In particular
>> the
>>
>> >body_0.xs:43: warning: ISO C90 forbids mixed declarations and code
>> lines
>
>nope, that seems fine. We will be fixing those anyway, but they're
>harmless in this case.
>
>--j.
>
>> >[root@ratsnest ~]# sa-compile
>> >[13273] info: zoom: able to use 477/477 'body_0' compiled rules (100%)
>> >[13273] info: generic: base extraction starting. this can take a while...
>> >[13273] info: generic: extracting from rules of type body_0
>> >100% [=========================================================================================================================] 86.02 rules/sec 00m13s DONE
>> >100% [=========================================================================================================================] 61.92 bases/sec 00m34s DONE
>> >[13273] info: body_0: 1631 base strings extracted in 48 seconds
>> >[13273] info: rules: meta test HS_PHARMA_1 has dependency 'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score
>> >cd /tmp/.spamassassin13273KGsGSotmp
>> >cd Mail-SpamAssassin-CompiledRegexps-body_0
>> >re2c -i -b -o scanner1.c scanner1.re
>> >re2c -i -b -o scanner2.c scanner2.re
>> >re2c -i -b -o scanner3.c scanner3.re
>> >re2c -i -b -o scanner4.c scanner4.re
>> >re2c -i -b -o scanner5.c scanner5.re
>> >re2c -i -b -o scanner6.c scanner6.re
>> >re2c -i -b -o scanner7.c scanner7.re
>> >re2c -i -b -o scanner8.c scanner8.re
>> >re2c -i -b -o scanner9.c scanner9.re
>> >/usr/bin/perl Makefile.PL PREFIX=/tmp/.spamassassin13273KGsGSotmp/ignored INSTALLSITEARCH=/var/lib/spamassassin/compiled/3.002000
>> >Writing Makefile for Mail::SpamAssassin::CompiledRegexps::body_0
>> >make
>> >cp body_0.pm blib/lib/Mail/SpamAssassin/CompiledRegexps/body_0.pm
>> >/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap body_0.xs > body_0.xsc && mv body_0.xsc body_0.c
>> >gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" body_0.c
>> >body_0.xs: In function `XS_Mail__SpamAssassin__CompiledRegexps__body_0_scan':
>> >body_0.xs:43: warning: ISO C90 forbids mixed declarations and code
>> >body_0.xs:51: warning: ISO C90 forbids mixed declarations and code
>> >body_0.xs:59: warning: ISO C90 forbids mixed declarations and code
>> >body_0.xs:67: warning: ISO C90 forbids mixed declarations and code
>> >body_0.xs:75: warning: ISO C90 forbids mixed declarations and code
>> >body_0.xs:83: warning: ISO C90 forbids mixed declarations and code
>> >body_0.xs:91: warning: ISO C90 forbids mixed declarations and code
>> >body_0.xs:99: warning: ISO C90 forbids mixed declarations and code
>> >body_0.xs:107: warning: ISO C90 forbids mixed declarations and code
>> >gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner1.c
>> >gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner2.c
>> >gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner3.c
>> >gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner4.c
>> >gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner5.c
>> >gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner6.c
>> >gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner7.c
>> >gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner8.c
>> >gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner9.c
>> >Running Mkbootstrap for Mail::SpamAssassin::CompiledRegexps::body_0 ()
>> >chmod 644 body_0.bs
>> >rm -f blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
>> >gcc -shared body_0.o scanner1.o scanner2.o scanner3.o scanner4.o scanner5.o scanner6.o scanner7.o scanner8.o scanner9.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
>> >cp body_0.bs blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.bs
>> >chmod 644 blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.bs
>> >Manifying blib/man3/Mail::SpamAssassin::CompiledRegexps::body_0.3pm
>> >make install
>> >Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
>> >Installing /tmp/.spamassassin13273KGsGSotmp/ignored/share/man/man3/Mail::SpamAssassin::CompiledRegexps::body_0.3pm
>> >Writing /var/lib/spamassassin/compiled/3.002000/auto/Mail/SpamAssassin/CompiledRegexps/body_0/.packlist
>> >Appending installation info to /tmp/.spamassassin13273KGsGSotmp/ignored/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
>> >cp /tmp/.spamassassin13273KGsGSotmp/bases_body_0.pl /var/lib/spamassassin/compiled/3.002000/bases_body_0.pl
>> >cd /
>> >rm -rf /tmp/.spamassassin13273KGsGSotmp
>>
>>
>> KR
>>
>> Nigel