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 opus build error #2597

Closed kliffgomel closed 4 months ago

kliffgomel commented 5 months ago

21:54:45 ┌ opus git .................................... [Updates found] 21:54:46 ├ Running uninstall... 21:54:46 ├ Running autogen... Likely error (tail of the failed operation logfile): CXXFLAGS: -D_FORTIFY_SOURCE=2 -fstack-protector-strong -march=znver2 -O3 -pipe -D__USE_MINGW_ANSI_STDIO=1 -Wno-implicit-function-declaration LDFLAGS: -D_FORTIFY_SOURCE=2 -fstack-protector-strong -march=znver2 -O3 -pipe -D__USE_MINGW_ANSI_STDIO=1 -Wno-implicit-function-declaration -static-libgcc --start-no-unused-arguments -static-libstdc++ --end-no-unused-arguments ./autogen.sh Downloading latest model --2024-02-04 21:54:47-- https://media.xiph.org/opus/models/opus_data-ec04a94.tar.gz Loaded CA certificate '/usr/ssl/certs/ca-bundle.crt' Resolving media.xiph.org (media.xiph.org)... 54.39.18.101, 2607:5300:203:2965:: Connecting to media.xiph.org (media.xiph.org)|54.39.18.101|:443... connected. ERROR: The certificate of ‘media.xiph.org’ is not trusted. ERROR: The certificate of ‘media.xiph.org’ doesn't have a known issuer. logs.zip

L4cache commented 5 months ago

That's obviously not m-ab-s problem, but some patch can be done to make it ignore this certificate thing. However I looked the certificate, it's from a legit and popular issuer, although being a free one which may cause abuse, it's really weird that your system distrust it.

kliffgomel commented 4 months ago

Still need a patch

L4cache commented 4 months ago

I just ran the suite with opus again (fresh, no previous opus git clone or build) and it works fine. You still have problem? I think the problem is on you system or isp, dns hijacking maybe, or your system is super paranoid about security and distrusts let's encrypt.

classicdoomenjoyer commented 4 months ago

21:54:45 ┌ opus git .................................... [Updates found] 21:54:46 ├ Running uninstall... 21:54:46 ├ Running autogen... Likely error (tail of the failed operation logfile): CXXFLAGS: -D_FORTIFY_SOURCE=2 -fstack-protector-strong -march=znver2 -O3 -pipe -D__USE_MINGW_ANSI_STDIO=1 -Wno-implicit-function-declaration LDFLAGS: -D_FORTIFY_SOURCE=2 -fstack-protector-strong -march=znver2 -O3 -pipe -D__USE_MINGW_ANSI_STDIO=1 -Wno-implicit-function-declaration -static-libgcc --start-no-unused-arguments -static-libstdc++ --end-no-unused-arguments ./autogen.sh Downloading latest model --2024-02-04 21:54:47-- https://media.xiph.org/opus/models/opus_data-ec04a94.tar.gz Loaded CA certificate '/usr/ssl/certs/ca-bundle.crt' Resolving media.xiph.org (media.xiph.org)... 54.39.18.101, 2607:5300:203:2965:: Connecting to media.xiph.org (media.xiph.org)|54.39.18.101|:443... connected. ERROR: The certificate of ‘media.xiph.org’ is not trusted. ERROR: The certificate of ‘media.xiph.org’ doesn't have a known issuer. logs.zip

Even I am having the exact same problem :(

Biswa96 commented 4 months ago

Some/I can reproduce the issue and others do not. For quick workaround, try to remove the whole dnn/download_model.sh line in opus/autogen.sh file.

kliffgomel commented 4 months ago

I still can't build the project logs.zip

1480c1 commented 4 months ago

Fixed with https://github.com/m-ab-s/media-autobuild_suite/commit/0c689127fd309ae0d401707e19f9cef6a5f653a1