[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 1886343] [NEW] configure has non-posix bash syntax
From: |
Wilson-q |
Subject: |
[Bug 1886343] [NEW] configure has non-posix bash syntax |
Date: |
Sun, 05 Jul 2020 19:24:58 -0000 |
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
- [Bug 1886343] [NEW] configure has non-posix bash syntax,
Wilson-q <=