Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657404 - sys-libs/glibc-2.27-r3 : file collision with sys-auth/libnss-compat-1.2
Summary: sys-libs/glibc-2.27-r3 : file collision with sys-auth/libnss-compat-1.2
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
Depends on:
Blocks: glibc-2.28
  Show dependency tree
Reported: 2018-06-05 16:05 UTC by Toralf Förster
Modified: 2018-10-22 20:18 UTC (History)
1 user (show)

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

emerge-info.txt (emerge-info.txt,19.52 KB, text/plain)
2018-06-05 16:05 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,563.30 KB, text/plain)
2018-06-05 16:05 UTC, Toralf Förster
etc.portage.tbz2 (etc.portage.tbz2,31.40 KB, application/x-bzip)
2018-06-05 16:05 UTC, Toralf Förster
logs.tbz2 (logs.tbz2,11.34 KB, application/x-bzip)
2018-06-05 16:05 UTC, Toralf Förster
sys-libs:glibc-2.27-r3:20180605-002556.log.bz2 (sys-libs:glibc-2.27-r3:20180605-002556.log.bz2,405.62 KB, application/x-bzip)
2018-06-05 16:05 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-06-05 16:05:06 UTC
 * Detected file collision(s):
 * 	/usr/lib64/
 * Searching all installed packages for file collisions...
 * Press Ctrl-C to Stop
 * sys-auth/libnss-compat-1.2:0::gentoo
 * 	/usr/lib64/
 * Package 'sys-libs/glibc-2.27-r3' NOT merged due to file collisions. If


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-hardened_test_20180512-194415


gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)

The following VMs are available for generation-2:

emerge -qpv sys-libs/glibc
[ebuild     U ] sys-libs/glibc-2.27-r3 [2.26-r7] USE="hardened (multilib) suid -audit -caps (-compile-locales) -doc -gd -headers-only -nscd (-profile) (-selinux) -systemtap (-vanilla) (-debug%)"
Comment 1 Toralf Förster gentoo-dev 2018-06-05 16:05:09 UTC
Created attachment 534930 [details]
Comment 2 Toralf Förster gentoo-dev 2018-06-05 16:05:12 UTC
Created attachment 534932 [details]
Comment 3 Toralf Förster gentoo-dev 2018-06-05 16:05:15 UTC
Created attachment 534934 [details]
Comment 4 Toralf Förster gentoo-dev 2018-06-05 16:05:18 UTC
Created attachment 534936 [details]
Comment 5 Toralf Förster gentoo-dev 2018-06-05 16:05:21 UTC
Created attachment 534938 [details]
Comment 6 Nick Bowler 2018-10-22 17:36:05 UTC
Looks like upstream came to their senses and re-added the NSS compat
module as part of the default set, after just one release without it.

  commit 64d1e08ea822bf47cb2796ad0f727136227f983c
  Author: Andreas Schwab <>
  Date:   Mon Oct 2 14:30:46 2017 +0200
      Move nss_compat from nis to nss subdir and install it unconditionally

      This has been tested that local lookup still works with and
      without an installed libnss_nis, and that NIS lookup works when
      libnss_nis is available.

So I guess the libnss-compat package is only required for glibc 2.26
exactly, and should block every other version.
Comment 7 Larry the Git Cow gentoo-dev 2018-10-22 20:18:38 UTC
The bug has been closed via the following commit(s):

commit 5b616df758264a9e6847d8cb8ab7503f2982cdd1
Author:     Andreas K. Hüttel <>
AuthorDate: 2018-10-22 20:17:43 +0000
Commit:     Andreas K. Hüttel <>
CommitDate: 2018-10-22 20:18:31 +0000

    sys-auth/libnss-compat: Add blocker for glibc-2.27 and later, bug 657404
    Signed-off-by: Andreas K. Hüttel <>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-auth/libnss-compat/libnss-compat-1.2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)