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

fail at 64bit compilation of global tools - gnutls, possibly due to hash mismatch #2655

Closed striknina closed 2 months ago

striknina commented 2 months ago

Have been trying to get ffmpeg build via this script for a few days. All attempts have failed at the same spot each time: 64bit compilation of global tools, specifically gnutls.

There's always a hash mismatch preceding the fail - somehow, one half of the hash pair attempted to be matched is always different each time. The process fails a bit after, during "Running configure", but I'm not sure if the previous issue has anything to do with this?

Logs attached below.

ab-suite.configure-20240424-2041.log ab-suite.configure-20240425-0132.log ab-suite.configure-20240428-0114.log compile.stripped-20240424-2041.log compile.stripped-20240425-0132.log compile.stripped-20240428-0114.log

1480c1 commented 2 months ago

if you try to download https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.8.tar.xz, does it work?

striknina commented 2 months ago

just downloaded, now trying... from there, should I build as instructed or just put the gnutls folder in the build folder?

update: looks like script keeps deleting the contents if I put the files straight into a folder in build

1480c1 commented 2 months ago

I was more wondering if something was preventing the script from downloading the file, like a proxy page or something being injected

striknina commented 2 months ago

another update: Running configure seems to be actually running now and doesn't immediately fall apart key is apparently to put the .tar.xz into the build folder (don't extract)

thanks for the hint!


...although now that you mention it:

I was more wondering if something was preventing the script from downloading the file, like a proxy page or something being injected

one of the logs (ab-suite.extract) explicitly gives this error

ERROR: No such file or directory
gnutls-3.7.8.tar.xz

which probably means the .tar.xz never made it, at least not in one piece if at all, hence the everchanging hash...