#20490: xercesc3-3.0.1 Compiler error - build failure ------------------------------+--------------------------------------------- Reporter: cantor.2@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: xercesc3 ------------------------------+--------------------------------------------- Changes (by macsforever2000@…): * port: xerces3 => xercesc3 Old 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.
New 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. -- -- Ticket URL: <http://trac.macports.org/ticket/20490#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS