You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Apache Hudson Server <hu...@hudson.zones.apache.org> on 2010/02/18 22:39:08 UTC

Build failed in Hudson: SpamAssassin-trunk #4898

See <http://hudson.zones.apache.org/hudson/job/SpamAssassin-trunk/4898/changes>

Changes:

[jhardin] tweak lotsa_money components - add some german text

------------------------------------------
[...truncated 419 lines...]
checking for time.h... yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking openssl/crypto.h usability... no
checking openssl/crypto.h presence... no
checking for openssl/crypto.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for size_t... yes
checking for SHUT_RD... yes
checking for socket in -lsocket... yes
checking for connect in -linet... no
checking for t_accept in -lnsl... yes
checking for deflate in -lz... yes
checking for dlopen in -ldl... yes
checking for socket... yes
checking for strdup... yes
checking for strtod... yes
checking for strtol... yes
checking for snprintf... yes
checking for shutdown... yes
checking for h_errno... yes
checking for in_addr_t... yes
checking for INADDR_NONE... yes
checking for EX__MAX... yes
checking for EAI_ADDRFAMILY... yes
checking for EAI_SYSTEM... (cached) yes
checking for EAI_NODATA... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating spamc.h
config.status: creating config.h
make -f spamc/Makefile spamc/spamc
cc  -g spamc/spamc.c spamc/getopt.c spamc/libspamc.c spamc/utils.c \
	-o spamc/spamc   -ldl -lz -lnsl -lsocket
spamc/spamc.c:
spamc/getopt.c:
"spamc/getopt.c", line 181: warning: statement not reached
spamc/libspamc.c:
spamc/utils.c:
cp spamc/spamc blib/script/spamc
/export/home/jm/tools/perl586/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/spamc
/export/home/jm/tools/perl586/bin/perl build/preprocessor  -Mvars  -DVERSION="3.004000"  -DPREFIX="/local/perl586"  -DDEF_RULES_DIR="/local/perl586/share/spamassassin"  -DLOCAL_RULES_DIR="/local/perl586/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/local/perl586/var/spamassassin"  -DINSTALLSITELIB="/local/perl586/lib/site_perl/5.8.6"  -DCONTACT_ADDRESS="the administrator of that system" -Msharpbang  -Mconditional  -DPERL_BIN="/export/home/jm/tools/perl586/bin/perl"  -DPERL_WARN=""  -DPERL_TAINT="" -m755 -isa-learn.raw -osa-learn
cp sa-learn blib/script/sa-learn
/export/home/jm/tools/perl586/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/sa-learn
cp sa-awl blib/script/sa-awl
/export/home/jm/tools/perl586/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/sa-awl
/export/home/jm/tools/perl586/bin/perl build/preprocessor  -Mvars  -DVERSION="3.004000"  -DPREFIX="/local/perl586"  -DDEF_RULES_DIR="/local/perl586/share/spamassassin"  -DLOCAL_RULES_DIR="/local/perl586/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/local/perl586/var/spamassassin"  -DINSTALLSITELIB="/local/perl586/lib/site_perl/5.8.6"  -DCONTACT_ADDRESS="the administrator of that system" -Msharpbang  -Mconditional  -DPERL_BIN="/export/home/jm/tools/perl586/bin/perl"  -DPERL_WARN=""  -DPERL_TAINT="" -m755 -ispamassassin.raw -ospamassassin
cp spamassassin blib/script/spamassassin
/export/home/jm/tools/perl586/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/spamassassin
/export/home/jm/tools/perl586/bin/perl build/preprocessor  -Mvars  -DVERSION="3.004000"  -DPREFIX="/local/perl586"  -DDEF_RULES_DIR="/local/perl586/share/spamassassin"  -DLOCAL_RULES_DIR="/local/perl586/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/local/perl586/var/spamassassin"  -DINSTALLSITELIB="/local/perl586/lib/site_perl/5.8.6"  -DCONTACT_ADDRESS="the administrator of that system" -Msharpbang  -Mconditional  -DPERL_BIN="/export/home/jm/tools/perl586/bin/perl"  -DPERL_WARN=""  -DPERL_TAINT="" -m755 -ispamd/spamd.raw -ospamd/spamd
cp spamd/spamd blib/script/spamd
/export/home/jm/tools/perl586/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/spamd
cp sa-check_spamd blib/script/sa-check_spamd
/export/home/jm/tools/perl586/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/sa-check_spamd
/export/home/jm/tools/perl586/bin/perl build/mkrules --exit_on_no_src --src rulesrc --out rules --manifest MANIFEST --manifestskip MANIFEST.SKIP
rulesrc/10_force_active.cf: 0 active rules, 0 other
rulesrc/sandbox/axb/20_axb_misc.cf: 3 active rules, 3 other
rulesrc/sandbox/axb/20_axb_pdf.cf: 2 active rules, 0 other
rulesrc/sandbox/axb/20_bug_6215.cf: 1 active rules, 0 other
rulesrc/sandbox/dos/20_uri.cf: 1 active rules, 2 other
rulesrc/sandbox/dos/70_bugs.cf: 0 active rules, 0 other
rulesrc/sandbox/dos/70_other.cf: 15 active rules, 108 other
rulesrc/sandbox/duncf/20_debt.cf: 2 active rules, 0 other
rulesrc/sandbox/duncf/20_header.cf: 1 active rules, 2 other
rulesrc/sandbox/emailed/00_FVGT_File001.cf: 236 active rules, 369 other
rulesrc/sandbox/emailed/99_alex_dev.cf: 5 active rules, 4 other
rulesrc/sandbox/emailed/99_alex_test.cf: 1 active rules, 0 other
rulesrc/sandbox/fanf/10_headers.cf: 1 active rules, 3 other
rulesrc/sandbox/fanf/20_uri_tests.cf: 0 active rules, 1 other
rulesrc/sandbox/fanf/30_text.cf: 3 active rules, 1 other
rulesrc/sandbox/felicity/70_dnswl.cf: 5 active rules, 0 other
rulesrc/sandbox/felicity/70_iadb.cf: 27 active rules, 0 other
rulesrc/sandbox/felicity/70_other.cf: 57 active rules, 46 other
rulesrc/sandbox/felicity/70_phishing.cf: 11 active rules, 45 other
rulesrc/sandbox/fredt/99_zFVGT_FakeReply.cf: 1 active rules, 70 other
rulesrc/sandbox/hege/20_bug_6295.cf: 0 active rules, 2 other
rulesrc/sandbox/hege/20_hk.cf: 36 active rules, 61 other
rulesrc/sandbox/hstern/20_body_tests.cf: 6 active rules, 2 other
rulesrc/sandbox/hstern/20_head_tests.cf: 3 active rules, 2 other
rulesrc/sandbox/hstern/20_meta_tests.cf: 1 active rules, 0 other
rulesrc/sandbox/hstern/20_uri_tests.cf: 3 active rules, 13 other
rulesrc/sandbox/hstern/70_syndicate.cf: 1 active rules, 15 other
rulesrc/sandbox/jhardin/20_MIME_no_text.cf: 3 active rules, 3 other
rulesrc/sandbox/jhardin/20_advance_fee_reevolved.cf: 0 active rules, 16 other
rulesrc/sandbox/jhardin/20_fillform.cf: 11 active rules, 0 other
rulesrc/sandbox/jhardin/20_lotsa_money.cf: 20 active rules, 79 other
rulesrc/sandbox/jhardin/20_misc_testing.cf: 25 active rules, 50 other
rulesrc/sandbox/jhardin/20_tbird_image_spam.cf: 5 active rules, 14 other
rulesrc/sandbox/jhardin/20_uri_obfu_ws.cf: 2 active rules, 0 other
rulesrc/sandbox/jm/20_basic.cf: 50 active rules, 67 other
rulesrc/sandbox/jm/20_bug_5920.cf: 0 active rules, 3 other
rulesrc/sandbox/jm/20_bug_5984.cf: 2 active rules, 0 other
rulesrc/sandbox/jm/20_bug_6000.cf: 0 active rules, 2 other
rulesrc/sandbox/jm/20_bug_6152.cf: 1 active rules, 0 other
rulesrc/sandbox/jm/20_dob.cf: 1 active rules, 0 other
rulesrc/sandbox/jm/20_games.cf: 0 active rules, 3 other
rulesrc/sandbox/jm/20_sought.cf: 0 active rules, 440 other
rulesrc/sandbox/jm/20_sought2.cf: 0 active rules, 3 other
rulesrc/sandbox/jm/20_sought_fraud.cf: 3 active rules, 661 other
rulesrc/sandbox/jm/20_storm.cf: 0 active rules, 2 other
rulesrc/sandbox/jm/20_xmailer.cf: 43 active rules, 86 other
rulesrc/sandbox/jm/22_bug_5667.cf: 0 active rules, 0 other
rulesrc/sandbox/jm/70_tt_drugs.cf: 2 active rules, 10 other
rulesrc/sandbox/jm/80_sane.cf: 11 active rules, 139 other
rulesrc/sandbox/kb/20_bug_6156.cf: 3 active rules, 0 other
rulesrc/sandbox/kb/20_header.cf: 4 active rules, 1 other
rulesrc/sandbox/kb/70_misc.cf: 8 active rules, 18 other
rulesrc/sandbox/khopesh/20_bug_6271.cf: 8 active rules, 0 other
rulesrc/sandbox/khopesh/20_bug_6299.cf: 0 active rules, 2 other
rulesrc/sandbox/khopesh/20_chickenpox.cf: 0 active rules, 10 other
rulesrc/sandbox/khopesh/20_khop_bl.cf: 10 active rules, 9 other
rulesrc/sandbox/khopesh/20_khop_blessed.cf: 6 active rules, 2 other
rulesrc/sandbox/khopesh/20_khop_experimental.cf: 4 active rules, 25 other
rulesrc/sandbox/khopesh/20_khop_general.cf: 7 active rules, 17 other
rulesrc/sandbox/khopesh/20_khop_lists.cf: 0 active rules, 9 other
rulesrc/sandbox/khopesh/20_khop_sc_bug_6114.cf: 8 active rules, 6 other
rulesrc/sandbox/khopesh/20_s25r.cf: 1 active rules, 15 other
rulesrc/sandbox/khopesh/65_debian.cf: 0 active rules, 11 other
rulesrc/sandbox/kmcgrail/20_test.cf: 3 active rules, 40 other
rulesrc/sandbox/kmcgrail/70_mx.cf: 0 active rules, 4 other
rulesrc/sandbox/kmcgrail/70_phishing.cf: 0 active rules, 1 other
rulesrc/sandbox/kmcgrail/80_deadrules.cf: 6 active rules, 0 other
rulesrc/sandbox/maddoc/99_doc_test.cf: 15 active rules, 31 other
rulesrc/sandbox/mkettler/20_drugs.cf: 2 active rules, 0 other
rulesrc/sandbox/mkettler/25_uribl.cf: 5 active rules, 0 other
rulesrc/sandbox/mmartinec/20_misc.cf: 1 active rules, 12 other
rulesrc/sandbox/mmartinec/20_rpvalid.cf: 1 active rules, 0 other
rulesrc/sandbox/sidney/70_other.cf: 0 active rules, 0 other
rulesrc/sandbox/wtogami/20_anubis.cf: 0 active rules, 12 other
rulesrc/sandbox/wtogami/20_bug_6212_hostkarma.cf: 4 active rules, 5 other
rulesrc/sandbox/wtogami/20_bug_6220_sem.cf: 3 active rules, 1 other
rulesrc/sandbox/wtogami/20_misc.cf: 0 active rules, 0 other
rulesrc/sandbox/wtogami/20_rp_certified.cf: 3 active rules, 0 other
rulesrc/sandbox/wtogami/20_ubl.cf: 0 active rules, 0 other
rulesrc/sandbox/wtogami/20_unsafe.cf: 0 active rules, 5 other
rulesrc/sandbox/wtogami/20_vanity.cf: 1 active rules, 22 other
lint: config: invalid regexp for rule __YOU_WON_03: /\b(?:your?|win+ing|win+ers?|beneficiaries|participants?|individuals?)(?:\s[-a-z\s]{4,30}?)?\s(?:w(?:ere|as)|ha(?:ve|s) be(?:en)?)\s(?:randomly\s(?:selected|cho+sen|cho+sing|picked)|(?:selected|cho+sen|cho+sing|picked)\s(?:[a-z\s]{2,40}?\srandom|randomly|online|lottery|computer\s(?:ballot|wahlgang))/i: Unmatched ( in regex; marked by <-- HERE in m/(?i)\b(?:your?|win+ing|win+ers?|beneficiaries|participants?|individuals?)(?:\s[-a-z\s]{4,30}?)?\s(?:w(?:ere|as)|ha(?:ve|s) be(?:en)?)\s( <-- HERE ?:randomly\s(?:selected|cho+sen|cho+sing|picked)|(?:selected|cho+sen|cho+sing|picked)\s(?:[a-z\s]{2,40}?\srandom|randomly|online|lottery|computer\s(?:ballot|wahlgang))/

ERROR: LINT FAILED, suppressing output: rules/72_active.cf

rules/72_active.cf: no rules promoted
/export/home/jm/tools/perl586/bin/perl build/preprocessor  -Mvars  -DVERSION="3.004000"  -DPREFIX="/local/perl586"  -DDEF_RULES_DIR="/local/perl586/share/spamassassin"  -DLOCAL_RULES_DIR="/local/perl586/etc/mail/spamassassin"  -DLOCAL_STATE_DIR="/local/perl586/var/spamassassin"  -DINSTALLSITELIB="/local/perl586/lib/site_perl/5.8.6"  -DCONTACT_ADDRESS="the administrator of that system" -Msharpbang  -Mconditional  -DPERL_BIN="/export/home/jm/tools/perl586/bin/perl"  -DPERL_WARN=""  -DPERL_TAINT="" -m755 -isa-update.raw -osa-update
cp sa-update blib/script/sa-update
/export/home/jm/tools/perl586/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/sa-update
Manifying blib/man1/sa-compile.1
Manifying blib/man1/spamassassin-run.1
Manifying blib/man1/sa-learn.1
Manifying blib/man1/spamassassin.1
Manifying blib/man1/spamd.1
Manifying blib/man1/spamc.1
Manifying blib/man1/sa-update.1
Manifying blib/man3/Mail::SpamAssassin::Logger::File.3
Manifying blib/man3/Mail::SpamAssassin::AutoWhitelist.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::PhishTag.3
Manifying blib/man3/Mail::SpamAssassin::Message::Metadata.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::AccessDB.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::Pyzor.3
Manifying blib/man3/Mail::SpamAssassin::BayesStore.3
Manifying blib/man3/Mail::SpamAssassin::BayesStore::BDB.3
Manifying blib/man3/Mail::SpamAssassin::Message::Node.3
Manifying blib/man3/Mail::SpamAssassin::PluginHandler.3
Manifying blib/man3/Mail::SpamAssassin::Conf.3
Manifying blib/man3/Mail::SpamAssassin::Util.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::Reuse.3
Manifying blib/man3/Mail::SpamAssassin::Message.3
Manifying blib/man3/Mail::SpamAssassin::Logger::Stderr.3
Manifying blib/man3/Mail::SpamAssassin::ArchiveIterator.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::Bayes.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::Razor2.3
Manifying blib/man3/Mail::SpamAssassin::Conf::Parser.3
Manifying blib/man3/Mail::SpamAssassin::AsyncLoop.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::DKIM.3
Manifying blib/man3/spamassassin-run.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::VBounce.3
Manifying blib/man3/Mail::SpamAssassin::BayesStore::MySQL.3
Manifying blib/man3/Mail::SpamAssassin::Conf::LDAP.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::OneLineBodyRuleType.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::Rule2XSBody.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::Check.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::DCC.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::BodyRuleBaseExtractor.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::SpamCop.3
Manifying blib/man3/Mail::SpamAssassin::Bayes.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::WhiteListSubject.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::AWL.3
Manifying blib/man3/Mail::SpamAssassin::Logger.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::AntiVirus.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::Hashcash.3
Manifying blib/man3/Mail::SpamAssassin::Plugin.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::ReplaceTags.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::MIMEHeader.3
Manifying blib/man3/Mail::SpamAssassin.3
Manifying blib/man3/Mail::SpamAssassin::BayesStore::SQL.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::NetCache.3
Manifying blib/man3/Mail::SpamAssassin::Logger::Syslog.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::SPF.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::Shortcircuit.3
Manifying blib/man3/Mail::SpamAssassin::Timeout.3
Manifying blib/man3/Mail::SpamAssassin::Conf::SQL.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::ASN.3
Manifying blib/man3/Mail::SpamAssassin::Client.3
Manifying blib/man3/Mail::SpamAssassin::PerMsgStatus.3
Manifying blib/man3/Mail::SpamAssassin::Util::Progress.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::URIDetail.3
Manifying blib/man3/Mail::SpamAssassin::PerMsgLearner.3
Manifying blib/man3/Mail::SpamAssassin::AICache.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::AutoLearnThreshold.3
Manifying blib/man3/Mail::SpamAssassin::SQLBasedAddrList.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::TextCat.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::URIDNSBL.3
Manifying blib/man3/Mail::SpamAssassin::BayesStore::PgSQL.3
Manifying blib/man3/Mail::SpamAssassin::PersistentAddrList.3
Manifying blib/man3/Mail::SpamAssassin::Util::DependencyInfo.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::Test.3
Manifying blib/man3/Mail::SpamAssassin::DnsResolver.3
Manifying blib/man3/Mail::SpamAssassin::SubProcBackChannel.3
Manifying blib/man3/Mail::SpamAssassin::Plugin::RelayCountry.3
Manifying blib/man3/Mail::SpamAssassin::Util::RegistrarBoundaries.3
+ rm rules/70_sandbox.cf 
+ make build_rules 
+ grep ERROR: make.log 
ERROR: LINT FAILED, suppressing output: rules/72_active.cf
+ exit 2 
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Archiving artifacts
Recording test results


Hudson build is back to normal : SpamAssassin-trunk #4899

Posted by Apache Hudson Server <hu...@hudson.zones.apache.org>.
See <http://hudson.zones.apache.org/hudson/job/SpamAssassin-trunk/4899/changes>



Re: Build failed in Hudson: SpamAssassin-trunk #4898

Posted by John Hardin <jh...@impsec.org>.
On Thu, 18 Feb 2010, John Hardin wrote:

> On Thu, 18 Feb 2010, Apache Hudson Server wrote:
>
>>  [jhardin] tweak lotsa_money components - add some german text
>>
>>  lint: config: invalid regexp for rule __YOU_WON_03:
>>  /\b(?:your?|win+ing|win+ers?|beneficiaries|participants?|individuals?)(?:\s[-a-z\s]{4,30}?)?\s(?:w(?:ere|as)|ha(?:ve|s)
>>  be(?:en)?)\s(?:randomly\s(?:selected|cho+sen|cho+sing|picked)|(?:selected|cho+sen|cho+sing|picked)\s(?:[a-z\s]{2,40}?\srandom|randomly|online|lottery|computer\s(?:ballot|wahlgang))/i:
>>  Unmatched ( in regex; marked by <-- HERE in
>>  m/(?i)\b(?:your?|win+ing|win+ers?|beneficiaries|participants?|individuals?)(?:\s[-a-z\s]{4,30}?)?\s(?:w(?:ere|as)|ha(?:ve|s)
>>  be(?:en)?)\s( <-- HERE
>>  ?:randomly\s(?:selected|cho+sen|cho+sing|picked)|(?:selected|cho+sen|cho+sing|picked)\s(?:[a-z\s]{2,40}?\srandom|randomly|online|lottery|computer\s(?:ballot|wahlgang))/
>>
>>  ERROR: LINT FAILED, suppressing output: rules/72_active.cf
>
> WTF? That passed a full make+make test and masscheck here!

Fixed. So, why doesn't a lint failure cause "make && make test" to fail?

-- 
  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
  jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
   The first time I saw a bagpipe, I thought the player was torturing
   an octopus. I was amazed they could scream so loudly.
                                         -- cat_herder_5263 on Y! SCOX
-----------------------------------------------------------------------
  4 days until George Washington's 278th Birthday

Re: Build failed in Hudson: SpamAssassin-trunk #4898

Posted by Karsten Bräckelmann <gu...@rudersport.de>.
> >> I'll take a closer look, but I think it's an (A B)|(B C) situation and 
> >> you're looking at B there.
> >
> > Indeed, that's exactly it.
> 
> Can you suggest a neater solution for (A B)|(B C) than duplicating B?

Nope, there is none. Not with that exact logic. However, if it is part
of a larger RE, making A optional *might* be a slightly fuzzy option,
changing the logic and required patterns.

Once a trivial (A B)|(B C) grows really large, due to alternations
within each sub-pattern, a meta of two sub-rules of course becomes an
option. Basically, that's exactly the same, just splitting the rule in
two. Might make ghastly rules more maintainable.


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}


Re: Build failed in Hudson: SpamAssassin-trunk #4898

Posted by John Hardin <jh...@impsec.org>.
On Fri, 19 Feb 2010, Karsten Br�ckelmann wrote:

> On Thu, 2010-02-18 at 18:29 -0800, John Hardin wrote:
>> Write-only REs. Sorry. :)
>
> Yeah, I know. My problem, if I choose to have a look anyway. ;)
>
>>> Without real close investigation, that seems a little bit redundant.
>>
>> I'll take a closer look, but I think it's an (A B)|(B C) situation and 
>> you're looking at B there.
>
> Indeed, that's exactly it.

Can you suggest a neater solution for (A B)|(B C) than duplicating B?

-- 
  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
  jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
   If someone has a gun and is trying to kill you, it would be
   reasonable to shoot back with your own gun.
                                       -- the Dalai Lama, May 15, 2001
-----------------------------------------------------------------------
  3 days until George Washington's 278th Birthday

Re: Build failed in Hudson: SpamAssassin-trunk #4898

Posted by Karsten Bräckelmann <gu...@rudersport.de>.
On Thu, 2010-02-18 at 18:29 -0800, John Hardin wrote:
> Write-only REs. Sorry. :)

Yeah, I know. My problem, if I choose to have a look anyway. ;)

> > Without real close investigation, that seems a little bit redundant.
> 
> I'll take a closer look, but I think it's an (A B)|(B C) situation and 
> you're looking at B there.

Indeed, that's exactly it.


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}


Re: Build failed in Hudson: SpamAssassin-trunk #4898

Posted by John Hardin <jh...@impsec.org>.
On Fri, 19 Feb 2010, Karsten Br�ckelmann wrote:

> On Thu, 2010-02-18 at 16:05 -0800, John Hardin wrote:
>>> ERROR: LINT FAILED, suppressing output: rules/72_active.cf
>>
>> WTF? That passed a full make+make test and masscheck here!
>
> Funny. After a quick look at the blamed RE, trying to keep my eyes from 
> bleeding -- yes, it indeed misses the closing parenthesis exactly there.

Write-only REs. Sorry. :)

> Also, around the same lines:
>
>  ( <-- HERE ?:randomly\s
>    (?:selected|cho+sen|cho+sing|picked)|
>    (?:selected|cho+sen|cho+sing|picked)\s [...]
>
> Without real close investigation, that seems a little bit redundant.

I'll take a closer look, but I think it's an (A B)|(B C) situation and 
you're looking at B there.

-- 
  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
  jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
   If guns kill people, then...
     -- pencils miss spel words.
     -- cars make people drive drunk.
     -- spoons make people fat.
-----------------------------------------------------------------------
  4 days until George Washington's 278th Birthday

Re: Build failed in Hudson: SpamAssassin-trunk #4898

Posted by Karsten Bräckelmann <gu...@rudersport.de>.
On Thu, 2010-02-18 at 16:05 -0800, John Hardin wrote:
> > ERROR: LINT FAILED, suppressing output: rules/72_active.cf
> 
> WTF? That passed a full make+make test and masscheck here!

Funny. After a quick look at the blamed RE, trying to keep my eyes from
bleeding -- yes, it indeed misses the closing parenthesis exactly there.

Also, around the same lines:

  ( <-- HERE ?:randomly\s
    (?:selected|cho+sen|cho+sing|picked)|
    (?:selected|cho+sen|cho+sing|picked)\s [...]

Without real close investigation, that seems a little bit redundant.


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}


Re: Build failed in Hudson: SpamAssassin-trunk #4898

Posted by John Hardin <jh...@impsec.org>.
On Thu, 18 Feb 2010, Apache Hudson Server wrote:

> [jhardin] tweak lotsa_money components - add some german text
>
> lint: config: invalid regexp for rule __YOU_WON_03: 
> /\b(?:your?|win+ing|win+ers?|beneficiaries|participants?|individuals?)(?:\s[-a-z\s]{4,30}?)?\s(?:w(?:ere|as)|ha(?:ve|s) 
> be(?:en)?)\s(?:randomly\s(?:selected|cho+sen|cho+sing|picked)|(?:selected|cho+sen|cho+sing|picked)\s(?:[a-z\s]{2,40}?\srandom|randomly|online|lottery|computer\s(?:ballot|wahlgang))/i: 
> Unmatched ( in regex; marked by <-- HERE in 
> m/(?i)\b(?:your?|win+ing|win+ers?|beneficiaries|participants?|individuals?)(?:\s[-a-z\s]{4,30}?)?\s(?:w(?:ere|as)|ha(?:ve|s) 
> be(?:en)?)\s( <-- HERE 
> ?:randomly\s(?:selected|cho+sen|cho+sing|picked)|(?:selected|cho+sen|cho+sing|picked)\s(?:[a-z\s]{2,40}?\srandom|randomly|online|lottery|computer\s(?:ballot|wahlgang))/
>
> ERROR: LINT FAILED, suppressing output: rules/72_active.cf

WTF? That passed a full make+make test and masscheck here!

--
  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
  jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
   The first time I saw a bagpipe, I thought the player was torturing
   an octopus. I was amazed they could scream so loudly.
                                         -- cat_herder_5263 on Y! SCOX
-----------------------------------------------------------------------
  4 days until George Washington's 278th Birthday