Closed F1EJP closed 1 month ago
Kind of duplicate of #2670 which got closed prematurely.
Kind of duplicate of #2670 which got closed prematurely.
I don’t know what I did, but somehow it was able to compile.
A workaround, if not even a solution:
media-suite_compile.sh line 1147:
PKG_CONFIG="$LOCALDESTDIR/bin/ab-pkg-config-static.bat" \
CC="ccache clang" \
CXX="ccache clang++" \
log "install-rav1e-c" cargo capi install \
- --release --jobs "$cpuCount" --prefix="$LOCALDESTDIR" \
+ --release --no-default-features --jobs "$cpuCount" --prefix="$LOCALDESTDIR" \
--destdir="$PWD/install-$bits"
I believe this has been fixed
Unfortunately not, I still have to add --no-default-features
until git2 gets substituted upstream (by e.g. gix).
Unfortunately not, I still have to add
--no-default-features
until git2 gets substituted upstream (by e.g. gix).
I ran a clean build using the config files in your zip file and it succeeded. I am running it again to make sure
Ran it again and had no issues compiling
can you try cleaning up /opt/cargo/bin
? It's possible that there's some stuff left over from there during the transition to using msys2's rust packages
AFAICS it does not exist. There is an msys64/opt/cargo
with binaries in toolchains/stable-{i686|x86_64}-pc-windows-gnu
though, how much of that could I prune safely?
you should be able to prune all of /opt/cargo
safely as far as I know, it should only hold registry
and a few other files. Pretty much everything under bin
was migrated to using msys2's packages. The registry
folder can always be recreated the next time cargo runs
Nope, same linker error.
I assume that ld would look for a file libgit2.a due to the parameter -lgit2
?
The only location where this file exists on my PC is
G:\MABS\build\rav1e-git\target\release-no-lto\build\libgit2-sys-afacc7b5410267df\out\build\libgit2.a
hmm, would you be able to zip up msys64
, local*
and send them to me? Via email is fine
Uhm, no, msys64 alone is 15 GB uncompressed, you won't get that through any email server. Or did I misunderstand you, did you only want the names of existing files?
Darn, I wanted to see if I could trace what's different from my setup and yours. I thought it was fixed by way of hiding the .pc file, which it would check to see if it could use the system's libgit2.
I'm going to go the route of building our own libgit2 since that seems to be the least hassle at this time.
As I said, there is no libgit2 library file in the system. Except for crate and rlib files which must belong to rust exclusively, and the above mentioned libgit2.a file which was built but not copied to local libs, there are only these files in the MSYS2 system:
G:\MABS\msys64\mingw32\bin\libgit2-1.7.dll
G:\MABS\msys64\mingw64\bin\libgit2-1.7.dll
To check the existence of files I use "Everything", a Windows tool which uses the commit database of NTFS drives.
Additional note: A rav1e.exe has been created in local32/bin-video; but its size is >50 MB. A previous build in local64/bin-video is just ~5 MB. So what actually fails may not be the building but the stripping, using ld? Confusing to me.
Hi, same here: 32bit .exe is >50 MB, but an older 64 bit .exe is >63 MB logs.zip
hope the logs help a little bit :-)
That last 64 bit exe in my suite was compiled with that --no-default-features
option.
From Feb. 2024: 32 bit ~4 MB, 64 bit ~5 MB.
Hi LigH, I've started yesterday a new, clean run without "--no-default-features" - after a new start ist breaks at 32bit compile...
OK, the fact that it works for a 1st time is certainly interesting...
Ok, a new try: deleted local* dirs and started again .. must wait :-)
So, compiling ended - with error: logs.zip perhaps something in MSYS ?? - no clue
For me, rav1e builds without additional changes now. Probably thanks to https://github.com/m-ab-s/media-autobuild_suite/commit/5f6a79487106d57320a1cf72a9347a628d06f17f
ok, seems to work
it's seem ok for me now
thanks for all i close
building 64-bit 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 } [31minstall-rav1e-c failed. Check C:/media-autobuild_suite-master/build/rav1e-git/ab-suite.install-rav1e-c.log(B[mlogs.zip
Thank you for your analyse, i have not see this in issue.