Opened 15 years ago
Last modified 15 years ago
#20490 closed defect
xerces3-3.0.1 Compiler error - build failure — at Initial Version
Reported by: | scantor (Scott Cantor) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: | xercesc3 |
Description
There's apparently a bug being created in the Xerces build process by the latest ICU code, 4.2. One of their tools apparently changed command line behavior, and breaks the Xerces makefile.
/opt/local/bin/pkgdata --name xercesc_messages_3_0 --mode dll -d . -M '"CC=/usr/bin/gcc-4.0" "CXX=/usr/bin/g++-4.0" "AR=ar" "RANLIB=ranlib" "CPPFLAGS=-I/opt/local/include" "CFLAGS=-O2" "CXXFLAGS=-O2 -D_THREAD_SAFE " "LDFLAGS=-L/opt/local/lib"' ./res-file-list.txt /opt/local/bin/pkgdata: error in command line argument "-M"
It's not specific to Mac. One of the bugs I found filed on this is here:
http://bugs.gentoo.org/show_bug.cgi?id=269659
I don't know what the fix is at this time, but if I find something I'll record it. If there's a way to forcibly downgrade the port build of icu, that would work around it, but that's not good.