Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to get the most complete depandency graph (reverse)?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
northfrisia
n00b
n00b


Joined: 01 Feb 2021
Posts: 36

PostPosted: Wed Feb 17, 2021 3:31 pm    Post subject: How to get the most complete depandency graph (reverse)? Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31474
Location: here

PostPosted: Wed Feb 17, 2021 3:35 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo on ARM.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Wed Feb 17, 2021 4:31 pm    Post subject: Reply with quote

Code:
equery d rust

shows you all packages that pull in rust.
Back to top
View user's profile Send private message
northfrisia
n00b
n00b


Joined: 01 Feb 2021
Posts: 36

PostPosted: Wed Feb 17, 2021 4:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
lekto
Apprentice
Apprentice


Joined: 20 Sep 2014
Posts: 216
Location: Ancient Rome

PostPosted: Fri Feb 19, 2021 5:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20589

PostPosted: Sat Feb 20, 2021 12:54 am    Post subject: Reply with quote

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
View user's profile Send private message
ShorTie
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2006
Posts: 101

PostPosted: Tue Feb 23, 2021 11:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum