I just follow this document to run gecko profile on Nexus-4 https://wiki.mozilla.org/B2G/Profiling
Build break happens. 1. git clone git://github.com/jld/B2G.git git checkout profiling 2. Set BRANCH=master 3. ./config.sh. nexus-4 4. "export B2G_PROFILING=1" in .userconfig 5. ./build.sh. ber function 'virtual void android::Converter::onMessageReceived(const android::sp<android::AMessage>&)': frameworks/av/media/libstagefright/wifi-display/source/Converter.cpp:298: error: no matching function for call to 'Compare_EQ(int32_t&, android::MediaPuller::<anonymous enum>)' make: *** [out/target/product/mako/obj/SHARED_LIBRARIES/libstagefright_wfd_intermediates/source/Converter.o] Error 1 make: *** Waiting for unfinished jobs.... frameworks/av/media/libstagefright/wifi-display/source/PlaybackSession.cpp: In member function 'virtual void android::WifiDisplaySource::PlaybackSession::onMessageReceived(const android::sp<android::AMessage>&)': frameworks/av/media/libstagefright/wifi-display/source/PlaybackSession.cpp:502: error: no matching function for call to 'Compare_EQ(int32_t&, android::Converter::<anonymous enum>)' frameworks/av/media/libstagefright/wifi-display/source/PlaybackSession.cpp:519: error: no matching function for call to 'Compare_EQ(int32_t&, android::Converter::<anonymous enum>)' make: *** ----- Original Message ----- From: [email protected] To: [email protected] Sent: Wednesday, September 25, 2013 1:48:50 PM Subject: dev-b2g Digest, Vol 26, Issue 87 Send dev-b2g mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://lists.mozilla.org/listinfo/dev-b2g or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of dev-b2g digest..." Today's Topics: 1. Re: Mach for b2g emulator unittests (Andrew Halberstadt) 2. Re: Need help un-bricking my ZTE Open (Eduardo Gonz?lez) 3. Re: Need help un-bricking my ZTE Open (jezra) 4. Mozilla RIL 09/24/2013 Buri 1.2 Smoketest Results - 45/46 tests passed, 1 untested (Marcia Knous) 5. Mozilla RIL 09/24/2013 Buri Mozilla Central Build Smoketest Results - 43/46 tests passed, no new blockers, 1 untested (Marcia Knous) 6. TOR Project on FxOS ([email protected]) 7. Re: Mach for b2g emulator unittests (Szu-Yu Chen) 8. Leo? triage (Joe Cheng) 9. Re: Installing Firefox 1.2/App Manager (Chris Mills) ---------------------------------------------------------------------- Message: 1 Date: Tue, 24 Sep 2013 16:21:33 -0400 From: Andrew Halberstadt <[email protected]> To: [email protected] Subject: Re: [b2g] Mach for b2g emulator unittests Message-ID: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed For the record, this is bug 920056. On 09/24/2013 10:05 AM, Andrew Halberstadt wrote: > Ah good to know, I assumed .userconfig was basically the same thing as > .config. For now I can probably just stop parsing .userconfig as I don't > think any of the mach commands currently implemented would need anything > from there. But longer term I should probably just source load-config > itself. I'll file a bug and cc you. > > Thanks! > Andrew > > On 09/24/2013 05:30 AM, Szu-Yu Chen wrote: >> Hi Andrew, >> >> I got some problems because of the format of '.userconfig'. >> >> In mach_b2g_bootstrap.py [1], we are parsing '.config' and >> '.userconfig' into key/value pairs and set them into environment. >> However the format of '.userconfig' is not so simple [2]. >> Alos, we might use variable expansion, if/else, and also other bash >> format (take a look for my .userconfig [3]) >> I suggest not parsing '.userconfig' in python and let it being handled >> by bash itself. I have some modification for this [4]. >> The limitation of the solution is that we should use "*export* >> KEY=VALUE" so that the newly environment vars could be appeared in the >> output of 'env'. >> >> Any suggestion for this part? >> >> [1] >> https://github.com/mozilla-b2g/B2G/blob/master/tools/mach_b2g_bootstrap.py#L178 >> >> [2] >> https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Customization_with_the_.userconfig_file >> >> [3] https://gist.github.com/aknow/6682409 >> [4] https://gist.github.com/aknow/6681883#file-mach_b2g_bootstrap-py-L178 >> >> Best regards, >> Aknow >> -- >> Szu-Yu Chen (Aknow) ??? >> Mozilla Taiwan >> >> ------------------------------------------------------------------------ >> *From: *"Andrew Halberstadt" <[email protected]> >> *To: *[email protected] >> *Sent: *Tuesday, September 17, 2013 2:58:50 AM >> *Subject: *[b2g] Mach for b2g emulator unittests >> >> Running mochitests/reftests/xpcshell on a B2G emulator has been a bit of >> a struggle in the past. As of now, if you have an emulator configured >> and built, you can simply run './mach mochitest-remote' (or ./mach help >> mochitest-remote for additional arguments). Substitute 'mochitest' with >> 'reftest', 'crashtest' or 'xpcshell' to run those suites. >> >> For more details, see my blog post: >> http://ahal.ca/blog/2013/running-b2g-unittests-mach/ >> >> Don't hesitate to ping me if you have problems or questions. >> >> Cheers, >> Andrew >> _______________________________________________ >> dev-b2g mailing list >> [email protected] >> https://lists.mozilla.org/listinfo/dev-b2g >> > ------------------------------ Message: 2 Date: Tue, 24 Sep 2013 14:20:33 -0700 (PDT) From: Eduardo Gonz?lez <[email protected]> To: [email protected] Subject: Re: [b2g] Need help un-bricking my ZTE Open Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Try download firmware from http://www.ztedevices.com/support/selectproduct.html?type=software Selecting your region and follow pdf instructions included into zip file. ------------------------------ Message: 3 Date: Tue, 24 Sep 2013 14:34:22 -0700 From: jezra <[email protected]> To: Eduardo Gonz?lez <[email protected]> Cc: [email protected] Subject: Re: [b2g] Need help un-bricking my ZTE Open Message-ID: <[email protected]> Content-Type: text/plain; charset=UTF-8 Unless you are in the USA, then you need to select 'United Kingdom'; or I could just include the link to final page. http://www.ztedevices.com/support/smart_phone/b5a2981a-1714-4ac7-89e1-630e93e220f8.html?type=software On Tue, 24 Sep 2013 14:20:33 -0700 (PDT) Eduardo Gonz?lez <[email protected]> wrote: > Try download firmware from > http://www.ztedevices.com/support/selectproduct.html?type=software > Selecting your region and follow pdf instructions included into zip > file. _______________________________________________ dev-b2g mailing > list [email protected] > https://lists.mozilla.org/listinfo/dev-b2g ------------------------------ Message: 4 Date: Tue, 24 Sep 2013 15:45:57 -0700 From: Marcia Knous <[email protected]> To: "[email protected]" <[email protected]>, dev-b2g <[email protected]>, b2g-release-drivers <[email protected]>, release <[email protected]> Subject: [b2g] Mozilla RIL 09/24/2013 Buri 1.2 Smoketest Results - 45/46 tests passed, 1 untested Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 45 out of 46 tests passed for the2013-09-24 Buri v1.2.0 Mozilla RIL Build. There are no major issues that prevented the smoketests from passing. Mozilla RIL Build Smoketest Results: Daily Smoke Test Logs: https://docs.google.com/a/qanalydocs.com/spreadsheet/ccc?key=0AjRc6aVFoOW9dGZLdVdiWGZLbVdORlFpUGt5XzZ3Znc Moztrap link:https://moztrap.mozilla.org/runtests/run/2314/env/347/ Tests Were Performed With: Builds ID: 20130924004002 Gecko: b34384409be6 Gaia: a13c76f8d3c617ee57c302c103da04ed1a6298d1 Base Image: 20130912 0 reboots 0 crashes Build Updated From: -No OTA performed. New Bugs Breaking the Smoketests: -None reported. Existing Bugs Breaking the Smoketests: -None reported. New Issues Not Breaking the Smoketests: -None reported. Sincerely, Mozilla QA Team ------------------------------ Message: 5 Date: Tue, 24 Sep 2013 15:48:48 -0700 From: Marcia Knous <[email protected]> To: "[email protected]" <[email protected]>, dev-b2g <[email protected]>, release <[email protected]>, b2g-release-drivers <[email protected]> Subject: [b2g] Mozilla RIL 09/24/2013 Buri Mozilla Central Build Smoketest Results - 43/46 tests passed, no new blockers, 1 untested Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 43 out of 46 tests passed for the2013-09-24 Buri Master/M-C Build. Here are the major issues that prevented the smoketests from passing. Mozilla RIL Build Smoketest Results: Daily Smoke Test Logs: https://docs.google.com/a/qanalydocs.com/spreadsheet/ccc?key=0AjRc6aVFoOW9dGZLdVdiWGZLbVdORlFpUGt5XzZ3Znc Moztrap link:https://moztrap.mozilla.org/runtests/run/2315/env/347/ Tests Were Performed With: Builds ID: 20130924040201 Gecko: 1fda74e33e06 Gaia: a22ba4a3a9efd99f94adf9ece8a2b391d4df295b Base Image: 20130912 0 reboots 0 crashes Build Updated From: -No OTA performed. New Bugs Breaking the Smoketests: -None reported. Existing Bugs Breaking the Smoketests: -[Existing] [B2G][Homescreen] Install and launch Facebook or Twitter apps from Homescreen Search not appearing on Homescreen https://bugzilla.mozilla.org/show_bug.cgi?id=919601 -[Existing] Trusted UI broken: HomescreenLauncher.toggle is not a function -https://bugzilla.mozilla.org/show_bug.cgi?id=919833 New Issues Not Breaking the Smoketests: -None reported. Sincerely, Mozilla QA Team ------------------------------ Message: 6 Date: Tue, 24 Sep 2013 17:18:10 -0700 (PDT) From: [email protected] To: [email protected] Subject: [b2g] TOR Project on FxOS Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Hi, Is there anyway to use TOR (www.torproject.org) in a FxOS mobile as Orbot for Android (https://guardianproject.info/apps/orbot/) ? thx, sauLo ------------------------------ Message: 7 Date: Tue, 24 Sep 2013 21:07:49 -0700 (PDT) From: Szu-Yu Chen <[email protected]> To: Andrew Halberstadt <[email protected]> Cc: [email protected] Subject: Re: [b2g] Mach for b2g emulator unittests Message-ID: <[email protected]> Content-Type: text/plain; charset=utf-8 Hi Andrew, Another question. How to run the xpcshell-test by mach? I don't find the related command. I have tried './mach xpcshell-remote', './mach xpcshelltest-remote', but both of them failed. My './mach help' shows ===== Testing: Run tests. crashtest-remote Run a remote crashtest. mochitest-remote Run a remote mochitest. reftest-remote Run a remote reftest. ===== Do I miss something? The 'xpcshell-remote' is not in the list. Best regards, Aknow -- Szu-Yu Chen (Aknow) ??? Mozilla Taiwan ----- Original Message ----- From: "Andrew Halberstadt" <[email protected]> To: [email protected] Sent: Wednesday, September 25, 2013 4:21:33 AM Subject: Re: [b2g] Mach for b2g emulator unittests For the record, this is bug 920056. On 09/24/2013 10:05 AM, Andrew Halberstadt wrote: > Ah good to know, I assumed .userconfig was basically the same thing as > .config. For now I can probably just stop parsing .userconfig as I don't > think any of the mach commands currently implemented would need anything > from there. But longer term I should probably just source load-config > itself. I'll file a bug and cc you. > > Thanks! > Andrew > > On 09/24/2013 05:30 AM, Szu-Yu Chen wrote: >> Hi Andrew, >> >> I got some problems because of the format of '.userconfig'. >> >> In mach_b2g_bootstrap.py [1], we are parsing '.config' and >> '.userconfig' into key/value pairs and set them into environment. >> However the format of '.userconfig' is not so simple [2]. >> Alos, we might use variable expansion, if/else, and also other bash >> format (take a look for my .userconfig [3]) >> I suggest not parsing '.userconfig' in python and let it being handled >> by bash itself. I have some modification for this [4]. >> The limitation of the solution is that we should use "*export* >> KEY=VALUE" so that the newly environment vars could be appeared in the >> output of 'env'. >> >> Any suggestion for this part? >> >> [1] >> https://github.com/mozilla-b2g/B2G/blob/master/tools/mach_b2g_bootstrap.py#L178 >> >> >> [2] >> https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Customization_with_the_.userconfig_file >> >> >> [3] https://gist.github.com/aknow/6682409 >> [4] https://gist.github.com/aknow/6681883#file-mach_b2g_bootstrap-py-L178 >> >> Best regards, >> Aknow >> -- >> Szu-Yu Chen (Aknow) ??? >> Mozilla Taiwan >> >> ------------------------------------------------------------------------ >> *From: *"Andrew Halberstadt" <[email protected]> >> *To: *[email protected] >> *Sent: *Tuesday, September 17, 2013 2:58:50 AM >> *Subject: *[b2g] Mach for b2g emulator unittests >> >> Running mochitests/reftests/xpcshell on a B2G emulator has been a bit of >> a struggle in the past. As of now, if you have an emulator configured >> and built, you can simply run './mach mochitest-remote' (or ./mach help >> mochitest-remote for additional arguments). Substitute 'mochitest' with >> 'reftest', 'crashtest' or 'xpcshell' to run those suites. >> >> For more details, see my blog post: >> http://ahal.ca/blog/2013/running-b2g-unittests-mach/ >> >> Don't hesitate to ping me if you have problems or questions. >> >> Cheers, >> Andrew >> _______________________________________________ >> dev-b2g mailing list >> [email protected] >> https://lists.mozilla.org/listinfo/dev-b2g >> > _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g ------------------------------ Message: 8 Date: Tue, 24 Sep 2013 21:51:40 -0700 (PDT) From: Joe Cheng <[email protected]> To: Faramarz Rashed <[email protected]>, Lucas Adamski <[email protected]>, Jason Smith <[email protected]>, Dietrich Ayala <[email protected]>, Milan Sreckovic <[email protected]>, Tony Chung <[email protected]>, Andreas Gal <[email protected]>, Bhavana Bajaj <[email protected]>, Peter Dolanjski <[email protected]>, Alive Kuo <[email protected]>, Dylan Oliver <[email protected]>, [email protected], Douglas Turner II <[email protected]>, [email protected], JP Rosevear <[email protected]>, Scravaglieri David <[email protected]>, Lawrence Mandel <[email protected]>, Hu Kevin <[email protected]>, Fabrice Desre <[email protected]>, Jason Duell <[email protected]>, lsblakk <[email protected]>, Jonas Sicking <[email protected]>, Alex Keybl <[email protected]>, Andrew Overholt <[email protected]>, Wayne Chang <[email protected]>, Peter Dolanjski <[email protected]>, "[email protected] Treese" <[email protected]>, Steven Yang <[email protected]>, Dave Hylands <[email protected]>, Naoki Hirata <[email protected]>, Johnny Stenback <[email protected]>, Chris Lee <[email protected]>, VidyoRoom - B2G <[email protected]> Subject: [b2g] Leo? triage Message-ID: <[email protected]> Content-Type: text/plain; charset=utf-8 The following meeting has been modified: Subject: Leo? triage Organizer: "Joe Cheng" <[email protected]> Location: VidyoRoom - B2G Resources: "VidyoRoom - B2G" <[email protected]> (VidyoRoom - B2G) Time: 4:00:00 PM - 5:00:00 PM GMT +08:00 Taipei [MODIFIED] Recurrence : Every 1 week(s) on Monday, Wednesday, and Friday End by Sep 24, 2013 Effective Apr 1, 2013 Invitees: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected] ... *~*~*~*~*~*~*~*~*~* This leo? triage is setup for Asia/EU friendly timezones. Queries can be found at https://wiki.mozilla.org/B2G/Triage#1.1.0_.28Leo.29 ------------------------------ Message: 9 Date: Wed, 25 Sep 2013 06:48:48 +0100 From: Chris Mills <[email protected]> To: Naoki Hirata <[email protected]> Cc: Julien Wajsberg <[email protected]>, "[email protected]" <[email protected]> Subject: Re: [b2g] Installing Firefox 1.2/App Manager Message-ID: <[email protected]> Content-Type: text/plain; charset=iso-8859-1 Naoki, you are a genius! This solved my problem ;-) What was interesting is that after you wrote this, I then managed to find coverage of this issue on MDN, but it was in a fairly non-obvious place. So I've moved it to a more useful place, directly on the Build article https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Building#Mountain_Lion-specific_build_errors Thanks so much. Chris Mills Senior tech writer || Mozilla developer.mozilla.org || MDN [email protected] || @chrisdavidmills On 24 Sep 2013, at 17:37, Naoki Hirata <[email protected]> wrote: > Oops! Wrong issue. > > https://groups.google.com/forum/#!msg/mozilla.dev.b2g/XtGcBX3jPsU/llRgHRPswk8J > M_PI for some reason isn't getting defined right from math.h defining your > own M_PI makes it work. > > Regards, > Naoki > > On 9/24/13 7:39 AM, Chris Mills wrote: >> On 24 Sep 2013, at 12:31, Julien Wajsberg <[email protected]> wrote: >> >>> Le 23/09/2013 19:54, Chris Mills a ?crit : >>>> Hi all, >>>> >>>> I am currently looking into the new App Manager tool, and working on >>>> editing Paul Rouget's already great work on the documentation: >>>> >>>> https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Using_the_App_Manager >>>> >>>> A question though - how do I run a Firefox 1.2 development build? We have >>>> a whole bunch of instructions at >>>> https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Building_and_installing_Firefox_OS, >>>> but I don't see Firefox 1.2 mentioned. Do I need to follow the same >>>> procedure but specify a different branch for FxOS 1.2 somewhere, or do I >>>> need to grab the source from somewhere else, or something else entirely? >>>> >>> I'd say "BRANCH=v1.2 ./config.sh <device>" should work. >> The latest - this seems to work ok for the config, but when I try to build, >> it fails: >> >> http://pastebin.com/hnTdszMg >> >> On IRC, Gerard said that this line was significant: >> >> "external/qemu/android/skin/trackball.c:130:25: error: 'M_PI' undeclared >> (first use in this function)" >> >> But I am pretty sure I've got things set up right, so I am not sure how I >> could be missing M_PI. Any ideas anyone? >> >> Thanks, >> >> Chris >> _______________________________________________ >> dev-b2g mailing list >> [email protected] >> https://lists.mozilla.org/listinfo/dev-b2g > ------------------------------ Subject: Digest Footer _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g ------------------------------ End of dev-b2g Digest, Vol 26, Issue 87 *************************************** _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
