Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631178 - net-libs/libnsl-1.1.0: blocker dependency !<sys-libs/glibc-2.26 triggers *downgrade* attempt
Summary: net-libs/libnsl-1.1.0: blocker dependency !<sys-libs/glibc-2.26 triggers *dow...
Status: RESOLVED DUPLICATE of bug 572090
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-17 06:08 UTC by Perfect Gentleman
Modified: 2018-01-30 09:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libnsl-1.1.0.ebuild (libnsl-1.1.0.ebuild,753 bytes, text/plain)
2017-09-17 06:08 UTC, Perfect Gentleman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Perfect Gentleman 2017-09-17 06:08:41 UTC
Created attachment 494800 [details]
libnsl-1.1.0.ebuild

DEPEND="!<sys-libs/glibc-2.26" wants to downgrage sys-libs/glibc-2.26-r1 to 
sys-libs/glibc-2.25-r4.

DEPEND=">=sys-libs/glibc-2.26" works fine.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-09-17 06:22:41 UTC
That looks like a fat portage bug...

I'll change the ebuild later, but in the meantime let's reassign this to portage team.
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2017-09-17 09:18:55 UTC
Not an expert but I think when you add a blocker you need to add it to both blocked packages.
Comment 3 Zac Medico gentoo-dev 2017-09-17 16:31:41 UTC
(In reply to Sergei Trofimovich from comment #2)
> Not an expert but I think when you add a blocker you need to add it to both
> blocked packages.

No, that's not necessary. The "reverse blocker" feature was added in portage-2.1.2. It causes portage to check the dependencies of *all* installed packages for blockers against packages to be installed.
Comment 4 Zac Medico gentoo-dev 2017-09-17 16:34:34 UTC
(In reply to Perfect Gentleman from comment #0)
> DEPEND="!<sys-libs/glibc-2.26" wants to downgrage sys-libs/glibc-2.26-r1 to 
> sys-libs/glibc-2.25-r4.

The dependency calculation must have finished with an unresolved blocker, since !<sys-libs/glibc-2.26 blocks sys-libs/glibc-2.25-r4.
Comment 5 Zac Medico gentoo-dev 2017-09-17 16:43:36 UTC

*** This bug has been marked as a duplicate of bug 572090 ***