0.95.2.cvs compilation succeeded on IRIX 6.5
Daichi Kawahata
daichi.k at aioros.ocn.ne.jp
Fri Aug 5 19:58:19 CEST 2005
Sorry Matthias, I sent a mail directory...
On Fri, 05 Aug 2005 19:40:24 +0200
Matthias Andree wrote:
> > Please take a look at the attached logs, it'd be glad if you
> > give me any hints to have bogofilter working properly.
>
> The logs have probably been stripped by the mailing list software,
> it is configured not to let application/octet-stream pass. Try
> text/plain for logs, or if the logs are larger, just upload them
> to an FTP or HTTP server and tell us the URL or mail it offlist
> to David and me.
Yeah, I've attached again (hope this works).
> > On a side note for IRIX user, if you're using gcc4 as well,
> > you'll have to rename /usr/bin/as to /usr/bin/as.disable or the
> > like, otherwise GSL detecting would fail with error below,
> >
> > as ERROR parsing -no-mdebug: unknown flag
> > as ERROR parsing -mabi=n32: unknown flag
> >
> > (probably path order issue, GNU as was located at
> > /usr/local/bin/as).
>
> Hm. The GSL configure script causes these?
Yes, like the following,
configure:13914: checking for GSL - version >= 1.4
configure:14013: ccache gcc -o conftest [...] -lgslcblas -lm >&5
as ERROR parsing -no-mdebug: unknown flag
as ERROR parsing -mabi=n32: unknown flag
configure:14016: $? = 1
configure: program exited with status 1
> > /** Type we use for a lock cell. */
> > -typedef char cell_t;
> > +typedef short cell_t;
> > +/* typedef char cell_t; */
>
> This looks problematic. Does "unsigned char" work for you?
> Or what was the problem with cell_t being a "char"?
At error_on_irix.log, there seems type mismatch.
Regards,
--
Daichi
-------------- next part --------------
db_lock.c:53: error: conflicting types for 'cell_t'
/usr/local/lib32/gcc/mips-sgi-irix6.5/4.0.0/include/sys/types.h:230: error: previous declaration of 'cell_t' was here
gmake[2]: *** [db_lock.o] Error 1
from /usr/local/lib32/gcc/mips-sgi-irix6.5/4.0.0/include/sys/types.h
230 typedef short cell_t; /* cell ID */
-------------- next part --------------
format.c: In function 'format_float':
format.c:204: warning: format not a string literal, argument types not checked
format.c: In function 'format_spamicity':
format.c:233: warning: format not a string literal, argument types not checked
lexer_v3.c: In function 'yylex':
lexer_v3.c:1853: warning: format '%d' expects type 'int', but argument 3 has type 'long int'
memstr.c: In function 'memstr':
memstr.c:22: warning: cast discards qualifiers from pointer target type
wordlists_base.c: In function 'display_wordlists':
wordlists_base.c:144: warning: format not a string literal, argument types not checked
../gnugetopt/getopt.c:216: warning: function declaration isn't a prototype
../gnugetopt/getopt.c:221: warning: function declaration isn't a prototype
../gnugetopt/getopt.c: In function 'my_index':
../gnugetopt/getopt.c:227: warning: cast discards qualifiers from pointer target type
../gnugetopt/getopt.c: In function '_getopt_initialize':
../gnugetopt/getopt.c:396: warning: unused parameter 'argc'
../gnugetopt/getopt.c:397: warning: unused parameter 'argv'
../gnugetopt/getopt.c: In function '_getopt_internal':
../gnugetopt/getopt.c:564: warning: cast discards qualifiers from pointer target type
../gnugetopt/getopt.c:586: warning: cast discards qualifiers from pointer target type
../gnugetopt/getopt.c:766: warning: cast discards qualifiers from pointer target type
../gnugetopt/getopt.c: At top level:
../gnugetopt/getopt.c:974: warning: function declaration isn't a prototype
bogoutil.c: In function 'display_words':
bogoutil.c:357: warning: format not a string literal, argument types not checked
bogoutil.c:387: warning: format not a string literal, argument types not checked
bogoutil.c:391: warning: format not a string literal, argument types not checked
bogotune.c: In function 'print_parms':
bogotune.c:295: warning: format not a string literal, argument types not checked
bogotune.c: In function 'process_arglist':
bogotune.c:953: warning: implicit declaration of function 'getopt'
bogotune.c:953: warning: nested extern declaration of 'getopt'
-------------- next part --------------
gmake check-TESTS
gmake[5]: Entering directory `/opt/src/bogofilter/src/tests'
./t._abort: line 6: 804977 Abort (core dumped) ( ./abortme )
>>> Using core file "./core".
warning: Warning: GDB can't find the start of the function at 0xfa61648.
>>> Using exec file "abortme".
>>> Running command: gdb -nw -r -batch -nx -x script.gdb.796841 -silent abortme ./core </dev/null
././printcore: line 1: 810535 Segmentation fault (core dumped) gdb -nw -r -batch -nx -x script.gdb.796841 -silent abortme ./core </dev/null
>>> Done.
PASS: t.abort
FAIL: t.env
PASS: t.ctype
FAIL: t.bogodir
SKIP: t.leakfind
- ./checks.810753.20050806T012353/res.lc differ: char 4, line 1
FAIL: t.u_fpe
FAIL: t.longoptions
FAIL: t.ignore_spam_header
FAIL: t.nullstatsprefix
FAIL: t.integrity
FAIL: t.integrity2
cmp: EOF on -
FAIL: t.integrity3
FAIL: t.passthrough-hb
PASS: t.escaped.html
PASS: t.escaped.url
FAIL: t.split
PASS: t.parsing
PASS: t.lexer
PASS: t.lexer.mbx
FAIL: t.encoding
PASS: t.rfc2047_broken
PASS: t.rfc2047_folded
FAIL: t.message_addr
FAIL: t.message_id
FAIL: t.queue_id
error dumping tokens!
error dumping tokens!
error dumping tokens!
error dumping tokens!
error dumping tokens!
error dumping tokens!
error dumping tokens!
PASS: t.dump.load
error dumping tokens!
error dumping tokens!
PASS: t.nonascii.replace
FAIL: t.maint
FAIL: t.robx
FAIL: t.regtest
error dumping tokens!
error dumping tokens!
error dumping tokens!
PASS: t.upgrade.subnet.prefix
FAIL: t.multiple.wordlists
FAIL: t.probe
cmp: EOF on ./checks.808151.20050806T012433/output
FAIL: t.query.config
FAIL: t.score1
FAIL: t.score2
FAIL: t.systest
FAIL: t.grftest
FAIL: t.wordhist
FAIL: t.bulkmode
FAIL: t.MH
FAIL: t.maildir
FAIL: t.bogoutil
FAIL: t.lock1
FAIL: t.lock3
SKIP: t.valgrind
======================
32 of 44 tests failed
(2 tests were not run)
======================
More information about the bogofilter
mailing list