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

Bug 638702

Summary: Version comparison error in portage
Product: Gentoo Linux Reporter: Norman Shulman <norman.shulman>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 !