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

Scott Cantor commented on XERCESC-1882:
---------------------------------------

Removing the -M option appears to work for static mode but fails for the 
dll/shared mode.

I don't know enough about the icu package or what pkgdata does, but I'll hunt 
around a bit more.

---
make  all-recursive
Making all in src
Making all in xercesc/util/MsgLoaders/ICU/resources
/opt/shibboleth-sp/bin/pkgdata --name xercesc_messages_3_0 --mode dll -d . 
./res-file-list.txt
ld: in ./, can't map file, errno=22
collect2: ld returned 1 exit status
Error generating assembly code for data.
mv xercesc_messages_3_0_dat.o xercesc_messages_3_0_dat-pic.o
/opt/shibboleth-sp/bin/pkgdata --name xercesc_messages_3_0 --mode static -d . 
./res-file-list.txt
ar: creating archive ./libxercesc_messages_3_0.a


> 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
>
> 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-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to