View previous topic :: View next topic |
Author |
Message |
northfrisia n00b
Joined: 01 Feb 2021 Posts: 36
|
Posted: Wed Feb 17, 2021 3:31 pm Post subject: How to get the most complete depandency graph (reverse)? |
|
|
Hi,
I have installed Gentoo (64bit) on my Raspberry Pi 4 and there are a few libraries and application,
which need A LOT OF TIME to build on this tiny computer: For example: rust....14 hours.
And it will be triggered quite often for the time it will take to build.
If rust is needed by application, which I dont need or can be replaced with other more lightweighted
one...I would be happy.
But when I do a emerge -cvp --deep --tree I only get
virtiual/rust as dependancy
I can repeat this step by step...and I am still not knowing, whether I catched all dependancies.
Is there as way to get a full depedancy tree, which show me exactly what will happen, if I will
remove rust from my Raspberry Pi 4....in one go?
Cheers!
N.Frisia |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31475 Location: here
|
Posted: Wed Feb 17, 2021 3:35 pm Post subject: |
|
|
Moved from Installing Gentoo to Gentoo on ARM. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Wed Feb 17, 2021 4:31 pm Post subject: |
|
|
shows you all packages that pull in rust. |
|
Back to top |
|
|
northfrisia n00b
Joined: 01 Feb 2021 Posts: 36
|
Posted: Wed Feb 17, 2021 4:38 pm Post subject: |
|
|
Hi mike155,
thanks for your reply!
But it is not exactly, what I meant with:
Quote: | "Is there as way to get a full depedancy tree, which show me exactly what will happen, if I will
remove rust from my Raspberry Pi 4....in one go?" |
For example...from my Code: | Raspi:localhost:/root>equery d rust
* These packages depend on rust:
dev-lang/rust-1.50.0 (system-bootstrap ? =dev-lang/rust-1.49*)
(system-bootstrap ? =dev-lang/rust-1.50*)
dev-lang/spidermonkey-78.7.1 (>=virtual/rust-1.41.0)
gnome-base/librsvg-2.50.3 (>=virtual/rust-1.40[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
virtual/rust-1.50.0 (~dev-lang/rust-1.50.0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
|
This says, that (beside other tings) spidermonkey will no longer work....but it does not show, what depends on spidermonkey...
Is there a way to show, what will happen, if I will remove dev-lang/rust from my raspi ... with all its consequences ?
Cheers!
N.Frisia
Moderator: please next time use BBCode for code block -- fedeliallalinea |
|
Back to top |
|
|
lekto Apprentice
Joined: 20 Sep 2014 Posts: 216 Location: Ancient Rome
|
Posted: Fri Feb 19, 2021 5:36 pm Post subject: |
|
|
Rust is not in @system set, so removing it shouldn't prevent system from booting. If you want to try, you can make backup of it using quickpkg [1], unmerge it[2], check what are consequences of it and emerge it from backup[3].
[1] quickpkg dev-lang/rust
[2] emerge --unmerge dev-lang/rust
[3] emerge --usepkgonly dev-lang/rust |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20589
|
Posted: Sat Feb 20, 2021 12:54 am Post subject: |
|
|
This might be what you want: Code: | emerge -cvp <packagename> | -c is an option to "safely" check if a package can be removed (safely meaning don't remove if something depends on it).
-p and -v are pretend and verbose. verbose is required to show you what packages are installed that require <packagename>. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
ShorTie Tux's lil' helper
Joined: 12 Feb 2006 Posts: 101
|
Posted: Tue Feb 23, 2021 11:22 am Post subject: |
|
|
There is a rust-bin that can be used.
Saves the compiling of it.
14 hours seem long, got your governor setup ?? |
|
Back to top |
|
|
|