Re: disable invocation of winepath by libtool

2021-12-06 Thread Roumen Petrov

Ozkan Sezer wrote:

On 12/5/21, 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?

Using winepath in libtool really is an abomination and must be removed.
Related: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=52253


Using winepath is very useful to run regression tests in emulated environment 
on Linux.

I cannot understand why wine in installed but not properly setup. Either remove 
wine or finish installation.


Regards
Roumen Petrov



Re: disable invocation of winepath by libtool

2021-12-06 Thread Vincent Lefevre
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  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: disable invocation of winepath by libtool

2021-12-06 Thread Ozkan Sezer
On 12/5/21, 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?

Using winepath in libtool really is an abomination and must be removed.
Related: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=52253