Nightly unagi build still broken



Firefox OS
5 years ago
5 years ago


(Reporter: jgriffin, Unassigned)


Gonk (Firefox OS)

Firefox Tracking Flags





5 years ago
When made with latest gaia+gecko, build fails after the gecko and gaia build is complete, during the packaging step, with:

WARNING: Found 29 duplicate files taking 83678 bytes
Stripped 77182 bytes
Deoptimized 0/1171 in ./omni.ja
cd ../../dist && gtar -c --owner=0 --group=0 --numeric-owner --mode="go-w" --exclude=.mkdir.done -f - b2g | gzip -vf9 >
make[4]: Leaving directory `/data/jenkins/jobs/build-unagi/workspace/objdir-gecko/b2g/installer'
touch make-package
make[3]: Leaving directory `/data/jenkins/jobs/build-unagi/workspace/objdir-gecko/b2g/installer'
make tools
make[3]: Entering directory `/data/jenkins/jobs/build-unagi/workspace/objdir-gecko/b2g/installer'
make[3]: Nothing to be done for `tools'.
make[3]: Leaving directory `/data/jenkins/jobs/build-unagi/workspace/objdir-gecko/b2g/installer'
if test -d ../../dist/bin ; then touch ../../dist/bin/.purgecaches ; fi
make[2]: Leaving directory `/data/jenkins/jobs/build-unagi/workspace/objdir-gecko/b2g/installer'
make[1]: Leaving directory `/data/jenkins/jobs/build-unagi/workspace/objdir-gecko'
Install dir: out/target/product/unagi/system/b2g
mv out/target/product/unagi/system/b2g/webapps out/target/product/unagi/system
rm -rf out/target/product/unagi/system/b2g
mkdir -p out/target/product/unagi/system/b2g
mv out/target/product/unagi/system/webapps out/target/product/unagi/system/b2g
mkdir -p out/target/product/unagi/system/b2g/defaults/pref
sed s/user_pref\(/pref\(/ /data/jenkins/jobs/build-unagi/workspace/gaia/profile/user.js > out/target/product/unagi/system/b2g/defaults/pref/user.js
cp /data/jenkins/jobs/build-unagi/workspace/gaia/build/settings.json out/target/product/unagi/system/b2g/defaults/settings.json
cp: cannot stat `/data/jenkins/jobs/build-unagi/workspace/gaia/build/settings.json': No such file or directory
make: *** [out/target/product/unagi/system/gecko] Error 1

real	52m38.308s
user	85m16.087s
sys	8m33.484s

> Build failed! <
I was able to successfully build after mvines backed out my changes.

I've since updated things so that will work with python 2.6.5

The following 2 pull requests:

will reinstate

It's important to note that in either case there was a change made to gaia and gonk-misc and you need to use matching versiosns of both trees.

If you look in gaia/build you should see either or settings.json.

If you see settings.json, then gonk-misc/ should have a line that does a cp of settings.json.

If you see, then gonk-misc/ should have a line that references


5 years ago
blocking-basecamp: --- → ?


5 years ago
blocking-basecamp: ? → +


5 years ago
Severity: normal → critical
Priority: -- → P1

Comment 2

5 years ago
On the builder, I see in gaia/build, but gonk-misc/ contains a line to copy settings.json.

I am guessing this is because some changes need to land on Gaia's nightly branch (from which all the nightlies are made).

Comment 3

5 years ago
Can you please land the patch on the nightly branch? I don't understand why this is still broken. Dylan, it seems there is a third part of the process that failed here (no update to the nightly branch).
Ok - I merged my new changes. 

B2G       git hash is b3fa904f390698ff54bb981d453f48788e05e6c7
gaia      git hash is 96594a9abb3bd9ebf3ccfd763e28caa64ce2776c
gonk-misc git hash is 5463ef6058a4aad360f60953231111b89abf8615

I verified that both otoro and unagi build and flash with the above hashes.
I verified that I was using python 2.6.5 for both builds.

To confirm that you have the right files, you should have in your gaia/build tree and your gonk-misc/ should have a reference to

If you don't find the above, then your gaia tree isn't consistent with your gonk-misc tree.

Right now, my otoro built against mozilla-inbound boots, and my unagi built against mozilla-aurora does not.

I'm going to do clobber builds for each phone, against each of m-i and m-a and I'll report the results heres.
Both unagi and my otoro build and boot with both mozilla-inbound and mozilla-aurora
Which gaia branch are you using? The builders use the nightly branch of gaia, not the master one.
Being unaware of the nightly branch, I of course merged into master.

I've now merged into nightly as well, and verified that it builds/flashes and boots on my unago.

Comment 8

5 years ago
Thanks for the fix, the nightly unagi just completed successfully.
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.