Closed
Bug 1060996
Opened 10 years ago
Closed 10 years ago
Trace_util not found when building B2G.
Categories
(Firefox OS Graveyard :: General, defect)
Firefox OS Graveyard
General
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: madrid.crespo, Unassigned, NeedInfo)
References
Details
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release)
Build ID: 20140716183446
Steps to reproduce:
I have noticed that /systtem/bin/trace_util is not found in my Firefox OS Flame. It is using a recent nightly build and the build is working, but it does not have that binary.
When I try to build B2G, extract_files.sh tries to pull that file and it fails due to it is not available.
I fixed it getting trace_util from a 1.3v build, but I am wondering what is trace_util, why my builds worked without it and why is needed currently.
Comment 1•10 years ago
|
||
Yes, I have a same problem.
what I did is:
$ ./config.sh flame
$ build.sh
------------
...
Pulling "rmt_storage"
Pulling "time_daemon"
Pulling "trace_util"
cp: ../../../backup-flame/system/bin/trace_util: No such file or directory
Failed to pull trace_util. Giving up.
------------
Comment 2•10 years ago
|
||
The problem appear since https://bugzilla.mozilla.org/show_bug.cgi?id=1045504
He is present when compiling for 2.0 and 2.1
Comment 3•10 years ago
|
||
> I am wondering what is trace_util, why my builds worked without it and why is needed currently.
Mwu, do you know?
Flags: needinfo?(mwu)
Updated•10 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•10 years ago
|
||
Asking kli, reviewer of bug 1045504. (Viral is out on PTO)
Maybe expects KK build? or our base build needs update to have this?
Flags: needinfo?(mwu) → needinfo?(kli)
Comment 5•10 years ago
|
||
Yes, device-flame 'kitkat' branch need the same patch as bug 1045504. And when we extract from the device we need to use the image which is release from partner.
Flags: needinfo?(kli)
Comment 6•10 years ago
|
||
(In reply to Kai-Zhen Li from comment #5)
> Yes, device-flame 'kitkat' branch need the same patch as bug 1045504. And
> when we extract from the device we need to use the image which is release
> from partner.
Is that patch landed on kitkat branch?
Flags: needinfo?(kli)
Comment 7•10 years ago
|
||
If that patch only works on kitkat branch, why is it landed on any other branch? I'm confused.
Reporter | ||
Comment 8•10 years ago
|
||
I would like to point out that I was not trying to build flame-kk but only flame (not sure If it helps, sorry).
Comment 9•10 years ago
|
||
Dietrich, originally, this patch is not created for kitkat branch. These branches, master/v2.0/v1.4 need this patch and it already got landed. For kitkat branch it can be uplifted per request.
CodingFree, If you are trying to build flame and /systtem/bin/trace_util is not found, I suggest you flash your device with the image form T2M, then rm backup-flame in B2G dir and try again.
Flags: needinfo?(kli)
Updated•10 years ago
|
blocking-b2g: --- → 2.2?
Comment 10•10 years ago
|
||
(In reply to Kai-Zhen Li [:seinlin] from comment #9)
> Dietrich, originally, this patch is not created for kitkat branch. These
> branches, master/v2.0/v1.4 need this patch and it already got landed. For
> kitkat branch it can be uplifted per request.
>
> CodingFree, If you are trying to build flame and /systtem/bin/trace_util is
> not found, I suggest you flash your device with the image form T2M, then rm
> backup-flame in B2G dir and try again.
Please clarify your reference to "T2M". This shorthand isn't clear to me.
Comment 11•10 years ago
|
||
(In reply to CodingFree from comment #0)
> User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101
> Firefox/31.0 (Beta/Release)
> Build ID: 20140716183446
>
> Steps to reproduce:
>
> I have noticed that /systtem/bin/trace_util is not found in my Firefox OS
> Flame. It is using a recent nightly build and the build is working, but it
> does not have that binary.
>
> When I try to build B2G, extract_files.sh tries to pull that file and it
> fails due to it is not available.
>
> I fixed it getting trace_util from a 1.3v build, but I am wondering what is
> trace_util, why my builds worked without it and why is needed currently.
im experiancing this same issue the problem for me is i cant find a build to take it from and im using the ZTE Open C
Comment 12•10 years ago
|
||
(In reply to franzferdinan51@gmail.com from comment #11)
> (In reply to CodingFree from comment #0)
> > User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101
> > Firefox/31.0 (Beta/Release)
> > Build ID: 20140716183446
> >
> > Steps to reproduce:
> >
> > I have noticed that /systtem/bin/trace_util is not found in my Firefox OS
> > Flame. It is using a recent nightly build and the build is working, but it
> > does not have that binary.
> >
> > When I try to build B2G, extract_files.sh tries to pull that file and it
> > fails due to it is not available.
> >
> > I fixed it getting trace_util from a 1.3v build, but I am wondering what is
> > trace_util, why my builds worked without it and why is needed currently.
>
> im experiancing this same issue the problem for me is i cant find a build to
> take it from and im using the ZTE Open C
+1
I use a ZTE Open C recently flashed with 2.0 flame [1]
I'm trying to build a system by myself but it fails while backuping the running system when pulling /system/bin/trace_util
Searching on the net, it seems solved by using this an openc manifest [2][3]
I'm trying it ...
[1] - https://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-b2g32_v2_0-flame/
[2] - https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C
[3] - http://forum.xda-developers.com/firefox-os/firefox-os-qa/q-failed-to-pull-traceutil-zte-c-t2977543
Comment 13•10 years ago
|
||
We're in B2G triage and need a 2.2 repro on a Flame before we can consider giving this a +.
Comment 14•10 years ago
|
||
Hey,
Could you share the latest update as you mentioned you want to check if it fixed?
Flags: needinfo?(fccagou)
Comment 15•10 years ago
|
||
I am clearing the nom for now as i think this should be resolved.
blocking-b2g: 2.2? → ---
Comment 16•10 years ago
|
||
I haven't encountered this problem for a while and when using the latest images trace_util is always present. I'll close as WORKSFORME, reopen if this crops up again.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Comment 17•10 years ago
|
||
I'm new to Firefox OS and while trying to build it for the first time, I encountered this problem : missing ../../../backup-flame/system/bin/trace_util
I did a "adb pull /system backup-flame/system" before and I checked using "adb shell" that the file trace_util doesn't exist in my ZTE Open C.
On my phone, I installed a community build 2.1.0.0-prerelease from 7th April 2015
To configure my build I did "./config.sh flame", so I'm not sure which version of Firefox OS I'm trying to build.
You need to log in
before you can comment on or make changes to this bug.
Description
•