You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Joe White (JIRA)" <xe...@xml.apache.org> on 2008/12/02 22:52:44 UTC

[jira] Created: (XERCESC-1844) build failure in Fedora 9 OS

build failure in Fedora 9 OS
----------------------------

                 Key: XERCESC-1844
                 URL: https://issues.apache.org/jira/browse/XERCESC-1844
             Project: Xerces-C++
          Issue Type: Bug
          Components: Build
    Affects Versions: 2.5.0, 2.7.0, 3.0.0
         Environment: Fedora 9: Linux 2.6.25-14.fc9.i686 #1 SMP  i686 i686 i386 GNU/Linux
gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)

            Reporter: Joe White


The src build completes without errors, but the 'samples' and 'test' builds fail.  

The samples build fails at the CreateDOMDocument compilation.

The tests build fails somewhere before DOMRangeTest or XSerializerTest

The sample applications that do get compiled function normally.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Closed: (XERCESC-1844) build failure in Fedora 9 OS

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov closed XERCESC-1844.
------------------------------------

    Resolution: Won't Fix

g++-4.3 is stricter than previous releases in enforcing the C++ standard and was released after 2.5.0 and 2.7.0. You can try the latest release in 2-series (2.8.0) but even that may not build. 3.0.0 is the latest release and is known to compile with g++-4.3.

> build failure in Fedora 9 OS
> ----------------------------
>
>                 Key: XERCESC-1844
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1844
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.5.0, 2.7.0
>         Environment: Fedora 9: Linux 2.6.25-14.fc9.i686 #1 SMP  i686 i686 i386 GNU/Linux
> gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)
>            Reporter: Joe White
>
> The src build completes without errors, but the 'samples' and 'test' builds fail.  
> The samples build fails at the CreateDOMDocument compilation.
> The tests build fails somewhere before DOMRangeTest or XSerializerTest
> The sample applications that do get compiled function normally.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Commented: (XERCESC-1844) build failure in Fedora 9 OS

Posted by "Joe White (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESC-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652974#action_12652974 ] 

Joe White commented on XERCESC-1844:
------------------------------------

The main xerces build completes without errors.  The samples and tests builds fail at one point or another.  

I used:

./runConfigure -plinux -cgcc -xg++ 

to build the samples and tests.

Sorry, I made a mistake in the version listed; version 3.0.0-0 samples and tests were not built. I had to use 2.5.0-0 or 2.7.0-0, so I didn't get that far with version 3.0.0-0.  

Version 3.0 should be removed from the 'versions affected' tag.  

Since I didn't capture STDERR initially, I went and remake the tests to generate the following (note, I didn't delete the binaries, so these didn't get recompiled):  

"--------------------
[root@theborg tests]# ./runConfigure -plinux -cgcc -xg++
Generating makefiles with the following options ...
Platform: linux
C Compiler: gcc
C++ Compiler: g++
Thread option: pthread
bitsToBuild option: 32
Extra compile options: 
Extra link options: 
Debug is OFF

creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc   -w -O -DNDEBUG  -DXML_USE_PTHREADS      ) works... yes
checking whether the C compiler (gcc   -w -O -DNDEBUG  -DXML_USE_PTHREADS      ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... g++
checking whether the C++ compiler (g++   -w -O -DNDEBUG  -DXML_USE_PTHREADS      ) works... yes
checking whether the C++ compiler (g++   -w -O -DNDEBUG  -DXML_USE_PTHREADS      ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for autoconf... autoconf
checking for floor in -lm... yes
checking for pthread_create in -lpthread... yes
checking how to run the C preprocessor... gcc -E
checking for inttypes.h... yes
checking host system type... i686-pc-linux-gnu
updating cache ./config.cache
creating ./config.status
creating Makefile
creating DOM/DeprecatedDOMCount/Makefile
creating DOM/DOMTest/Makefile
creating DOM/DOMMemTest/Makefile
creating DOM/Traversal/Makefile
creating DOM/TypeInfo/Makefile
creating DOM/Normalizer/Makefile
creating EncodingTest/Makefile
creating DOM/RangeTest/Makefile
creating InitTermTest/Makefile
creating ThreadTest/Makefile
creating XSerializerTest/Makefile
creating XSValueTest/Makefile
creating MemHandlerTest/Makefile

Having build problems? Read instructions at http://xml.apache.org/xerces-c/build.html

In future, you may also directly type the following commands to create the Makefiles.

export THREADS="pthread"
export BITSTOBUILD="32"
export CC="gcc"
export CXX="g++"
export CXXVER=""
export CXXFLAGS=" -w -O -DNDEBUG -DXML_USE_PTHREADS "
export CFLAGS=" -w -O -DNDEBUG -DXML_USE_PTHREADS "
export LDFLAGS=" "
export EXTRA_LIBS=" -lpthread"
configure

If the result of the above commands look OK to you, go to the directory
/usr/local/packages/xerces-c-src_2_7_0/tests and type "gmake" to make the test cases.
[root@theborg tests]# gmake
test -d /usr/local/packages/xerces-c-src_2_7_0/bin || mkdir /usr/local/packages/xerces-c-src_2_7_0/bin
Building DOMMemTest
gmake -C DOM/DOMMemTest 
gmake[1]: Entering directory `/usr/local/packages/xerces-c-src_2_7_0/tests/DOM/DOMMemTest'
mkdir -p /usr/local/packages/xerces-c-src_2_7_0/tests/DOM/DOMMemTest
gmake[1]: Leaving directory `/usr/local/packages/xerces-c-src_2_7_0/tests/DOM/DOMMemTest'
Building DeprecatedDOMConut
gmake -C DOM/DeprecatedDOMCount 
gmake[1]: Entering directory `/usr/local/packages/xerces-c-src_2_7_0/tests/DOM/DeprecatedDOMCount'
mkdir -p /usr/local/packages/xerces-c-src_2_7_0/tests/DOM/DeprecatedDOMCount
gmake[1]: Leaving directory `/usr/local/packages/xerces-c-src_2_7_0/tests/DOM/DeprecatedDOMCount'
Building DOMTest
gmake -C DOM/DOMTest 
gmake[1]: Entering directory `/usr/local/packages/xerces-c-src_2_7_0/tests/DOM/DOMTest'
mkdir -p /usr/local/packages/xerces-c-src_2_7_0/tests/DOM/DOMTest
gmake[1]: Leaving directory `/usr/local/packages/xerces-c-src_2_7_0/tests/DOM/DOMTest'
Building DOMTypeInfo
gmake -C DOM/TypeInfo 
gmake[1]: Entering directory `/usr/local/packages/xerces-c-src_2_7_0/tests/DOM/TypeInfo'
mkdir -p /usr/local/packages/xerces-c-src_2_7_0/tests/DOM/TypeInfo
gmake[1]: Leaving directory `/usr/local/packages/xerces-c-src_2_7_0/tests/DOM/TypeInfo'
Building EncodingTest
gmake -C EncodingTest 
gmake[1]: Entering directory `/usr/local/packages/xerces-c-src_2_7_0/tests/EncodingTest'
mkdir -p /usr/local/packages/xerces-c-src_2_7_0/tests/EncodingTest
gmake[1]: Leaving directory `/usr/local/packages/xerces-c-src_2_7_0/tests/EncodingTest'
Building Traversal
gmake -C DOM/Traversal 
gmake[1]: Entering directory `/usr/local/packages/xerces-c-src_2_7_0/tests/DOM/Traversal'
mkdir -p /usr/local/packages/xerces-c-src_2_7_0/tests/DOM/Traversal
gmake[1]: Leaving directory `/usr/local/packages/xerces-c-src_2_7_0/tests/DOM/Traversal'
Building Range
gmake -C DOM/RangeTest 
gmake[1]: Entering directory `/usr/local/packages/xerces-c-src_2_7_0/tests/DOM/RangeTest'
mkdir -p /usr/local/packages/xerces-c-src_2_7_0/tests/DOM/RangeTest
gmake[1]: Leaving directory `/usr/local/packages/xerces-c-src_2_7_0/tests/DOM/RangeTest'
Building InitTermTest
gmake -C InitTermTest 
gmake[1]: Entering directory `/usr/local/packages/xerces-c-src_2_7_0/tests/InitTermTest'
mkdir -p /usr/local/packages/xerces-c-src_2_7_0/tests/InitTermTest
gmake[1]: Leaving directory `/usr/local/packages/xerces-c-src_2_7_0/tests/InitTermTest'
Building MemHandlerTest
gmake -C MemHandlerTest 
gmake[1]: Entering directory `/usr/local/packages/xerces-c-src_2_7_0/tests/MemHandlerTest'
mkdir -p /usr/local/packages/xerces-c-src_2_7_0/tests/MemHandlerTest
gmake[1]: Leaving directory `/usr/local/packages/xerces-c-src_2_7_0/tests/MemHandlerTest'
Building XSerializerTest
gmake -C XSerializerTest 
gmake[1]: Entering directory `/usr/local/packages/xerces-c-src_2_7_0/tests/XSerializerTest'
mkdir -p /usr/local/packages/xerces-c-src_2_7_0/tests/XSerializerTest
gmake[1]: Leaving directory `/usr/local/packages/xerces-c-src_2_7_0/tests/XSerializerTest'
Building XSValueTest
gmake -C XSValueTest 
gmake[1]: Entering directory `/usr/local/packages/xerces-c-src_2_7_0/tests/XSValueTest'
mkdir -p /usr/local/packages/xerces-c-src_2_7_0/tests/XSValueTest
g++ -c -DLINUX -D_REENTRANT -fpic -I. -I/usr/local/packages/xerces-c-src_2_7_0/include -c -w -O -DNDEBUG  -DXML_USE_PTHREADS   -o /usr/local/packages/xerces-c-src_2_7_0/tests/XSValueTest/XSValueTest.o /usr/local/packages/xerces-c-src_2_7_0/tests/XSValueTest/XSValueTest.cpp
/usr/local/packages/xerces-c-src_2_7_0/tests/XSValueTest/XSValueTest.cpp:6741: error: second argument of ΓÇÿint main(int, char*)ΓÇÖ should be ΓÇÿchar **ΓÇÖ
gmake[1]: *** [/usr/local/packages/xerces-c-src_2_7_0/tests/XSValueTest/XSValueTest.o] Error 1
gmake[1]: Leaving directory `/usr/local/packages/xerces-c-src_2_7_0/tests/XSValueTest'
gmake: *** [xsvaluetest] Error 2
[root@theborg tests]# 
------------------"





> build failure in Fedora 9 OS
> ----------------------------
>
>                 Key: XERCESC-1844
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1844
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.5.0, 2.7.0, 3.0.0
>         Environment: Fedora 9: Linux 2.6.25-14.fc9.i686 #1 SMP  i686 i686 i386 GNU/Linux
> gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)
>            Reporter: Joe White
>
> The src build completes without errors, but the 'samples' and 'test' builds fail.  
> The samples build fails at the CreateDOMDocument compilation.
> The tests build fails somewhere before DOMRangeTest or XSerializerTest
> The sample applications that do get compiled function normally.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Commented: (XERCESC-1844) build failure in Fedora 9 OS

Posted by "Jason E. Stewart (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESC-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653196#action_12653196 ] 

Jason E. Stewart commented on XERCESC-1844:
-------------------------------------------

Hey Boris - joe is a xerces-p user having trouble - I'll help him to get 3.0 working, I don't think anyone is excited about going back in history and fixing the builds for 2.5 or 2.7 on Fedora...

> build failure in Fedora 9 OS
> ----------------------------
>
>                 Key: XERCESC-1844
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1844
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.5.0, 2.7.0
>         Environment: Fedora 9: Linux 2.6.25-14.fc9.i686 #1 SMP  i686 i686 i386 GNU/Linux
> gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)
>            Reporter: Joe White
>
> The src build completes without errors, but the 'samples' and 'test' builds fail.  
> The samples build fails at the CreateDOMDocument compilation.
> The tests build fails somewhere before DOMRangeTest or XSerializerTest
> The sample applications that do get compiled function normally.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Commented: (XERCESC-1844) build failure in Fedora 9 OS

Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESC-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652963#action_12652963 ] 

Boris Kolpackov commented on XERCESC-1844:
------------------------------------------

Joe, can you show us the configure command line that you used as well as the errors that you get for Xerces-C++ 3.0.0? I tested 3.0.0 with g++-4.3 on Debian before the release.

> build failure in Fedora 9 OS
> ----------------------------
>
>                 Key: XERCESC-1844
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1844
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.5.0, 2.7.0, 3.0.0
>         Environment: Fedora 9: Linux 2.6.25-14.fc9.i686 #1 SMP  i686 i686 i386 GNU/Linux
> gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)
>            Reporter: Joe White
>
> The src build completes without errors, but the 'samples' and 'test' builds fail.  
> The samples build fails at the CreateDOMDocument compilation.
> The tests build fails somewhere before DOMRangeTest or XSerializerTest
> The sample applications that do get compiled function normally.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Updated: (XERCESC-1844) build failure in Fedora 9 OS

Posted by "Jason E. Stewart (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason E. Stewart updated XERCESC-1844:
--------------------------------------

    Affects Version/s:     (was: 3.0.0)

removing version 3.0

> build failure in Fedora 9 OS
> ----------------------------
>
>                 Key: XERCESC-1844
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1844
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.5.0, 2.7.0
>         Environment: Fedora 9: Linux 2.6.25-14.fc9.i686 #1 SMP  i686 i686 i386 GNU/Linux
> gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)
>            Reporter: Joe White
>
> The src build completes without errors, but the 'samples' and 'test' builds fail.  
> The samples build fails at the CreateDOMDocument compilation.
> The tests build fails somewhere before DOMRangeTest or XSerializerTest
> The sample applications that do get compiled function normally.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org