Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638702 - Version comparison error in portage
Summary: Version comparison error in portage
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-24 16:50 UTC by Norman Shulman
Modified: 2017-11-27 15:58 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Norman Shulman 2017-11-24 16:50:22 UTC
$ sudo emerge -aqv @preserved-rebuild
[ebuild  N    ] net-libs/libnsl-1.1.0-r3  ABI_X86="32 (64) (-x32)" 
[ebuild  N    ] app-text/opensp-1.5.2-r3  USE="nls -doc -static-libs {-test}" 
[ebuild   R   ] app-text/openjade-1.3.2-r7  USE="-static-libs" 
[blocks B     ] <sys-libs/glibc-2.26 ("<sys-libs/glibc-2.26" is blocking net-libs/libnsl-1.1.0-r3)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (net-libs/libnsl-1.1.0-r3:0/2::gentoo, ebuild scheduled for merge) pulled in by
    net-libs/libnsl:0= required by (app-text/opensp-1.5.2-r3:0/0::gentoo, ebuild scheduled for merge)

  (sys-libs/glibc-2.25-r9:2.2/2.2::gentoo, installed) pulled in by
    sys-libs/glibc:2.2 required by @selected
Comment 1 Andreas Sturmlechner gentoo-dev 2017-11-24 23:45:23 UTC
Portage is simply trying to tell you that it can not install libnsl while you have an older version than glibc-2.26 installed. Do a regular world upgrade.
Comment 2 Norman Shulman 2017-11-27 15:58:30 UTC
I see. From the ebuild:

RDEPEND="${DEPEND}
    !<sys-libs/glibc-2.26
"

The [blocks B] message left out the !