Closed
Bug 70313
Opened 25 years ago
Closed 16 years ago
build Blackwood in a separate objdir
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: marcus, Unassigned)
References
Details
Attachments
(1 file, 3 obsolete files)
|
23.31 KB,
patch
|
Details | Diff | Splinter Review |
Currently, building mozilla/java only works if mozilla was built with
objdir=srcdir. Since I needed two different binary versions of mozilla, this was
not practical for me. So I created a set of patches which will create the
necessary Makefile's in the mozilla/java tree of the object-directory, and
update the Makefile.in's so that the source-code gets searched in the correct
directory. In order to build Blackwood that way, you specify --with-blackwood as
an option to ./configure. Using --with-blackwood disables
--with-java-supplement, as the directories built by the later are a subset of
the former ones. I've attached the patch to this bug report.
Comment 1•25 years ago
|
||
Marcus, did you forget to attach the patch?
| Reporter | ||
Comment 2•25 years ago
|
||
Since you're requiring additional bits of the mozilla/ tree, the option should
be --enable-blackwood . Cc'ing edburns & leaf for additional input as I am
completely unfamiliar with the blackwood project nor who uses
--with-java-supplement.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Target Milestone: --- → mozilla0.9
| Reporter | ||
Comment 4•25 years ago
|
||
Marcus, does any other source code project in mozilla.org allow building the .o
and .so files into another directory other than the one with the source files?
This seems like a big change in behavior to me, but as long as --with-java-
supplement still works, I'm ok with it.
I'm going to ask Ashutosh Kulkarni to review this. He's the nominal owner of
building blackwood stuff.
| Reporter | ||
Comment 7•25 years ago
|
||
Ed, the UNIX Build Configurator at http://webtools.mozilla.org/build/config.cgi
has an option to specify the object-directory. Also, if you check out mozilla
into say /usr/src/mozilla, cd to /usr/build/mozilla and enter
/usr/src/mozilla/configure, the .o, .so and Makefiles are created in
/usr/build/mozilla, while the source-code is read from /usr/src/mozilla.
This is handy if you want to build different versions from the same source (say
debug/non-debug).
Except for Blackwood all Makefile.in's used @srcdir@ as the directory where the
source files are located, and this variable is replaced by configure with the
actual path then the Makefile is generated.
So to me it's more a case of making Blackwood consistent with the rest of the
build process.
Comment 8•25 years ago
|
||
Marcus,
- All changes to Java and C++ src files in /cvsroot/mozilla/java/xpcom need to
be approved by the module owner for BlackConnect - Igor Kushnirskiy
(idk@eng.sun.com)
- The changes to mozilla/java/webclient/src_moz/CBrowserContainer.cpp and
NativeEventThread.cpp (nsIProfileInternal instead of nsIProfile) allows us to
get away without linking xpfelocation.so. But this interface is not available
in the Netscape 6.0 (RTM) branch that Webclient 1.0 currently works with. Pls
post this patch to the Bug 68130 (filed by you as a matter of fact). Once
Webclient 1.0 is release on all platforms, we will immediately check in this
fix. thanks for this fix.
- Why have you made changes to Java src files in mozilla/java/plugins. Pls
create a Bug identifying the reasons for the need for this and assign to Igor
(idk@eng.sun.com) who is the owner for Pluglets. Also post the fixes to this
Bug.
- Could you pls post the modified files for your patch in tar.gz format to this
Bug. I'd like to try them out on solaris and linux.
thnx
I feel this patch should not have any source files in it, only Makefile.in
files. However, the following source files are present in the patch:
Index: java/plugins/examples/dom/DOMViewerFactory.java
Index: java/xpcom/xpcom/bcXPCOMStub.cpp
Index: java/webclient/src_moz/NativeEventThread.cpp
Index: java/webclient/src_moz/CBrowserContainer.cpp
It looks like your blackwood tree isn't current to our development tip,
which is on CVS tag JAVADEV_RTM_20001102.
Other than that, looks good to me, but I'm going to wait for Ashu to comment.
Comment 10•25 years ago
|
||
marcus, in the configure.in patch, you should be using MOZ_ARG_ENABLE_BOOL
instead of AC_ARG_WITH. With that change, you'll need to check for $enableval
instead of $withval.
| Reporter | ||
Comment 11•25 years ago
|
||
Chris, thank you for the info. I already noticed the problem myself when I tried
to do a completed rebuilt. I've added a new version of the patch, which fixes
this problem, and contains no .cpp, .h or .java files.
| Reporter | ||
Comment 12•25 years ago
|
||
Updated•24 years ago
|
Target Milestone: mozilla1.0 → mozilla0.9.9
Updated•24 years ago
|
Target Milestone: mozilla0.9.9 → Future
Comment 13•23 years ago
|
||
This patch doesn't attempt to build all of the blackwood project, just the dom
& webclient. It still uses the --enable-java-supplement option.
Attachment #26389 -
Attachment is obsolete: true
Attachment #26505 -
Attachment is obsolete: true
Attachment #27117 -
Attachment is obsolete: true
Comment 14•23 years ago
|
||
Btw, these are only the build changes. The source code changes from bug 91552
are still needed.
Comment 15•23 years ago
|
||
The --enable-java-supplement option has been removed from configure so I'm
WONTFIXing this.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
| Reporter | ||
Comment 17•23 years ago
|
||
This problem still exists with Blackwood's new Ant-based build-system, althoug
the patch will probably have to be redone.
Status: VERIFIED → REOPENED
Resolution: WONTFIX → ---
Comment 18•23 years ago
|
||
If it's not using the Mozilla build system, then this isn't a Mozilla (Browser)
bug. This should be moved to a Blackwood product but since we don't have one....
Assignee: cls → marcus.fellinger
Status: REOPENED → NEW
Priority: P3 → --
QA Contact: granrose → edburns
Target Milestone: Future → ---
Updated•21 years ago
|
Product: Browser → Seamonkey
Comment 19•16 years ago
|
||
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.
If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.
Query tag for this change: mass-UNCONFIRM-20090614
Status: NEW → UNCONFIRMED
Comment 20•16 years ago
|
||
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.
If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.
Query tag for this change: mass-UNCONFIRM-20090614
Comment 21•16 years ago
|
||
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.
If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.
Query tag for this change: mass-UNCONFIRM-20090614
Comment 22•16 years ago
|
||
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.
If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.
Query tag for this change: mass-UNCONFIRM-20090614
Comment 23•16 years ago
|
||
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.
If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.
Query tag for this change: mass-UNCONFIRM-20090614
Comment 24•16 years ago
|
||
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.
If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.
Query tag for this change: mass-UNCONFIRM-20090614
Updated•16 years ago
|
Assignee: marcus → nobody
Ever confirmed: false
Product: SeaMonkey → Core
QA Contact: edburns → build-config
Updated•16 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago → 16 years ago
Resolution: --- → INVALID
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•