id = 1401 title = "configure uses break outside loop" state = "closed" created_at = "2022-12-29T11:04:14.087Z" closed_at = "2023-01-09T18:43:02.665Z" labels = ["Build System", "workflow::Patch available"] url = "https://gitlab.com/qemu-project/qemu/-/issues/1401" host-os = "OmniOS" host-arch = "x86" qemu-version = "7.2.0" guest-os = "n/a" guest-arch = "n/a" description = """When running `configure` in version 7.2.0, the following message is printed multiple times: ``` qemu/configure: line 1885: break: only meaningful in a `for', `while', or `until' loop ```""" reproduce = """Running `configure` should be enough. My complete configure command is: ``` /bin/bash ./configure \\ --prefix=$PREFIX/qemu --sysconfdir=/etc$PREFIX/qemu \\ --includedir=$PREFIX/qemu/include --bindir=$PREFIX/qemu/bin \\ --sbindir=$PREFIX/qemu/sbin --libdir=$PREFIX/qemu/lib/amd64 \\ --libexecdir=$PREFIX/qemu/libexec/amd64 \\ --localstatedir=/var$PREFIX/qemu ```""" additional = """The `configure` script has `break;` in a conditional, where `:` would suffice (or the conditional could just be negated)"""