Openembedded Core Discussions
 help / color / mirror / Atom feed
* devshell spawning twice
@ 2012-10-27 23:55 Andrea Adami
  2012-10-27 23:59 ` Andrea Adami
  2012-10-30  8:07 ` Robert Yang
  0 siblings, 2 replies; 9+ messages in thread
From: Andrea Adami @ 2012-10-27 23:55 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

Since commit c76da87511d2668479745c2f18b8a9b8116c7489 (terminal: Add
support for running custom terminals.) screen opens also in the master
terminal, waiting for input.

Reverting the patch fixes the funny behavior.

This on Gentoo, using xterm.

Regards

Andrea



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: devshell spawning twice
  2012-10-27 23:55 devshell spawning twice Andrea Adami
@ 2012-10-27 23:59 ` Andrea Adami
  2012-10-29 23:23   ` Andrea Adami
  2012-10-30  8:07 ` Robert Yang
  1 sibling, 1 reply; 9+ messages in thread
From: Andrea Adami @ 2012-10-27 23:59 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Sun, Oct 28, 2012 at 1:55 AM, Andrea Adami <andrea.adami@gmail.com> wrote:
> Since commit c76da87511d2668479745c2f18b8a9b8116c7489 (terminal: Add
> support for running custom terminals.) screen opens also in the master
> terminal, waiting for input.
>
> Reverting the patch fixes the funny behavior.
>
> This on Gentoo, using xterm.

Sorry, is gnome-terminal on this host.

>
> Regards
>
> Andrea



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: devshell spawning twice
  2012-10-27 23:59 ` Andrea Adami
@ 2012-10-29 23:23   ` Andrea Adami
  2012-10-31 15:11     ` Paul Eggleton
  0 siblings, 1 reply; 9+ messages in thread
From: Andrea Adami @ 2012-10-29 23:23 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Sun, Oct 28, 2012 at 1:59 AM, Andrea Adami <andrea.adami@gmail.com> wrote:
> On Sun, Oct 28, 2012 at 1:55 AM, Andrea Adami <andrea.adami@gmail.com> wrote:
>> Since commit c76da87511d2668479745c2f18b8a9b8116c7489 (terminal: Add
>> support for running custom terminals.) screen opens also in the master
>> terminal, waiting for input.
>>
>> Reverting the patch fixes the funny behavior.
>>
>> This on Gentoo, using xterm.
>
> Sorry, is gnome-terminal on this host.
>
>>
>> Regards
>>
>> Andrea


Same happens using Ubuntu as build host: bitbake -c devshell foo
launched in uXterm does spawn two gnome-terminals.
This has also other bad effects on do_menuconfig task for linux-yocto.

I can confirm that reverting c76da87 fixes the things.

Andrea



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: devshell spawning twice
  2012-10-27 23:55 devshell spawning twice Andrea Adami
  2012-10-27 23:59 ` Andrea Adami
@ 2012-10-30  8:07 ` Robert Yang
  2012-10-31  8:18   ` Richard Purdie
  1 sibling, 1 reply; 9+ messages in thread
From: Robert Yang @ 2012-10-30  8:07 UTC (permalink / raw)
  To: Andrea Adami; +Cc: Patches and discussions about the oe-core layer


I met the same problem on openSUSE 12.1 64 bit.

I used ssh -X to opensuse, and my client is Ubuntu 11.10 32bit

// Robert

On 10/28/2012 07:55 AM, Andrea Adami wrote:
> Since commit c76da87511d2668479745c2f18b8a9b8116c7489 (terminal: Add
> support for running custom terminals.) screen opens also in the master
> terminal, waiting for input.
>
> Reverting the patch fixes the funny behavior.
>
> This on Gentoo, using xterm.
>
> Regards
>
> Andrea
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: devshell spawning twice
  2012-10-30  8:07 ` Robert Yang
@ 2012-10-31  8:18   ` Richard Purdie
  2012-11-02  2:28     ` Robert Yang
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Purdie @ 2012-10-31  8:18 UTC (permalink / raw)
  To: Robert Yang, Morten Minde Neergaard; +Cc: Patches, the oe-core layer

On Tue, 2012-10-30 at 16:07 +0800, Robert Yang wrote:
> I met the same problem on openSUSE 12.1 64 bit.
> 
> I used ssh -X to opensuse, and my client is Ubuntu 11.10 32bit

The trouble is the removal of:

os.environ[export] = str(value)

I think we're going to have to add this back since it looks like we need
the parent environment adjusted as well as that of the child.

For now I'm tempted to add that line back...

Cheers,

Richard






^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: devshell spawning twice
  2012-10-29 23:23   ` Andrea Adami
@ 2012-10-31 15:11     ` Paul Eggleton
  0 siblings, 0 replies; 9+ messages in thread
From: Paul Eggleton @ 2012-10-31 15:11 UTC (permalink / raw)
  To: Andrea Adami; +Cc: openembedded-core

On Tuesday 30 October 2012 00:23:52 Andrea Adami wrote:
> On Sun, Oct 28, 2012 at 1:59 AM, Andrea Adami <andrea.adami@gmail.com> 
wrote:
> > On Sun, Oct 28, 2012 at 1:55 AM, Andrea Adami <andrea.adami@gmail.com> 
wrote:
> >> Since commit c76da87511d2668479745c2f18b8a9b8116c7489 (terminal: Add
> >> support for running custom terminals.) screen opens also in the master
> >> terminal, waiting for input.
> >> 
> >> Reverting the patch fixes the funny behavior.
> >> 
> >> This on Gentoo, using xterm.
> > 
> > Sorry, is gnome-terminal on this host.
> > 
> >> Regards
> >> 
> >> Andrea
> 
> Same happens using Ubuntu as build host: bitbake -c devshell foo
> launched in uXterm does spawn two gnome-terminals.
> This has also other bad effects on do_menuconfig task for linux-yocto.
> 
> I can confirm that reverting c76da87 fixes the things.

Confirmed here. I have filed a bug:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=3371

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: devshell spawning twice
  2012-10-31  8:18   ` Richard Purdie
@ 2012-11-02  2:28     ` Robert Yang
  2012-11-02 11:28       ` Richard Purdie
  0 siblings, 1 reply; 9+ messages in thread
From: Robert Yang @ 2012-11-02  2:28 UTC (permalink / raw)
  To: Richard Purdie
  Cc: Morten Minde Neergaard,
	Patches and discussions about the oe-core layer



On 10/31/2012 04:18 PM, Richard Purdie wrote:
> On Tue, 2012-10-30 at 16:07 +0800, Robert Yang wrote:
>> I met the same problem on openSUSE 12.1 64 bit.
>>
>> I used ssh -X to opensuse, and my client is Ubuntu 11.10 32bit
>
> The trouble is the removal of:
>
> os.environ[export] = str(value)
>
> I think we're going to have to add this back since it looks like we need
> the parent environment adjusted as well as that of the child.
>
> For now I'm tempted to add that line back...

Hi Richard,

I'm sorry, but it doesn't work well, it only spawns once now,
but the environment is incorrect, for example, the PATH:

$ echo $PATH
/usr/lib64/ccache:/usr/local/bin:/usr/bin

I tested it on Fedore 17 64bit and openSUSE 12.1 64, either of them
didn't work.

// Robert

>
> Cheers,
>
> Richard
>
>
>
>
>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: devshell spawning twice
  2012-11-02  2:28     ` Robert Yang
@ 2012-11-02 11:28       ` Richard Purdie
  2012-11-04  7:58         ` Robert Yang
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Purdie @ 2012-11-02 11:28 UTC (permalink / raw)
  To: Robert Yang
  Cc: Morten Minde Neergaard,
	Patches and discussions about the oe-core layer

On Fri, 2012-11-02 at 10:28 +0800, Robert Yang wrote:
> 
> On 10/31/2012 04:18 PM, Richard Purdie wrote:
> > On Tue, 2012-10-30 at 16:07 +0800, Robert Yang wrote:
> >> I met the same problem on openSUSE 12.1 64 bit.
> >>
> >> I used ssh -X to opensuse, and my client is Ubuntu 11.10 32bit
> >
> > The trouble is the removal of:
> >
> > os.environ[export] = str(value)
> >
> > I think we're going to have to add this back since it looks like we need
> > the parent environment adjusted as well as that of the child.
> >
> > For now I'm tempted to add that line back...
> 
> Hi Richard,
> 
> I'm sorry, but it doesn't work well, it only spawns once now,
> but the environment is incorrect, for example, the PATH:
> 
> $ echo $PATH
> /usr/lib64/ccache:/usr/local/bin:/usr/bin
> 
> I tested it on Fedore 17 64bit and openSUSE 12.1 64, either of them
> didn't work.

Thanks for reporting that, I've just pushed a fix for this.

Cheers,

Richard




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: devshell spawning twice
  2012-11-02 11:28       ` Richard Purdie
@ 2012-11-04  7:58         ` Robert Yang
  0 siblings, 0 replies; 9+ messages in thread
From: Robert Yang @ 2012-11-04  7:58 UTC (permalink / raw)
  To: Richard Purdie
  Cc: Morten Minde Neergaard,
	Patches and discussions about the oe-core layer



On 11/02/2012 07:28 PM, Richard Purdie wrote:
> On Fri, 2012-11-02 at 10:28 +0800, Robert Yang wrote:
>>
>> On 10/31/2012 04:18 PM, Richard Purdie wrote:
>>> On Tue, 2012-10-30 at 16:07 +0800, Robert Yang wrote:
>>>> I met the same problem on openSUSE 12.1 64 bit.
>>>>
>>>> I used ssh -X to opensuse, and my client is Ubuntu 11.10 32bit
>>>
>>> The trouble is the removal of:
>>>
>>> os.environ[export] = str(value)
>>>
>>> I think we're going to have to add this back since it looks like we need
>>> the parent environment adjusted as well as that of the child.
>>>
>>> For now I'm tempted to add that line back...
>>
>> Hi Richard,
>>
>> I'm sorry, but it doesn't work well, it only spawns once now,
>> but the environment is incorrect, for example, the PATH:
>>
>> $ echo $PATH
>> /usr/lib64/ccache:/usr/local/bin:/usr/bin
>>
>> I tested it on Fedore 17 64bit and openSUSE 12.1 64, either of them
>> didn't work.
>
> Thanks for reporting that, I've just pushed a fix for this.
>

Thanks, it worked well now.

// Robert

> Cheers,
>
> Richard
>
>
>



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-11-04  8:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-27 23:55 devshell spawning twice Andrea Adami
2012-10-27 23:59 ` Andrea Adami
2012-10-29 23:23   ` Andrea Adami
2012-10-31 15:11     ` Paul Eggleton
2012-10-30  8:07 ` Robert Yang
2012-10-31  8:18   ` Richard Purdie
2012-11-02  2:28     ` Robert Yang
2012-11-02 11:28       ` Richard Purdie
2012-11-04  7:58         ` Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox