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

Bug 657404

Summary: sys-libs/glibc-2.27-r3 : file collision with sys-auth/libnss-compat-1.2
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: nbowler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 663916    
Attachments: emerge-info.txt
emerge-history.txt
etc.portage.tbz2
logs.tbz2
sys-libs:glibc-2.27-r3:20180605-002556.log.bz2

Description Toralf Förster gentoo-dev 2018-06-05 16:05:06 UTC
 * Detected file collision(s):
 * 
 * 	/usr/lib64/libnss_compat.so
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * sys-auth/libnss-compat-1.2:0::gentoo
 * 	/usr/lib64/libnss_compat.so
 * 
 * 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)

java-config:
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]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-06-05 16:05:12 UTC
Created attachment 534932 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-06-05 16:05:15 UTC
Created attachment 534934 [details]
etc.portage.tbz2
Comment 4 Toralf Förster gentoo-dev 2018-06-05 16:05:18 UTC
Created attachment 534936 [details]
logs.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-06-05 16:05:21 UTC
Created attachment 534938 [details]
sys-libs:glibc-2.27-r3:20180605-002556.log.bz2
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 <schwab@suse.de>
  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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b616df758264a9e6847d8cb8ab7503f2982cdd1

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

    sys-auth/libnss-compat: Add blocker for glibc-2.27 and later, bug 657404
    
    Sigh.
    
    Closes: https://bugs.gentoo.org/657404
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
    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(-)