Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836302 - dev-util/cargo-ebuild: should RDEPEND on virtual/rust
Summary: dev-util/cargo-ebuild: should RDEPEND on virtual/rust
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-28 05:56 UTC by Joonas Niilola
Modified: 2022-06-24 17:36 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joonas Niilola gentoo-dev 2022-03-28 05:56:14 UTC
The funniest thing happened today:
# emerge --ask dev-util/cargo-ebuild

These are the packages that would be merged, in order:

Calculating dependencies  ... done!
[binary  N     ] net-libs/http-parser-2.9.4-r1-1  ABI_X86="32 (64) (-x32)" 
[binary  N     ] net-libs/libssh2-1.10.0-1  USE="zlib -gcrypt -mbedtls" ABI_X86="32 (64) (-x32)" 
[binary  N     ] dev-libs/libgit2-1.4.2-1  USE="ssh threads -examples -gssapi -test -trace" 
[binary  N     ] dev-util/cargo-ebuild-0.5.0-1  USE="-debug" 

!!! The following binary packages have been ignored due to non matching USE:

    =dev-libs/openssl-1.1.1n static-libs
    =sys-libs/zlib-1.2.11-r5 minizip
    =dev-lang/python-3.10.4 -xml

NOTE: The --binpkg-respect-use=n option will prevent emerge
      from ignoring these binary packages if possible.
      Using --binpkg-respect-use=y will silence this warning.

Would you like to merge these packages? [Yes/No] y
>>> Emerging binary (1 of 4) net-libs/http-parser-2.9.4-r1::gentoo
>>> Emerging binary (2 of 4) net-libs/libssh2-1.10.0::gentoo
>>> Installing (1 of 4) net-libs/http-parser-2.9.4-r1::gentoo
>>> Installing (2 of 4) net-libs/libssh2-1.10.0::gentoo
>>> Emerging binary (3 of 4) dev-libs/libgit2-1.4.2::gentoo
>>> Installing (3 of 4) dev-libs/libgit2-1.4.2::gentoo
>>> Emerging binary (4 of 4) dev-util/cargo-ebuild-0.5.0::gentoo
>>> Installing (4 of 4) dev-util/cargo-ebuild-0.5.0::gentoo
>>> Recording dev-util/cargo-ebuild in "world" favorites file...
>>> Jobs: 4 of 4 complete                           Load avg: 1.43, 3.06, 5.75
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

...
...
...

# cargo ebuild 
bash: cargo: command not found


# emerge -1av rust-bin

These are the packages that would be merged, in order:

Calculating dependencies  . ... done!
[binary  N     ] app-eselect/eselect-rust-20210703-2::gentoo  0 KiB
[binary  N     ] dev-lang/rust-bin-1.59.0-1:stable::gentoo  USE="-clippy -doc (-prefix) -rls -rust-src -rustfmt -verify-sig" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" 0 KiB


Aaand then it worked.
Comment 1 Larry the Git Cow gentoo-dev 2022-04-08 01:14:18 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/cargo-ebuild.git/commit/?id=24621566d964285bf633b10735ae1b98fb51e365

commit 24621566d964285bf633b10735ae1b98fb51e365
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2022-04-08 01:12:55 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2022-04-08 01:14:05 +0000

    rdepend on virtual/rust in template
    
    Bug: https://bugs.gentoo.org/836302
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 Cargo.lock                 | 2 +-
 cargo-ebuild-template.tera | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2022-04-08 01:16:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2db900724d7549a2250f6266dcf670c30560a5f9

commit 2db900724d7549a2250f6266dcf670c30560a5f9
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2022-04-08 01:12:19 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2022-04-08 01:15:59 +0000

    dev-util/cargo-ebuild: add 0.5.1
    
    Closes: https://bugs.gentoo.org/836302
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-util/cargo-ebuild/Manifest                  |  53 ++++++++
 dev-util/cargo-ebuild/cargo-ebuild-0.5.1.ebuild | 173 ++++++++++++++++++++++++
 2 files changed, 226 insertions(+)