<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 14, 2013 at 7:54 AM, Andre <span dir="ltr"><<a href="mailto:armccurdy@gmail.com" target="_blank">armccurdy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="overflow:hidden">bitbake -c devshell seems to have stopped working (tested with xterm<br>
and mate-terminal) in dylan since this commit:<br>
<br>
a749f06 terminal: Run command using a wrapper script<br>
<br>
It looks like the run.do_devshell.<PID> script is generated but then<br>
fails to run when passed to a terminal.<br>
<br>
A possible clue is that after manually editing the do_devshell script<br>
to replace:<br>
<br>
do_terminal() {<br>
exec pseudo /bin/bash<br>
}<br>
<br>
with:<br>
<br>
do_terminal() {<br>
exec /bin/bash<br>
}<br>
<br>
the script runs OK when passed to a terminal manually, such as:<br>
<br>
$ xterm -e tmp/work/.../temp/run.do_terminal.25789</div></blockquote></div><br>I am observing the same issue here. I have tested 'devshell' against master and dylan, and master seems to be working fine. </div><div class="gmail_extra">
<br></div><div class="gmail_extra">Here are the 2 generated run.do_terminal script for bitbake -c devshell busybox</div><div class="gmail_extra"><br></div><div class="gmail_extra">with dylan branch (failing) <a href="http://pastebin.com/jyBW2jEf" target="_blank">http://pastebin.com/jyBW2jEf</a><br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra">with master branch (working) <a href="http://pastebin.com/PHxJvj0k" target="_blank">http://pastebin.com/PHxJvj0k</a></div><div class="gmail_extra"><br></div>
<div class="gmail_extra">
The problem when using the detault terminal (hence gnome-terminal in my case), is that the gnome terminal windows shows up but very quickly disappears. If I set OE_TERMINAL="screen", then i get something like that in the failing case:</div>
<div class="gmail_extra"><div class="gmail_extra">Currently 1 running tasks (67 of 67):</div><div class="gmail_extra">0: busybox-1.20.2-r8 do_devshell (pid 7566)</div><div class="gmail_extra">Trying to run: screen -r devshell_7566</div>
<div class="gmail_extra">ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.</div><div class="gmail_extra">There is no screen to be resumed matching devshell_7566.</div><div class="gmail_extra">
Trying to run: screen -r devshell_7566</div><div class="gmail_extra">ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.</div><div class="gmail_extra">There is no screen to be resumed matching devshell_7566.</div>
<div class="gmail_extra">Trying to run: screen -r devshell_7566</div><div class="gmail_extra">ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.</div><div class="gmail_extra">There is no screen to be resumed matching devshell_7566.</div>
<div class="gmail_extra">Trying to run: screen -r devshell_7566</div><div class="gmail_extra">ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.</div><div class="gmail_extra">There is no screen to be resumed matching devshell_7566.</div>
<div class="gmail_extra">Trying to run: screen -r devshell_7566</div><div class="gmail_extra">ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.</div><div class="gmail_extra">There is no screen to be resumed matching devshell_7566.</div>
<div class="gmail_extra">Trying to run: screen -r devshell_7566</div><div class="gmail_extra">ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.</div><div class="gmail_extra">There is no screen to be resumed matching devshell_7566.</div>
<div class="gmail_extra">Trying to run: screen -r devshell_7566</div><div class="gmail_extra">ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.</div><div class="gmail_extra">There is no screen to be resumed matching devshell_7566.</div>
<div class="gmail_extra">Trying to run: screen -r devshell_7566</div><div class="gmail_extra">ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.</div><div class="gmail_extra">There is no screen to be resumed matching devshell_7566.</div>
<div class="gmail_extra">Trying to run: screen -r devshell_7566</div><div class="gmail_extra">ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.</div><div class="gmail_extra">There is no screen to be resumed matching devshell_7566.</div>
<div class="gmail_extra">Trying to run: screen -r devshell_7566</div><div class="gmail_extra">WARNING: Screen started. Please connect in another terminal with "screen -r devshell_7566"</div><div class="gmail_extra">
NOTE: Tasks Summary: Attempted 67 tasks of which 66 didn't need to be rerun and all succeeded.</div><div class="gmail_extra"><br></div><div class="gmail_extra">and it stops, and there is no screen session.</div><div>
<br>
</div><div>If I revert "a749f06 terminal: Run command using a wrapper script" from oe-core dylan, it works again.</div><div><br></div><div>thx</div></div><div class="gmail_extra"><br></div></div>