bug-recutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-recutils] [Platform-testers] recutils pre-release 1.4.91 in alp


From: Bruno Haible
Subject: Re: [bug-recutils] [Platform-testers] recutils pre-release 1.4.91 in alpha.gnu.org
Date: Tue, 10 Jan 2012 22:25:53 +0100
User-agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; )

Jose E. Marchesi wrote:
> The pre-release recutils-1.4.91.tar.gz is now available at
> ftp://alpha.gnu.org/gnu/recutils.

Results:

------------------------------------------------------------------------------

* Linux/x86_64
* Linux/IA-64
* Linux/hppa
* Linux/SPARC (32-bit)

All 9 tests passed

------------------------------------------------------------------------------

* Linux/PowerPC (both 32-bit and 64-bit)
* Linux/SPARC (64-bit)
* MacOS X 10.5 (both 32-bit and 64-bit)
* NetBSD 5.1
* OpenBSD 4.9
* Cygwin 1.7.9

  recsel-confidential fail (see recsel-confidential.diff)
  recsel-confidential-fex fail (see recsel-confidential-fex.diff)
  recsel-confidential-fex-value fail (see recsel-confidential-fex-value.diff)
  recsel-confidential-num fail (see recsel-confidential-num.diff)
FAIL: recsel.sh

Find the files attached.

------------------------------------------------------------------------------

* AIX 5.3
* Solaris 9, 10
* mingw

Link error:
libtool: link: xlc -D_ALL_SOURCE -O -Wl,-bM:SRE -o .libs/librec.so.0  
.libs/rec.o .libs/rec-mset.o .libs/rec-utils.o .libs/rec-comment.o 
.libs/rec-field-name.o .libs/rec-field.o .libs/rec-record.o .libs/rec-rset.o 
.libs/rec-db.o .libs/rec-parser.o .libs/rec-writer.o .libs/rec-int.o 
.libs/rec-sex-parser.o .libs/rec-sex-ast.o .libs/rec-sex-tab.o 
.libs/rec-sex-lex.o .libs/rec-sex.o .libs/rec-fex.o .libs/rec-types.o 
.libs/rec-buf.o   ../lib/.libs/libgnu.a  -lc -Wl,-bnoentry  -O   
-Wl,-bE:.libs/librec.exp -Wl,-bernotok
ld: 0711-317 ERROR: Undefined symbol: .strcasestr

* IRIX 6.5

Compilation error:
cc-1515 cc: ERROR File = rec-record.c, Line = 564
  A value of type "int" cannot be assigned to an entity of type "char *".

            occur = strcasestr (field_value, str);
                  ^

1 error detected in the compilation of "rec-record.c".

You need to use gnulib module 'strcasestr'.

Btw, what is the encoding of the strings on which rec-record.c uses
strcasestr() and strstr()? If it can be a multi-byte encoding other than
UTF-8 (such as BIG5 or GB18030), the functions strstr() and strcasestr()
can produce wrong matches. If you know the encoding is the locale encoding
(depends on $LANG), then you should better use the gnulib modules
'mbsstr' and 'mbscasestr' instead. If, however, you don't know the encoding
at all, then forget about this functionality, and don't use strstr() nor
strcasestr().

------------------------------------------------------------------------------

* HP-UX 11.00
* OSF/1 5.1

  recinf-one-record fail (see recinf-one-record.diff)
  recinf-multiple-records fail (see recinf-multiple-records.diff)
  recinf-multiple-named fail (see recinf-multiple-named.diff)
  recinf-multiple-types fail (see recinf-multiple-types.diff)
FAIL: recinf.sh

  recsel-confidential fail (see recsel-confidential.diff)
  recsel-confidential-fex fail (see recsel-confidential-fex.diff)
  recsel-confidential-fex-value fail (see recsel-confidential-fex-value.diff)
  recsel-confidential-num fail (see recsel-confidential-num.diff)
FAIL: recsel.sh

------------------------------------------------------------------------------

Bruno

Attachment: recutils-1.4.91-failures.tar.gz
Description: application/compressed-tar


reply via email to

[Prev in Thread] Current Thread [Next in Thread]