Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Sep 2007 05:13:12 -0700 (PDT)
From:      <soralx@cydem.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/116396: openoffice.org-2: cannot find file for class org.apache.xml.s
Message-ID:  <200709161213.l8GCDCcN039838@soralx.cydem.org>
Resent-Message-ID: <200709161220.l8GCK2XF061111@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         116396
>Category:       ports
>Synopsis:       openoffice.org-2: cannot find file for class org.apache.xml.s
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 16 12:20:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD soralx.cydem.org 6.2-STABLE FreeBSD 6.2-STABLE #0: Sat Sep 15 20:20:15 PDT 2007 root@soralx.cydem.org:/usr/obj/usr/src/sys/SORALX i386

WITH_GNUGCJ=yes
WITH_CUPS=yes
WITH_TTF_BYTECODE_ENABLED=yes
WITH_SYSTEM_FREETYPE=yes

>Description:

Among other gazillion problems encountered during openoffice.org-2 biuld is this error:

-------------
/ad16s1d/openoffice.org-2/work/OOF680_m18/filter/source/xsltfilter
dmake: Executing shell macro: -+ls -1 $(JARDIR) | $(GREP) "^$i"
dmake: Executing shell macro: -+ls -1 $(JARDIR) | $(GREP) "^$i"
dmake: Executing shell macro: -+ls -1 $(JARDIR) | $(GREP) "^$i"
dmake: Executing shell macro: -+ls -1 $(JARDIR) | $(GREP) "^$i"
dmake: Executing shell macro: -+ls -1 $(JARDIR) | $(GREP) "^$i"
dmake: Executing shell macro: -+ls -1 $(JARDIR) | $(GREP) "^$i"
dmake: Executing shell macro: -+ls -1 $(JARDIR) | $(GREP) "^$i"
dmake: Executing shell macro: $(FIND) . -name "{$(subst,$($(WINVERSIONNAMES)_MAJOR),* $(subst,$(UPD)$(DLLPOSTFIX), $(SHL1TARGET)))}.xml"
Making dpj...
dmake: Executing shell macro: +$(STARDEP) @$(mktmp -o $@ -i $(CLASSDIR) $(foreach,i,$(JAVADEPINCLUDES:s/:/ /) -i $i) $(JAVACLASSFILES))
...
/usr/local/lib/jvm/java-gcj41/bin/gcj --encoding=UTF-8 -O2 -fno-assert -Wno-deprecated -C -classpath ".:../../unxfbsdi.pro/class::/ad16s1d/openoffice.org-2/work/OOF680_m18/solver/680/unxfbsdi.pro/bin/ridl.jar:/ad16s1d/openoffice.org-2/work/OOF680_m18/solver/680/unxfbsdi.pro/bin/unoil.jar:/ad16s1d/openoffice.org-2/work/OOF680_m18/solver/680/unxfbsdi.pro/bin/jurt.jar:/ad16s1d/openoffice.org-2/work/OOF680_m18/solver/680/unxfbsdi.pro/bin/juh.jar:/ad16s1d/openoffice.org-2/work/OOF680_m18/solver/680/unxfbsdi.pro/bin/xalan.jar:/ad16s1d/openoffice.org-2/work/OOF680_m18/solver/680/unxfbsdi.pro/bin/xercesImpl.jar:/ad16s1d/openoffice.org-2/work/OOF680_m18/solver/680/unxfbsdi.pro/bin/xml-apis.jar" -d ../../unxfbsdi.pro/class  XSLTransformer.java  XSLTFilterOLEExtracter.java XSLTXalanOLEExtracter.java
XSLTXalanOLEExtracter.java: In class 'XSLTXalanOLEExtracter':
XSLTXalanOLEExtracter.java: In method 'XSLTXalanOLEExtracter.init(org.apache.xalan.extensions.XSLProcessorContext,org.apache.xalan.templates.ElemExtensionCall)':
XSLTXalanOLEExtracter.java:52: error: cannot find file for class org.apache.xml.serializer.SerializerTrace
XSLTXalanOLEExtracter.java:52: error: cannot find file for class org.apache.xml.serializer.SerializerTrace
dmake:  Error code 1, while making '../../unxfbsdi.pro/misc/XSLTFilter_dummy.java'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /ad16s1d/openoffice.org-2/work/OOF680_m18/filter/source/xsltfilter
dmake:  Error code 1, while making 'build_instsetoo_native'
'---*  *---'
*** Error code 255

Stop in /ad16s1d/openoffice.org-2.

>How-To-Repeat:
	Make sure you have WITH_GNUGCJ=yes, then try compiling openoffice.org-2 from ports as of 2007-09-15. Chances are, you'll encounter at least 2 problems before it gets to this stage (those I didn't file PR for as I didn't take care to log them and also the hacks that I employed).

>Fix:

	`pushd work/OOF680_m18/filter/source/xsltfilter/`
	`find /ad16s1d/openoffice.org-2 -name 'serializer.jar' -print`
	Then add this obtained path to the .jar to a XCLASSPATH variable in 'makefile.mk', e.g.: XCLASSPATH+=":/ad16s1d/openoffice.org-2/work/OOF680_m18/xalan/download/serializer.jar". Restart make in ports/openoffice.org-2/.
>Release-Note:
>Audit-Trail:
>Unformatted:
 erializer.SerializerTrace
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709161213.l8GCDCcN039838>