Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 780108 - sys-auth/nss_ldap-265-r8 with ABI_X86=64 (only) installs broken symlink
Summary: sys-auth/nss_ldap-265-r8 with ABI_X86=64 (only) installs broken symlink
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Gentoo LDAP project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 777633
  Show dependency tree
 
Reported: 2021-04-04 21:25 UTC by Bartosz Stebel
Modified: 2021-04-15 15:02 UTC (History)
5 users (show)

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


Attachments
emerge log (sys-auth_nss_ldap-265-r8_20210404-211649.log,43.20 KB, text/plain)
2021-04-04 21:26 UTC, Bartosz Stebel
Details
emerge --info -v (eminfo.txt,17.33 KB, text/plain)
2021-04-04 21:32 UTC, Bartosz Stebel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bartosz Stebel 2021-04-04 21:25:17 UTC
# ls -l  /lib64/libnss_ldap.so.2
lrwxrwxrwx 1 root root 26 Apr  4 23:17 /lib64/libnss_ldap.so.2 -> ../../lib/libnss_ldap.so.2
but /lib/libnss_ldap.so.2 doesn't exist. This causes ldap auth to not work.

# equery f sys-auth/nss_ldap-265-r8
 * Searching for nss_ldap265-r8 in sys-auth ...
 * Contents of sys-auth/nss_ldap-265-r8:
/etc
/etc/ldap.conf
/etc/nsswitch.ldap
/lib64
/lib64/libnss_ldap-2.33.so
/lib64/libnss_ldap.so.2 -> ../../lib/libnss_ldap.so.2
/usr
/usr/lib
<snip>

See attachment for full build log. Downgrading to -r5 fixes the problem.

Reproducible: Always
Comment 1 Bartosz Stebel 2021-04-04 21:26:01 UTC
Created attachment 697617 [details]
emerge log
Comment 2 Bartosz Stebel 2021-04-04 21:32:10 UTC
Created attachment 697626 [details]
emerge --info -v
Comment 3 Larry the Git Cow gentoo-dev 2021-04-11 21:11:31 UTC
The bug has been referenced in the following commit(s):

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

commit fd52dbeb4c26bcb6b5331def1eb65c1339f2036a
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-04-11 21:11:06 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-04-11 21:11:06 +0000

    sys-auth/nss_ldap: Fix libdir symlinks
    
    Bug: https://bugs.gentoo.org/581306
    Bug: https://bugs.gentoo.org/780108
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: David Seifert <soap@gentoo.org>

 sys-auth/nss_ldap/files/nss_ldap-265-libdir.patch  | 31 ++++++++++++++++++++++
 ...s_ldap-265-r8.ebuild => nss_ldap-265-r9.ebuild} | 10 +++----
 2 files changed, 36 insertions(+), 5 deletions(-)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-11 21:14:39 UTC
Let us know if not fixed?
Comment 5 Bartosz Stebel 2021-04-15 15:02:28 UTC
I've installed -r9 on the previously affected machine and it seems fine, ldap auth works and the symlinks are correct. Fixed for me.