rust compilation under local linux PC: Compilation error caused by: error reading compile response from server

This is a multi-part message in MIME format.
--------------79F4D394085331617084F2FA
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit

Hi,

I have been building TB under linux on a local PC.

Has anything been changed in the manner Rust library is compiled in the 
last 5-10 days (or since mid-April)?

I have seen the following error for the first time on my PC:

error: failed to execute compile
caused by: error reading compile response from server
caused by: Failed to read response header
caused by: failed to fill whole buffer
error: Could not compile `style`.
To learn more, run the command again with --verbose.
make[4]: *** [/NREF-COMM-CENTRAL/mozilla/config/rules.mk:1006: 
force-cargo-library-build] Error 101
make[3]: *** [/NREF-COMM-CENTRAL/mozilla/config/recurse.mk:74: 
toolkit/library/rust/target] Error 2
make[3]: *** Waiting for unfinished jobs....

I am not sure what the server is.
Maybe, it could be that I refreshed the sccache, and some rust code 
files may get recompiled for the first time in weeks, etc. So I am not 
sure if a possible cause is inserted into the source tree in the last 
few days (I refreshed my source this morning, and the last time was a 
few days ago.)
So the change to trigger this bug easily might have happened in the last 
several weeks or even more since I did not update the source tree of TB 
together with M-C for a couple of months while I was working on adapting 
a large patch set to the latest mid-April source tree.

Anyway, I suspect some kind of timeout error is to blame.

Is there a way to make the time out longer for this particular server: I 
am not sure exactly though what the server is.

I am on a relatively powerful XEON  PC and so the CPU power may not be a 
big problem (it has not been the case for the last few years), but it 
may be I am running out of memory due to other activities on the said PC 
(browsing with FF seems to occupy more memory now that it uses separate 
processes for different tabs.)

So I suspect excessive paging I noticed sometimes may have caused an 
unusual delay of the server, presumably sccache server, or does rustc 
supports some type of compilation farm on its own?

Anyway, being able to extend the timeout value should fix the issue, I hope.
I have tried to invoke the rust compilation time and time again, but my 
local script stops after the compilation of C++ files and then stops at this

error: Could not compile `style`.

repeatedly. Not good :-(

TIA





--------------79F4D394085331617084F2FA
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p>I have been building TB under linux on a local PC.</p>
    <p>Has anything been changed in the manner Rust library is compiled
      in the last 5-10 days (or since mid-April)?<br>
    </p>
    <p>I have seen the following error for the first time on my PC:</p>
    <p>error: failed to execute compile<br>
      caused by: error reading compile response from server<br>
      caused by: Failed to read response header<br>
      caused by: failed to fill whole buffer<br>
      error: Could not compile `style`.<br>
      To learn more, run the command again with --verbose.<br>
      make[4]: *** [/NREF-COMM-CENTRAL/mozilla/config/rules.mk:1006:
      force-cargo-library-build] Error 101<br>
      make[3]: *** [/NREF-COMM-CENTRAL/mozilla/config/recurse.mk:74:
      toolkit/library/rust/target] Error 2<br>
      make[3]: *** Waiting for unfinished jobs....<br>
    </p>
    <p>I am not sure what the server is.<br>
      Maybe, it could be that I refreshed the sccache, and some rust
      code files may get recompiled for the first time in weeks, etc. So
      I am not sure if a possible cause is inserted into the source tree
      in the last few days (I refreshed my source this morning, and the
      last time was a few days ago.)<br>
      So the change to trigger this bug easily might have happened in
      the last several weeks or even more since I did not update the
      source tree of TB together with M-C for a couple of months while I
      was working on adapting a large patch set to the latest mid-April
      source tree.</p>
    <p>Anyway, I suspect some kind of timeout error is to blame.</p>
    <p>Is there a way to make the time out longer for this particular
      server: I am not sure exactly though what the server is.</p>
    <p>I am on a relatively powerful XEON  PC and so the CPU power may
      not be a big problem (it has not been the case for the last few
      years), but it may be I am running out of memory due to other
      activities on the said PC (browsing with FF seems to occupy more
      memory now that it uses separate processes for different tabs.)<br>
      <br>
      So I suspect excessive paging I noticed sometimes may have caused
      an unusual delay of the server, presumably sccache server, or does
      rustc supports some type of compilation farm on its own?<br>
      <br>
      Anyway, being able to extend the timeout value should fix the
      issue, I hope.<br>
      I have tried to invoke the rust compilation time and time again,
      but my local script stops after the compilation of C++ files and
      then stops at this<br>
    </p>
    <p>error: Could not compile `style`.<br>
    </p>
    <p>repeatedly. Not good :-(<br>
    </p>
    <p>TIA</p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
  </body>
</html>

--------------79F4D394085331617084F2FA--
0
ISHIKAWA
8/4/2018 4:51:24 AM
mozilla.dev.builds 1718 articles. 0 followers. Post Follow

0 Replies
35 Views

Similar Articles

[PageSpeed] 24

Reply: