m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.49k stars 257 forks source link

mingw64 - zvbi autoreconf failure, build aborted #2601

Closed hydra3333 closed 4 months ago

hydra3333 commented 4 months ago

Hello, just received this error from a fresh MABS download and build. Cheers

12:41:50 ┌ vidstab git  .............................. [Recently updated]
12:41:51 ├ Installing openmp... done
12:41:57 ├ Running cmake...
12:42:02 ├ Running build...
12:42:03 ├ Running install...
12:42:04 ├ Stripping...
12:42:04 └ vidstab-git  ....................................... [Updated]
12:42:04   Running git clone for zvbi...
12:42:10   Running git update for zvbi...
12:42:10 ┌ zvbi git  ................................. [Recently updated]
12:42:10 ├ Running autoreconf...
Likely error (tail of the failed operation logfile):
autoreconf-2.71: export WARNINGS=
autoreconf-2.71: Entering directory '.'
autoreconf-2.71: running: autopoint --force
/usr/bin/autopoint: line 505: /usr/share/gettext/archive.dir.tar.xz: No such file or directory
tar: This does not look like a tar archive
tar: gettext-0.21: Not found in archive
tar: Exiting with failure status due to previous errors
autopoint: *** infrastructure files for version 0.21 not found; this is autopoint from GNU gettext-tools 0.22.4
autopoint: *** Stop.
autoreconf-2.71: error: autopoint failed with exit status: 1
autoreconf failed. Check C:/MABS/build/zvbi-git/ab-suite.autoreconf.log
This is required for other packages, so this script will exit.
12:42:14   Creating diagnostics file...

Attach C:\MABS\build\logs.zip to the GitHub issue.
Make sure the suite is up-to-date before reporting an issue. It might've been fixed already.

logs.zip

Interestingly, the last zvbi commit seems to have been a long time ago on Jan 3 ... Commits on Jan 3, 2024

The last time I built MABS (same options, saved and then restored here for this fresh build) was 27 Jan, so this is a bit of a surprise.

hydra3333 commented 4 months ago

Commented out vidstab and saw this console log:

15:14:07 libmediainfo git  ................................. [Up-to-date]
15:14:11   Running git update for mediainfo...
15:14:11 mediainfo git  .................................... [Up-to-date]
15:14:11   Running git clone for zvbi...
15:14:17   Running git update for zvbi...
15:14:17 ┌ zvbi git  ................................. [Recently updated]
15:14:17 ├ Running autoreconf...
Likely error (tail of the failed operation logfile):
autoreconf-2.71: export WARNINGS=
autoreconf-2.71: Entering directory '.'
autoreconf-2.71: running: autopoint --force
/usr/bin/autopoint: line 505: /usr/share/gettext/archive.dir.tar.xz: No such file or directory
tar: This does not look like a tar archive
tar: gettext-0.21: Not found in archive
tar: Exiting with failure status due to previous errors
autopoint: *** infrastructure files for version 0.21 not found; this is autopoint from GNU gettext-tools 0.22.4
autopoint: *** Stop.
autoreconf-2.71: error: autopoint failed with exit status: 1
autoreconf failed. Check C:/MABS/build/zvbi-git/ab-suite.autoreconf.log
This is required for other packages, so this script will exit.
15:14:21   Creating diagnostics file...

Attach C:\MABS\build\logs.zip to the GitHub issue.
Make sure the suite is up-to-date before reporting an issue. It might've been fixed already.

Try running the build again at a later time.

Perhaps mediainfo ?

WernMich commented 4 months ago

Got the same issue. Solved it by manually installing "gettext-devel" - seems that the gettext package did change and does not contain development related components anymore. So maybe adding "gettext-devel" to the dependencies in this project will solve the issue generally.

hydra3333 commented 4 months ago

Hmm, adding that into here

if [[ $mediainfo = y || $bmx = y || $curl != n ]]; then
    do_pacman_install gettext-devel
    do_pacman_install libunistring

failed yielding

23:47:18 fribidi git  ...................................... [Up-to-date]
23:47:21   Running git update for libass...
23:47:21 libass git  ....................................... [Up-to-date]
23:47:22 gnutls 3.7.8  ..................................... [Up-to-date]
23:47:23 ├ Installing gettext-devel... failed
23:47:27 libidn2 2.3.0  .................................... [Up-to-date]
23:47:28 libpsl 0.21.0  .................................... [Up-to-date]

How did you do it ?

Thanks.

WernMich commented 4 months ago

I simply opened msys2 shell from mabs package and ran "pacman -S gettext-devel". When running the mabs build I got the message that this package is not a configured dependency and if I want to uninstall it. I answered with "no" and it worked for me.

hydra3333 commented 4 months ago

OK, in the above I replaced do_pacman_install gettext-devel with pacman -S --noconfirm gettext-devel and it seems to build. Cheers

jfe1205 commented 4 months ago

Builds fine as of today, thanks.