Issue 72858

Summary: revivehsqldb does not build
Product: Build Tools Reporter: eric.bachard
Component: codeAssignee: Frank Schönheit <frank.schoenheit>
Status: CLOSED FIXED QA Contact: issues@tools <issues>
Severity: Trivial    
Priority: P1 (highest) CC: issues, ivo.hinkelmann, lohmaier, pavel, sparcmoz
Version: OOo 2.2   
Target Milestone: OOo 2.2   
Hardware: All   
OS: All   
Issue Type: PATCH Latest Confirmation in: ---
Developer Difficulty: ---
Description Flags
patch to make revivehsqldb build on Mac OS X none

Description eric.bachard 2006-12-21 21:00:37 UTC
Testing revivehsqldb, build breaks in connectivity :

- on Mac OS X (Intel)
- on Linux (cloph will confirm)

The log :

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,$

rm -f ../../../../../../ >& /dev/null
rm -f ../../../../../../ >& /dev/null
rm -f ../../../../../../ >& /dev/null
rm -f ../../../../../../ >& /dev/null
rm -f ../../../../../../ >& /dev/null
rm -f ../../../../../../ >& /dev/null
rm -f ../../../../../../ >& /dev/null
dmake:  Error: -- `../../../../../../
FileSystemRuntimeException.class' not found, and can't be made
'---* *---'

ERROR: Error 65280 occurred while making /Users/ericb/Desktop/OOO_m197/connectivity/com/sun/

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
Comment 1 eric.bachard 2006-12-21 21:02:54 UTC
Created attachment 41635 [details]
patch to make revivehsqldb build on Mac OS X
Comment 2 eric.bachard 2006-12-21 21:03:27 UTC
Add Pavel on CC
Comment 3 eric.bachard 2006-12-21 21:09:35 UTC
Add cloph in the list
Comment 4 pavel 2006-12-21 21:24:36 UTC
on Linux as well.
Comment 5 rt 2006-12-22 10:41:36 UTC
Patch commit as masterfix for SRC680 m198.
Comment 6 Frank Schönheit 2006-12-22 21:15:26 UTC
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 (which are the platforms I built the
CWS on).
Adding a target
    @+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.
Comment 7 sparcmoz 2006-12-23 05:58:29 UTC
The fix is in HEAD but not m198 - patch is still required for m198.
Comment 8 sparcmoz 2006-12-24 21:02:04 UTC
seen in m198, closing