* [Qemu-devel] RE: 971c47c - Do not use $SHELL to invoke our scripts
@ 2009-08-13 1:01 Jordan Justen
2009-08-13 1:09 ` Brad
2009-08-13 2:03 ` malc
0 siblings, 2 replies; 8+ messages in thread
From: Jordan Justen @ 2009-08-13 1:01 UTC (permalink / raw)
To: qemu-devel
Regarding commit 971c47c, this causes a build error for me on Ubuntu
9.04. I think this might be because Ubuntu/Debian have moved /bin/sh
from bash to dash. The build is okay if I change the first line of
configure from /bin/sh to /bin/bash. Should configure point directly
at bash?
-Jordan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] RE: 971c47c - Do not use $SHELL to invoke our scripts
2009-08-13 1:01 [Qemu-devel] RE: 971c47c - Do not use $SHELL to invoke our scripts Jordan Justen
@ 2009-08-13 1:09 ` Brad
2009-08-13 1:15 ` Jordan Justen
2009-08-13 2:03 ` malc
1 sibling, 1 reply; 8+ messages in thread
From: Brad @ 2009-08-13 1:09 UTC (permalink / raw)
To: qemu-devel; +Cc: Jordan Justen
On Wednesday 12 August 2009 21:01:52 Jordan Justen wrote:
> Regarding commit 971c47c, this causes a build error for me on Ubuntu
> 9.04. I think this might be because Ubuntu/Debian have moved /bin/sh
> from bash to dash. The build is okay if I change the first line of
> configure from /bin/sh to /bin/bash. Should configure point directly
> at bash?
>
> -Jordan
Not unless your goal is to break building on every other OS out there.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] RE: 971c47c - Do not use $SHELL to invoke our scripts
2009-08-13 1:09 ` Brad
@ 2009-08-13 1:15 ` Jordan Justen
2009-08-13 1:21 ` Brad
0 siblings, 1 reply; 8+ messages in thread
From: Jordan Justen @ 2009-08-13 1:15 UTC (permalink / raw)
To: Brad; +Cc: qemu-devel
On Wed, Aug 12, 2009 at 6:09 PM, Brad<brad@comstyle.com> wrote:
> On Wednesday 12 August 2009 21:01:52 Jordan Justen wrote:
>> Regarding commit 971c47c, this causes a build error for me on Ubuntu
>> 9.04. I think this might be because Ubuntu/Debian have moved /bin/sh
>> from bash to dash. The build is okay if I change the first line of
>> configure from /bin/sh to /bin/bash. Should configure point directly
>> at bash?
>>
>> -Jordan
>
> Not unless your goal is to break building on every other OS out there.
So, this is an issue of dash being an inadequate /bin/sh rather than
configure being dependent on bash?
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] RE: 971c47c - Do not use $SHELL to invoke our scripts
2009-08-13 1:15 ` Jordan Justen
@ 2009-08-13 1:21 ` Brad
0 siblings, 0 replies; 8+ messages in thread
From: Brad @ 2009-08-13 1:21 UTC (permalink / raw)
To: Jordan Justen; +Cc: qemu-devel
On Wednesday 12 August 2009 21:15:25 Jordan Justen wrote:
> On Wed, Aug 12, 2009 at 6:09 PM, Brad<brad@comstyle.com> wrote:
> > On Wednesday 12 August 2009 21:01:52 Jordan Justen wrote:
> >> Regarding commit 971c47c, this causes a build error for me on Ubuntu
> >> 9.04. I think this might be because Ubuntu/Debian have moved /bin/sh
> >> from bash to dash. The build is okay if I change the first line of
> >> configure from /bin/sh to /bin/bash. Should configure point directly
> >> at bash?
> >>
> >> -Jordan
> >
> > Not unless your goal is to break building on every other OS out there.
>
> So, this is an issue of dash being an inadequate /bin/sh rather than
> configure being dependent on bash?
I cannot comment about dash but configure does not need bash.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] RE: 971c47c - Do not use $SHELL to invoke our scripts
2009-08-13 1:01 [Qemu-devel] RE: 971c47c - Do not use $SHELL to invoke our scripts Jordan Justen
2009-08-13 1:09 ` Brad
@ 2009-08-13 2:03 ` malc
2009-08-13 2:15 ` Jordan Justen
1 sibling, 1 reply; 8+ messages in thread
From: malc @ 2009-08-13 2:03 UTC (permalink / raw)
To: Jordan Justen; +Cc: qemu-devel
On Wed, 12 Aug 2009, Jordan Justen wrote:
> Regarding commit 971c47c, this causes a build error for me on Ubuntu
> 9.04. I think this might be because Ubuntu/Debian have moved /bin/sh
> from bash to dash. The build is okay if I change the first line of
> configure from /bin/sh to /bin/bash. Should configure point directly
> at bash?
Please be more specific, what is the error? And FWIW i mainly use ash
to run QEMUs configure (and dash is derived from ash as far as i can
tell)
--
mailto:av1474@comtv.ru
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] RE: 971c47c - Do not use $SHELL to invoke our scripts
2009-08-13 2:03 ` malc
@ 2009-08-13 2:15 ` Jordan Justen
2009-08-13 2:48 ` malc
0 siblings, 1 reply; 8+ messages in thread
From: Jordan Justen @ 2009-08-13 2:15 UTC (permalink / raw)
To: malc; +Cc: qemu-devel
On Wed, Aug 12, 2009 at 7:03 PM, malc<av1474@comtv.ru> wrote:
> On Wed, 12 Aug 2009, Jordan Justen wrote:
>
>> Regarding commit 971c47c, this causes a build error for me on Ubuntu
>> 9.04. I think this might be because Ubuntu/Debian have moved /bin/sh
>> from bash to dash. The build is okay if I change the first line of
>> configure from /bin/sh to /bin/bash. Should configure point directly
>> at bash?
>
> Please be more specific, what is the error? And FWIW i mainly use ash
> to run QEMUs configure (and dash is derived from ash as far as i can
> tell)
It seems to only be an issue with dash if I run it as './configure'.
'dash configure' is okay.
With /bin/sh -> bash, if I insert an 'echo $_' before this line in configure:
THISSHELL=${_:-/bin/sh}
then $_ is blank.
With /bin/sh -> dash, 'echo $_' just before that line will show $_ to
be './configure'. Therefore THISSHELL becomes './configure', which is
obviously invalid.
I'm not sure of a fix yet...
>
> --
> mailto:av1474@comtv.ru
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] RE: 971c47c - Do not use $SHELL to invoke our scripts
2009-08-13 2:15 ` Jordan Justen
@ 2009-08-13 2:48 ` malc
2009-08-13 3:06 ` Jordan Justen
0 siblings, 1 reply; 8+ messages in thread
From: malc @ 2009-08-13 2:48 UTC (permalink / raw)
To: Jordan Justen; +Cc: qemu-devel
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1213 bytes --]
On Wed, 12 Aug 2009, Jordan Justen wrote:
> On Wed, Aug 12, 2009 at 7:03 PM, malc<av1474@comtv.ru> wrote:
> > On Wed, 12 Aug 2009, Jordan Justen wrote:
> >
> >> Regarding commit 971c47c, this causes a build error for me on Ubuntu
> >> 9.04. I think this might be because Ubuntu/Debian have moved /bin/sh
> >> from bash to dash. The build is okay if I change the first line of
> >> configure from /bin/sh to /bin/bash. Should configure point directly
> >> at bash?
> >
> > Please be more specific, what is the error? And FWIW i mainly use ash
> > to run QEMUs configure (and dash is derived from ash as far as i can
> > tell)
>
> It seems to only be an issue with dash if I run it as './configure'.
> 'dash configure' is okay.
>
> With /bin/sh -> bash, if I insert an 'echo $_' before this line in configure:
> THISSHELL=${_:-/bin/sh}
> then $_ is blank.
>
> With /bin/sh -> dash, 'echo $_' just before that line will show $_ to
> be './configure'. Therefore THISSHELL becomes './configure', which is
> obviously invalid.
>
> I'm not sure of a fix yet...
Thanks for analysis, i've pushed the "fix" hopefully it would finally put
an end to this.
--
mailto:av1474@comtv.ru
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] RE: 971c47c - Do not use $SHELL to invoke our scripts
2009-08-13 2:48 ` malc
@ 2009-08-13 3:06 ` Jordan Justen
0 siblings, 0 replies; 8+ messages in thread
From: Jordan Justen @ 2009-08-13 3:06 UTC (permalink / raw)
To: malc; +Cc: qemu-devel
2009/8/12 malc <av1474@comtv.ru>:
> On Wed, 12 Aug 2009, Jordan Justen wrote:
>
>> On Wed, Aug 12, 2009 at 7:03 PM, malc<av1474@comtv.ru> wrote:
>> > On Wed, 12 Aug 2009, Jordan Justen wrote:
>> >
>> >> Regarding commit 971c47c, this causes a build error for me on Ubuntu
>> >> 9.04. I think this might be because Ubuntu/Debian have moved /bin/sh
>> >> from bash to dash. The build is okay if I change the first line of
>> >> configure from /bin/sh to /bin/bash. Should configure point directly
>> >> at bash?
>> >
>> > Please be more specific, what is the error? And FWIW i mainly use ash
>> > to run QEMUs configure (and dash is derived from ash as far as i can
>> > tell)
>>
>> It seems to only be an issue with dash if I run it as './configure'.
>> 'dash configure' is okay.
>>
>> With /bin/sh -> bash, if I insert an 'echo $_' before this line in configure:
>> THISSHELL=${_:-/bin/sh}
>> then $_ is blank.
>>
>> With /bin/sh -> dash, 'echo $_' just before that line will show $_ to
>> be './configure'. Therefore THISSHELL becomes './configure', which is
>> obviously invalid.
>>
>> I'm not sure of a fix yet...
>
> Thanks for analysis, i've pushed the "fix" hopefully it would finally put
> an end to this.
Your new version works well for me. Thanks.
>
> --
> mailto:av1474@comtv.ru
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-08-13 3:06 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-13 1:01 [Qemu-devel] RE: 971c47c - Do not use $SHELL to invoke our scripts Jordan Justen
2009-08-13 1:09 ` Brad
2009-08-13 1:15 ` Jordan Justen
2009-08-13 1:21 ` Brad
2009-08-13 2:03 ` malc
2009-08-13 2:15 ` Jordan Justen
2009-08-13 2:48 ` malc
2009-08-13 3:06 ` Jordan Justen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.