Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 820539 - media-video/rav1e-0.4.1-r1[+capi] - error: Found argument '--library-type' which wasn't expected, or isn't valid in this context
Summary: media-video/rav1e-0.4.1-r1[+capi] - error: Found argument '--library-type' wh...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-27 17:38 UTC by Bogdan
Modified: 2021-11-01 09:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (rav1e.log,123.88 KB, text/x-log)
2021-10-27 17:42 UTC, Bogdan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bogdan 2021-10-27 17:38:37 UTC
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
Comment 1 Bogdan 2021-10-27 17:42:48 UTC
Created attachment 747012 [details]
build.log
Comment 2 Tee KOBAYASHI 2021-10-29 13:45:11 UTC
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.
Comment 3 Bogdan 2021-11-01 09:57:52 UTC
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.
Comment 4 Bogdan 2021-11-01 09:58:39 UTC
Fix: I resolve problem with rav1d ...
Comment 5 Bogdan 2021-11-01 09:59:44 UTC
Fix: I resolve problem with rav1e ...