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

when install rav1e, notice dep git2? #2670

Closed mojie126 closed 1 month ago

mojie126 commented 1 month ago

微信截图_20240508230429 logs.zip

LigH-de commented 1 month ago

Confirming.

  = note: G:/MABS/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.1.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lgit2: No such file or directory
          collect2.exe: error: ld returned 1 exit status

error: could not compile `rav1e` (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
Error: CliError { error: Some(1 job failed), exit_code: 101 }

logs.zip

Years ago there was an issue 3072 to make git2 optional. Maybe there is a regression?

mojie126 commented 1 month ago

I don’t know, I’ve been stuck here when compiling several times. But it was completely passed when compiled last week.

LigH-de commented 1 month ago

So let's wonder together if it may be related to the update to GCC 14.1 ...

mojie126 commented 1 month ago

yes, it's probably, wait a moment i try gcc 13.x to compile

mojie126 commented 1 month ago

new patch fix install rav1e with git2 error

LigH-de commented 1 month ago

Which patch where?

mojie126 commented 1 month ago

https://github.com/m-ab-s/media-autobuild_suite/commit/9e6d87f1e981d5365c7531d42f4ebe396e474727 probably this?

LigH-de commented 1 month ago

That patch was for gpac (MP4Box). It was not related to rav1e.

mojie126 commented 1 month ago

Did I specify git branch?

branch=0.7

LigH-de commented 1 month ago

This issue is not solved yet. If there is a change that has to be made to make rav1e compile again, it has not yet been committed to the master branch of M-AB-S.