[ expat-Bugs-1033923 ] building expat 1.95.8 on Solaris using Sun's compiler

"SourceForge.net" <[email protected]>
Newsgroups gmane.text.xml.expat.bugs
Message-ID <[email protected]>
Bugs item #1033923, was opened at 2004-09-24 11:46
Message generated for change (Comment added) made by papadopo
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1033923&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Dimitri Papadopoulos (papadopo)
Assigned to: Nobody/Anonymous (nobody)
Summary: building expat 1.95.8 on Solaris using Sun's compiler

Initial Comment:
Hi,

I'm building expat 1.95.8 on Solaris 8 using the Sun
ONE Studio 7 compiler.

The build succeeds, although I see some warnings that
need to be fixed:
"lib/xmlparse.c", line 1572: warning: enum type
mismatch: op "="
"lib/xmlparse.c", line 1578: warning: enum type
mismatch: op "="
"lib/xmlparse.c", line 1586: warning: enum type
mismatch: op "="
"lib/xmlparse.c", line 1719: warning: enum type
mismatch: op "="
"lib/xmlparse.c", line 1725: warning: enum type
mismatch: op "="
"lib/xmlparse.c", line 1733: warning: enum type
mismatch: op "="

The problem is that variable "result" has type
"XML_Error" while the constants in the right part of
the "=" operator have type "XML_Status".


Otherwise I can confirm bug #1000112 where
expat_external.h is not installed.


Finally 'make run-xmltest' fails. Here is the complete log:

wget --output-document=tests/xmlts.zip         http://www.w3.org/XML/Test/xmlts20020606.zip
--11:30:34--  http://www.w3.org/XML/Test/xmlts20020606.zip
           => `tests/xmlts.zip'
Resolving www.w3.org... 128.30.52.25, 133.27.228.207,
18.7.14.127, ...
Connecting to www.w3.org[128.30.52.25]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,551,683 [application/zip]

100%[====================================>] 1,551,683 
  195.26K/s    ETA 00:00

11:30:43 (181.12 KB/s) - `tests/xmlts.zip' saved
[1551683/1551683]

cd tests && unzip -q xmlts.zip
tests/xmltest.sh
tests/xmltest.sh:
/tmp/expat-1.95.8/tests/XML-Test-Suite/xmlconf/ibm/valid/P*/:
does not exist
gmake: *** [run-xmltest] Error 1


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

>Comment By: Dimitri Papadopoulos (papadopo)
Date: 2004-09-24 15:51

Message:
Logged In: YES 
user_id=52414

The directories seem to be there and wget seems to have
downloaded xmlts20020606.zip.

It rather looks like a bug in tests/xmltest.sh.


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

Comment By: Karl Waclawek (kwaclaw)
Date: 2004-09-24 15:24

Message:
Logged In: YES 
user_id=290026

You may be right - I wasn't aware that the XML_Test-Suite
gets downloaded. Can you find  the downloaded directories?
Maybe it has changed - the test scripts are only tested
with a specific release of the test suite.

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

Comment By: Dimitri Papadopoulos (papadopo)
Date: 2004-09-24 15:14

Message:
Logged In: YES 
user_id=52414

No, I haven't installed XML-Test-Suite manually.

Isn't it supposed to be downloaded and installed
automatically? It does seem to be downloaded automatically,
using wget. See log.


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

Comment By: Karl Waclawek (kwaclaw)
Date: 2004-09-24 15:00

Message:
Logged In: YES 
user_id=290026

I think the warning is fixed in CVS. 
For running the tests - did you download and install the
XML-Test-Suite?

Karl

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1033923&group_id=10127
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.