public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] libxml2 has 7 different versions in slot 2?
@ 2020-12-27 20:21 n952162
  2020-12-28 10:01 ` Arve Barsnes
  0 siblings, 1 reply; 2+ messages in thread
From: n952162 @ 2020-12-27 20:21 UTC (permalink / raw
  To: Gentoo User list

[-- Attachment #1: Type: text/plain, Size: 964 bytes --]

This script:

      equery -CN d libxml2 | sed -n -e '/^[  ]/d' -e 's/[^(]*(//' -e
's/)[^)]*$//' -e 's,[^/]*/,,' -e '/:/p' | sort -u

gets the package atom of each version of libxml2 in slot 2:

    libxml2-2.4.12:2
    libxml2-2.4.16:2
    libxml2-2.6.21:2
    libxml2-2.7.7:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
    libxml2-2.7.8:2[static-libs(+)?]
    libxml2-2.9.1-r4:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
    libxml2-2.9.10:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
    libxml2:2
    libxml2:2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]

Those aren't slot collisions?



[-- Attachment #2: Type: text/html, Size: 1294 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] libxml2 has 7 different versions in slot 2?
  2020-12-27 20:21 [gentoo-user] libxml2 has 7 different versions in slot 2? n952162
@ 2020-12-28 10:01 ` Arve Barsnes
  0 siblings, 0 replies; 2+ messages in thread
From: Arve Barsnes @ 2020-12-28 10:01 UTC (permalink / raw
  To: Gentoo

On Sun, 27 Dec 2020 at 21:26, n952162 <n952162@web.de> wrote:
> Those aren't slot collisions?

It's only slot collisions if you try to install more than one of them
at the same time.

But that script does *not* list available versions of libxml2, it
lists the stated dependencies of packages depending on libxml2, and if
a package depends on '>=dev-libs/libxml2-2.9.3', it will still get
libxml2-2.9.10-r4, which currently is the only version available in
tree.

Regards,
Arve


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-28 10:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-27 20:21 [gentoo-user] libxml2 has 7 different versions in slot 2? n952162
2020-12-28 10:01 ` Arve Barsnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox