Closed Bug 570936 Opened 14 years ago Closed 14 years ago

Build option '--disable-javaxpcom' is not parsed ok in configure.in

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 570440

People

(Reporter: chithraprabhap, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.19) Gecko/2010040116 Ubuntu/9.04 (jaunty) Firefox/3.0.19
Build Identifier: http://hg.mozilla.org/projects/electrolysis

Build failure with latest electrolysis revision.

Reproducible: Always

Steps to Reproduce:
1.Add 'ac_add_app_options xulrunner --disable-javaxpcom' in the xulrunner and try to build project xulrunner and mobile-e10s in Linux desktop.

Actual Results:  
Builds OK

Expected Results:  
Build fails ,with error message below 

*****************
checking for jar... /usr/bin/jar
configure: error: The header jni.h was not found.  Set $JAVA_HOME to your java sdk directory, use --with-java-bin-path={java-bin-dir}, or reconfigure with --disable-javaxpcom.
*** Fix above errors and then restart with               "make -f client.mk build"
make[2]: *** [configure] Error 1
make[2]: Leaving directory `/home/chithrp/E10s-GTK-IPDL-June08/electrolysis'
make[1]: *** [/home/chithrp/E10s-GTK-IPDL-June08/electrolysis/../mobilebase-e10s/xulrunner/Makefile] Error 2
make[1]: Leaving directory `/home/chithrp/E10s-GTK-IPDL-June08/electrolysis'
make: *** [build] Error 2

*********************************
Looks like recent merge with m-c has some changes in configure.in which is causing the failure ,so just tried  removing  the changes in related to MOZ_JAVAXPCOM variable and  reverted back to old values in commit  http://hg.mozilla.org/projects/electrolysis/diff/a9d29c4a712b/configure.in , then the build goes fine.
Summary: Build option '--disable-javaxpcom' is not → Build option '--disable-javaxpcom' is not parsed ok in configure.in
Attached patch Proposed PatchSplinter Review
Attachment #450082 - Flags: review?
Duplicate of bug 570440?
Ahh Yes,it is Duplicate..
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Attachment #450082 - Flags: review?
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: