I have this error:
> Finished release [optimized + debuginfo] target(s) in 3m 03s
> error: Found argument '--library-type' which wasn't expected, or isn't valid in this context
> cargo-cbuild cbuild --libdir <libdir> --prefix <prefix> --release --target-dir <DIRECTORY>
> For more information try --help
Created attachment 747012 [details]
What version of dev-util/cargo-c are you using?
Note that --library-type option is added since 0.6.3 (https://github.com/lu-zero/cargo-c/releases/tag/v0.6.3), and not in the latest stable version in gentoo repo (i.e. =dev-util/cargo-c-0.6.2-r1).
If you are working with a stable system (not sure as I do not see your emerge --info), then you need to unmask one of the newer versions of dev-util/cargo-c and install it.
I use stable version: dev-util/cargo-c 0.6.2-r1.
I resolve problem with dav1d by using stable version of dav1d.
I think, that rav1e-0.4.1-r1 ebuild must be changed to correct cargo-c minumum version.
Fix: I resolve problem with rav1d ...
Fix: I resolve problem with rav1e ...