shinchiro/mpv-winbuild-cmake

MSYS2 aclocal.m4 fail

Closed this issue · 1 comments

When run command ninja mpv, it failed with following error:

FAILED: packages/xz-prefix/src/xz-stamp/xz-autoreconf /home/Administrator/opensource/mpv-winbuild-cmake/build64/packages/xz-prefix/src/xz-stamp/xz-autoreconf
cd /home/Administrator/opensource/mpv-winbuild-cmake/build64/packages/xz-prefix/src/xz && /usr/bin/cmake.exe -P /home/Administrator/opensource/mpv-winbuild-cmake/build64/packages/xz-prefix/src/xz-stamp/xz-autoreconf-.cmake && /usr/bin/cmake.exe -E touch /home/Administrat
or/opensource/mpv-winbuild-cmake/build64/packages/xz-prefix/src/xz-stamp/xz-autoreconf
CMake Error at /home/Administrator/opensource/mpv-winbuild-cmake/build64/packages/xz-prefix/src/xz-stamp/xz-autoreconf-.cmake:49 (message):
  Command failed: 1

   '/home/Administrator/opensource/mpv-winbuild-cmake/build64/exec' 'autoreconf' '-fi'

  See also

    /home/Administrator/opensource/mpv-winbuild-cmake/build64/packages/xz-prefix/src/xz-stamp/xz-autoreconf-*.log

cat /home/Administrator/opensource/mpv-winbuild-cmake/build64/packages/xz-prefix/src/xz-stamp/xz-autoreconf-err.log

aclocal.m4:17: warning: this file was generated for autoconf 2.69.
You have another version of autoconf.  It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.
/usr/bin/m4:aclocal.m4:1252: cannot open `../m4/fixautomake.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1253: cannot open `../m4/libtool.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1254: cannot open `../m4/ltoptions.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1255: cannot open `../m4/ltsugar.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1256: cannot open `../m4/ltversion.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1257: cannot open `../m4/lt~obsolete.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1258: cannot open `../m4/woe32-dll.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1259: cannot open `m4/fcntl-o.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1260: cannot open `m4/flexmember.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1261: cannot open `m4/gettext.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1262: cannot open `m4/glibc2.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1263: cannot open `m4/glibc21.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1264: cannot open `m4/iconv.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1265: cannot open `m4/intdiv0.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1266: cannot open `m4/intl.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1267: cannot open `m4/intlmacosx.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1268: cannot open `m4/intmax.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1269: cannot open `m4/inttypes_h.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1270: cannot open `m4/nls.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1271: cannot open `m4/po.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1272: cannot open `m4/printf-posix.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1273: cannot open `m4/progtest.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1274: cannot open `m4/size_max.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1275: cannot open `m4/stdint_h.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1276: cannot open `m4/uintmax_t.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1277: cannot open `m4/visibility.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1278: cannot open `m4/xsize.m4': No such file or directory
autom4te-2.71: error: /usr/bin/m4 failed with exit status: 1
sh: line 1: cd: libtextstyle: No such file or directory
sh: line 1: cd: gettext-tools: No such file or directory
aclocal.m4:17: warning: this file was generated for autoconf 2.69.
You have another version of autoconf.  It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.
/usr/bin/m4:aclocal.m4:1252: cannot open `../m4/fixautomake.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1253: cannot open `../m4/libtool.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1254: cannot open `../m4/ltoptions.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1255: cannot open `../m4/ltsugar.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1256: cannot open `../m4/ltversion.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1257: cannot open `../m4/lt~obsolete.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1258: cannot open `../m4/woe32-dll.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1259: cannot open `m4/fcntl-o.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1260: cannot open `m4/flexmember.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1261: cannot open `m4/gettext.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1262: cannot open `m4/glibc2.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1263: cannot open `m4/glibc21.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1264: cannot open `m4/iconv.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1265: cannot open `m4/intdiv0.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1266: cannot open `m4/intl.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1267: cannot open `m4/intlmacosx.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1268: cannot open `m4/intmax.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1269: cannot open `m4/inttypes_h.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1270: cannot open `m4/nls.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1271: cannot open `m4/po.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1272: cannot open `m4/printf-posix.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1273: cannot open `m4/progtest.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1274: cannot open `m4/size_max.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1275: cannot open `m4/stdint_h.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1276: cannot open `m4/uintmax_t.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1277: cannot open `m4/visibility.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1278: cannot open `m4/xsize.m4': No such file or directory
autom4te-2.71: error: /usr/bin/m4 failed with exit status: 1
sh: line 1: cd: libtextstyle: No such file or directory
sh: line 1: cd: gettext-tools: No such file or directory
aclocal-1.16: warning: couldn't open directory 'm4': No such file or directory
configure.ac: warning: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION or AM_GNU_GETTEXT_REQUIRE_VERSION
configure.ac:68: warning: The macro `AC_GNU_SOURCE' is obsolete.
configure.ac:68: You should run autoupdate.
../autoconf-2.71/lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from...
gnulib-m4/gnulib-comp.m4:34: gl_EARLY is expanded from...
configure.ac:68: the top level
configure.ac:68: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:68: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
gnulib-m4/threadlib.m4:384: gl_THREADLIB_EARLY_BODY is expanded from...
gnulib-m4/threadlib.m4:377: gl_THREADLIB_EARLY is expanded from...
gnulib-m4/gnulib-comp.m4:34: gl_EARLY is expanded from...
configure.ac:68: the top level
configure.ac:100: warning: AM_INTL_SUBDIR is m4_require'd but not m4_defun'd
aclocal.m4:77: AM_GNU_GETTEXT is expanded from...
configure.ac:100: the top level
configure.ac:108: warning: gl_FCNTL_O_FLAGS is m4_require'd but not m4_defun'd
gnulib-m4/fcntl_h.m4:10: gl_FCNTL_H is expanded from...
gnulib-m4/gnulib-comp.m4:190: gl_INIT is expanded from...
configure.ac:108: the top level
configure.ac:73: error: possibly undefined macro: gl_WOE32_DLL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:16715: error: possibly undefined macro: AM_INTL_SUBDIR
configure:20305: error: possibly undefined macro: gl_FCNTL_O_FLAGS
autoreconf-2.71: error: /usr/bin/autoconf-2.71 failed with exit status: 1

Msys2 or cygwin are unsupported so you're on your own if compiling on those platforms