Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 687956

Summary: sys-apps/portage: default emerge --ignore-soname-deps=n behavior
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: flow, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=708448
https://github.com/gentoo/portage/pull/774
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 829623, 704320    
Bug Blocks: 694246    

Description Zac Medico gentoo-dev 2019-06-12 17:22:45 UTC
The emerge --ignore-soname-deps=n behavior appears to be pretty stable now (bug 659564 was the most recent issue), so we can probably make it the default now.
Comment 1 Zac Medico gentoo-dev 2021-04-16 08:28:39 UTC
I'd like to make the old default sticky for existing installs, as in bug 772785. This will prevent the change from annoying users that have old packages which lack soname dependency metadata.
Comment 2 Zac Medico gentoo-dev 2021-04-18 23:49:51 UTC
(In reply to Zac Medico from comment #1)
> I'd like to make the old default sticky for existing installs, as in bug
> 772785. This will prevent the change from annoying users that have old
> packages which lack soname dependency metadata.

I think we can actually enable it unconditionally, since the number of people using --usepkgonly which such packages should be negligible.
Comment 3 Larry the Git Cow gentoo-dev 2021-11-29 02:20:02 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=6091fcd861034b9b20677098827eff7b7a148853

commit 6091fcd861034b9b20677098827eff7b7a148853
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2021-11-29 01:11:51 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2021-11-29 01:11:51 +0000

    emerge: Default enable soname dependencies (bug 687956)
    
    Default emerge --ignore-soname-deps=n, in order to enable
    soname dependencies by default. As always, soname dependencies
    remain inapplicable in the absence of the --usepkgonly option
    (or --getbinpkgonly). Therefore, this change only affects
    commands that specify --usepkgonly or --getbinpkgonly.
    
    Bug: https://bugs.gentoo.org/687956
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 lib/_emerge/create_depgraph_params.py | 2 +-
 man/emerge.1                          | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)
Comment 4 Jason A. Donenfeld gentoo-dev 2021-12-20 14:27:52 UTC
The reasoning of 6091fcd861034b9b20677098827eff7b7a148853 might not hold:

> Therefore, this change only affects
> commands that specify --usepkgonly or --getbinpkgonly.

It seems like the output for --depclean now shows broken soname dependencies for packages like android-sdk-update-manager and android-studio and such. In other words, the change affects non pkgonly commands.
Comment 5 Larry the Git Cow gentoo-dev 2021-12-20 16:18:35 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=2c025e87bb6253f869f9e84e6eb0d98eecfd49c4

commit 2c025e87bb6253f869f9e84e6eb0d98eecfd49c4
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2021-12-20 16:16:30 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2021-12-20 16:18:21 +0000

    Revert "emerge: Default enable soname dependencies (bug 687956)"
    
    This change seems to cause problems with emerge --depclean.
    
    Reverts: 6091fcd861034b9b20677098827eff7b7a148853
    Bug: https://bugs.gentoo.org/687956
    Bug: https://bugs.gentoo.org/829623
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 lib/_emerge/create_depgraph_params.py | 2 +-
 man/emerge.1                          | 7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)
Comment 6 Larry the Git Cow gentoo-dev 2021-12-20 16:26:12 UTC
The bug has been referenced in the following commit(s):

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

commit a92e6d74d7a7af59dd351f815e87e09a719ea742
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2021-12-20 16:23:53 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2021-12-20 16:24:38 +0000

    sys-apps/portage: revert --ignore-soname-deps change
    
    Bug: https://bugs.gentoo.org/687956
    Bug: https://bugs.gentoo.org/829623
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 ...revert-default-enable-soname-dependencies.patch | 52 ++++++++++++++++++++++
 ...tage-3.0.30.ebuild => portage-3.0.30-r1.ebuild} |  1 +
 2 files changed, 53 insertions(+)