Opened 19 years ago

Closed 19 years ago

Last modified 15 years ago

#4943 closed defect (fixed)

BUG: xalanc fails to build

Reported by: sigint@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port: xalanc

Description (last modified by mf2k (Frank Schima))

Full output shown below:

--->  Building xalanc with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_textproc_xalanc/
work/xml-xalan/c" && XALANCROOT='/opt/local/var/db/dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_textproc_xalanc/
work/xml-xalan/c' XERCESCROOT='/opt/local' gnumake all" returned error 2
Command output: gnumake -C src/xalanc all
Preparing the directory structure for a build ...
mkdir -p ../../obj
mkdir -p ../../lib
mkdir -p ../../bin
gnumake -C Utils prepare
mkdir -p ../../../nls
mkdir -p ../../../nls/include
gnumake -C Utils locale
gnumake[2]: Nothing to be done for `locale'.
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/db/dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_textproc_xalanc/
work/xml-xalan/c/src -I/opt/local/var/db/dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_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/XalanSourceTreeDocument.o /opt/local/var/db/dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_textproc_xalanc/
work/xml-xalan/c/src/xalanc/XalanSourceTree/XalanSourceTreeDocument.cpp
/opt/local/var/db/dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_textproc_xalanc/
work/xml-xalan/c/src/xalanc/PlatformSupport/XalanArrayAllocator.hpp: In member function `Type* 
xalanc_1_8::XalanArrayAllocator<Type>::createEntry(typename std::vector<Type, 
std::allocator<_CharT> >::size_type, typename std::vector<Type, std::allocator<_CharT> >::size_type) 
[with Type = xalanc_1_8::XalanSourceTreeAttr*]':
/opt/local/var/db/dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_textproc_xalanc/
work/xml-xalan/c/src/xalanc/PlatformSupport/XalanArrayAllocator.hpp:127:   instantiated from 
`Type* xalanc_1_8::XalanArrayAllocator<Type>::allocate(typename std::vector<Type, 
std::allocator<_CharT> >::size_type) [with Type = xalanc_1_8::XalanSourceTreeAttr*]'
/opt/local/var/db/dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_textproc_xalanc/
work/xml-xalan/c/src/xalanc/XalanSourceTree/XalanSourceTreeDocument.cpp:732:   instantiated 
from here
/opt/local/var/db/dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_textproc_xalanc/
work/xml-xalan/c/src/xalanc/PlatformSupport/XalanArrayAllocator.hpp:173: error: dependent-name 
'std::vector<Type,std::allocator<_CharT> >::value_type' is parsed as a non-type, but instantiation 
yields a type
/opt/local/var/db/dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_textproc_xalanc/
work/xml-xalan/c/src/xalanc/PlatformSupport/XalanArrayAllocator.hpp:173: note: say 'typename 
std::vector<Type,std::allocator<_CharT> >::value_type' if a type is meant
gnumake[1]: *** [../../obj/XalanSourceTreeDocument.o] Error 1
gnumake: *** [all] Error 2

I know nearly zero about c++, or I'd go bughunting myself and be more useful. Sorry. :(

Change History (5)

comment:1 Changed 19 years ago by sigint@…

op_sys: Mac OS X 10.0Mac OS X 10.4

Correcting MacOS version.

comment:2 Changed 19 years ago by mww@…

am currently trying to update to xalanc 1.9 as xerxesc already moved to 2.7; seems like gcc4 is not forgiving enough for the 1.9 codebase (still trying).

comment:3 Changed 19 years ago by mww@…

Owner: changed from darwinports-bugs@… to mww@…
Summary: xalanc fails to buildBUG: xalanc fails to build

comment:4 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

the most recent xalanc-port (version 1.10.0) now builds just fine;

comment:5 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Port: xalanc added
Note: See TracTickets for help on using tickets.