<div dir="ltr"><div><div>Hi,<br><br></div>I followed this <br><br></div>1.started pump mode like<br>eval 'pump --startup'<br>export INCLUDE_SERVER_PID='13821'<br>export INCLUDE_SERVER_DIR='/tmp/distcc-pump.ygmgYX'<br>
<div>export INCLUDE_SERVER_PORT='/tmp/distcc-pump.ygmgYX/socket'<br><br></div><div>2.  didnot start mk command yet .<br></div><div>I want to see the variable value<br><br></div><div>echo $INCLUDE_SERVER_PORT .<br>
<br></div><div>It is showing nothing . So all pump mode variables are not getting exported properly . I think something is wrong with exporting . I am using bash shell . <br><br></div><div>Any suggestions , why its not exporting variables properly .<br>
<br></div><div>P.s : mk didnot start yet .<br><br></div><div>Regards<br></div><div>Yudhistir<br></div><div><br><br></div><br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 13, 2014 at 3:51 PM, yudhistir reddy <span dir="ltr"><<a href="mailto:yudhistir.reddy@gmail.com" target="_blank">yudhistir.reddy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>sample output..<br></div><div><br>src >pump env<br>__________Using distcc-pump from /shared_location/Linux/Ubuntu-12.04/x86_64/distcc/3.1/bin<br>
__________Using 4 distcc servers in pump mode<br>LOGNAME=<br>
_=/shared_location/Linux/Ubuntu-12.04/x86_64/distcc/3.1/bin/pump<br>BLOCKSIZE=K<br>INCLUDE_SERVER_PORT=/tmp/distcc-pump.iA44t8/socket<br>OSTYPE=linux<br>SSH_CONNECTION=<ip address> 58236 <ip address> 22<br>DISTCC_HOSTS=s-server01/32,cpp,lzo s-server02/32,cpp,lzo s-server03/32,cpp,lzo s-server04/32,cpp,lzo<br>

HOSTTYPE=x86_64-linux<br>EDITOR=vi<br>__________Shutting down distcc-pump include server<br><br></div>It is diplaying the INCLUDE_SERVER_PORT and its creating the file there in /tmp directory .<br><div><br></div><div>otherway:<br>

eval 'pump --startup'<br>export INCLUDE_SERVER_PID='13821'<br>export INCLUDE_SERVER_DIR='/tmp/distcc-pump.ygmgYX'<br>export INCLUDE_SERVER_PORT='/tmp/distcc-pump.ygmgYX/socket'<br><br></div>

<div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 13, 2014 at 2:48 PM, Vanush <span dir="ltr"><<a href="mailto:misha@cs.nuim.ie" target="_blank">misha@cs.nuim.ie</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Thu, Mar 13, 2014 at 12:10:24PM +0530, yudhistir reddy wrote:<br>
> Thank you. Is there any way i can display the list of environment variables<br>
> it sets once pump script starts . mk is just the wrapper to call make . We<br>
> are not doing anything in that . But still i will dig into it more (mk) .<br>
> distcc normal mode is working fine and i see 10% build time reduction.<br>
<br>
</div>I would suspect that whichever way mk is started by the shell it<br>
resets the environment. Can you show this "mk" script (or at least its<br>
first few lines)?<br>
<br>
Withouth looking at pump itself: is it possible to do someting like<br>
"pump env" (this should show the environment), and then add an env<br>
invocation into "mk" script, just before calling make, and compare<br>
outputs?<br>
<br>
Misha.<br>
<div><div><br>
> Is there any work around for this . I can export these variable for some<br>
> fixed port like 3632 for tcp .  Pls let me know any other variables i need<br>
> to set to make this pump mode work . Actually i am running out of time<br>
> because i need to show my colleagues and friends , how distcc is working<br>
> and improving build time . For the time being , i need some work around for<br>
> pump mode to work , then later i will debug more on this .<br>
><br>
> Any help on this much appreciated .<br>
><br>
> Regards<br>
> Yudhistir<br>
> Any help on this much appreciated .<br>
><br>
> Regards<br>
> Yudhistir<br>
><br>
><br>
> On Thu, Mar 13, 2014 at 3:04 AM, Fergus Henderson <<a href="mailto:fergus@google.com" target="_blank">fergus@google.com</a>> wrote:<br>
><br>
> > The pump script will set that environment variable before invoking "mk".<br>
> > But perhaps "mk" is resetting the environment? Or something else between<br>
> > "mk" and "distcc" might be unsetting it?<br>
> > On 11 Mar 2014 14:13, "yudhistir reddy" <<a href="mailto:yudhistir.reddy@gmail.com" target="_blank">yudhistir.reddy@gmail.com</a>> wrote:<br>
> ><br>
> >> Hi,<br>
> >><br>
> >> I am trying to build using distcc pump mode .<br>
> >><br>
> >> I set DISTCC_HOSTS .<br>
> >><br>
> >> i am starting the pump mode with<br>
> >><br>
> >> pump mk jkernel-jobs WITH_DISTCC=yes<br>
> >><br>
> >> I am getting below waring<br>
> >><br>
> >> distcc[3342] Warning: INCLUDE_SERVER_PORT not set - did you forget to run<br>
> >> under 'pump'?<br>
> >> distcc[3342] (dcc_build_somewhere) Warning: failed to get includes from<br>
> >> include server, preprocessing locally<br>
> >><br>
> >><br>
> >> When we start pump mode , is distcc not setting this variable ?<br>
> >><br>
> >><br>
> >><br>
> >> Regards<br>
> >> Yudhistir<br>
> >><br>
> >><br>
> >><br>
> >><br>
> >> __<br>
> >> distcc mailing list            <a href="http://distcc.samba.org/" target="_blank">http://distcc.samba.org/</a><br>
> >> To unsubscribe or change options:<br>
> >> <a href="https://lists.samba.org/mailman/listinfo/distcc" target="_blank">https://lists.samba.org/mailman/listinfo/distcc</a><br>
> >><br>
> ><br>
<br>
> __<br>
> distcc mailing list            <a href="http://distcc.samba.org/" target="_blank">http://distcc.samba.org/</a><br>
> To unsubscribe or change options:<br>
> <a href="https://lists.samba.org/mailman/listinfo/distcc" target="_blank">https://lists.samba.org/mailman/listinfo/distcc</a><br>
<br>
<br>
</div></div><span><font color="#888888">--<br>
Vanush "Misha" Paturyan<br>
Senior Technical Officer<br>
Room 1.37<br>
Computer Science Department<br>
NUI Maynooth<br>
</font></span><div><div>__<br>
distcc mailing list            <a href="http://distcc.samba.org/" target="_blank">http://distcc.samba.org/</a><br>
To unsubscribe or change options:<br>
<a href="https://lists.samba.org/mailman/listinfo/distcc" target="_blank">https://lists.samba.org/mailman/listinfo/distcc</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>