Summary: | MAINTAINER-UPDATE: textproc/xerces-c2 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Bjoern A. Zeeb <bzeeb+freebsdports> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | bzeeb+freebsdports | ||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Bjoern A. Zeeb
2003-06-15 15:50:16 UTC
State Changed From-To: open->feedback Build fails on my 4.8-STABLE machine. c++ -fPIC -DFREEBSD -c -I/usr/ports/textproc/xerces-c2/work/xerces-c-src_2_3_0/include -O -pipe -O -pipe -march=pentiumpro -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS -DXML_USE_LIBICONV -I/usr/local/include -DXML_USE_INMEM_MESSAGELOADER -D_THREAD_SAFE -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET -o /usr/ports/textproc/xerces-c2/work/xerces-c-src_2_3_0/obj/FREEBSD/DOMDocumentImpl.o DOMDocumentImpl.cpp /usr/ports/textproc/xerces-c2/work/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c: In method `xercesc_2_3::DOMDeepNodeListPool<xercesc_2_3::DOMDeepNodeListImpl>::DOMDeepNodeListPool(long unsigned int, bool, long unsigned int = 128)': DOMDocumentImpl.cpp:900: instantiated from here /usr/ports/textproc/xerces-c2/work/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: Internal compiler error. /usr/ports/textproc/xerces-c2/work/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: Please submit a full bug report. /usr/ports/textproc/xerces-c2/work/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. gmake[2]: *** [DOMDocumentImpl.o] Error 1 gmake[2]: Leaving directory `/usr/ports/textproc/xerces-c2/work/xerces-c-src_2_3_0/src/xercesc/dom/impl' gmake[1]: *** [impl] Error 2 gmake[1]: Leaving directory `/usr/ports/textproc/xerces-c2/work/xerces-c-src_2_3_0/src/xercesc/dom' gmake: *** [Dom] Error 2 *** Error code 2 Stop in /usr/ports/textproc/xerces-c2. >Submitter-Id: current-users >Originator: Bjoern A. Zeeb >Organization: Zabbadoz.NeT >Confidential: no >Synopsis: Re: ports/53348: MAINTAINER-UPDATE: textproc/xerces-c2 >Severity: non-critical >Priority: low >Category: ports >Class: maintainer-update >Release: FreeBSD 5.1-RELEASE i386 >Environment: System: FreeBSD e0-0.noc.int.zabbadoz.net 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: previous update did not build on 4-STABLE thanks Adam Weinberger for notifying >Fix: here is a patch-ab. please add this after applying diff from 2003-06-15. The old diff would remove patch-ab. After re-adding the attach file as patch-ab no new files or files to remove from cvs will be there. the patch-ab file along with a new tarball of the updated port source directory can also be found on http://sources.zabbadoz.net/freebsd/ports/xerces-c2-2.2.0-2.3.0-20030617-01-patch-ab http://sources.zabbadoz.net/freebsd/ports/xerces-c2-2.2.0-2.3.0-20030617-01.tbz the initial diff is still available from http://sources.zabbadoz.net/freebsd/ports/xerces-c2-2.2.0-2.3.0-20030615-01.diff PS: sorry for duplicates but someone had removed Cc: to gnats :( Please also have a look at ports/53347 (update of icu2 port) which is an optional dependency of this port. - Thanks. --- 8< 8< 8< files/patch-ab 8< 8< 8< --- --- src/xercesc/dom/impl/DOMDeepNodeListPool.c Tue Jun 17 22:09:06 2003 +++ src.cvs/xercesc/dom/impl/DOMDeepNodeListPool.c Tue Jun 17 22:09:39 2003 @@ -90,7 +90,11 @@ initialize(modulus); // create default hasher +#if defined (XML_GCC_VERSION) && (XML_GCC_VERSION < 29600) + fHash = new HashPtr(); +#else fHash = new (fMemoryManager) HashPtr(); +#endif // // Allocate the initial id pointers array. We don't have to zero them --- src/xercesc/util/RefHash3KeysIdPool.c Tue Jun 17 22:12:13 2003 +++ src.cvs/xercesc/util/RefHash3KeysIdPool.c Sun Jun 15 09:57:39 2003 @@ -56,6 +56,9 @@ /** * $Log: RefHash3KeysIdPool.c,v $ + * Revision 1.6 2003/06/02 15:18:08 neilg + * fix for bug #20092; thanks to Berin Lautenbach + * * Revision 1.5 2003/05/21 21:08:04 knoaman * gcc 2.95.x is generating an internal error for some template definitions, so * we use the default memory manger in such cases. @@ -118,7 +121,11 @@ initialize(modulus); // create default hasher +#if defined (XML_GCC_VERSION) && (XML_GCC_VERSION < 29600) + fHash = new HashXMLCh(); +#else fHash = new (fMemoryManager) HashXMLCh(); +#endif // // Allocate the initial id pointers array. We don't have to zero them --- 8< 8< 8< --- >Submitter-Id: current-users >Originator: Bjoern A. Zeeb >Organization: Zabbadoz.NeT >Confidential: no >Synopsis: Re: ports/53348: MAINTAINER-UPDATE: textproc/xerces-c2 >Severity: non-critical >Priority: low >Category: ports >Class: maintainer-update >Release: FreeBSD 5.1-RELEASE i386 >Environment: System: FreeBSD e0-0.noc.int.zabbadoz.net 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: while testing Xalan compiling with DEBUG on had been usefull >Fix: in addition to patch-ab this one brings changes to Makefile for unstripped library and binaries (not default) and a pkg-plist fix attached patch and complete port source tarball also available from http://sources.zabbadoz.net/freebsd/ports/xerces-c2-2.2.0-2.3.0-20030709-01.diff http://sources.zabbadoz.net/freebsd/ports/xerces-c2-2.2.0-2.3.0-20030709-01.tbz this port seems to work fine for some testers from Xalan-c list. --- diff --- diff -urN /export/home/bz/xer/textproc/xerces-c2/Makefile xerces-c2/Makefile --- /export/home/bz/xer/textproc/xerces-c2/Makefile Sun Jun 15 09:31:27 2003 +++ xerces-c2/Makefile Wed Jun 25 20:35:36 2003 @@ -62,6 +62,12 @@ .include <bsd.port.pre.mk> +.if defined(DEBUG) +PKGNAMESUFFIX+= -debug +CONFIGURE_ARGS+= -d +STRIP= +.endif + .if defined(NO_THREADS) CONFIGURE_ARGS+= -r none .endif @@ -97,6 +103,7 @@ @${ECHO} 'NO_THREADS do not build a thread enabled shared library' @${ECHO} 'NO_SAMPLES do not copy sample binaries and sources' @${ECHO} 'NOPORTDOCS do not copy documentation' + @${ECHO} 'DEBUG include debugging information, do not strip' @${ECHO} '' @${ECHO} 'Also you may set TRANSODER to the following values (without -D):' @${ECHO} '' @@ -132,7 +139,9 @@ .endif post-install: +.if !defined(DEBUG) @${STRIP_CMD} ${PREFIX}/lib/${XERCESC_LIB} +.endif .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/xerces-c @${CP} -r ${WRKSRC}/doc/ ${PREFIX}/share/doc/xerces-c/ diff -urN /export/home/bz/xer/textproc/xerces-c2/pkg-plist xerces-c2/pkg-plist --- /export/home/bz/xer/textproc/xerces-c2/pkg-plist Sun Jun 15 09:16:15 2003 +++ xerces-c2/pkg-plist Sat Jun 21 12:27:19 2003 @@ -400,7 +400,7 @@ @exec ln -sf %%XERCESC_LIB%% %D/lib/libxerces-c.so @exec ln -sf %%XERCESC_LIB%% %D/lib/libxerces-c.so.%%XERCESC_LIB_VERSION%% @unexec if test ! -r %D/lib/libxerces-c.so; then rm -f %D/lib/libxerces-c.so; fi -@unexec if test ! -r %D/lib/libxerces-c.so; then rm -f %D/lib/libxerces-c.so.%%XERCESC_LIB_VERSION%%; fi +@unexec if test ! -r %D/lib/libxerces-c.so.%%XERCESC_LIB_VERSION%%; then rm -f %D/lib/libxerces-c.so.%%XERCESC_LIB_VERSION%%; fi @dirrm include/xercesc/validators/schema/identity @dirrm include/xercesc/validators/schema @dirrm include/xercesc/validators/DTD --- /diff --- State Changed From-To: feedback->closed Commited, thanks! (all three patches) |