Closed Bug 1085219 Opened 12 years ago Closed 12 years ago

Unable to build(./build.sh) after cloning B2G

Categories

(Firefox OS Graveyard :: Gaia::Build, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: rajkumar.thavti, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/33.0.1750.152 Chrome/33.0.1750.152 Safari/537.36 Steps to reproduce: Hi .. i have cloned B2G and configured for panda(./configure -pandaboard) it was successful. After this when i run ./build.sh it throws the error regarding file missing. Actual results: make -C /home/nirav/Firefox_os/B2G/objdir-gecko/b2g/locales merge-$LOCALE LOCALE_MERGEDIR=/home/nirav/Firefox_os/B2G/objdir-gecko/b2g/locales/merge-$LOCALE && \ make -C /home/nirav/Firefox_os/B2G/objdir-gecko/b2g/locales chrome-$LOCALE LOCALE_MERGEDIR=/home/nirav/Firefox_os/B2G/objdir-gecko/b2g/locales/merge-$LOCALE ; \ done && \ make -C /home/nirav/Firefox_os/B2G/objdir-gecko package && \ mkdir -p out/target/product/panda/obj/DATA/gecko_intermediates && cp /home/nirav/Firefox_os/B2G/objdir-gecko/dist/b2g-*.tar.gz out/target/product/panda/obj/DATA/gecko_intermediates/gecko make -C /home/nirav/Firefox_os/B2G/gecko -f client.mk -s MOZ_MAKE_FLAGS= client.mk:201: /home/nirav/Firefox_os/B2G/objdir-gecko/.mozconfig.mk: No such file or directory Clobber not needed. Adding client.mk options from /home/nirav/Firefox_os/B2G/gonk-misc/default-gecko-config: AUTOCLOBBER=1 export MOZ_AUTOMATION_BUILD_SYMBOLS=1 export MOZ_AUTOMATION_CHECK=1 export MOZ_AUTOMATION_L10N_CHECK=1 export MOZ_AUTOMATION_PACKAGE=1 export MOZ_AUTOMATION_PACKAGE_TESTS=1 export MOZ_AUTOMATION_INSTALLER=0 export MOZ_AUTOMATION_TALOS_SENDCHANGE=1 export MOZ_AUTOMATION_UNITTEST_SENDCHANGE=1 export MOZ_AUTOMATION_UPDATE_PACKAGING=0 export MOZ_AUTOMATION_UPLOAD=1 export MOZ_AUTOMATION_UPLOAD_SYMBOLS=0 CONFIG_GUESS=arm-linux-androideabi MOZ_OBJDIR=/home/nirav/Firefox_os/B2G/objdir-gecko OBJDIR=/home/nirav/Firefox_os/B2G/objdir-gecko FOUND_MOZCONFIG=/home/nirav/Firefox_os/B2G/gonk-misc/default-gecko-config /home/nirav/Firefox_os/B2G/gecko/client.mk:304: *** Could not find autoconf 2.13. Stop. make[1]: *** [build] Error 2 make: *** [out/target/product/panda/obj/DATA/gecko_intermediates/gecko] Error 2 real 2m32.063s user 1m28.782s sys 0m14.537s > 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. Expected results: it should build the OS successfully .
Severity: normal → critical
Please don't misuse the security-bug flag.
Group: core-security
The error, from your log: /home/nirav/Firefox_os/B2G/gecko/client.mk:304: *** Could not find autoconf 2.13. Stop. you need to install the autoconf2.13 package on ubuntu.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
its compiled sucessfully...
Not fix , I am getting error, when build using command : ./build.sh on Mac Terminal : n file included from frameworks/base/tools/aapt/Command.cpp:6: In file included from frameworks/base/tools/aapt/Main.h:13: In file included from frameworks/base/tools/aapt/Bundle.h:15: In file included from frameworks/base/include/utils/Vector.h:20: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/new:67: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:227:20: error: typedef redefinition with different types ('char16_t' vs 'uint16_t' (aka 'unsigned short')) typedef __char16_t char16_t; ^ frameworks/base/include/utils/Unicode.h:26:18: note: previous definition is here typedef uint16_t char16_t; ^ In file included from frameworks/base/tools/aapt/Command.cpp:6: In file included from frameworks/base/tools/aapt/Main.h:13: In file included from frameworks/base/tools/aapt/Bundle.h:15: In file included from frameworks/base/include/utils/Vector.h:20: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/new:67: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:228:20: error: typedef redefinition with different types ('char32_t' vs 'uint32_t' (aka 'unsigned int')) typedef __char32_t char32_t; ^ frameworks/base/include/utils/Unicode.h:25:18: note: previous definition is here typedef uint32_t char32_t; ^ In file included from frameworks/base/tools/aapt/Command.cpp:6: In file included from frameworks/base/tools/aapt/Main.h:13: In file included from frameworks/base/tools/aapt/Bundle.h:15: In file included from frameworks/base/include/utils/Vector.h:20: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/new:68: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/exception:81: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:321:20: error: redefinition of 'std::__1::__libcpp_is_integral<char16_t>' template <> struct __libcpp_is_integral<unsigned short> : public true_type {}; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:317:20: note: previous definition is here template <> struct __libcpp_is_integral<char16_t> : public true_type {}; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:323:20: error: redefinition of 'std::__1::__libcpp_is_integral<char32_t>' template <> struct __libcpp_is_integral<unsigned int> : public true_type {}; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:318:20: note: previous definition is here template <> struct __libcpp_is_integral<char32_t> : public true_type {}; ^ In file included from frameworks/base/tools/aapt/Command.cpp:9: In file included from frameworks/base/tools/aapt/ResourceTable.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/set:388: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:2270:57: error: redefinition of 'std::__1::hash<char16_t>' struct __attribute__ ((__type_visibility__("default"))) hash<unsigned short> ^~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:2236:57: note: previous definition is here struct __attribute__ ((__type_visibility__("default"))) hash<char16_t> ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:2286:57: error: redefinition of 'std::__1::hash<char32_t>' struct __attribute__ ((__type_visibility__("default"))) hash<unsigned int> ^~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:2244:57: note: previous definition is here struct __attribute__ ((__type_visibility__("default"))) hash<char32_t> ^ frameworks/base/tools/aapt/Command.cpp:199:14: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare] if (&res == __null) { ^~~ ~~~~~~ frameworks/base/tools/aapt/Command.cpp:472:10: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare] if (&res == __null) { ^~~ ~~~~~~ 2 warnings and 6 errors generated. make: *** [out/host/darwin-x86/obj/EXECUTABLES/aapt_intermediates/Command.o] Error 1 real 0m43.543s user 0m9.433s sys 0m7.507s > 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. MacBookPro-OS: 10.10.2 (OS X Yosemite) MacBook Pro (13-inch, Mid 2012) and XCODE 6.4 Actual Result : Successfully
Flags: needinfo?(mishra.vinav)

Clearing the needinfo request since this bug has been closed as INVALID for 12 years and 3 days.

For more information, please visit BugBot documentation.

Flags: needinfo?(mishra.vinav)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: