[OE-core] [dylan]devshell: broken

Nicolas Dechesne nicolas.dechesne at linaro.org
Wed Aug 14 06:35:18 UTC 2013


On Wed, Aug 14, 2013 at 7:54 AM, Andre <armccurdy at gmail.com> wrote:

> bitbake -c devshell seems to have stopped working (tested with xterm
> and mate-terminal) in dylan since this commit:
>
>   a749f06 terminal: Run command using a wrapper script
>
> It looks like the run.do_devshell.<PID> script is generated but then
> fails to run when passed to a terminal.
>
> A possible clue is that after manually editing the do_devshell script
> to replace:
>
>   do_terminal() {
>   exec pseudo /bin/bash
>   }
>
> with:
>
>   do_terminal() {
>   exec /bin/bash
>   }
>
> the script runs OK when passed to a terminal manually, such as:
>
>   $ xterm -e tmp/work/.../temp/run.do_terminal.25789
>

I am observing the same issue here. I have tested 'devshell' against master
and dylan, and master seems to be working fine.

Here are the 2 generated run.do_terminal script for bitbake -c devshell
busybox

with dylan branch (failing) http://pastebin.com/jyBW2jEf

with master branch (working) http://pastebin.com/PHxJvj0k

 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:
Currently 1 running tasks (67 of 67):
0: busybox-1.20.2-r8 do_devshell (pid 7566)
Trying to run: screen -r devshell_7566
ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded:
ignored.
There is no screen to be resumed matching devshell_7566.
Trying to run: screen -r devshell_7566
ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded:
ignored.
There is no screen to be resumed matching devshell_7566.
Trying to run: screen -r devshell_7566
ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded:
ignored.
There is no screen to be resumed matching devshell_7566.
Trying to run: screen -r devshell_7566
ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded:
ignored.
There is no screen to be resumed matching devshell_7566.
Trying to run: screen -r devshell_7566
ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded:
ignored.
There is no screen to be resumed matching devshell_7566.
Trying to run: screen -r devshell_7566
ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded:
ignored.
There is no screen to be resumed matching devshell_7566.
Trying to run: screen -r devshell_7566
ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded:
ignored.
There is no screen to be resumed matching devshell_7566.
Trying to run: screen -r devshell_7566
ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded:
ignored.
There is no screen to be resumed matching devshell_7566.
Trying to run: screen -r devshell_7566
ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded:
ignored.
There is no screen to be resumed matching devshell_7566.
Trying to run: screen -r devshell_7566
WARNING: Screen started. Please connect in another terminal with "screen -r
devshell_7566"
NOTE: Tasks Summary: Attempted 67 tasks of which 66 didn't need to be rerun
and all succeeded.

and it stops, and there is no screen session.

If I revert "a749f06 terminal: Run command using a wrapper script" from
oe-core dylan, it works again.

thx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130814/5a2de3df/attachment-0002.html>


More information about the Openembedded-core mailing list