If you're doing your own local builds, the procedure I use is this: 

1 - Flash one one if the base images (I use 122) Start on this page: 
https://intranet.mozilla.org/B2G_Team/Flame 
2 - rm -rf backup-flame and out/target/product/flame/firmware.hash 
3 - Do a build 

Then your local backup-flame will have all of the files that it could possibly 
have. 

Each time I flash a new base image, I repeat this procedure. 

If you create your backup-flame with one of our images instead of one of the 
base images on the phone, then you may wind up with missing files from time to 
time. 

Dave Hylands 

----- Original Message -----

> From: "Kartikaya Gupta" <[email protected]>
> To: [email protected]
> Sent: Saturday, July 12, 2014 2:23:23 AM
> Subject: [b2g] If your flame build fails because of missing time_daemon, read
> this!

> PSA: Bug 1032233 landed recently which tries to pull a time_daemon
> binary into the backup-flame directory. If you've been doing local
> builds for flame, your device may not have this file, and your build
> will fail. This is the same problem as the missing libgps.utils.so that
> happened earlier, and the steps to fix are the same (see below).

> Cheers,
> kats

> On 16/5/2014, 9:20, Kartikaya Gupta wrote:
> > My flame build, which was working yesterday, broke this morning. See bug
> > 1011481 for details, but here's the quick solution (note that this will
> > completely erase everything on your device):
> >
> > - Download the latest flame.zip from the b2g-inbound pvtbuild folder [1]
> > - Unpack it and run the ./flash.sh script inside the b2g-distro folder
> > - Delete your backup-flame directory
> > - Rebuild as usual
> >
> > The reason this happened is that some extra libraries were added to the
> > flame build, and devices that were flashed from old pvtbuilds won't have
> > these libraries. Therefore, if you have a backup-flame dir from prior to
> > this change, it won't have these libraries either, and your build will
> > fail.
> >
> > The new libraries were added yesterday and haven't made it into the
> > latest mozilla-central pvtbuild yet, but they have made it into the
> > latest b2g-inbound pvtbuild, so flashing that and rebuilding your
> > backup-flame dir fixes it.
> >
> > From what Alex Lissy said I believe this might happen a few more times
> > in the future as additional libraries are added to the flame build, so
> > if you do get build errors in the future following these steps should
> > fix it for you.
> >
> > Cheers,
> > kats
> >
> > [1]
> > https://pvtbuilds.mozilla.org/pvt/mozilla.org/b2gotoro/tinderbox-builds/b2g-inbound-flame-eng/latest/
> >

> _______________________________________________
> 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

Reply via email to