On 2021-12-05 21:28:40 +0300, ilya Basin wrote: > Dear List. I'm cross compiling a program on Linux for a mingw host > and sometimes this shows Wine dialogs like "updating wine > configuration" or "download and install Mono". I believe it's only > needed to run `make check` successfully, but I want to skip the test > suite. How to properly prevent the invocation if winepath?
I got the same issue when testing GNU MPFR. If one does not need X Window, a workaround is to unset the DISPLAY environment variable. This is actually needed to avoid failures when the X server has terminated (because Wine tries to use X Window when DISPLAY is set, even though this is not needed by the program to run[*]). And as a side effect, one no longer gets these annoying dialogs. [*] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914822 https://bugs.winehq.org/show_bug.cgi?id=46211 -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)