Closed blap-o closed 5 months ago
Same.
10:14:07 ┌ ffmpeg git ............................... [Recently updated] 10:14:07 ├ Changing options to comply to nonfree... CUDA_PATH environment variable not set or directory does not exist. 10:14:11 ├ Compiling static FFmpeg... 10:14:12 ├ Running configure... 10:16:34 ├ Running make... Likely error (tail of the failed operation logfile): makeinfo: error parsing /build/ffmpeg-git/doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at /build/ffmpeg-git/doc/t2h.pm line 24. make: [/build/ffmpeg-git/doc/Makefile:71: doc/ffprobe.html] Error 1 makeinfo: error parsing /build/ffmpeg-git/doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at /build/ffmpeg-git/doc/t2h.pm line 24. make: [/build/ffmpeg-git/doc/Makefile:75: doc/ffmpeg-all.html] Error 1 STRIP libavutil/x86/tx_float.o AR libavfilter/libavfilter.a AR libavutil/libavutil.a HTML doc/ffmpeg.html makeinfo: error parsing /build/ffmpeg-git/doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at /build/ffmpeg-git/doc/t2h.pm line 24. make: *** [/build/ffmpeg-git/doc/Makefile:71: doc/ffmpeg.html] Error 1 make failed. Check C:/MAS/build/ffmpeg-git/build-static-64bit/ab-suite.make.log This is required for other packages, so this script will exit. 10:19:03 Creating diagnostics file...
Attach C:\MAS\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.
If you're never going to use the locally-generated documentation, just add --disable-doc
to your ffmpeg_options.txt
and it'll just skip that step entirely.
Yes, I did that too :) added --disable-doc to your ffmpeg_options.txt
Also added/modified --disable-libplacebo in ffmpeg_options.txt --disable-libjxl in ffmpeg_options.txt libavif=2 in media-autobuild_suite.ini jpegxl=2 in media-autobuild_suite.ini to ignore the currently not-building ones, and then ffmpeg builds a treat for me.
At some stage I'd like to re-include libjxl and libavif and have been playing with them. However I'm not clever enough to find a fix yet. I did try to build the latest https://github.com/mm2/Little-CMS instead of using the older pacman version, however that seems to make no difference when building libjxl. Perhaps I'll look for hints over at https://github.com/BtbN/FFmpeg-Builds and https://github.com/DeadSix27/py-cross and https://github.com/rdp/ffmpeg-windows-build-helpers and https://github.com/Alexpux/MINGW-packages
_edit: I also note https://github.com/m-ab-s/media-autobuild_suite/issues/2494#issuecomment-1782566361 and that I did not need to downgrade pkgconf_
An ffmpeg ticket was submitted to ffmpeg trac in case it is something at their end. https://trac.ffmpeg.org/ticket/10636
If you're never going to use the locally-generated documentation, just add
--disable-doc
to yourffmpeg_options.txt
and it'll just skip that step entirely.
Worked for me, thanks!
Ah.
Trac ticket https://trac.ffmpeg.org/ticket/10636 had a response:
[comment:2] by Sebastian Ramacher, [6 hours ago]
This is caused by changes in texinfo 7.1 and also affects ffmpeg 6.0 and other releases.
I see (https://www.gnu.org/software/texinfo/ says
The latest official release is Texinfo 7.1 (2023-10-18)
I guess that MABS could somehow install the prior version for the time being ?
A kind soul has provided an interim patch which could be used to build the documentation: https://trac.ffmpeg.org/ticket/10636#comment:4
If you're never going to use the locally-generated documentation, just add
--disable-doc
to yourffmpeg_options.txt
and it'll just skip that step entirely.
Manual is worthy of being kept. I have built this one (https://aur.archlinux.org/packages/ffmpeg-intel-full-git) successfully by adding --disable-htmlpages
in PKGBUILD.
ffmpeg build completed successfully for me just now - including the DOCS.
ffmpeg build completed successfully for me just now - including the DOCS.
Yes, there's been upstream ffmpeg patches.
-64 bit Build -Failed to build: ffmpeg
I do not know if my build is classified as "custom". The only changes I make are in ffmpeg_option.txt:
--disable-everything --disable-autodetect --disable-encoders --disable-decoders --disable-hwaccels --disable-muxers --disable-demuxers --disable-parsers --disable-bsfs --disable-protocols --disable-filters --disable-devices --disable-ffplay --disable-ffprobe --disable-schannel --disable-stripping --enable-gpl --enable-version3 --enable-indev=gdigrab --enable-protocol=file --enable-filter=scale --enable-libvpx --enable-encoder=libvpx_vp8 --enable-encoder=libvpx_vp9 --enable-muxer=matroska --enable-muxer=webm
I was having no issues building it until I ran the suite yesterday (27th).
The specific line from t2h.pm reads:
set_from_init_file('HEADERS', 0);
logs.zip