Apache OpenOffice (AOO) Bugzilla – Issue 72858
revivehsqldb does not build
Last modified: 2006-12-24 21:02:04 UTC
Testing revivehsqldb, build breaks in connectivity : - on Mac OS X (Intel) - on Linux (cloph will confirm) The log : /Users/ericb/Desktop/OOO_m197/connectivity/com/sun/star/sdbcx/comp/hsqldb 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" Making dpj... dmake: Executing shell macro: +$(STARDEP) @$(mktmp -o $@ -i $(CLASSDIR) $(foreach,i,$ (JAVADEPINCLUDES:s/:/ /) -i $i) $(JAVACLASSFILES)) rm -f ../../../../../../unxmacxi.pro/misc/sdbc_hsqldb_dummy.java >& /dev/null rm -f ../../../../../../unxmacxi.pro/misc/sdbc_hsqldb_dummy.java >& /dev/null rm -f ../../../../../../unxmacxi.pro/misc/sdbc_hsqldb_dummy.java >& /dev/null rm -f ../../../../../../unxmacxi.pro/misc/sdbc_hsqldb_dummy.java >& /dev/null rm -f ../../../../../../unxmacxi.pro/misc/sdbc_hsqldb_dummy.java >& /dev/null rm -f ../../../../../../unxmacxi.pro/misc/sdbc_hsqldb_dummy.java >& /dev/null rm -f ../../../../../../unxmacxi.pro/misc/sdbc_hsqldb_dummy.java >& /dev/null dmake: Error: -- `../../../../../../unxmacxi.pro/class/org/hsqldb/lib/ FileSystemRuntimeException.class' not found, and can't be made '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /Users/ericb/Desktop/OOO_m197/connectivity/com/sun/ star/sdbcx/comp/hsqldb Workaround ( sorry if I'm completely wrong, my Java knowledge is very limited) : The only way I found to make it build, was to replace SECONDARY_PACKAGE by PACKAGE in the makefile. I'll attach a patch
Created attachment 41635 [details] patch to make revivehsqldb build on Mac OS X
Add Pavel on CC
Add cloph in the list
on Linux as well.
Patch commit as masterfix for SRC680 m198.
? This patch can't work ... <running away and trying> ... well, it *does* work. What kind of magic is there in solenv?? With the patch, the JAVACLASSFILES should contain a reference to a class-file which does not exist, while without the patch, it should contain <outpath>/class/org/hsqldb/lib/FileSystemRuntimeException.class. Which, by the way, exists on wntmsci10 and unxlngi6.pro (which are the platforms I built the CWS on). Adding a target dummy: @+echo $(JAVACLASSFILES) proves that this in fact is the case. Ergo: I don't understand why this didn't compile on other platforms, and I don't understand why after the patch, it does still work. /me is confused. Anyway, glad it could be solved that quickly, thanks.
The fix is in HEAD but not m198 - patch is still required for m198.
seen in m198, closing