Re: Problem building mm-common on MSYS2

On 2021-04-14 08:11, Oliver Niebuhr wrote:
/util/meson_aux/ C:/Dev/Sources/GTK4/mmcommon/x64/debug/share/aclocal'
--- stdout ---

--- stderr ---
Traceback (most recent call last):

  File "C:/Dev/MMCommonSrc/util/meson_aux/", line 17, in <module>

    result =['aclocal', '--print-ac-dir'],

FileNotFoundError: [WinError 2] The system cannot find the file specified

The installation of mm-common fails on line 17 of I don't understand what the error message refers to ("the file specified"). is a very simple Python script that just prints a warning, if appropriate. The failing Python command is

  result =['aclocal', '--print-ac-dir'],
                          stdout=subprocess.PIPE, stderr=subprocess.DEVNULL,

It would be fine if you could make some tests on your system. Run directly from the command line. It requires an argument, but the argument can be anything. It's just part of the warning that the script is supposed to print.

You will probably get the same FileNotFoundError again. Then try changing the script. Change the command to

  result =['aclocal', '--print-ac-dir'],

That would be an acceptable change that I can make in mm-common. I just don't understand why it would be necessary.

If capture_output=True also fails, you can try

  result =['aclocal', '--print-ac-dir'],

just to see what happens.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]