1 |
commit: 6091fcd861034b9b20677098827eff7b7a148853 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 29 01:11:51 2021 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 29 01:11:51 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=6091fcd8 |
7 |
|
8 |
emerge: Default enable soname dependencies (bug 687956) |
9 |
|
10 |
Default emerge --ignore-soname-deps=n, in order to enable |
11 |
soname dependencies by default. As always, soname dependencies |
12 |
remain inapplicable in the absence of the --usepkgonly option |
13 |
(or --getbinpkgonly). Therefore, this change only affects |
14 |
commands that specify --usepkgonly or --getbinpkgonly. |
15 |
|
16 |
Bug: https://bugs.gentoo.org/687956 |
17 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
18 |
|
19 |
lib/_emerge/create_depgraph_params.py | 2 +- |
20 |
man/emerge.1 | 7 ++++--- |
21 |
2 files changed, 5 insertions(+), 4 deletions(-) |
22 |
|
23 |
diff --git a/lib/_emerge/create_depgraph_params.py b/lib/_emerge/create_depgraph_params.py |
24 |
index 11c3e3736..95c4c2035 100644 |
25 |
--- a/lib/_emerge/create_depgraph_params.py |
26 |
+++ b/lib/_emerge/create_depgraph_params.py |
27 |
@@ -104,7 +104,7 @@ def create_depgraph_params(myopts, myaction): |
28 |
if ignore_built_slot_operator_deps is not None: |
29 |
myparams["ignore_built_slot_operator_deps"] = ignore_built_slot_operator_deps |
30 |
|
31 |
- myparams["ignore_soname_deps"] = myopts.get("--ignore-soname-deps", "y") |
32 |
+ myparams["ignore_soname_deps"] = myopts.get("--ignore-soname-deps", "n") |
33 |
|
34 |
dynamic_deps = myopts.get("--dynamic-deps", "y") != "n" and "--nodeps" not in myopts |
35 |
if dynamic_deps: |
36 |
|
37 |
diff --git a/man/emerge.1 b/man/emerge.1 |
38 |
index 8f6d12925..ff565b46f 100644 |
39 |
--- a/man/emerge.1 |
40 |
+++ b/man/emerge.1 |
41 |
@@ -639,9 +639,10 @@ supported beginning with \fBEAPI 5\fR. |
42 |
.TP |
43 |
.BR "\-\-ignore\-soname\-deps < y | n >" |
44 |
Ignore the soname dependencies of binary and installed packages. This |
45 |
-option is enabled by default, since soname dependencies are relatively |
46 |
-new, and the required metadata is not guaranteed to exist for binary and |
47 |
-installed packages built with older versions of portage. Also, soname |
48 |
+option may be useful when working with binary or installed packages |
49 |
+that lack appropriate soname dependency metadata because they were built |
50 |
+with a package manager that does not support soname dependencies (perhaps |
51 |
+an older version of portage). Soname |
52 |
dependencies will be automatically ignored for dependency calculations |
53 |
that can pull unbuilt ebuilds into the dependency graph, since unbuilt |
54 |
ebuilds do not have any soname dependency metadata, making it impossible |