How to build pine and m-c (Please read)

??? i can’t follow.

You have two errors: one problem is you don’t have NodeJS installed so Gaia cannot be built. The other issue is also reproduced on Nexus 5 L and I think it is just missing fix from bug 1276927.

For the Gecko failure about Atomic not being defined, please check https://bugzilla.mozilla.org/show_bug.cgi?id=1283983

You should apply the B2G Manifest PR locally.

i have version 0.10.25
what version is needed?

NodeJS 4. And you need to make sure |node| works. On some distros with some versions you might have to add this using update-alternatives.

ok i installed nodejs 4.4.7 successful,
can you give me the exact command to load the patch to the right location?

Click the review board attachment link in https://bugzilla.mozilla.org/show_bug.cgi?id=1283983 then, click on the link in the “diff” column, then copy the link from “download diff”. Then in the .repo/manifests directory, apply the patch:

curl -L | patch -p1

After, |./repo sync frameworks/native| should checkout the proper frameworks/native with the fix we need

where do I paste the copyed URL?

That’s what you give to curl

<
https://ci5.googleusercontent.com/proxy/kY0yCMmDzLJk1E96ido5ikNAHe5zh52D3YphR1X2xsrOEU-akWaRVcb05gCxw4tWSLqENnwem5Tm-NtFWoV2NCt4Wc-JGW_Dh5C7jzgcntlxIgUGOQWTDe7tfUEQonn_B38KBuLWG02k6YjYTd1RxOikuyZQHm2_UG72p17U=s0-d-e1-ft#https://discourse.mozilla-community.org/user_avatar/discourse.mozilla-community.org/novski/45/4829_1.png>
Novski Ivan Hörler
July 3

where do I paste the copyed URL?

<
https://ci3.googleusercontent.com/proxy/a6EMeT_h5MyWLSl50LcVcJUcuUEikIXcNOGXGJp-rrXv_7kQn0Wq-HQyymFXmI0doJHrcmzOsl7o4aRl636hcMyALwftzCNk9QPOpt9NxLIADNXTj0GcC0i1vgWFaHC0yIhNPOj5vscsw7s=s0-d-e1-ft#https://discourse.mozilla-community.org/letter_avatar_proxy/v2/letter/l/ecb155/40.png
lissyx:

then copy the link from “download diff”


Visit Topic or reply to this email to respond.


In Reply To

<
https://ci5.googleusercontent.com/proxy/awzTLeZSQ4NoIfBlGZA3lo26kZQVVC_BjmANCNdQ4J3ntLbC3OZJIeAQFM53I2NXMRdNwx5dc_wrzQauIPOWKNBxCWTk2WOuGwsP5-7iO_OBAvvokOOWFV5k6nWiczuxCcFLpgrVlO3SS2U=s0-d-e1-ft#https://discourse.mozilla-community.org/letter_avatar_proxy/v2/letter/l/ecb155/45.png>
lissyx
July 2
Click the review board attachment link in
https://bugzilla.mozilla.org/show_bug.cgi?id=1283983 then, click on the
link in the “diff” column, then copy the link from “download diff”. Then in
the .repo/manifests directory, apply the patch: curl -L | patch -p1 After,
|./repo sync frameworks/native…

im not shure if I understand that correct. I did this without success:

$ curl -L https://reviewboard.mozilla.org/r/61896/diff/raw/ | patch -p1

I read about the “|” separator. But i can not determine if the “|”=“pipe” needs a filename or how it will apply the patch. I now have manualy downloaded a file called “rb61896.patch” in the .repo/manifests/ directory but don’t know how/or what to do with it…
How do i have to go on?

Okey Thanks Will have a look at that.

Matth

Ah it’s not exactly good. Well read the patch and do the changes by hand
:slight_smile:

<
https://ci3.googleusercontent.com/proxy/BDx5AZH6N01E--Jy3-r3TZm7JMXk1EnmZ5tQaO2KlPizNdw7vAIUZbPSwRiU-0eKHKB6NBxL7714sDthsMTnR7nkSpCWqj-t7nMEAl3XhCQFTtvCYHJ8Q4_QkwvTRzoi-pIwYQvCvccf8obmHyFSroqhfoiW43n5oFgKBRR1oJWc=s0-d-e1-ft#https://discourse.mozilla-community.org/user_avatar/discourse.mozilla-community.org/m.ducorps/45/5251_1.png>
m.ducorps M Ducorps
July 3

Okey Thanks Will have a look at that.

Matth


Visit Topic or reply to this email to respond.


In Reply To

<
https://ci5.googleusercontent.com/proxy/awzTLeZSQ4NoIfBlGZA3lo26kZQVVC_BjmANCNdQ4J3ntLbC3OZJIeAQFM53I2NXMRdNwx5dc_wrzQauIPOWKNBxCWTk2WOuGwsP5-7iO_OBAvvokOOWFV5k6nWiczuxCcFLpgrVlO3SS2U=s0-d-e1-ft#https://discourse.mozilla-community.org/letter_avatar_proxy/v2/letter/l/ecb155/45.png>
lissyx
July 2
Bug 832165 was closed several times as WONTFIX. Basically you should not
expect changing GAIA_PATH to work. Please stick to use gaia from B2G/gaia/
and tweak .repo/manifests/base.xml to checkout proper version.

Ok, i had a look to the changes. Seams to be just one line in a samsung file. I think thats not related to my Fairphone at all.
Do i interprete the changes right? Am i missing something?

and i would realy like to be able to patch. and i still don’t understand how to use the curl url and pipe to patch function. as i alo don’t find a similar sample online i have to ask you for the full functional sample.

Samsung? I don’t really know what you mean…

All you need to do is change the frameworks/native project definition

<
https://ci5.googleusercontent.com/proxy/kY0yCMmDzLJk1E96ido5ikNAHe5zh52D3YphR1X2xsrOEU-akWaRVcb05gCxw4tWSLqENnwem5Tm-NtFWoV2NCt4Wc-JGW_Dh5C7jzgcntlxIgUGOQWTDe7tfUEQonn_B38KBuLWG02k6YjYTd1RxOikuyZQHm2_UG72p17U=s0-d-e1-ft#https://discourse.mozilla-community.org/user_avatar/discourse.mozilla-community.org/novski/45/4829_1.png>
Novski Ivan Hörler
July 4

Ok, i had a look to the changes. Seams to be just one line in a samsung
file. I think thats not related to my Fairphone at all.
Do i interprete the changes right? Am i missing something?

and i would realy like to be able to patch. and i still don’t understand
how to use the curl url and pipe to patch function. as i alo don’t find a
similar sample online i have to ask you for the full functional sample.


Visit Topic or reply to this email to respond.


In Reply To

<
https://ci5.googleusercontent.com/proxy/awzTLeZSQ4NoIfBlGZA3lo26kZQVVC_BjmANCNdQ4J3ntLbC3OZJIeAQFM53I2NXMRdNwx5dc_wrzQauIPOWKNBxCWTk2WOuGwsP5-7iO_OBAvvokOOWFV5k6nWiczuxCcFLpgrVlO3SS2U=s0-d-e1-ft#https://discourse.mozilla-community.org/letter_avatar_proxy/v2/letter/l/ecb155/45.png>
lissyx
July 3
Ah it’s not exactly good. Well read the patch and do the changes by hand
:slight_smile: <
https://ci3.googleusercontent.com/proxy/BDx5AZH6N01E--Jy3-r3TZm7JMXk1EnmZ5tQaO2KlPizNdw7vAIUZbPSwRiU-0eKHKB6NBxL7714sDthsMTnR7nkSpCWqj-t7nMEAl3XhCQFTtvCYHJ8Q4_QkwvTRzoi-pIwYQvCvccf8obmHyFSroqhfoiW43n5oFgKBRR

Hello,

I’m not using curl, but what I understand from Lissyx message is:
1- execute the command line:

curl -L | patch -p1

2- curl is now asking you something. Then you paste the copyed URL

After these actions

|./repo sync frameworks/native| should checkout the proper frameworks/native with the fix we need

I hope it’ll help you.

Thank you @pl6025 im realy interessted to learn how that works.

If i give
$curl -L | patch -p1

I get an error, see here:

novski@novski-B2G-fresh:~/B2G/.repo/manifests$ curl -L | patch -p1
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information

That’s expected, you did not gave any URL to curl. Just read the patch and do the same changes for your device.

I see the line 132 changed in: b2g/config/nexus-5-l/sources.xml
< project name=“platform/frameworks/native” path=“frameworks/native” remote=“b2g” revision=“77c23f8067bca84476f96d663efaae636817edd5”/ >

But i don’t have a b2g/config folder and i don’t know where to update that line…
Im building for a Fairphone2.

sources.xml is like your fairphone2.xml …

ok, i already tried that without success.
If i but that line:
< project name="platform/frameworks/native" path="frameworks/native" remote="b2g" revision="77c23f8067bca84476f96d663efaae636817edd5"/ >
to my file: ~/B2G/.repo/manifests/fairphone2.xml
it gives out a fatal:fatal: duplicate path frameworks/native in /home/novski/B2G/.repo/manifest.xml
But there is no dupplicate in that file, it must be somewhere else and i can’t find it…