aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-04-23 15:42:10 +0300
committerJoonas Niilola <juippis@gentoo.org>2022-05-22 09:37:02 +0300
commit6c0b51ae63833c2ddfd58412727c0004db06d605 (patch)
tree6c14e6932cfc98b30461af07d6654da00188ce9d /general-concepts/dependencies/text.xml
parentgeneral-concepts/dependencies: add new section for indirect deps (diff)
downloaddevmanual-6c0b51ae63833c2ddfd58412727c0004db06d605.tar.gz
devmanual-6c0b51ae63833c2ddfd58412727c0004db06d605.tar.bz2
devmanual-6c0b51ae63833c2ddfd58412727c0004db06d605.zip
general-concepts/dependencies: expand on finding correct deps a bit
Signed-off-by: Joonas Niilola <juippis@gentoo.org> Closes: https://github.com/gentoo/devmanual/pull/284
Diffstat (limited to 'general-concepts/dependencies/text.xml')
-rw-r--r--general-concepts/dependencies/text.xml14
1 files changed, 11 insertions, 3 deletions
diff --git a/general-concepts/dependencies/text.xml b/general-concepts/dependencies/text.xml
index ab1a799..59b1b37 100644
--- a/general-concepts/dependencies/text.xml
+++ b/general-concepts/dependencies/text.xml
@@ -631,7 +631,9 @@ package:
<dd>
Use a tool like <c>scanelf -n</c> (from app-misc/pax-utils) or
<c>objdump -p</c> (from sys-devel/binutils) to list <c>DT_NEEDED</c>
- entries
+ entries.
+ app-portage/iwdevtools and portage's own <c>qa-unresolved-soname-deps</c>
+ <b>FEATURE</b> can help finding these.
</dd>
<dt>Look in <c>configure.ac</c></dt>
<dd>
@@ -647,12 +649,12 @@ package:
<dt>Look at the application/library website</dt>
<dd>
Check the application website for possible dependencies that they suggest
- are needed
+ are needed.
</dd>
<dt>Read the <c>README</c> and <c>INSTALL</c> for the package</dt>
<dd>
They usually also contain useful information about building and installing
- packages
+ packages.
</dd>
<dt>
Remember non-binary dependencies such as pkg-config, doc generation
@@ -664,6 +666,12 @@ package:
are clearly stated. Again, such dependencies usually belong in
<c>BDEPEND</c>.
</dd>
+ <dt>Testing in chroots, containers and virtual machines</dt>
+ <dd>
+ A sure-way to find missing dependencies is to test your ebuild in a
+ deprived environment. Chroots, containers, virtual machines and
+ dev-util/ebuildtester can achieve this.
+ </dd>
</dl>
</body>