qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Bug 1886343] [NEW] configure has non-posix bash syntax
@ 2020-07-05 19:24 Wilson-q
  2020-07-06  7:46 ` [Bug 1886343] " Thomas Huth
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Wilson-q @ 2020-07-05 19:24 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

which gives an error when run on a system that uses dash for /bin/sh.

The problem is at line 6464 which has
    if test "$have_keyring" == "yes"
the double equal sign is non-posix bash syntax that isn't accepted by posix shells like dash.  This was added 2020-05-25 according to git blame so looks like a recent problem.

On an Ubuntu 20.04 system with top of tree sources I get
gondor:2027$ ../qemu/configure --prefix=/home/wilson/FOSS/qemu/install-qemu-tmp --target-list=riscv64-linux-user,riscv64-softmmu,riscv32-linux-user,riscv32-softmmu
../qemu/configure: 6464: test: yes: unexpected operator
...

configure completes OK, so this is a minor problem.  It is just one
configure test that is failing to work properly.

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1886343

Title:
  configure has non-posix bash syntax

Status in QEMU:
  New

Bug description:
  which gives an error when run on a system that uses dash for /bin/sh.

  The problem is at line 6464 which has
      if test "$have_keyring" == "yes"
  the double equal sign is non-posix bash syntax that isn't accepted by posix shells like dash.  This was added 2020-05-25 according to git blame so looks like a recent problem.

  On an Ubuntu 20.04 system with top of tree sources I get
  gondor:2027$ ../qemu/configure --prefix=/home/wilson/FOSS/qemu/install-qemu-tmp --target-list=riscv64-linux-user,riscv64-softmmu,riscv32-linux-user,riscv32-softmmu
  ../qemu/configure: 6464: test: yes: unexpected operator
  ...

  configure completes OK, so this is a minor problem.  It is just one
  configure test that is failing to work properly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1886343/+subscriptions


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

* [Bug 1886343] Re: configure has non-posix bash syntax
  2020-07-05 19:24 [Bug 1886343] [NEW] configure has non-posix bash syntax Wilson-q
@ 2020-07-06  7:46 ` Thomas Huth
  2020-07-30 11:08 ` Peter Maydell
  2020-08-20 15:34 ` Thomas Huth
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2020-07-06  7:46 UTC (permalink / raw)
  To: qemu-devel

Thanks for reporting! Seems like others ran into this problem, too - a patch is already on the list:
https://lists.gnu.org/archive/html/qemu-devel/2020-06/msg08967.html

** Changed in: qemu
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1886343

Title:
  configure has non-posix bash syntax

Status in QEMU:
  Confirmed

Bug description:
  which gives an error when run on a system that uses dash for /bin/sh.

  The problem is at line 6464 which has
      if test "$have_keyring" == "yes"
  the double equal sign is non-posix bash syntax that isn't accepted by posix shells like dash.  This was added 2020-05-25 according to git blame so looks like a recent problem.

  On an Ubuntu 20.04 system with top of tree sources I get
  gondor:2027$ ../qemu/configure --prefix=/home/wilson/FOSS/qemu/install-qemu-tmp --target-list=riscv64-linux-user,riscv64-softmmu,riscv32-linux-user,riscv32-softmmu
  ../qemu/configure: 6464: test: yes: unexpected operator
  ...

  configure completes OK, so this is a minor problem.  It is just one
  configure test that is failing to work properly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1886343/+subscriptions


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

* [Bug 1886343] Re: configure has non-posix bash syntax
  2020-07-05 19:24 [Bug 1886343] [NEW] configure has non-posix bash syntax Wilson-q
  2020-07-06  7:46 ` [Bug 1886343] " Thomas Huth
@ 2020-07-30 11:08 ` Peter Maydell
  2020-08-20 15:34 ` Thomas Huth
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Maydell @ 2020-07-30 11:08 UTC (permalink / raw)
  To: qemu-devel

Fixed in commit b418d2656112174c; this will be in QEMU 5.1.


** Changed in: qemu
       Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1886343

Title:
  configure has non-posix bash syntax

Status in QEMU:
  Fix Committed

Bug description:
  which gives an error when run on a system that uses dash for /bin/sh.

  The problem is at line 6464 which has
      if test "$have_keyring" == "yes"
  the double equal sign is non-posix bash syntax that isn't accepted by posix shells like dash.  This was added 2020-05-25 according to git blame so looks like a recent problem.

  On an Ubuntu 20.04 system with top of tree sources I get
  gondor:2027$ ../qemu/configure --prefix=/home/wilson/FOSS/qemu/install-qemu-tmp --target-list=riscv64-linux-user,riscv64-softmmu,riscv32-linux-user,riscv32-softmmu
  ../qemu/configure: 6464: test: yes: unexpected operator
  ...

  configure completes OK, so this is a minor problem.  It is just one
  configure test that is failing to work properly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1886343/+subscriptions


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

* [Bug 1886343] Re: configure has non-posix bash syntax
  2020-07-05 19:24 [Bug 1886343] [NEW] configure has non-posix bash syntax Wilson-q
  2020-07-06  7:46 ` [Bug 1886343] " Thomas Huth
  2020-07-30 11:08 ` Peter Maydell
@ 2020-08-20 15:34 ` Thomas Huth
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2020-08-20 15:34 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1886343

Title:
  configure has non-posix bash syntax

Status in QEMU:
  Fix Released

Bug description:
  which gives an error when run on a system that uses dash for /bin/sh.

  The problem is at line 6464 which has
      if test "$have_keyring" == "yes"
  the double equal sign is non-posix bash syntax that isn't accepted by posix shells like dash.  This was added 2020-05-25 according to git blame so looks like a recent problem.

  On an Ubuntu 20.04 system with top of tree sources I get
  gondor:2027$ ../qemu/configure --prefix=/home/wilson/FOSS/qemu/install-qemu-tmp --target-list=riscv64-linux-user,riscv64-softmmu,riscv32-linux-user,riscv32-softmmu
  ../qemu/configure: 6464: test: yes: unexpected operator
  ...

  configure completes OK, so this is a minor problem.  It is just one
  configure test that is failing to work properly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1886343/+subscriptions


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

end of thread, other threads:[~2020-08-20 15:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-05 19:24 [Bug 1886343] [NEW] configure has non-posix bash syntax Wilson-q
2020-07-06  7:46 ` [Bug 1886343] " Thomas Huth
2020-07-30 11:08 ` Peter Maydell
2020-08-20 15:34 ` Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).