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 2009/08/20 03:01:15 UTC

[jira] Commented: (XERCESC-1882) Xerces-C++ 3.0.1 fails to build with ICU 4.2

    [ https://issues.apache.org/jira/browse/XERCESC-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745261#action_12745261 ] 

Jay Berkenbilt commented on XERCESC-1882:
-----------------------------------------

I notice that the debian xerces-c-3.0.1 package builds fine with the debian icu 4.2.1 package (both of which I maintain).  There were a number of problems with 4.2 and 4.2.1 with pkgdata, and I have a small patch that fixes the problems in debian.  Upstream has accepted most or all of the patch, but not in time for 4.2.1.  I'll attach the patch to this bug report.  If you'd like, you can see whether building icu with this patch solves the problem.

pkgdata creates .o files based on descriptions of data.  There are at least two problems fixed by this patch.  One is that it failed to run ranlib on libraries it was creating, which messed up some platforms.  Another is that it sometimes decided that it could directly write a .o file even when it couldn't.  See http://bugs.icu-project.org/trac/ticket/6969 for details.


> Xerces-C++ 3.0.1 fails to build with ICU 4.2
> --------------------------------------------
>
>                 Key: XERCESC-1882
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1882
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.1
>         Environment: Affects any platform with ICU 4.2, but I reproduced on OS X.
>            Reporter: Scott Cantor
>         Attachments: pkgdata.patch
>
>
> Xerces-C++ 3.0.1 fails to build with ICU 4.2 because of a dependency on pkgdata's command line that apparently broke.
> The error is "pkgdata no longer supports -M option".
> make  all-recursive
> make[1]: Entering directory `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1'
> Making all in src
> make[2]: Entering directory `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1/src'
> Making all in xercesc/util/MsgLoaders/ICU/resources
> make[3]: Entering directory `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1/src/xercesc/util/MsgLoaders/ICU/resources'
> /usr/bin/genrb root.txt
> /usr/bin/pkgdata --name xercesc_messages_3_0 --mode dll -d . -M '"CC=x86_64-pc-linux-gnu-gcc" "CXX=x86_64-pc-linux-gnu-g++" "AR=x86_64-pc-linux-gnu-ar" "RANLIB=x86_64-pc-linux-gnu-ranlib" "CPPFLAGS=" "CFLAGS=-march=core2 -pipe -O2" "CXXFLAGS=-march=core2 -pipe -O2 " "LDFLAGS=-Wl,-O1,--as-needed,--gc-sections,--hash-style=gnu,--sort-common"' ./res-file-list.txt
> /usr/bin/pkgdata: error in command line argument "-M"
> Run '/usr/bin/pkgdata --help' for help.
> make[3]: *** [xercesc_messages.lo] Error 1
> make[3]: Leaving directory `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1/src/xercesc/util/MsgLoaders/ICU/resources'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1'
> make: *** [all] Error 2

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