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 > > USAGE: > cargo-cbuild cbuild --libdir <libdir> --prefix <prefix> --release --target-dir <DIRECTORY> > > For more information try --help Reproducible: Always
Created attachment 747012 [details] build.log
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 ...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e6dcbb89f83172bd72d4ce2a0d6353475b02eab commit 2e6dcbb89f83172bd72d4ce2a0d6353475b02eab Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-24 05:55:01 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-24 05:55:01 +0000 media-video/rav1e: crank up minimum cargo-c dependency for 0.4.1-r1 Can't do 0.4.1 itself as new enough cargo-c isn't yet stable. Closes: https://bugs.gentoo.org/820539 Signed-off-by: Sam James <sam@gentoo.org> media-video/rav1e/rav1e-0.4.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)