Facing build errors when building B2G configured as emulator-x86 on ubuntu 11.10.

Following is the terminal output as i see:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

sbanerje@ubuntu:~/B2G$ ./build.sh -j1
including sdk/bash_completion/adb.bash
/bin/bash: java: command not found

/bin/bash: java: command not found
/bin/bash: java: command not found
/bin/bash: java: command not found
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
PLATFORM_VERSION_CODENAME=3DAOSP
PLATFORM_VERSION=3D4.0.4.0.4.0.4
TARGET_PRODUCT=3Dfull_x86
TARGET_BUILD_VARIANT=3Deng
TARGET_BUILD_TYPE=3Drelease
TARGET_BUILD_APPS=3D
TARGET_ARCH=3Dx86
TARGET_ARCH_VARIANT=3Dx86-atom
HOST_ARCH=3Dx86
HOST_OS=3Dlinux
HOST_OS_EXTRA=3DLinux-3.0.0-12-generic-x86_64-with-Ubuntu-11.10-oneiric
HOST_BUILD_TYPE=3Drelease
BUILD_ID=3DOPENMASTER
OUT_DIR=3Dout
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
PLATFORM_VERSION_CODENAME=3DAOSP
PLATFORM_VERSION=3D4.0.4.0.4.0.4
TARGET_PRODUCT=3Dfull_x86
TARGET_BUILD_VARIANT=3Deng
TARGET_BUILD_TYPE=3Drelease
TARGET_BUILD_APPS=3D
TARGET_ARCH=3Dx86
TARGET_ARCH_VARIANT=3Dx86-atom
HOST_ARCH=3Dx86
HOST_OS=3Dlinux
HOST_OS_EXTRA=3DLinux-3.0.0-12-generic-x86_64-with-Ubuntu-11.10-oneiric
HOST_BUILD_TYPE=3Drelease
BUILD_ID=3DOPENMASTER
OUT_DIR=3Dout
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
find: `../../external/nist-sip/java': No such file or directory
gaia/Android.mk:18: warning: overriding commands for target `out/target/pro=
duct/generic_x86/data/local/gaia'
build/core/base_rules.mk:532: warning: ignoring old commands for target `ou=
t/target/product/generic_x86/data/local/gaia'
gonk-misc/Android.mk:26: warning: overriding commands for target `out/targe=
t/product/generic_x86/obj/ETC/init.rc_intermediates/init.rc'
build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/=
target/product/generic_x86/obj/ETC/init.rc_intermediates/init.rc'
gonk-misc/Android.mk:84: warning: overriding commands for target `out/targe=
t/product/generic_x86/obj/DATA/sources.xml_intermediates/sources.xml'
build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/=
target/product/generic_x86/obj/DATA/sources.xml_intermediates/sources.xml'
gonk-misc/Android.mk:108: warning: overriding commands for target `out/targ=
et/product/generic_x86/system/gecko'
build/core/base_rules.mk:532: warning: ignoring old commands for target `ou=
t/target/product/generic_x86/system/gecko'
gonk-misc/Android.mk:136: warning: overriding commands for target `out/targ=
et/product/generic_x86/obj/DATA/gecko_intermediates/gecko'
build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/=
target/product/generic_x86/obj/DATA/gecko_intermediates/gecko'
Compiling SDK Stubs: out/target/common/obj/JAVA_LIBRARIES/android_stubs_cur=
rent_intermediates/classes.jar
Fake javac 1.6.0 revision
Fake java 1.6.0 revisiion
Fake java 1.6.0 revisiion
Checking API: checkapi-last
-JXmx1024m -Jclasspath /home/sbanerje/B2G/build/fake-jdk-tools/lib/tools.ja=
r:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsi=
lver.jar -hide 2 -hide 3 -hide 4 -hide 5 -hide 6 -hide 24 -hide 25 -error 7=
 -error 8 -error 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error=
 15 -error 16 -error 17 -error 18 frameworks/base/api/15.txt out/target/com=
mon/obj/PACKAGING/public_api.txt
Checking API: checkapi-current
-JXmx1024m -Jclasspath /home/sbanerje/B2G/build/fake-jdk-tools/lib/tools.ja=
r:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsi=
lver.jar -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -er=
ror 9 -error 10 -error 11 -error 12 -error 13 -error 14 -error 15 -error 16=
 -error 17 -error 18 -error 19 -error 20 -error 21 -error 23 -error 24 -err=
or 25 frameworks/base/api/current.txt out/target/common/obj/PACKAGING/publi=
c_api.txt
host SharedLib: lib64EGL_translator (out/host/linux-x86/obj/lib/lib64EGL_tr=
anslator.so)
/usr/bin/ld.bfd.real: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/lib/lib64EGL_translator.so] Error 1

real	0m10.969s
user	0m5.244s
sys	0m3.340s

> Build failed! <

Build with |./build.sh -j1| for better messages
If all else fails, use |rm -rf objdir-gecko| to clobber gecko and |rm -rf o=
ut| to clobber everything else.
sbanerje@ubuntu:~/B2G$=20

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
1
sourabh
7/26/2012 5:10:01 PM
mozilla.dev.b2g 4036 articles. 0 followers. Post Follow

0 Replies
1007 Views

Similar Articles

[PageSpeed] 21

Reply:

Similar Artilces:

Facing build errors when building B2G configured as emulator-x86 on ubuntu 11.10. #2
sbanerje@ubuntu:~/B2G$ ./build.sh -j1 including sdk/bash_completion/adb.bash /bin/bash: java: command not found /bin/bash: java: command not found /bin/bash: java: command not found /bin/bash: java: command not found =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D PLATFORM_VERSION_CODENAME=3DAOSP PLATFORM_VERSION=3D4.0.4.0.4.0.4 TARGET_PRODUCT=3Dfull_x86 TARGET_BUILD_VARIANT=3Deng TARGET_BUILD_TYPE=3Drelease TARGET_BUILD_APPS=3D TARGET_ARCH=3Dx86 TARGET_ARCH_VARIANT=3Dx86-atom HOST_ARCH=3Dx...

Build B2G ubuntu 32bits error config.sh emulator-x86 and build.sh
I Have matter to generate build.sh B2G on Ubuntu 32bits. The config.sh x86 emulator-dyke good, but when I try to build.sh, occurs th= e following error Help me, please? [code] Install: out/host/linux-x86/bin/emulator-x86 target Generated: emulator64-arm <=3D external/qemu/qemu-monitor.hx target Generated: emulator64-arm <=3D external/qemu/qemu-options.hx host C: emulator64-arm <=3D external/qemu/audio/audio.c ERROR: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/x86_64-linux-glibc2= ..7-4.6/bin/x86_64-linux-gcc only run on 64-bit linux > Build failed! < [...

problem building b2g: ubuntu 11.10 craches
Hi I spent many days trying building b2g but I failed The reason is that ubuntu freezes when I run ./config.sh (when fetching and unzipping files) I had ubuntu 12 x64, and when I saw in the b2g guide that it 's better to have ubuntu 11.10, I installed ubuntu 11.10 and i have the some issue. I have this issue even when watching flv videos I have nvidia getforce gt 320M (1GB memory) graphic card In windows , I don't have the same problem So please help me Best Riadh ...

Build error building B2G for Aries
Running: BRANCH=master ./config.sh aries ./build.sh I'm getting the following error when building B2G: ------ pull: /sbin/watchdogd -> ../../../backup-aries/root/sbin/watchdogd 10 files pulled. 0 files skipped. 1161 KB/s (2370098 bytes in 1.991s) Pulling files from ../../../backup-aries Invalid system backup - Wrong base version found: aries-eng 4.4.2 KOT49H eng.worker.20150721.152336 test-keys. Do this: 1. Delete backup-aries 2. Flash your device with KK based images from the vendor 3. Try building again > Build failed! < ------ For context, I...

Getting build failure for B2G ARM emulator build
Hi, I am trying to build b2g emulator for ARM. Followed guide in below link: https://developer.mozilla.org/en-US/docs/Mozilla/Boot_to_Gecko/Preparing_for_your_first_B2G_build#Configuring_to_build_an_emulator when i do build ./build.sh -j1, build is failing with below error /bin/bash: ./xulrunner-sdk/bin/run-mozilla.sh: No such file or directory make[1]: *** [applications-data] Error 127 make[1]: Leaving directory `/u/prakot/emulator/B2G/gaia' make: *** [gaia/profile.tar.gz] Error 2 real 11m57.776s user 8m43.420s sys 1m25.890s > Build failed! < can i get s...

Build Error while building B2G for armani. Please Help Me
make: *** No rule to make target `out/target/product/armani/obj/STATIC_LIBRARIES/lib_driver_cmd_qcwcn_intermediates/export_includes', n eeded by `out/target/product/armani/obj/EXECUTABLES/hostapd_intermediates/import_includes'. Stop Manifest: https://github.com/b2g-armani/manifest/blob/master/armani.xml ...

Error building x86 emulator on Mac OS X 10.6.8
Hello Guys, This is the first time i am compiling B2G on a mac. I am getting following error: B2G/prebuilt/darwin-x86/toolchain/i686-android-linux-4.4.3/bin/../lib/gcc/i686-android-linux/4.4.3/../../../../i686-android-linux/bin/ld: cannot find -lrt collect2: ld returned 1 exit status make[8]: *** [libnspr4.so] Error 1 make[7]: *** [export] Error 2 make[6]: *** [export] Error 2 make[5]: *** [export] Error 2 make[4]: *** [tier_nspr] Error 2 make[3]: *** [default] Error 2 make[2]: *** [realbuild] Error 2 make[1]: *** [build] Error 2 make: *** [out/target/product/gene...

Error building x86 emulator on Mac OS X 10.6.8
Hello Guys, This is the first time i am compiling B2G on a mac. I am getting following error: B2G/prebuilt/darwin-x86/toolchain/i686-android-linux-4.4.3/bin/../lib/gcc/i686-android-linux/4.4.3/../../../../i686-android-linux/bin/ld: cannot find -lrt collect2: ld returned 1 exit status make[8]: *** [libnspr4.so] Error 1 make[7]: *** [export] Error 2 make[6]: *** [export] Error 2 make[5]: *** [export] Error 2 make[4]: *** [tier_nspr] Error 2 make[3]: *** [default] Error 2 make[2]: *** [realbuild] Error 2 make[1]: *** [build] Error 2 make: *** [out/target/product/generic_x86/obj/D...

Building Error in B2G
Hello All, Can you tell me whats going wrong here. pull: /system/xbin/add-property-tag -> ../../../backup-keon/system/xbin/add-property-tag pull: /system/build.prop -> ../../../backup-keon/system/build.prop 1233 files pulled. 0 files skipped. 2032 KB/s (269610541 bytes in 129.547s) cp: cannot stat '../../../backup-keon/system/etc/wifi/WCN*': No such file or directory Pulling "libaudioeq.so" remote object '/system/lib/libaudioeq.so' does not exist Failed to pull libaudioeq.so. Giving up. > Build failed! < Build with |./build.sh -j1| for b...

Build Error for emulator-x86
Hi all , I am building the B2G. I am not able to resolve this error can you please help me . error is as follows. Thank you in advance... .../../../prebuilt/linux-x86/toolchain/i686-android-linux-4.4.3/bin/../lib/gcc/i686-android-linux/4.4.3/../../../../i686-android-linux/bin/ld: cannot find -lOpenSLES collect2: ld returned 1 exit status make[6]: *** [libxul.so] Error 1 make[5]: *** [libs_tier_platform] Error 2 make[4]: *** [tier_platform] Error 2 make[3]: *** [default] Error 2 make[2]: *** [realbuild] Error 2 make[1]: *** [build] Error 2 make: *** [out/target...

b2g build error for pandaboard
Hi, the emulator build works well. However, i have no idea about why errors happened when I tried to build for pandaboard. make: *** [out/target/product/panda/obj/EXECUTABLES/sutagent_intermediates/src/CommandEventHandler.o] Error 1 make: *** [out/target/product/panda/obj/EXECUTABLES/sutagent_intermediates/src/EventHandler.o] Error 1 I had these two errors, please let me know if you know how to fix it. thanks Sam, We don't have sutagent in the non-pandaboard manifests, so it's not surprising that you aren't able to reproduce this failure for the emulator. To...

Failure to build B2G from build.sh for nexus S
Hi there, I'm trying to build b2g for my nexus S, I followed the mozilla wiki. the git cloning went well, when i run ./config.sh I can see the nexus S option. But when I type ./config.sh/ nexus-s I get an error message : [me@arch B2G]$ ./config.sh nexus-s Traceback (most recent call last): File "./repo", line 738, in <module> main(sys.argv[1:]) File "./repo", line 705, in main _Init(args) File "./repo", line 234, in _Init _CheckGitVersion() File "./repo", line 274, in _CheckGitVersion if not ver_...

B2G build creating "desktop" build
I'm building gecko on OSX 10.9.5 for a flame. My workflow is: ../config.sh flame-kk ../build.sh gecko ../flash.sh gecko The build succeeds yet the flame doesn't boot up after I flash. I noticed t= he build produces a 'b2g-bin' file dist/b2g. My understanding is this shoul= d only be produced for desktop builds. I believe the fact that this file is= produced is the source of the startup errors. My .userconfig is: export MOZ_PROFILING=3D1 export DEVICE_DEBUG=3D1 export GECKO_PATH=3D/Volumes/firefoxos/sandbox/mozilla/B2G/gecko Any help/hints are appreciated....

VS Builds, and Builds, and Builds
Hello, Has anyone else had this problem?  After a while of developing, and I go to compile, VS takes forever to build and I have to end-task it.  It's definitely after I've been working for a while, then it finally has "had it" and just takes forever to build.  It's annoying as I know its not the machine (2.8 GHZ processor and 1GB RAM).  Has anyone else experienced this problem?  By the way, I do have SP1 installed. Also, after minimizing and switching around screens, when it does this, the building icon in the status bar doesn't show.  And, for more informati...

Web resources about - Facing build errors when building B2G configured as emulator-x86 on ubuntu 11.10. - mozilla.dev.b2g

Resources last updated: 12/28/2015 6:08:03 PM