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: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-27 17:38 UTC by Bogdan
Modified: 2021-12-24 05:56 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 ...
Comment 6 Larry the Git Cow gentoo-dev 2021-12-24 05:56:22 UTC
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(-)