Opened 14 years ago

Last modified 14 years ago

#24183 closed defect

xalan-c 1.10 build failure (undefined symbols) on 32-bit OS X 10.6 — at Version 1

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

Description (last modified by jmroot (Joshua Root))

The xalan-c port on 32bit OS X 10.6/32bit firmware fails. The xerces-c port installed without issue with the same macports.conf settings.

macports.conf settings are:

build_arch			i386

# machine architectures
universal_archs		i386
The following ports are currently installed:
  apache2 @2.2.14_1+darwin+preforkmpm (active)
  apr @1.3.12_1 (active)
  apr-util @1.3.9_2 (active)
  bzip2 @1.0.5_3+darwin (active)
  db46 @4.6.21_6 (active)
  expat @2.0.1_0 (active)
  gperf @3.0.4_0 (active)
  icu @4.3.4_0 (active)
  libiconv @1.13.1_0 (active)
  ncurses @5.7_0+darwin_10 (active)
  ncursesw @5.7_0+darwin_10 (active)
  openssl @0.9.8m_0+darwin (active)
  pcre @7.9_0 (active)
  readline @6.1.000_1+darwin (active)
  sqlite3 @3.6.23_0 (active)
  xercesc @2.8.0_2+darwin (active)
  zlib @1.2.4_1 (active)
sudo port -d install xalanc
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/xalanc
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/xalanc
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: adding the default universal variant
DEBUG: Requested variant i386 is not provided by port xalanc.
DEBUG: Requested variant macosx is not provided by port xalanc.
DEBUG: Executing variant darwin provides darwin
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/xercesc
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: xercesc 2.8.0_2 exists in the ports tree
DEBUG: xercesc 2.8.0_2 +darwin is the latest installed
DEBUG: xercesc 2.8.0_2 +darwin is active
DEBUG: Merging existing variants darwin into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/xercesc
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant i386 is not provided by port xercesc.
DEBUG: Requested variant macosx is not provided by port xercesc.
DEBUG: Executing variant darwin provides darwin
DEBUG: No need to upgrade! xercesc 2.8.0_2 >= xercesc 2.8.0_2
--->  Computing dependencies for xalanc
DEBUG: Searching for dependency: xercesc
DEBUG: Found Dependency: receipt exists for xercesc
DEBUG: Executing org.macports.main (xalanc)
DEBUG: Skipping completed org.macports.fetch (xalanc)
DEBUG: Skipping completed org.macports.checksum (xalanc)
DEBUG: Skipping completed org.macports.extract (xalanc)
DEBUG: Skipping completed org.macports.patch (xalanc)
DEBUG: Skipping completed org.macports.configure (xalanc)
--->  Building xalanc
DEBUG: Executing org.macports.build (xalanc)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6' 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: 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 -j3 all'
/usr/bin/gnumake -C src/xalanc all
/usr/bin/gnumake -C Utils locale
Preparing the directory structure for a build ...
mkdir -p ../../obj
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/XalanNodeListSurrogate.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src/xalanc/XalanDOM/XalanNodeListSurrogate.cpp
/usr/bin/gnumake -C MsgCreator 
mkdir -p ../../lib
mkdir -p ../../bin
/usr/bin/gnumake -C Utils prepare
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/opt/local/lib -lxerces-c ../../../../obj/MsgFileOutputStream.o ../../../../obj/ICUResHandler.o ../../../../obj/InMemHandler.o ../../../../obj/MsgCreator.o ../../../../obj/NLSHandler.o ../../../../obj/SAX2Handler.o -o ../../../../bin/MsgCreator 
mkdir -p ../../../nls
mkdir -p ../../../nls/include
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/XalanNotation.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_xalanc/work/xml-xalan/c/src/xalanc/XalanDOM/XalanNotation.cpp
Undefined symbols:
  "xercesc_2_8::XMLString::release(char**)", referenced from:
      XalanFileOutputStream::writeAsASCII(unsigned short const*, unsigned int)in MsgFileOutputStream.o
      _main in MsgCreator.o
      _main in MsgCreator.o
      _main in MsgCreator.o
      _main in MsgCreator.o
      SAX2Handler::error(xercesc_2_8::SAXParseException const&)    in SAX2Handler.o
      SAX2Handler::error(xercesc_2_8::SAXParseException const&)    in SAX2Handler.o
      SAX2Handler::error(xercesc_2_8::SAXParseException const&)    in SAX2Handler.o
      SAX2Handler::error(xercesc_2_8::SAXParseException const&)    in SAX2Handler.o
      SAX2Handler::warning(xercesc_2_8::SAXParseException const&)    in SAX2Handler.o
      SAX2Handler::warning(xercesc_2_8::SAXParseException const&)    in SAX2Handler.o
      SAX2Handler::warning(xercesc_2_8::SAXParseException const&)    in SAX2Handler.o
      SAX2Handler::warning(xercesc_2_8::SAXParseException const&)    in SAX2Handler.o
      SAX2Handler::fatalError(xercesc_2_8::SAXParseException const&)     in SAX2Handler.o
      SAX2Handler::fatalError(xercesc_2_8::SAXParseException const&)     in SAX2Handler.o
      SAX2Handler::fatalError(xercesc_2_8::SAXParseException const&)     in SAX2Handler.o
      SAX2Handler::fatalError(xercesc_2_8::SAXParseException const&)     in SAX2Handler.o
  "xercesc_2_8::XMLString::release(unsigned short**)", referenced from:
      XalanFileOutputStream::write(char const*, unsigned int)in MsgFileOutputStream.o
      SAX2Handler::setLocale(char const*)in SAX2Handler.o
      SAX2Handler::~SAX2Handler()in SAX2Handler.o
      SAX2Handler::~SAX2Handler()in SAX2Handler.o
  "typeinfo for xercesc_2_8::SAXParseException", referenced from:
      xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)in ICUResHandler.o
      xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)in InMemHandler.o
      xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)in MsgCreator.o
      xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)in NLSHandler.o
      xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)in SAX2Handler.o
  "xercesc_2_8::XMLUni::fgXercesDynamic", referenced from:
      _main in MsgCreator.o
  "xercesc_2_8::XMLPlatformUtils::Initialize(char const*, char const*, xercesc_2_8::PanicHandler*, xercesc_2_8::MemoryManager*, bool)", referenced from:
      _main in MsgCreator.o
  "xercesc_2_8::SAXParseException::SAXParseException(xercesc_2_8::SAXParseException const&)", referenced from:
      xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)in ICUResHandler.o
      xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)in InMemHandler.o
      xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)in MsgCreator.o
      xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)in NLSHandler.o
      xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)in SAX2Handler.o
  "xercesc_2_8::XMLUni::fgXercesSchema", referenced from:
      _main in MsgCreator.o
  "xercesc_2_8::XMLUni::fgXercescDefaultLocale", referenced from:
      _main in MsgCreator.o
  "typeinfo for xercesc_2_8::XMLException", referenced from:
      _main.lsda in MsgCreator.o
  "xercesc_2_8::XMLUni::fgXercesSchemaFullChecking", referenced from:
      _main in MsgCreator.o
  "xercesc_2_8::XMLPlatformUtils::Terminate()", referenced from:
      _main in MsgCreator.o
  "xercesc_2_8::XMLUni::fgSAX2CoreValidation", referenced from:
      _main in MsgCreator.o
  "xercesc_2_8::XMLReaderFactory::createXMLReader(xercesc_2_8::MemoryManager*, xercesc_2_8::XMLGrammarPool*)", referenced from:
      _main in MsgCreator.o
  "xercesc_2_8::SAXParseException::getSystemId() const", referenced from:
      SAX2Handler::error(xercesc_2_8::SAXParseException const&)    in SAX2Handler.o
      SAX2Handler::warning(xercesc_2_8::SAXParseException const&)    in SAX2Handler.o
      SAX2Handler::fatalError(xercesc_2_8::SAXParseException const&)     in SAX2Handler.o
  "xercesc_2_8::XMLPlatformUtils::fgMemoryManager", referenced from:
      _main in MsgCreator.o
  "xercesc_2_8::XMLUni::fgSAX2CoreNameSpacePrefixes", referenced from:
      _main in MsgCreator.o
  "xercesc_2_8::XMLString::compareString(unsigned short const*, unsigned short const*)", referenced from:
      ICUResHandler::endElement(unsigned short const*, unsigned short const*, unsigned short const*)in ICUResHandler.o
      ICUResHandler::startElement(unsigned short const*, unsigned short const*, unsigned short const*, xercesc_2_8::Attributes const&)in ICUResHandler.o
      ICUResHandler::startElement(unsigned short const*, unsigned short const*, unsigned short const*, xercesc_2_8::Attributes const&)in ICUResHandler.o
      InMemHandler::endElement(unsigned short const*, unsigned short const*, unsigned short const*)in InMemHandler.o
      InMemHandler::startElement(unsigned short const*, unsigned short const*, unsigned short const*, xercesc_2_8::Attributes const&)in InMemHandler.o
      InMemHandler::startElement(unsigned short const*, unsigned short const*, unsigned short const*, xercesc_2_8::Attributes const&)in InMemHandler.o
      SAX2Handler::startElement(unsigned short const*, unsigned short const*, unsigned short const*, xercesc_2_8::Attributes const&)in SAX2Handler.o
      SAX2Handler::startElement(unsigned short const*, unsigned short const*, unsigned short const*, xercesc_2_8::Attributes const&)in SAX2Handler.o
  "xercesc_2_8::XMLString::stringLen(char const*)", referenced from:
      SAX2Handler::printToIndexFile(char const**)in SAX2Handler.o
      SAX2Handler::startElement(unsigned short const*, unsigned short const*, unsigned short const*, xercesc_2_8::Attributes const&)in SAX2Handler.o
  "xercesc_2_8::XMLString::transcode(char const*)", referenced from:
      XalanFileOutputStream::write(char const*, unsigned int)in MsgFileOutputStream.o
      SAX2Handler::setLocale(char const*)in SAX2Handler.o
  "xercesc_2_8::XMLString::transcode(unsigned short const*)", referenced from:
      XalanFileOutputStream::writeAsASCII(unsigned short const*, unsigned int)in MsgFileOutputStream.o
      _main in MsgCreator.o
      _main in MsgCreator.o
      SAX2Handler::error(xercesc_2_8::SAXParseException const&)    in SAX2Handler.o
      SAX2Handler::error(xercesc_2_8::SAXParseException const&)    in SAX2Handler.o
      SAX2Handler::warning(xercesc_2_8::SAXParseException const&)    in SAX2Handler.o
      SAX2Handler::warning(xercesc_2_8::SAXParseException const&)    in SAX2Handler.o
      SAX2Handler::fatalError(xercesc_2_8::SAXParseException const&)     in SAX2Handler.o
      SAX2Handler::fatalError(xercesc_2_8::SAXParseException const&)     in SAX2Handler.o
  "xercesc_2_8::XMLUni::fgSAX2CoreNameSpaces", referenced from:
      _main in MsgCreator.o
  "xercesc_2_8::SAXParseException::~SAXParseException()", referenced from:
      xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)in ICUResHandler.o
      xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)in InMemHandler.o
      xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)in MsgCreator.o
      xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)in NLSHandler.o
      xercesc_2_8::DefaultHandler::fatalError(xercesc_2_8::SAXParseException const&)in SAX2Handler.o
  "xercesc_2_8::SAXParseException::getColumnNumber() const", referenced from:
      SAX2Handler::error(xercesc_2_8::SAXParseException const&)    in SAX2Handler.o
      SAX2Handler::warning(xercesc_2_8::SAXParseException const&)    in SAX2Handler.o
      SAX2Handler::fatalError(xercesc_2_8::SAXParseException const&)     in SAX2Handler.o
  "xercesc_2_8::SAXParseException::getLineNumber() const", referenced from:
      SAX2Handler::error(xercesc_2_8::SAXParseException const&)    in SAX2Handler.o
      SAX2Handler::warning(xercesc_2_8::SAXParseException const&)    in SAX2Handler.o
      SAX2Handler::fatalError(xercesc_2_8::SAXParseException const&)     in SAX2Handler.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
gnumake[3]: *** [../../../../bin/MsgCreator] Error 1
gnumake[2]: *** [../../../bin/MsgCreator] Error 2
gnumake[1]: *** [locale] Error 2
gnumake[1]: *** Waiting for unfinished jobs....
gnumake: *** [all] Error 2
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 -j3 all " returned error 2
DEBUG: Backtrace: 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 -j3 all " returned error 2
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for xalanc): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (1)

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

Description: modified (diff)
Keywords: xalan-c 32-bit OSX 10.6 removed
Owner: changed from macports-tickets@… to mww@…
Port: xalanc added

Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer. Please show the output of sysctl hw.cpu64bit_capable.

Note: See TracTickets for help on using tickets.