Issue 5634 - OOO_STABLE_1/X11+Aqua: berkeleydb does not compile
Summary: OOO_STABLE_1/X11+Aqua: berkeleydb does not compile
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.0
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: OOo 1.0.4
Assignee: ed
QA Contact: issues@porting
URL:
Keywords: merge_pending
Depends on:
Blocks: 2588
  Show dependency tree
 
Reported: 2002-06-07 07:01 UTC by fa
Modified: 2004-03-25 04:28 UTC (History)
4 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
cd to SRC_ROOT/berkeleydb, then patch -p0 < /path/to/patchfile (14.50 KB, patch)
2002-06-07 07:01 UTC, fa
no flags Details | Diff
cd SRC_ROOT/berkeleydb, patch -p0 < /path/to/patchfile This is a diff against CVS as of 6/11/02 10PM CST (15.24 KB, patch)
2002-06-12 03:57 UTC, fa
no flags Details | Diff
cd SRC_ROOT/berkeleydb, patch -p0 < /path/to/patchfile (1.31 KB, patch)
2002-07-26 04:54 UTC, fa
no flags Details | Diff
After applying bekeleydb.OOO_STABLE_1.072502.patch, copy this file to SRC_ROOT/berkeleydb (11.39 KB, patch)
2002-07-26 04:55 UTC, fa
no flags Details | Diff
apply berkeleydb.OOO_STABLE_1.072502.patch, then copy this file to SRC_ROOT/berkeleydb (11.31 KB, patch)
2002-07-27 15:05 UTC, fa
no flags Details | Diff
place in berkeleydb/ (11.73 KB, patch)
2002-11-21 06:03 UTC, fa
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description fa 2002-06-07 07:01:03 UTC
1)  BerkeleyDB module also has no clue about twolevel namespaces.  Patch brings in Ed Peterlin's fix for berkeleydb in OO638C.

2)  For some reason, when the configure script was trying to find java headers, it found them in solenv/unxmacxp/bin, because javac is there, and the configure script looks for javac, then uses that path.  Because solenv/unxmacxp/bin was in PATH before system paths were, it was getting picked up as the java path.  Patch corrects this.
Comment 1 fa 2002-06-07 07:01:48 UTC
Created attachment 1886 [details]
cd to SRC_ROOT/berkeleydb, then patch -p0 < /path/to/patchfile
Comment 2 fa 2002-06-12 03:57:33 UTC
Created attachment 1927 [details]
cd SRC_ROOT/berkeleydb, patch -p0 < /path/to/patchfile  This is a diff against CVS as of 6/11/02 10PM CST
Comment 3 fa 2002-07-26 04:54:05 UTC
Created attachment 2359 [details]
cd SRC_ROOT/berkeleydb, patch -p0 < /path/to/patchfile
Comment 4 fa 2002-07-26 04:55:33 UTC
Created attachment 2360 [details]
After applying bekeleydb.OOO_STABLE_1.072502.patch, copy this file to SRC_ROOT/berkeleydb
Comment 5 jens-heiner.rechtien 2002-07-26 16:03:07 UTC
Hi Dan,

berkeleydb.OOO_STABLE_1.072502.patch is approved

Heiner
Comment 6 jens-heiner.rechtien 2002-07-26 16:47:35 UTC
Hi Dan,

regarding db-3.2.9.patch:
please have a look at line 122 of your patch:

! 	
		{ echo "configure: error: cannot find java include files" 1>&2; exit 1; }

This line seems to be accidently copied twice. I think it will break
the configure process on non Darwin builds. Can you check this?

Heiner

Comment 7 fa 2002-07-26 16:57:47 UTC
Hi,

I see what you mean.  On all platforms except Darwin if the first 
test -f
"$JTOPDIR/include/jni.h" fails then it will fail anyway...

Should I just remove that line from the db-3.2.9 patch file and 
resubmit
it to the issue or do you want me to make the changes to my local 
sources
and respin a patch with dmake create_patch?

Dan
Comment 8 jens-heiner.rechtien 2002-07-26 17:07:25 UTC
Hi Dan,

better do a respin of the patch, otherwise the line count will fail
and patch will emit some "fuzz" messages. Shouldn't be fatal, but ...

Heiner
Comment 9 fa 2002-07-26 17:09:16 UTC
That's what I thought.  Will do tonight if I get time.

Dan
Comment 10 fa 2002-07-27 15:05:46 UTC
Created attachment 2374 [details]
apply berkeleydb.OOO_STABLE_1.072502.patch, then copy this file to SRC_ROOT/berkeleydb
Comment 11 fa 2002-07-27 15:08:01 UTC
New corrected db-3.2.9.patch file attached (2002-07-27 version), it is the output of a dmake create_patch in SRC_ROOT/bekeleydb.

Apply berkeleydb.OOO_STABLE_1.072502.patch and then copy the attached db-3.2.9.patch from 2002-07-27 to SRC_ROOT/berkeleydb.

Please reapprove these patches for commit.

Dan
Comment 12 jens-heiner.rechtien 2002-07-29 16:38:08 UTC
Hi Dan,

the complete patch is approved.

Heiner
Comment 13 ed 2002-08-11 19:26:22 UTC
Committed to OOO_STABLE_1_PORTS
Comment 14 matthias.huetsch 2002-08-15 15:09:45 UTC
Hi Dan, Ed,

I've done a cross-check build of OOO_STABLE_1_PORTS on LinuxIntel.
Unfortunately, the latest patch breaks that build (I guess that includes 
got somehow messed up).

Reopening for another review -> 'approval_pending'.

Matthias
Comment 15 fa 2002-08-20 17:58:16 UTC
Matthias,

Can you get a build log of this and where the error occured?  I don't 
think any of us on the MacOS X team have Linux boxes right now we can 
test on...

Dan
Comment 16 fa 2002-10-01 22:26:32 UTC
Status of this issue?  Can someone do a crosscheck?

Apply berkeleydb.OOO_STABLE_1.072502.patch and then copy the attached db-3.2.9.patch from 2002-07-27 to SRC_ROOT/berkeleydb.

Thanks,
Dan
Comment 17 fa 2002-10-22 01:52:23 UTC
Can someone crosscheck on Linux?

Thanks,
Dan
Comment 18 Martin Hollmichel 2002-10-23 06:48:03 UTC
nominated for STABLE to do the crosscheck
Comment 19 fa 2002-10-31 07:45:08 UTC
Just to note, the gcc3 build will add in a number of changes for MacOS
X, necessitating a new db-3.2.9.patch file.  Shall we let this one go
through into STABLE or shall we stop approval and wait for the new
patch?  Its probably a couple days away and if crosscheck isn't going
to happen for a bit it might be worthwhile to wait.

Dan
Comment 20 fa 2002-11-21 06:03:35 UTC
Created attachment 3695 [details]
place in berkeleydb/
Comment 21 fa 2002-11-21 06:04:58 UTC
New patch is 112002.  Adds a couple of minor changes, the first of
which is to use ppc/asm locking.

--->  Kevin, when you get a chance can you crosscheck this patch on Linux?

Approval for this patch is requested.

Thanks,
Dan
Comment 22 khendricks 2002-11-21 14:35:50 UTC
 Hi Dan, 
 
I dropped your latest patch into my OOO_STABLE_1 PPC Linux tree and 
rebuilt with absolutely no problems at all. 
 
So this one is approved. 
 
Kevin 
 
Comment 23 fa 2002-11-21 22:11:05 UTC
db-3.2.9.patch from 11-20-02 committed to _PORTS.

Dan
Comment 24 fa 2002-11-21 22:12:06 UTC
Reopen for tracking for merge to OOO_STABLE_1 or whatever.

approval_pending -> merge_pending

Dan
Comment 25 stx123 2002-11-26 13:40:58 UTC
removed "ooo1.0" keyword in favour of target milestone "OOo 1.0.3".
Comment 26 fa 2003-08-04 05:42:57 UTC
Fixed in 103 GM, whatever.
Comment 27 Martin Hollmichel 2004-03-25 04:28:52 UTC
close issue.