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 "Jay Berkenbilt (JIRA)" <xe...@xml.apache.org> on 2008/06/22 21:09:45 UTC

[jira] Created: (XERCESC-1812) 3.0.0 beta 1 fails to build on most debian platforms

3.0.0 beta 1 fails to build on most debian platforms
----------------------------------------------------

                 Key: XERCESC-1812
                 URL: https://issues.apache.org/jira/browse/XERCESC-1812
             Project: Xerces-C++
          Issue Type: Bug
          Components: Build
    Affects Versions: 3.0.0
         Environment: debian, experimental distribution
            Reporter: Jay Berkenbilt


My latest attempt to build xerces-c 3.0.0 beta 1, after applying a patch to fix the .o vs. .ao problem discussed earlier, resulted in a successful build on i386, amd64, powerpc, and alpha platforms only.  The other platforms on which a build has been attempted (arm, mipsel, hppa, sparc, s390, ia64) have all failed.

This is an excerpt from the log output on hppa.  It is representative of the failures on the other platforms.

Making all in samples
make[3]: Entering directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
../config/pretty-make Compiling g++ -DHAVE_CONFIG_H -I. -I.. -I../src/xercesc/util  -I../src -I../src   -g -O2 -g -Wall -O2  -c -o src/CreateDOMDocument/CreateDOMDocument.o src/CreateDOMDocument/CreateDOMDocument.cpp
Compiling src/CreateDOMDocument/CreateDOMDocument.cpp
/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2 -g -Wall -O2    -o CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o ../src/libxerces-c.la -lnsl  -L/usr/lib -licuuc -licudata -L/usr/lib -licuuc -licudata -lpthread
mkdir .libs
g++ -g -O2 -g -Wall -O2 -o .libs/CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o  ../src/.libs/libxerces-c.so -lnsl -L/usr/lib -licuuc -licudata -lpthread 
../src/.libs/libxerces-c.so: undefined reference to `xercesc_messages_3_0_root_res'
collect2: ld returned 1 exit status
make[3]: *** [CreateDOMDocument] Error 1
make[3]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
make: *** [debian/stamp-makefile-build] Error 2

You may find links to the build logs on all the platforms from this URL:

http://experimental.debian.net/build.php?pkg=xerces-c

xerces-c is configured with the following (again, hppa as an example):

CC="cc" CXX="g++" CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS="" /build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/configure --build=hppa-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/xerces-c" --disable-maintainer-mode --disable-dependency-tracking --srcdir=.   

This is essentially the default for debian.  I don't pass any special arguments.  The debian xerces packages are built using the ICU transcoder, which seems relevant here.  I have verified from the configure output that the ICU transcoder is being selected on both the successful and unsuccessful builds.

My build is 3.0.0 beta 1 plus changes from subversion through revision 653079.

-- 
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-1812) 3.0.0 beta 1 fails to build on most debian platforms

Posted by "Jay Berkenbilt (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESC-1812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607840#action_12607840 ] 

Jay Berkenbilt commented on XERCESC-1812:
-----------------------------------------

Okay, looking good so far.  At this moment, six platforms have built successfully, included among them some of the previous failures.  I think we can consider this issue resolved.  I haven't actually tested at runtime to make sure the message loader works properly on all the platforms, but I wouldn't necessarily know how to do that or have access to machines to do the testing.  I'm going to go ahead and mark the bug in the debian bug tracking system resolved.  Feel free to close this one as well.

> 3.0.0 beta 1 fails to build on most debian platforms
> ----------------------------------------------------
>
>                 Key: XERCESC-1812
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1812
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.0
>         Environment: debian, experimental distribution
>            Reporter: Jay Berkenbilt
>
> My latest attempt to build xerces-c 3.0.0 beta 1, after applying a patch to fix the .o vs. .ao problem discussed earlier, resulted in a successful build on i386, amd64, powerpc, and alpha platforms only.  The other platforms on which a build has been attempted (arm, mipsel, hppa, sparc, s390, ia64) have all failed.
> This is an excerpt from the log output on hppa.  It is representative of the failures on the other platforms.
> Making all in samples
> make[3]: Entering directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
> ../config/pretty-make Compiling g++ -DHAVE_CONFIG_H -I. -I.. -I../src/xercesc/util  -I../src -I../src   -g -O2 -g -Wall -O2  -c -o src/CreateDOMDocument/CreateDOMDocument.o src/CreateDOMDocument/CreateDOMDocument.cpp
> Compiling src/CreateDOMDocument/CreateDOMDocument.cpp
> /bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2 -g -Wall -O2    -o CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o ../src/libxerces-c.la -lnsl  -L/usr/lib -licuuc -licudata -L/usr/lib -licuuc -licudata -lpthread
> mkdir .libs
> g++ -g -O2 -g -Wall -O2 -o .libs/CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o  ../src/.libs/libxerces-c.so -lnsl -L/usr/lib -licuuc -licudata -lpthread 
> ../src/.libs/libxerces-c.so: undefined reference to `xercesc_messages_3_0_root_res'
> collect2: ld returned 1 exit status
> make[3]: *** [CreateDOMDocument] Error 1
> make[3]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
> make: *** [debian/stamp-makefile-build] Error 2
> You may find links to the build logs on all the platforms from this URL:
> http://experimental.debian.net/build.php?pkg=xerces-c
> xerces-c is configured with the following (again, hppa as an example):
> CC="cc" CXX="g++" CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS="" /build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/configure --build=hppa-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/xerces-c" --disable-maintainer-mode --disable-dependency-tracking --srcdir=.   
> This is essentially the default for debian.  I don't pass any special arguments.  The debian xerces packages are built using the ICU transcoder, which seems relevant here.  I have verified from the configure output that the ICU transcoder is being selected on both the successful and unsuccessful builds.
> My build is 3.0.0 beta 1 plus changes from subversion through revision 653079.

-- 
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-1812) 3.0.0 beta 1 fails to build on most debian platforms

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

Boris Kolpackov commented on XERCESC-1812:
------------------------------------------

There are two independant "components" in Xerces-C++ that could use ICU: transcoder and message loader. The ICU transcoder provides support for a lot more character encodings compared to the built-in transcoder. Then there is the message loader (the one that causes trouble). It allows people to localize the diagnostics messages that are produced by Xerces-C++. Arguably both components are important if the goal it to support as many languages as possible. Let's see if the fix helps before we make any decisions about turning the ICU message loader off.

> 3.0.0 beta 1 fails to build on most debian platforms
> ----------------------------------------------------
>
>                 Key: XERCESC-1812
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1812
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.0
>         Environment: debian, experimental distribution
>            Reporter: Jay Berkenbilt
>
> My latest attempt to build xerces-c 3.0.0 beta 1, after applying a patch to fix the .o vs. .ao problem discussed earlier, resulted in a successful build on i386, amd64, powerpc, and alpha platforms only.  The other platforms on which a build has been attempted (arm, mipsel, hppa, sparc, s390, ia64) have all failed.
> This is an excerpt from the log output on hppa.  It is representative of the failures on the other platforms.
> Making all in samples
> make[3]: Entering directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
> ../config/pretty-make Compiling g++ -DHAVE_CONFIG_H -I. -I.. -I../src/xercesc/util  -I../src -I../src   -g -O2 -g -Wall -O2  -c -o src/CreateDOMDocument/CreateDOMDocument.o src/CreateDOMDocument/CreateDOMDocument.cpp
> Compiling src/CreateDOMDocument/CreateDOMDocument.cpp
> /bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2 -g -Wall -O2    -o CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o ../src/libxerces-c.la -lnsl  -L/usr/lib -licuuc -licudata -L/usr/lib -licuuc -licudata -lpthread
> mkdir .libs
> g++ -g -O2 -g -Wall -O2 -o .libs/CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o  ../src/.libs/libxerces-c.so -lnsl -L/usr/lib -licuuc -licudata -lpthread 
> ../src/.libs/libxerces-c.so: undefined reference to `xercesc_messages_3_0_root_res'
> collect2: ld returned 1 exit status
> make[3]: *** [CreateDOMDocument] Error 1
> make[3]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
> make: *** [debian/stamp-makefile-build] Error 2
> You may find links to the build logs on all the platforms from this URL:
> http://experimental.debian.net/build.php?pkg=xerces-c
> xerces-c is configured with the following (again, hppa as an example):
> CC="cc" CXX="g++" CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS="" /build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/configure --build=hppa-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/xerces-c" --disable-maintainer-mode --disable-dependency-tracking --srcdir=.   
> This is essentially the default for debian.  I don't pass any special arguments.  The debian xerces packages are built using the ICU transcoder, which seems relevant here.  I have verified from the configure output that the ICU transcoder is being selected on both the successful and unsuccessful builds.
> My build is 3.0.0 beta 1 plus changes from subversion through revision 653079.

-- 
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-1812) 3.0.0 beta 1 fails to build on most debian platforms

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

Boris Kolpackov commented on XERCESC-1812:
------------------------------------------

I took a look at the build log and I think you either forgot to patch src/Makefile.am or you didn't run the reconf script (I don't see the root_res.lo object in the library linking command line which I've added).

> 3.0.0 beta 1 fails to build on most debian platforms
> ----------------------------------------------------
>
>                 Key: XERCESC-1812
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1812
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.0
>         Environment: debian, experimental distribution
>            Reporter: Jay Berkenbilt
>
> My latest attempt to build xerces-c 3.0.0 beta 1, after applying a patch to fix the .o vs. .ao problem discussed earlier, resulted in a successful build on i386, amd64, powerpc, and alpha platforms only.  The other platforms on which a build has been attempted (arm, mipsel, hppa, sparc, s390, ia64) have all failed.
> This is an excerpt from the log output on hppa.  It is representative of the failures on the other platforms.
> Making all in samples
> make[3]: Entering directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
> ../config/pretty-make Compiling g++ -DHAVE_CONFIG_H -I. -I.. -I../src/xercesc/util  -I../src -I../src   -g -O2 -g -Wall -O2  -c -o src/CreateDOMDocument/CreateDOMDocument.o src/CreateDOMDocument/CreateDOMDocument.cpp
> Compiling src/CreateDOMDocument/CreateDOMDocument.cpp
> /bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2 -g -Wall -O2    -o CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o ../src/libxerces-c.la -lnsl  -L/usr/lib -licuuc -licudata -L/usr/lib -licuuc -licudata -lpthread
> mkdir .libs
> g++ -g -O2 -g -Wall -O2 -o .libs/CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o  ../src/.libs/libxerces-c.so -lnsl -L/usr/lib -licuuc -licudata -lpthread 
> ../src/.libs/libxerces-c.so: undefined reference to `xercesc_messages_3_0_root_res'
> collect2: ld returned 1 exit status
> make[3]: *** [CreateDOMDocument] Error 1
> make[3]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
> make: *** [debian/stamp-makefile-build] Error 2
> You may find links to the build logs on all the platforms from this URL:
> http://experimental.debian.net/build.php?pkg=xerces-c
> xerces-c is configured with the following (again, hppa as an example):
> CC="cc" CXX="g++" CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS="" /build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/configure --build=hppa-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/xerces-c" --disable-maintainer-mode --disable-dependency-tracking --srcdir=.   
> This is essentially the default for debian.  I don't pass any special arguments.  The debian xerces packages are built using the ICU transcoder, which seems relevant here.  I have verified from the configure output that the ICU transcoder is being selected on both the successful and unsuccessful builds.
> My build is 3.0.0 beta 1 plus changes from subversion through revision 653079.

-- 
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-1812) 3.0.0 beta 1 fails to build on most debian platforms

Posted by "Jay Berkenbilt (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESC-1812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607431#action_12607431 ] 

Jay Berkenbilt commented on XERCESC-1812:
-----------------------------------------

Unfortunately, this didn't fix it.  Since I have access to the platforms, I'll try to debug it and send you a patch.

> 3.0.0 beta 1 fails to build on most debian platforms
> ----------------------------------------------------
>
>                 Key: XERCESC-1812
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1812
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.0
>         Environment: debian, experimental distribution
>            Reporter: Jay Berkenbilt
>
> My latest attempt to build xerces-c 3.0.0 beta 1, after applying a patch to fix the .o vs. .ao problem discussed earlier, resulted in a successful build on i386, amd64, powerpc, and alpha platforms only.  The other platforms on which a build has been attempted (arm, mipsel, hppa, sparc, s390, ia64) have all failed.
> This is an excerpt from the log output on hppa.  It is representative of the failures on the other platforms.
> Making all in samples
> make[3]: Entering directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
> ../config/pretty-make Compiling g++ -DHAVE_CONFIG_H -I. -I.. -I../src/xercesc/util  -I../src -I../src   -g -O2 -g -Wall -O2  -c -o src/CreateDOMDocument/CreateDOMDocument.o src/CreateDOMDocument/CreateDOMDocument.cpp
> Compiling src/CreateDOMDocument/CreateDOMDocument.cpp
> /bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2 -g -Wall -O2    -o CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o ../src/libxerces-c.la -lnsl  -L/usr/lib -licuuc -licudata -L/usr/lib -licuuc -licudata -lpthread
> mkdir .libs
> g++ -g -O2 -g -Wall -O2 -o .libs/CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o  ../src/.libs/libxerces-c.so -lnsl -L/usr/lib -licuuc -licudata -lpthread 
> ../src/.libs/libxerces-c.so: undefined reference to `xercesc_messages_3_0_root_res'
> collect2: ld returned 1 exit status
> make[3]: *** [CreateDOMDocument] Error 1
> make[3]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
> make: *** [debian/stamp-makefile-build] Error 2
> You may find links to the build logs on all the platforms from this URL:
> http://experimental.debian.net/build.php?pkg=xerces-c
> xerces-c is configured with the following (again, hppa as an example):
> CC="cc" CXX="g++" CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS="" /build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/configure --build=hppa-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/xerces-c" --disable-maintainer-mode --disable-dependency-tracking --srcdir=.   
> This is essentially the default for debian.  I don't pass any special arguments.  The debian xerces packages are built using the ICU transcoder, which seems relevant here.  I have verified from the configure output that the ICU transcoder is being selected on both the successful and unsuccessful builds.
> My build is 3.0.0 beta 1 plus changes from subversion through revision 653079.

-- 
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-1812) 3.0.0 beta 1 fails to build on most debian platforms

Posted by "Jay Berkenbilt (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESC-1812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607645#action_12607645 ] 

Jay Berkenbilt commented on XERCESC-1812:
-----------------------------------------

oops -- I hadn't run reconf.  I looked at the patch too fast and saw a Makefile.in in it, so I figured you were controlling those, but I see upon looking with my brain cables properly connected that it wasn't that Makefile.in.  I ran reconf and kept the relevant parts, including src/Makefile.in.  I'll upload again.  Sorry for the noise.

> 3.0.0 beta 1 fails to build on most debian platforms
> ----------------------------------------------------
>
>                 Key: XERCESC-1812
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1812
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.0
>         Environment: debian, experimental distribution
>            Reporter: Jay Berkenbilt
>
> My latest attempt to build xerces-c 3.0.0 beta 1, after applying a patch to fix the .o vs. .ao problem discussed earlier, resulted in a successful build on i386, amd64, powerpc, and alpha platforms only.  The other platforms on which a build has been attempted (arm, mipsel, hppa, sparc, s390, ia64) have all failed.
> This is an excerpt from the log output on hppa.  It is representative of the failures on the other platforms.
> Making all in samples
> make[3]: Entering directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
> ../config/pretty-make Compiling g++ -DHAVE_CONFIG_H -I. -I.. -I../src/xercesc/util  -I../src -I../src   -g -O2 -g -Wall -O2  -c -o src/CreateDOMDocument/CreateDOMDocument.o src/CreateDOMDocument/CreateDOMDocument.cpp
> Compiling src/CreateDOMDocument/CreateDOMDocument.cpp
> /bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2 -g -Wall -O2    -o CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o ../src/libxerces-c.la -lnsl  -L/usr/lib -licuuc -licudata -L/usr/lib -licuuc -licudata -lpthread
> mkdir .libs
> g++ -g -O2 -g -Wall -O2 -o .libs/CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o  ../src/.libs/libxerces-c.so -lnsl -L/usr/lib -licuuc -licudata -lpthread 
> ../src/.libs/libxerces-c.so: undefined reference to `xercesc_messages_3_0_root_res'
> collect2: ld returned 1 exit status
> make[3]: *** [CreateDOMDocument] Error 1
> make[3]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
> make: *** [debian/stamp-makefile-build] Error 2
> You may find links to the build logs on all the platforms from this URL:
> http://experimental.debian.net/build.php?pkg=xerces-c
> xerces-c is configured with the following (again, hppa as an example):
> CC="cc" CXX="g++" CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS="" /build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/configure --build=hppa-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/xerces-c" --disable-maintainer-mode --disable-dependency-tracking --srcdir=.   
> This is essentially the default for debian.  I don't pass any special arguments.  The debian xerces packages are built using the ICU transcoder, which seems relevant here.  I have verified from the configure output that the ICU transcoder is being selected on both the successful and unsuccessful builds.
> My build is 3.0.0 beta 1 plus changes from subversion through revision 653079.

-- 
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-1812) 3.0.0 beta 1 fails to build on most debian platforms

Posted by "Jay Berkenbilt (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESC-1812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607243#action_12607243 ] 

Jay Berkenbilt commented on XERCESC-1812:
-----------------------------------------

I'll try to test soon.  It's hard for me to spend much time on my Debian work during the week, but this should be quick.  It will take a few days to get feedback from the autobuilders.

I could build without ICU.  What functionality loss, if any, would there be?  Since debian is used by people of many languages, I want to make sure xerces has the ability to support as many languages as possible.  When I took over maintenance of the xerces packages (2.3.0), my analysis at the time suggested that the ICU transcoder provided much more support than the native transcoder.  There was also a gnu transcoder, but it had too many problems.  Sorry -- my memory of the details is rusty.

> 3.0.0 beta 1 fails to build on most debian platforms
> ----------------------------------------------------
>
>                 Key: XERCESC-1812
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1812
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.0
>         Environment: debian, experimental distribution
>            Reporter: Jay Berkenbilt
>
> My latest attempt to build xerces-c 3.0.0 beta 1, after applying a patch to fix the .o vs. .ao problem discussed earlier, resulted in a successful build on i386, amd64, powerpc, and alpha platforms only.  The other platforms on which a build has been attempted (arm, mipsel, hppa, sparc, s390, ia64) have all failed.
> This is an excerpt from the log output on hppa.  It is representative of the failures on the other platforms.
> Making all in samples
> make[3]: Entering directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
> ../config/pretty-make Compiling g++ -DHAVE_CONFIG_H -I. -I.. -I../src/xercesc/util  -I../src -I../src   -g -O2 -g -Wall -O2  -c -o src/CreateDOMDocument/CreateDOMDocument.o src/CreateDOMDocument/CreateDOMDocument.cpp
> Compiling src/CreateDOMDocument/CreateDOMDocument.cpp
> /bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2 -g -Wall -O2    -o CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o ../src/libxerces-c.la -lnsl  -L/usr/lib -licuuc -licudata -L/usr/lib -licuuc -licudata -lpthread
> mkdir .libs
> g++ -g -O2 -g -Wall -O2 -o .libs/CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o  ../src/.libs/libxerces-c.so -lnsl -L/usr/lib -licuuc -licudata -lpthread 
> ../src/.libs/libxerces-c.so: undefined reference to `xercesc_messages_3_0_root_res'
> collect2: ld returned 1 exit status
> make[3]: *** [CreateDOMDocument] Error 1
> make[3]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
> make: *** [debian/stamp-makefile-build] Error 2
> You may find links to the build logs on all the platforms from this URL:
> http://experimental.debian.net/build.php?pkg=xerces-c
> xerces-c is configured with the following (again, hppa as an example):
> CC="cc" CXX="g++" CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS="" /build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/configure --build=hppa-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/xerces-c" --disable-maintainer-mode --disable-dependency-tracking --srcdir=.   
> This is essentially the default for debian.  I don't pass any special arguments.  The debian xerces packages are built using the ICU transcoder, which seems relevant here.  I have verified from the configure output that the ICU transcoder is being selected on both the successful and unsuccessful builds.
> My build is 3.0.0 beta 1 plus changes from subversion through revision 653079.

-- 
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-1812) 3.0.0 beta 1 fails to build on most debian platforms

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

Boris Kolpackov closed XERCESC-1812.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0
         Assignee: Boris Kolpackov

Thanks for testing, Jay!

> 3.0.0 beta 1 fails to build on most debian platforms
> ----------------------------------------------------
>
>                 Key: XERCESC-1812
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1812
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.0
>         Environment: debian, experimental distribution
>            Reporter: Jay Berkenbilt
>            Assignee: Boris Kolpackov
>             Fix For: 3.0.0
>
>
> My latest attempt to build xerces-c 3.0.0 beta 1, after applying a patch to fix the .o vs. .ao problem discussed earlier, resulted in a successful build on i386, amd64, powerpc, and alpha platforms only.  The other platforms on which a build has been attempted (arm, mipsel, hppa, sparc, s390, ia64) have all failed.
> This is an excerpt from the log output on hppa.  It is representative of the failures on the other platforms.
> Making all in samples
> make[3]: Entering directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
> ../config/pretty-make Compiling g++ -DHAVE_CONFIG_H -I. -I.. -I../src/xercesc/util  -I../src -I../src   -g -O2 -g -Wall -O2  -c -o src/CreateDOMDocument/CreateDOMDocument.o src/CreateDOMDocument/CreateDOMDocument.cpp
> Compiling src/CreateDOMDocument/CreateDOMDocument.cpp
> /bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2 -g -Wall -O2    -o CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o ../src/libxerces-c.la -lnsl  -L/usr/lib -licuuc -licudata -L/usr/lib -licuuc -licudata -lpthread
> mkdir .libs
> g++ -g -O2 -g -Wall -O2 -o .libs/CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o  ../src/.libs/libxerces-c.so -lnsl -L/usr/lib -licuuc -licudata -lpthread 
> ../src/.libs/libxerces-c.so: undefined reference to `xercesc_messages_3_0_root_res'
> collect2: ld returned 1 exit status
> make[3]: *** [CreateDOMDocument] Error 1
> make[3]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
> make: *** [debian/stamp-makefile-build] Error 2
> You may find links to the build logs on all the platforms from this URL:
> http://experimental.debian.net/build.php?pkg=xerces-c
> xerces-c is configured with the following (again, hppa as an example):
> CC="cc" CXX="g++" CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS="" /build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/configure --build=hppa-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/xerces-c" --disable-maintainer-mode --disable-dependency-tracking --srcdir=.   
> This is essentially the default for debian.  I don't pass any special arguments.  The debian xerces packages are built using the ICU transcoder, which seems relevant here.  I have verified from the configure output that the ICU transcoder is being selected on both the successful and unsuccessful builds.
> My build is 3.0.0 beta 1 plus changes from subversion through revision 653079.

-- 
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-1812) 3.0.0 beta 1 fails to build on most debian platforms

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

Boris Kolpackov commented on XERCESC-1812:
------------------------------------------

I commited a change that should heopefully fix this (I couldn't test it since I don't have access to those architectures). It is commited as revision 670516. Can you let me know if this fixes the problem?

I am also thinking of making ICU message loader non-default even if ICU is available since the current implementation appears very brittle.


> 3.0.0 beta 1 fails to build on most debian platforms
> ----------------------------------------------------
>
>                 Key: XERCESC-1812
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1812
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.0
>         Environment: debian, experimental distribution
>            Reporter: Jay Berkenbilt
>
> My latest attempt to build xerces-c 3.0.0 beta 1, after applying a patch to fix the .o vs. .ao problem discussed earlier, resulted in a successful build on i386, amd64, powerpc, and alpha platforms only.  The other platforms on which a build has been attempted (arm, mipsel, hppa, sparc, s390, ia64) have all failed.
> This is an excerpt from the log output on hppa.  It is representative of the failures on the other platforms.
> Making all in samples
> make[3]: Entering directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
> ../config/pretty-make Compiling g++ -DHAVE_CONFIG_H -I. -I.. -I../src/xercesc/util  -I../src -I../src   -g -O2 -g -Wall -O2  -c -o src/CreateDOMDocument/CreateDOMDocument.o src/CreateDOMDocument/CreateDOMDocument.cpp
> Compiling src/CreateDOMDocument/CreateDOMDocument.cpp
> /bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2 -g -Wall -O2    -o CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o ../src/libxerces-c.la -lnsl  -L/usr/lib -licuuc -licudata -L/usr/lib -licuuc -licudata -lpthread
> mkdir .libs
> g++ -g -O2 -g -Wall -O2 -o .libs/CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o  ../src/.libs/libxerces-c.so -lnsl -L/usr/lib -licuuc -licudata -lpthread 
> ../src/.libs/libxerces-c.so: undefined reference to `xercesc_messages_3_0_root_res'
> collect2: ld returned 1 exit status
> make[3]: *** [CreateDOMDocument] Error 1
> make[3]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
> make: *** [debian/stamp-makefile-build] Error 2
> You may find links to the build logs on all the platforms from this URL:
> http://experimental.debian.net/build.php?pkg=xerces-c
> xerces-c is configured with the following (again, hppa as an example):
> CC="cc" CXX="g++" CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS="" /build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/configure --build=hppa-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/xerces-c" --disable-maintainer-mode --disable-dependency-tracking --srcdir=.   
> This is essentially the default for debian.  I don't pass any special arguments.  The debian xerces packages are built using the ICU transcoder, which seems relevant here.  I have verified from the configure output that the ICU transcoder is being selected on both the successful and unsuccessful builds.
> My build is 3.0.0 beta 1 plus changes from subversion through revision 653079.

-- 
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-1812) 3.0.0 beta 1 fails to build on most debian platforms

Posted by "Jay Berkenbilt (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESC-1812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607266#action_12607266 ] 

Jay Berkenbilt commented on XERCESC-1812:
-----------------------------------------

Ah, okay.  I didn't realize the message loader and the transcoder were separately configurable.  In any case, I uploaded with the fix already.  I keep an eye on the build logs and will update this either way once I know something.

> 3.0.0 beta 1 fails to build on most debian platforms
> ----------------------------------------------------
>
>                 Key: XERCESC-1812
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1812
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.0
>         Environment: debian, experimental distribution
>            Reporter: Jay Berkenbilt
>
> My latest attempt to build xerces-c 3.0.0 beta 1, after applying a patch to fix the .o vs. .ao problem discussed earlier, resulted in a successful build on i386, amd64, powerpc, and alpha platforms only.  The other platforms on which a build has been attempted (arm, mipsel, hppa, sparc, s390, ia64) have all failed.
> This is an excerpt from the log output on hppa.  It is representative of the failures on the other platforms.
> Making all in samples
> make[3]: Entering directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
> ../config/pretty-make Compiling g++ -DHAVE_CONFIG_H -I. -I.. -I../src/xercesc/util  -I../src -I../src   -g -O2 -g -Wall -O2  -c -o src/CreateDOMDocument/CreateDOMDocument.o src/CreateDOMDocument/CreateDOMDocument.cpp
> Compiling src/CreateDOMDocument/CreateDOMDocument.cpp
> /bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2 -g -Wall -O2    -o CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o ../src/libxerces-c.la -lnsl  -L/usr/lib -licuuc -licudata -L/usr/lib -licuuc -licudata -lpthread
> mkdir .libs
> g++ -g -O2 -g -Wall -O2 -o .libs/CreateDOMDocument src/CreateDOMDocument/CreateDOMDocument.o  ../src/.libs/libxerces-c.so -lnsl -L/usr/lib -licuuc -licudata -lpthread 
> ../src/.libs/libxerces-c.so: undefined reference to `xercesc_messages_3_0_root_res'
> collect2: ld returned 1 exit status
> make[3]: *** [CreateDOMDocument] Error 1
> make[3]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/samples'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1'
> make: *** [debian/stamp-makefile-build] Error 2
> You may find links to the build logs on all the platforms from this URL:
> http://experimental.debian.net/build.php?pkg=xerces-c
> xerces-c is configured with the following (again, hppa as an example):
> CC="cc" CXX="g++" CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS="" /build/buildd/xerces-c-3.0.0~b1/build-tree/xerces-c-3.0.0.b1/configure --build=hppa-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/xerces-c" --disable-maintainer-mode --disable-dependency-tracking --srcdir=.   
> This is essentially the default for debian.  I don't pass any special arguments.  The debian xerces packages are built using the ICU transcoder, which seems relevant here.  I have verified from the configure output that the ICU transcoder is being selected on both the successful and unsuccessful builds.
> My build is 3.0.0 beta 1 plus changes from subversion through revision 653079.

-- 
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