Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648506 - app-emulation/libvirt-4.0.0 - forces glibc-2.26 via net-libs/rpcsvc-proto-1.3.1 on ~amd64
Summary: app-emulation/libvirt-4.0.0 - forces glibc-2.26 via net-libs/rpcsvc-proto-1.3...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-22 11:45 UTC by Martin Mokrejš
Modified: 2018-02-22 16:36 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 Martin Mokrejš 2018-02-22 11:45:47 UTC
Hi,
  I want to stay with glibc-2.25-r10 until glibc-2.26 mess settles down. I assume I do not need net-libs/rpcsvc-proto at all if my glibc in <2.26.

# emerge -N1 app-emulation/libvirt -v --tree

[ebuild     U  ] app-emulation/libvirt-4.0.0:0/4.0.0::gentoo [3.7.0:0/3.7.0::gentoo] USE="caps dbus libvirtd macvtap nfs nls policykit qemu udev vepa -apparmor -audit -firewalld -fuse -glusterfs -iscsi -libssh -lvm -lxc -numa (-openvz) -parted -pcap -phyp -rbd -sasl (-selinux) -uml -virt-network -virtualbox -wireshark-plugins -xen -zeroconf -zfs" 14651 KiB
[ebuild  N     ]  net-libs/rpcsvc-proto-1.3.1::gentoo  58 KiB
[blocks B      ] <sys-libs/glibc-2.26 ("<sys-libs/glibc-2.26" is blocking net-libs/rpcsvc-proto-1.3.1)

Total: 2 packages (1 upgrade, 1 new), Size of downloads: 14709 KiB
Conflict: 1 block (1 unsatisfied)

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

  (sys-libs/glibc-2.25-r10:2.2/2.2::gentoo, installed) pulled in by
    sys-libs/glibc:2.2 required by (virtual/libc-1:0/0::gentoo, installed)
    >=sys-libs/glibc-2.17 required by (dev-lang/ghc-8.0.2:0/8.0.2::haskell, installed)
    >=sys-libs/glibc-2.8 required by (sys-devel/gcc-4.4.7:4.4.7/4.4.7::gentoo, installed)
    >=sys-libs/glibc-2.8 required by (sys-devel/gcc-4.9.4:4.9.4/4.9.4::gentoo, installed)
    >=sys-libs/glibc-2.8:2.2 required by (media-video/vlc-2.2.8-r1:0/5-8::gentoo, installed)
    >=sys-libs/glibc-2.9_p20081201 required by (dev-libs/libev-4.24:0/0::gentoo, installed)
    sys-libs/glibc required by (app-arch/rar-5.5.0_p20170811:0/0::gentoo, installed)
    sys-libs/glibc:* required by (dev-java/oracle-jre-bin-9.0.4:9/9::gentoo, installed)
    >=sys-libs/glibc-2.13 required by (sys-devel/gcc-7.3.0:7.3.0/7.3.0::gentoo, installed)
    sys-libs/glibc required by @selected
    >=sys-libs/glibc-2.8 required by (sys-devel/gcc-4.8.5:4.8.5/4.8.5::gentoo, installed)
    sys-libs/glibc:* required by (dev-java/oracle-jdk-bin-1.8.0.162:1.8/1.8::gentoo, installed)
    >=sys-libs/glibc-2.8 required by (sys-devel/gcc-4.7.4:4.7.4/4.7.4::gentoo, installed)
    sys-libs/glibc[nscd(+)] required by (sys-apps/unscd-0.52-r2:0/0::gentoo, installed)
    >=sys-libs/glibc-2.8 required by (sys-devel/gcc-4.3.6-r1:4.3.6/4.3.6::gentoo, installed)
    >=sys-libs/glibc-2.7 required by (sys-apps/iproute2-4.15.0:0/0::gentoo, installed)

  (net-libs/rpcsvc-proto-1.3.1:0/0::gentoo, ebuild scheduled for merge) pulled in by
    net-libs/rpcsvc-proto required by (app-emulation/libvirt-4.0.0:0/4.0.0::gentoo, ebuild scheduled for merge)
Comment 1 Arfrever Frehtes Taifersar Arahesis 2018-02-22 15:06:26 UTC
(In reply to Martin Mokrejš from comment #0)
> I want to stay with glibc-2.25-r10

Then locally package.mask >=net-libs/rpcsvc-proto-1, since net-libs/rpcsvc-proto-0 is for <sys-libs/glibc-2.26.
Comment 2 Martin Mokrejš 2018-02-22 15:21:58 UTC
Why is this INVALID? Couldn't the ebuild be improved to depend on net-libs/rpcsvc-proto-0 if user has <glibc-2.26 ?
Comment 3 Arfrever Frehtes Taifersar Arahesis 2018-02-22 15:39:49 UTC
Such type of dependency is impossible.
Dependencies can be conditional only on USE flags, not on versions of other packages.
Comment 4 Martin Mokrejš 2018-02-22 16:36:14 UTC
That is bad. Could emerge be improved to allow such dependencies?

Why emerge does not pick automatically net-libs/rpcsvc-proto-0 if >net-libs/rpcsvc-proto-0 are blocking? Why does it blindly go for the highest unmasked version?It should go the highest while compatible version instead.