B2G > Build failed! < for Galaxy Nexus (Tier 3)

UNCONFIRMED
Unassigned

Status

Firefox OS
General
UNCONFIRMED
2 years ago
2 years ago

People

(Reporter: Zoltán Antal, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0
Build ID: 20151015172900

Steps to reproduce:

The Official galaxy-nexus.xml manifest file is wrong unfortunately. So:

1. In my firefoxOS folder: git clone https://github.com/mozilla-b2g/b2g-manifest.git
2. So i got a b2g-manifest folder in my firefoxOS folder
3. I put an edited galaxy-nexus.xml in this b2g-manifest folder.
4. My command:   git commit -a
5. There I make something change, then CTLR+O (save) and CTRL+X (exit)
6. I edited the config.sh file. I change the line:

GITREPO=${GITREPO:-"git://github.com/mozilla-b2g/b2g-manifest"}
BRANCH=${BRANCH:-master}

by

GITREPO=${GITREPO:-"file:///home/myuser/firefoxOS/B2G/b2g-manifest"}
BRANCH=${BRANCH:-master}

7. Again: ./config.sh galaxy-nexus 


Actual results:

./config.sh was succesful.

Unfortunately the ./build.sh was not successful

I got the next message:

./build.sh -j1

============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.0.4.0.4.0.4
TARGET_PRODUCT=full_maguro
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.0-31-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================

Blob setup script has changed, re-running
broadcom-maguro-imm76d-4ee51a8d.tgz: OK
imgtec-maguro-imm76d-0f59ea74.tgz: OK
samsung-maguro-imm76d-d16591cf.tgz: OK
broadcom-maguro-imm76d-4ee51a8d.tgz: OK
imgtec-maguro-imm76d-0f59ea74.tgz: OK
samsung-maguro-imm76d-d16591cf.tgz: OK
extract-broadcom-maguro.sh
extract-imgtec-maguro.sh
extract-samsung-maguro.sh

The license for this software will now be displayed.
You must agree to this license before using this software.

Press Enter to view the license

Type "I ACCEPT" if you agree to the terms of the license: 
vendor/
vendor/broadcom/
vendor/broadcom/maguro/
vendor/broadcom/maguro/BoardConfigMaguro.mk
vendor/broadcom/maguro/proprietary/
vendor/broadcom/maguro/proprietary/bcm4330.hcd
vendor/broadcom/maguro/device-maguro.mk
vendor/samsung/
vendor/samsung/maguro/
vendor/samsung/maguro/BoardConfigVendor.mk
vendor/samsung/maguro/device-vendor.mk

Files extracted successfully.

The license for this software will now be displayed.
You must agree to this license before using this software.

Press Enter to view the license

Type "I ACCEPT" if you agree to the terms of the license: 
vendor/
vendor/imgtec/
vendor/imgtec/maguro/
vendor/imgtec/maguro/BoardConfigMaguro.mk
vendor/imgtec/maguro/proprietary/
vendor/imgtec/maguro/proprietary/libsrv_init.so
vendor/imgtec/maguro/proprietary/gralloc.omap4.so
vendor/imgtec/maguro/proprietary/libsrv_um.so
vendor/imgtec/maguro/proprietary/libIMGegl.so
vendor/imgtec/maguro/proprietary/libEGL_POWERVR_SGX540_120.so
vendor/imgtec/maguro/proprietary/libGLESv2_POWERVR_SGX540_120.so
vendor/imgtec/maguro/proprietary/pvrsrvinit
vendor/imgtec/maguro/proprietary/libGLESv1_CM_POWERVR_SGX540_120.so
vendor/imgtec/maguro/proprietary/libusc.so
vendor/imgtec/maguro/proprietary/libPVRScopeServices.so
vendor/imgtec/maguro/proprietary/libpvr2d.so
vendor/imgtec/maguro/proprietary/libglslcompiler.so
vendor/imgtec/maguro/proprietary/libpvrANDROID_WSEGL.so
vendor/imgtec/maguro/device-maguro.mk
vendor/samsung/
vendor/samsung/maguro/
vendor/samsung/maguro/BoardConfigVendor.mk
vendor/samsung/maguro/device-vendor.mk

Files extracted successfully.

The license for this software will now be displayed.
You must agree to this license before using this software.

Press Enter to view the license

Type "I ACCEPT" if you agree to the terms of the license: 
vendor/
vendor/samsung/
vendor/samsung/maguro/
vendor/samsung/maguro/BoardConfigMaguro.mk
vendor/samsung/maguro/proprietary/
vendor/samsung/maguro/proprietary/libsec-ril.so
vendor/samsung/maguro/proprietary/libsecril-client.so
vendor/samsung/maguro/proprietary/fRom
vendor/samsung/maguro/BoardConfigVendor.mk
vendor/samsung/maguro/device-maguro.mk
vendor/samsung/maguro/device-vendor.mk

Files extracted successfully.
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.0.4.0.4.0.4
TARGET_PRODUCT=full_maguro
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.0-31-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
 
Your version is: Fake java 1.6.0 revisiion.
The correct version is: Java SE 1.6.
 
Please follow the machine setup instructions at
    http://source.android.com/source/download.html
************************************************************
CMake not found, will not compile apitrace
external/busybox/Android.mk:34: warning: overriding commands for target `out/target/product/maguro/obj/EXECUTABLES/busybox_intermediates/busybox'
build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/target/product/maguro/obj/EXECUTABLES/busybox_intermediates/busybox'
external/screencap-gonk/Android.mk:35: warning: overriding commands for target `out/target/product/maguro/system/bin/screencap-gonk'
build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/maguro/system/bin/screencap-gonk'
find: „../../external/apache-http/src/org/apache/http”: Nincs ilyen fájl vagy könyvtár
find: „../../external/apache-http/src/org/apache/http”: Nincs ilyen fájl vagy könyvtár
find: „../../external/apache-http/src/org/apache/http”: Nincs ilyen fájl vagy könyvtár
find: „../../external/nist-sip/java”: Nincs ilyen fájl vagy könyvtár
find: „../../external/apache-http/src”: Nincs ilyen fájl vagy könyvtár
find: „../../external/libphonenumber/java/src”: Nincs ilyen fájl vagy könyvtár
gaia/Android.mk:53: warning: overriding commands for target `out/target/product/maguro/data/local/gaia'
build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/maguro/data/local/gaia'
gonk-misc/Android.mk:30: warning: overriding commands for target `out/target/product/maguro/obj/ETC/init.rc_intermediates/init.rc'
build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/target/product/maguro/obj/ETC/init.rc_intermediates/init.rc'
gonk-misc/Android.mk:137: warning: overriding commands for target `out/target/product/maguro/obj/DATA/sources.xml_intermediates/sources.xml'
build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/target/product/maguro/obj/DATA/sources.xml_intermediates/sources.xml'
gonk-misc/Android.mk:384: warning: overriding commands for target `out/target/product/maguro/system/gecko'
build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/maguro/system/gecko'
gonk-misc/Android.mk:474: warning: overriding commands for target `out/target/product/maguro/obj/DATA/gecko_intermediates/gecko'
build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/target/product/maguro/obj/DATA/gecko_intermediates/gecko'
build/core/base_rules.mk:532: warning: overriding commands for target `out/target/product/maguro/system/bin/ash'
external/busybox/Android.mk:257: warning: ignoring old commands for target `out/target/product/maguro/system/bin/ash'
build/core/Makefile:25: warning: overriding commands for target `out/target/product/maguro/system/fonts/DroidSansEthiopic-Regular.ttf'
build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/maguro/system/fonts/DroidSansEthiopic-Regular.ttf'
build/core/Makefile:25: warning: overriding commands for target `out/target/product/maguro/system/fonts/DroidSansFallback.ttf'
build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/maguro/system/fonts/DroidSansFallback.ttf'
No private recovery resources for TARGET_DEVICE maguro
Checking API: checkapi-last
-JXmx1024m -Jclasspath /home/ao/firefoxOS/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.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/common/obj/PACKAGING/public_api.txt
Checking API: checkapi-current
-JXmx1024m -Jclasspath /home/ao/firefoxOS/B2G/build/fake-jdk-tools/lib/tools.jar:out/host/linux-x86/framework/doclava.jar:out/host/linux-x86/framework/jsilver.jar -error 2 -error 3 -error 4 -error 5 -error 6 -error 7 -error 8 -error 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 -error 25 frameworks/base/api/current.txt out/target/common/obj/PACKAGING/public_api.txt
Header: out/host/linux-x86/obj/include/libexpat/expat.h
Header: out/host/linux-x86/obj/include/libexpat/expat_external.h
Header: out/target/product/maguro/obj/include/libexpat/expat.h
Header: out/target/product/maguro/obj/include/libexpat/expat_external.h
Header: out/host/linux-x86/obj/include/libpng/png.h
Header: out/host/linux-x86/obj/include/libpng/pngconf.h
Header: out/host/linux-x86/obj/include/libpng/pngusr.h
Header: out/target/product/maguro/obj/include/libpng/png.h
Header: out/target/product/maguro/obj/include/libpng/pngconf.h
Header: out/target/product/maguro/obj/include/libpng/pngusr.h
Header: out/target/product/maguro/obj/include/libsonivox/eas.h
Header: out/target/product/maguro/obj/include/libsonivox/eas_types.h
Header: out/target/product/maguro/obj/include/libsonivox/eas_reverb.h
Header: out/target/product/maguro/obj/include/libsonivox/jet.h
Header: out/target/product/maguro/obj/include/libsonivox/ARM_synth_constants_gnu.inc
Header: out/target/product/maguro/obj/include/libwpa_client/wpa_ctrl.h
host C: acp <= build/tools/acp/acp.c
host C++: libhost <= build/libs/host/pseudolocalize.cpp
host C: libhost <= build/libs/host/CopyFile.c
host StaticLib: libhost (out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
host Executable: acp (out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)
true
Install: out/host/linux-x86/bin/acp
target Prebuilt:  (out/target/product/maguro/system/usr/share/zoneinfo/zoneinfo.dat)
target Prebuilt:  (out/target/product/maguro/system/usr/share/zoneinfo/zoneinfo.idx)
target Prebuilt:  (out/target/product/maguro/system/usr/share/zoneinfo/zoneinfo.version)
Copy: out/host/linux-x86/usr/share/zoneinfo/zoneinfo.dat
Copy: out/host/linux-x86/usr/share/zoneinfo/zoneinfo.idx
Copy: out/host/linux-x86/usr/share/zoneinfo/zoneinfo.version
target Prebuilt:  (out/target/product/maguro/system/bin/am)
target Prebuilt:  (out/target/product/maguro/system/bin/bmgr)
target Prebuilt:  (out/target/product/maguro/system/bin/ime)
target Prebuilt:  (out/target/product/maguro/system/bin/input)
target Prebuilt:  (out/target/product/maguro/system/bin/pm)
target Prebuilt:  (out/target/product/maguro/system/bin/svc)
target Prebuilt: system_etcdir (out/target/product/maguro/system/etc/dbus.conf)
target Prebuilt: system_etcdir (out/target/product/maguro/system/etc/hosts)
target Prebuilt: system_etcdir (out/target/product/maguro/system/etc/init.goldfish.sh)
target Prebuilt:  (out/target/product/maguro/root/ueventd.rc)
target Prebuilt:  (out/target/product/maguro/root/init.goldfish.rc)
target Prebuilt:  (out/target/product/maguro/root/ueventd.goldfish.rc)
Directory: out/target/product/maguro/root/sbin
Directory: out/target/product/maguro/root/dev
Directory: out/target/product/maguro/root/proc
Directory: out/target/product/maguro/root/sys
Directory: out/target/product/maguro/root/system
Directory: out/target/product/maguro/root/data
Directory: out/target/product/maguro/data
host C++: aapt <= frameworks/base/tools/aapt/AaptAssets.cpp
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
                 from frameworks/base/tools/aapt/AaptAssets.h:10,
                 from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android::DefaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptSymbols>]’:
frameworks/base/tools/aapt/AaptAssets.h:446:59:   required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptSymbols> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android::DefaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptGroup>]’:
frameworks/base/tools/aapt/AaptAssets.cpp:1636:41:   required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptGroup> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android::DefaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptDir>]’:
frameworks/base/tools/aapt/AaptAssets.cpp:1700:53:   required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptDir> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/AaptAssets.o] Error 1

real	0m6.458s
user	0m4.148s
sys	0m0.664s

> 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 out| to clobber everything else.
You need to log in before you can comment on or make changes to this bug.