Re: [PATCH] configure: Add 'mkdir build' check

2023-02-06 Thread Dinah B
Hi, thanks for the feedback - I'll revise it. Small question - Paolo Bonzini specified that 'configure --help' should work even if the build doesn't. Currently the script functions that handle argument reading aren't initialized or run until after the build is done, so if the build fails, so do

Re: [PATCH] configure: Add 'mkdir build' check

2023-02-06 Thread Peter Maydell
On Sun, 5 Feb 2023 at 07:44, Dinah Baum wrote: > > QEMU configure script goes into an infinite error printing loop > when in read only directory due to 'build' dir never being created. > > Checking if 'mkdir dir' succeeds and if the directory is > writeable prevents this error. > > Resolves:

[PATCH] configure: Add 'mkdir build' check

2023-02-04 Thread Dinah Baum
QEMU configure script goes into an infinite error printing loop when in read only directory due to 'build' dir never being created. Checking if 'mkdir dir' succeeds and if the directory is writeable prevents this error. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/321 Signed-off-by: