Opened 10 years ago

Closed 9 years ago

#24574 closed defect (fixed)

Xalan-C problems

Reported by: leonhardt.ralph@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: xalanc

Description (last modified by jmroot (Joshua Root))

Attempting to fetch Xalan-C_1_10_0-src.tar.gz from http://www.ibiblio.org/pub/mirrors/apache/xml/xalan-c/source/
--->  Verifying checksum(s) for xalanc
--->  Extracting xalanc
--->  Applying patches to xalanc
--->  Configuring xalanc
--->  Building xalanc
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c" && /usr/bin/gnumake -j2 all " returned error 2
Command output: g++ -O -DNDEBUG     -fno-elide-constructors -Wall -fno-elide-constructors -DMACOSX -D_REENTRANT -DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/include -I../../nls/include -I/opt/local/src/ -I/opt/local/include/xercesc -I/opt/local/include/  -o ../../obj/XalanEXSLTDynamic.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src/xalanc/XalanEXSLT/XalanEXSLTDynamic.cpp
g++ -O -DNDEBUG     -fno-elide-constructors -Wall -fno-elide-constructors -DMACOSX -D_REENTRANT -DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/include -I../../nls/include -I/opt/local/src/ -I/opt/local/include/xercesc -I/opt/local/include/  -o ../../obj/XalanEXSLTMath.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src/xalanc/XalanEXSLT/XalanEXSLTMath.cpp
g++ -O -DNDEBUG     -fno-elide-constructors -Wall -fno-elide-constructors -DMACOSX -D_REENTRANT -DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/include -I../../nls/include -I/opt/local/src/ -I/opt/local/include/xercesc -I/opt/local/include/  -o ../../obj/XalanEXSLTSet.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src/xalanc/XalanEXSLT/XalanEXSLTSet.cpp
g++ -O -DNDEBUG     -fno-elide-constructors -Wall -fno-elide-constructors -DMACOSX -D_REENTRANT -DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/include -I../../nls/include -I/opt/local/src/ -I/opt/local/include/xercesc -I/opt/local/include/  -o ../../obj/XalanEXSLTString.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src/xalanc/XalanEXSLT/XalanEXSLTString.cpp
g++ -O -DNDEBUG     -fno-elide-constructors -Wall -fno-elide-constructors -DMACOSX -D_REENTRANT -DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/include -I../../nls/include -I/opt/local/src/ -I/opt/local/include/xercesc -I/opt/local/include/  -o ../../obj/XalanDiagnosticMemoryManager.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src/xalanc/Harness/XalanDiagnosticMemoryManager.cpp
g++ -O -DNDEBUG     -fno-elide-constructors -Wall -fno-elide-constructors -DMACOSX -D_REENTRANT -DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/include -I../../nls/include -I/opt/local/src/ -I/opt/local/include/xercesc -I/opt/local/include/  -o ../../obj/XalanFileUtility.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src/xalanc/Harness/XalanFileUtility.cpp
In file included from /usr/include/c++/4.0.0/backward/strstream:51,
                 from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src/xalanc/Harness/XalanFileUtility.hpp:30,
                 from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src/xalanc/Harness/XalanFileUtility.cpp:17:
/usr/include/c++/4.0.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
g++ -O -DNDEBUG     -fno-elide-constructors -Wall -fno-elide-constructors -DMACOSX -D_REENTRANT -DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/include -I../../nls/include -I/opt/local/src/ -I/opt/local/include/xercesc -I/opt/local/include/  -o ../../obj/XalanXMLFileReporter.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src/xalanc/Harness/XalanXMLFileReporter.cpp
g++ -O -DNDEBUG     -fno-elide-constructors -Wall -fno-elide-constructors -DMACOSX -D_REENTRANT -DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/include -I../../nls/include -I/opt/local/src/ -I/opt/local/include/xercesc -I/opt/local/include/  -o ../../obj/process.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src/xalanc/TestXSLT/process.cpp
g++ -O -DNDEBUG     -fno-elide-constructors -Wall -fno-elide-constructors -DMACOSX -D_REENTRANT -DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/include -I../../nls/include -I/opt/local/src/ -I/opt/local/include/xercesc -I/opt/local/include/  -o ../../obj/TestXPath.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src/xalanc/TestXPath/TestXPath.cpp
g++ -O -DNDEBUG     -fno-elide-constructors -Wall -fno-elide-constructors -DMACOSX -D_REENTRANT -DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/include -I../../nls/include -I/opt/local/src/ -I/opt/local/include/xercesc -I/opt/local/include/  -o ../../obj/NodeNameTreeWalker.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src/xalanc/TestXPath/NodeNameTreeWalker.cpp
g++ -O -DNDEBUG     -fno-elide-constructors -Wall -fno-elide-constructors -DMACOSX -D_REENTRANT -DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER -c -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/include -I../../nls/include -I/opt/local/src/ -I/opt/local/include/xercesc -I/opt/local/include/  -o ../../obj/XalanExe.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src/xalanc/XalanExe/XalanExe.cpp
g++ -O -DNDEBUG     -fno-elide-constructors -DMACOSX -dynamiclib -prebind -seg1addr 0x38000000  -compatibility_version 1 -current_version 1.10 -install_name /opt/local/lib/libxalan-c.dylib -L/opt/local/lib      -lm  -lpthread  -L/usr/lib -L/usr/local/lib -L/opt/local/lib -lxerces-c -L../../lib -lxalanMsg ../../obj/XalanAttr.o ../../obj/XalanCDataSection.o ../../obj/XalanCharacterData.o ../../obj/XalanComment.o ../../obj/XalanDOMException.o ../../obj/XalanDOMImplementation.o ../../obj/XalanDOMInit.o ../../obj/XalanDOMString.o ../../obj/XalanDocument.o ../../obj/XalanDocumentFragment.o ../../obj/XalanDocumentType.o ../../obj/XalanElement.o ../../obj/XalanEmptyNamedNodeMap.o ../../obj/XalanEntity.o ../../obj/XalanEntityReference.o ../../obj/XalanNamedNodeMap.o ../../obj/XalanNode.o ../../obj/XalanNodeList.o ../../obj/XalanNodeListDummy.o ../../obj/XalanNodeListSurrogate.o ../../obj/XalanNotation.o ../../obj/XalanProcessingInstruction.o ../../obj/XalanText.o ../../obj/AttributeListImpl.o ../../obj/AttributesImpl.o ../../obj/DOMStringHelper.o ../../obj/DOMStringPrintWriter.o ../../obj/DoubleSupport.o ../../obj/ExecutionContext.o ../../obj/FormatterListener.o ../../obj/NamedNodeMapAttributeList.o ../../obj/NullPrintWriter.o ../../obj/PlatformSupportInit.o ../../obj/PrefixResolver.o ../../obj/PrintWriter.o ../../obj/Resettable.o ../../obj/StdBinInputStream.o ../../obj/StringTokenizer.o ../../obj/URISupport.o ../../obj/Writer.o ../../obj/XSLException.o ../../obj/XalanBitmap.o ../../obj/XalanDOMStringAllocator.o ../../obj/XalanDOMStringCache.o ../../obj/XalanDOMStringHashTable.o ../../obj/XalanDOMStringPool.o ../../obj/XalanDOMStringReusableAllocator.o ../../obj/XalanDecimalFormatSymbols.o ../../obj/XalanEncodingPropertyCache.o ../../obj/XalanFStreamOutputStream.o ../../obj/XalanFileOutputStream.o ../../obj/XalanICUMessageLoader.o ../../obj/XalanInMemoryMessageLoader.o ../../obj/XalanMemoryManagement.o ../../obj/XalanMemoryManagerDefault.o ../../obj/XalanMessageLoader.o ../../obj/XalanNLSMessageLoader.o ../../obj/XalanNullOutputStream.o ../../obj/XalanNumberFormat.o ../../obj/XalanOutputStream.o ../../obj/XalanOutputStreamPrintWriter.o ../../obj/XalanParsedURI.o ../../obj/XalanReferenceCountedObject.o ../../obj/XalanSimplePrefixResolver.o ../../obj/XalanStdOutputStream.o ../../obj/XalanToXercesTranscoderWrapper.o ../../obj/XalanTranscodingServices.o ../../obj/XalanUTF16Transcoder.o ../../obj/XalanXMLChar.o ../../obj/DOMServices.o ../../obj/DOMSupport.o ../../obj/DOMSupportDefault.o ../../obj/DOMSupportException.o ../../obj/DOMSupportInit.o ../../obj/TreeWalker.o ../../obj/XalanDocumentPrefixResolver.o ../../obj/XalanNamespacesStack.o ../../obj/FormatterToDOM.o ../../obj/FormatterToHTML.o ../../obj/FormatterToNull.o ../../obj/FormatterToText.o ../../obj/FormatterToXML.o ../../obj/FormatterTreeWalker.o ../../obj/XMLParserLiaison.o ../../obj/XMLSupportException.o ../../obj/XMLSupportInit.o ../../obj/XalanHTMLElementsProperties.o ../../obj/XalanUTF16Writer.o ../../obj/XalanUTF8Writer.o ../../obj/XalanXMLSerializerBase.o ../../obj/XalanXMLSerializerFactory.o ../../obj/ElementPrefixResolverProxy.o ../../obj/FormatterStringLengthCounter.o ../../obj/Function.o ../../obj/FunctionConcat.o ../../obj/FunctionContains.o ../../obj/FunctionID.o ../../obj/FunctionLang.o ../../obj/FunctionNamespaceURI.o ../../obj/FunctionNormalizeSpace.o ../../obj/FunctionStartsWith.o ../../obj/FunctionString.o ../../obj/FunctionSubstring.o ../../obj/FunctionSubstringAfter.o ../../obj/FunctionSubstringBefore.o ../../obj/FunctionTranslate.o ../../obj/MutableNodeRefList.o ../../obj/NodeRefList.o ../../obj/NodeRefListBase.o ../../obj/XBoolean.o ../../obj/XNodeSet.o ../../obj/XNodeSetAllocator.o ../../obj/XNodeSetBase.o ../../obj/XNodeSetNodeProxy.o ../../obj/XNodeSetNodeProxyAllocator.o ../../obj/XNodeSetResultTreeFragProxy.o ../../obj/XNull.o ../../obj/XNumber.o ../../obj/XNumberAllocator.o ../../obj/XNumberBase.o ../../obj/XObject.o ../../obj/XObjectFactory.o ../../obj/XObjectFactoryDefault.o ../../obj/XObjectResultTreeFragProxy.o ../../obj/XObjectResultTreeFragProxyBase.o ../../obj/XObjectResultTreeFragProxyText.o ../../obj/XObjectTypeCallback.o ../../obj/XPath.o ../../obj/XPathAllocator.o ../../obj/XPathConstructionContext.o ../../obj/XPathConstructionContextDefault.o ../../obj/XPathEnvSupport.o ../../obj/XPathEnvSupportDefault.o ../../obj/XPathEvaluator.o ../../obj/XPathExecutionContext.o ../../obj/XPathExecutionContextDefault.o ../../obj/XPathExpression.o ../../obj/XPathFactory.o ../../obj/XPathFactoryBlock.o ../../obj/XPathFactoryDefault.o ../../obj/XPathFunctionTable.o ../../obj/XPathInit.o ../../obj/XPathParserException.o ../../obj/XPathProcessor.o ../../obj/XPathProcessorImpl.o ../../obj/XSpan.o ../../obj/XString.o ../../obj/XStringAdapter.o ../../obj/XStringAdapterAllocator.o ../../obj/XStringAllocator.o ../../obj/XStringBase.o ../../obj/XStringCached.o ../../obj/XStringCachedAllocator.o ../../obj/XStringReference.o ../../obj/XStringReferenceAllocator.o ../../obj/XToken.o ../../obj/XTokenNumberAdapter.o ../../obj/XTokenNumberAdapterAllocator.o ../../obj/XTokenStringAdapter.o ../../obj/XTokenStringAdapterAllocator.o ../../obj/XUnknown.o ../../obj/XalanDocumentFragmentNodeRefListBaseProxy.o ../../obj/XalanQName.o ../../obj/XalanQNameByReference.o ../../obj/XalanQNameByValue.o ../../obj/XalanQNameByValueAllocator.o ../../obj/XalanXPathException.o ../../obj/FormatterToXercesDOM.o ../../obj/XercesAttrWrapper.o ../../obj/XercesAttrWrapperAllocator.o ../../obj/XercesCDATASectionWrapper.o ../../obj/XercesCommentWrapper.o ../../obj/XercesDOMException.o ../../obj/XercesDOMFormatterWalker.o ../../obj/XercesDOMImplementationWrapper.o ../../obj/XercesDOMSupport.o ../../obj/XercesDOMWalker.o ../../obj/XercesDOMWrapperException.o ../../obj/XercesDocumentTypeWrapper.o ../../obj/XercesDocumentWrapper.o ../../obj/XercesElementWrapper.o ../../obj/XercesElementWrapperAllocator.o ../../obj/XercesEntityReferenceWrapper.o ../../obj/XercesEntityWrapper.o ../../obj/XercesLiaisonXalanDOMStringPool.o ../../obj/XercesNamedNodeMapAttributeList.o ../../obj/XercesNamedNodeMapWrapper.o ../../obj/XercesNodeListWrapper.o ../../obj/XercesNotationWrapper.o ../../obj/XercesParserLiaison.o ../../obj/XercesProcessingInstructionWrapper.o ../../obj/XercesTextWrapper.o ../../obj/XercesTextWrapperAllocator.o ../../obj/XercesWrapperHelper.o ../../obj/XercesWrapperNavigator.o ../../obj/XercesWrapperNavigatorAllocator.o ../../obj/XercesWrapperToXalanNodeMap.o ../../obj/FormatterToDeprecatedXercesDOM.o ../../obj/XercesAttrBridge.o ../../obj/XercesAttributeBridgeAllocator.o ../../obj/XercesBridgeHelper.o ../../obj/XercesBridgeNavigator.o ../../obj/XercesCDATASectionBridge.o ../../obj/XercesCommentBridge.o ../../obj/XercesDOMImplementationBridge.o ../../obj/XercesDOM_NodeHack.o ../../obj/XercesDocumentBridge.o ../../obj/XercesDocumentFragmentBridge.o ../../obj/XercesDocumentTypeBridge.o ../../obj/XercesElementBridge.o ../../obj/XercesElementBridgeAllocator.o ../../obj/XercesEntityBridge.o ../../obj/XercesEntityReferenceBridge.o ../../obj/XercesNamedNodeMapBridge.o ../../obj/XercesNodeListBridge.o ../../obj/XercesNotationBridge.o ../../obj/XercesProcessingInstructionBridge.o ../../obj/XercesTextBridge.o ../../obj/XercesTextBridgeAllocator.o ../../obj/XercesToXalanNodeMap.o ../../obj/XercesTreeWalker.o ../../obj/FormatterToSourceTree.o ../../obj/XalanSourceTreeAttr.o ../../obj/XalanSourceTreeAttrNS.o ../../obj/XalanSourceTreeAttributeAllocator.o ../../obj/XalanSourceTreeAttributeNSAllocator.o ../../obj/XalanSourceTreeComment.o ../../obj/XalanSourceTreeCommentAllocator.o ../../obj/XalanSourceTreeContentHandler.o ../../obj/XalanSourceTreeDOMSupport.o ../../obj/XalanSourceTreeDocument.o ../../obj/XalanSourceTreeDocumentFragment.o ../../obj/XalanSourceTreeElement.o ../../obj/XalanSourceTreeElementA.o ../../obj/XalanSourceTreeElementAAllocator.o ../../obj/XalanSourceTreeElementANS.o ../../obj/XalanSourceTreeElementANSAllocator.o ../../obj/XalanSourceTreeElementNA.o ../../obj/XalanSourceTreeElementNAAllocator.o ../../obj/XalanSourceTreeElementNANS.o ../../obj/XalanSourceTreeElementNANSAllocator.o ../../obj/XalanSourceTreeHelper.o ../../obj/XalanSourceTreeInit.o ../../obj/XalanSourceTreeParserLiaison.o ../../obj/XalanSourceTreeProcessingInstruction.o ../../obj/XalanSourceTreeProcessingInstructionAllocator.o ../../obj/XalanSourceTreeText.o ../../obj/XalanSourceTreeTextAllocator.o ../../obj/XalanSourceTreeTextIWS.o ../../obj/XalanSourceTreeTextIWSAllocator.o ../../obj/XPathCAPI.o ../../obj/AVT.o ../../obj/AVTPart.o ../../obj/AVTPartSimple.o ../../obj/AVTPartXPath.o ../../obj/Constants.o ../../obj/CountersTable.o ../../obj/ElemApplyImport.o ../../obj/ElemApplyTemplates.o ../../obj/ElemAttribute.o ../../obj/ElemAttributeSet.o ../../obj/ElemCallTemplate.o ../../obj/ElemChoose.o ../../obj/ElemComment.o ../../obj/ElemCopy.o ../../obj/ElemCopyOf.o ../../obj/ElemDecimalFormat.o ../../obj/ElemElement.o ../../obj/ElemEmpty.o ../../obj/ElemExtensionCall.o ../../obj/ElemFallback.o ../../obj/ElemForEach.o ../../obj/ElemForwardCompatible.o ../../obj/ElemIf.o ../../obj/ElemLiteralResult.o ../../obj/ElemMessage.o ../../obj/ElemNumber.o ../../obj/ElemOtherwise.o ../../obj/ElemPI.o ../../obj/ElemParam.o ../../obj/ElemSort.o ../../obj/ElemTemplate.o ../../obj/ElemTemplateElement.o ../../obj/ElemText.o ../../obj/ElemTextLiteral.o ../../obj/ElemUse.o ../../obj/ElemValueOf.o ../../obj/ElemVariable.o ../../obj/ElemWhen.o ../../obj/ElemWithParam.o ../../obj/ExtensionFunctionHandler.o ../../obj/ExtensionNSHandler.o ../../obj/FunctionCurrent.o ../../obj/FunctionDocument.o ../../obj/FunctionElementAvailable.o ../../obj/FunctionFormatNumber.o ../../obj/FunctionFunctionAvailable.o ../../obj/FunctionGenerateID.o ../../obj/FunctionKey.o ../../obj/FunctionSystemProperty.o ../../obj/FunctionUnparsedEntityURI.o ../../obj/GenerateEvent.o ../../obj/KeyTable.o ../../obj/NamespacesHandler.o ../../obj/NodeSortKey.o ../../obj/NodeSorter.o ../../obj/OutputContextStack.o ../../obj/ProblemListener.o ../../obj/ProblemListenerDefault.o ../../obj/ResultNamespacesStack.o ../../obj/SelectionEvent.o ../../obj/Stylesheet.o ../../obj/StylesheetConstructionContext.o ../../obj/StylesheetConstructionContextDefault.o ../../obj/StylesheetExecutionContext.o ../../obj/StylesheetExecutionContextDefault.o ../../obj/StylesheetHandler.o ../../obj/StylesheetRoot.o ../../obj/TopLevelArg.o ../../obj/TraceListener.o ../../obj/TraceListenerDefault.o ../../obj/TracerEvent.o ../../obj/VariablesStack.o ../../obj/XResultTreeFrag.o ../../obj/XResultTreeFragAllocator.o ../../obj/XSLTEngineImpl.o ../../obj/XSLTInit.o ../../obj/XSLTInputSource.o ../../obj/XSLTProcessor.o ../../obj/XSLTProcessorEnvSupport.o ../../obj/XSLTProcessorEnvSupportDefault.o ../../obj/XSLTProcessorException.o ../../obj/XSLTResultTarget.o ../../obj/XalanAVTAllocator.o ../../obj/XalanAVTPartSimpleAllocator.o ../../obj/XalanAVTPartXPathAllocator.o ../../obj/XalanElemApplyTemplatesAllocator.o ../../obj/XalanElemAttributeAllocator.o ../../obj/XalanElemAttributeSetAllocator.o ../../obj/XalanElemCallTemplateAllocator.o ../../obj/XalanElemElementAllocator.o ../../obj/XalanElemEmptyAllocator.o ../../obj/XalanElemLiteralResultAllocator.o ../../obj/XalanElemTemplateAllocator.o ../../obj/XalanElemTextAllocator.o ../../obj/XalanElemTextLiteralAllocator.o ../../obj/XalanElemValueOfAllocator.o ../../obj/XalanElemVariableAllocator.o ../../obj/XalanMatchPatternData.o ../../obj/XalanMatchPatternDataAllocator.o ../../obj/XalanNumberingResourceBundle.o ../../obj/XalanSourceTreeDocumentAllocator.o ../../obj/XalanSourceTreeDocumentFragmentAllocator.o ../../obj/XalanSpaceNodeTester.o ../../obj/FunctionDifference.o ../../obj/FunctionDistinct.o ../../obj/FunctionEvaluate.o ../../obj/FunctionHasSameNodes.o ../../obj/FunctionIntersection.o ../../obj/FunctionNodeSet.o ../../obj/XalanExtensions.o ../../obj/XalanCAPI.o ../../obj/XalanCompiledStylesheetDefault.o ../../obj/XalanDefaultDocumentBuilder.o ../../obj/XalanDefaultParsedSource.o ../../obj/XalanParsedSource.o ../../obj/XalanSourceTreeWrapperParsedSource.o ../../obj/XalanTransformer.o ../../obj/XalanTransformerOutputStream.o ../../obj/XalanTransformerProblemListener.o ../../obj/XercesDOMParsedSource.o ../../obj/XercesDOMWrapperParsedSource.o ../../obj/XalanEXSLTCommon.o ../../obj/XalanEXSLTDateTime.o ../../obj/XalanEXSLTDynamic.o ../../obj/XalanEXSLTMath.o ../../obj/XalanEXSLTSet.o ../../obj/XalanEXSLTString.o ../../obj/XalanDiagnosticMemoryManager.o ../../obj/XalanFileUtility.o ../../obj/XalanXMLFileReporter.o -o ../../lib/libxalan-c.110.0.dylib 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src/xalanc/XalanExe/XalanExe.cpp: In function 'int xsltMain(int, char**)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src/xalanc/XalanExe/XalanExe.cpp:837: warning: control may reach end of non-void function 'int transform(xalanc_1_10::XalanTransformer&, const Params&)' being inlined
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src/xalanc/XalanExe/XalanExe.cpp:789: warning: control may reach end of non-void function 'int transform(xalanc_1_10::XalanTransformer&, const Params&, const xalanc_1_10::XSLTInputSource&)' being inlined
g++ -O -DNDEBUG     -fno-elide-constructors -Wall -fno-elide-constructors -DMACOSX -D_REENTRANT -DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -L/opt/local/lib   -DXALAN_INMEM_MSG_LOADER   \
	 -L../../lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/lib -lxalan-c -lm  -lpthread  -L/usr/lib -L/usr/local/lib -L/opt/local/lib -lxerces-c -L../../lib -lxalanMsg ../../obj/process.o -o ../../bin/testXSLT	
ld: library not found for -lxalan-c
collect2: ld returned 1 exit status
gnumake[1]: *** [../../bin/testXSLT] Error 1
gnumake[1]: *** Waiting for unfinished jobs....
rm -f ../../lib/libxalan-c.dylib && \
		ln -fs libxalan-c.110.0.dylib ../../lib/libxalan-c.dylib
rm -f ../../lib/libxalan-c.110.dylib && \
		ln -fs libxalan-c.110.0.dylib ../../lib/libxalan-c.110.dylib
gnumake: *** [all] Error 2

Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.
ralph-leonhardts-macbook-air:~ ralphleonhardt$ 

Change History (3)

comment:1 Changed 10 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: xalanc removed
Owner: changed from macports-tickets@… to mww@…

Please remember to preview and use WikiFormatting (though an attachment would be better for such lengthy output), and cc the maintainer.

comment:2 Changed 9 years ago by kbecker@…

I encountered the same error. I was able to get it to complete successfully by turning off parallel builds in port file.

I am running MacOSX 10.5.8 on a 2.93 GHz Intel Core 2 Duo system. The build command generated is:

:msg:configure --->  Building xalanc
:debug:build build phase started at Wed Sep 22 22:37:42 MST 2010
:debug:build Executing org.macports.build (xalanc)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5' XERCESCROOT='/opt/local' XALANCROOT='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c" && /usr/bin/gnumake -j2 all'
:info:build /usr/bin/gnumake -C src/xalanc all
:info:build /usr/bin/gnumake -C Utils locale
:info:build Preparing the directory structure for a build ...
:info:build mkdir -p ../../obj
:info:build mkdir -p ../../lib
:info:build /usr/bin/gnumake -C MsgCreator
:info:build mkdir -p ../../bin
:info:build /usr/bin/gnumake -C Utils prepare

Note the /usr/bin/gnumake -j2 all command. Even with just 2 threads, the build fails.

I added use_parallel_build no in the Portfile and it completed successfully.

Also, I had Xalanc compile errors on a shiny new 64-bit Snow Leopard server system with a two 2.66GHz 6-Core Intel (12 cores) system. Turning off parallel builds also fixed this problem. (if I should submit a separate ticket, please advise). It issued a make command with a -j18 argument!

Seems Xalanc cannot be built reliably with threads.

Which begs the questions, are there other ports with the same problem?

comment:3 Changed 9 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.