<div dir="ltr"><div>Hello,</div><div><div class="gmail-post-text">I am actually working on modifying some parts of Tor Browser for my 
project and for that I will need to build Tor Browser's source code. I 
was following <a href="https://trac.torproject.org/projects/tor/wiki/doc/TorBrowser/Hacking" rel="nofollow noreferrer">this website</a> and after cloning tor-browser-build repo, I did a <code>make nightly-linux-x86_64</code>,
 which took almost half a day to complete on my Ubuntu 18.04 system. 
But, since I would be making some changes to the browser (mostly Firefox
 code), I need to alter code and build again and again.</div><div class="gmail-post-text"><br></div><div class="gmail-post-text">In the above website, there is an option for '<em>Building Just Firefox</em>'
 and I decided to try that. As per the above website/doc, I cloned 
tor-browser repo and followed the instructions. First, the command <br></div><div class="gmail-post-text"><pre><code><code>make $CONFIGURE_ARGS -f <a href="http://client.mk">client.mk</a> configure CONFIGURE_ARGS="--with-tor-browser-version=tbb-nightly --with-distribution-id=org.torproject --enable-update-channel=default --enable-bundled-fonts"
</code></code></pre><p>gave me :</p>

<blockquote>
  <p><a href="http://client.mk:40">client.mk:40</a>: /.mozconfig-client-mk: No such file or directory<span class="sew8ph7t89a8m9s"></span><span class="sewexcd90k25y8s"></span></p>
  
  <p><a href="http://client.mk:72">client.mk:72</a>: *** <a href="http://client.mk">client.mk</a> must be used via <code>mach</code>. Try running
  <code>./mach configure</code>.  Stop.</p>
        
    
    
</blockquote>
    </div></div><div><code>./mach configure</code> was not working as well, but using <a href="https://hg.mozilla.org/integration/autoland/rev/36f4ba2fb6f5" rel="nofollow noreferrer">this webpage</a>, I patched the <em>init.configure</em> file and it worked. But now when I run <code>./mach build</code>, it finally gives (after doing a lot of compilation):</div><div><br></div><div><div><img src="https://i.stack.imgur.com/Sqb5P.png" width="477" height="327"><br></div></div><div><br></div><div>So could anyone please guide me as to how should I go about doing 
this. Basically as I had said in the beginning, I just want to modify 
and rebuild to test the new code that I would be introducing. Kindly 
help me out.</div><div><br></div><div>I actually asked this question on Tor's stack exchange as well, but I didn't get any help, so I really hope I can get some help here.</div><div><br></div><div>Warm Regards,</div><div>Rishabh Raj<br></div></div>