Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639676 - net-fs/samba-4.7.3 automagically links to net-libs/libnsl
Summary: net-fs/samba-4.7.3 automagically links to net-libs/libnsl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-libnsl glibc-2.26-stable
  Show dependency tree
 
Reported: 2017-12-03 22:15 UTC by Hanno Zysik (geki)
Modified: 2018-04-30 16:11 UTC (History)
2 users (show)

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 Hanno Zysik (geki) 2017-12-03 22:15:14 UTC
Found by my client of BINHOST.

Upstream: samba libnsl dependency

https://github.com/samba-team/samba/search?utf8=%E2%9C%93&q=nsl&type=

Buildbot: opensp pulls in libnsl

# equery depends libnsl
 * These packages depend on libnsl:
app-text/opensp-1.5.2-r6 (net-libs/libnsl:0)

Client of buildbot has no opensp but samba installed:
(revdep-rebuild loops endlessly.)

# revdep-rebuild -v -p
 * This is the new python coded version
 * Please report any bugs found using it.
 * The original revdep-rebuild script is installed as revdep-rebuild.sh
 * Please file bugs at: https://bugs.gentoo.org/
 * Found a valid cache, skipping collecting phase
 * Scanning files
 * Checking dynamic linking consistency
 * Broken files that require: libnsl.so.2 (64 bits)
	* /usr/lib64/libsmbconf.so.0
	* /usr/lib64/samba/libauth-samba4.so
 * Assign files to packages
	* /usr/lib64/libsmbconf.so.0 -> net-fs/samba-4.7.3
	* /usr/lib64/samba/libauth-samba4.so -> net-fs/samba-4.7.3

emerge  --pretend --verbose --oneshot --complete-graph=y net-fs/samba:0

Local copy of remote index is up-to-date and will be used.

These are the packages that would be merged, in order:

Calculating dependencies  ... done!
[binary   R    ] net-fs/samba-4.7.3::gentoo  USE="acl ads client cups fam gnutls ldap pam quota system-mitkrb5 -addc -addns -ceph -cluster -debug -dmapi -gpg -iprint -python (-selinux) -syslog (-system-heimdal) -systemd {-test} -winbind -zeroconf" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7" 0 KiB

Total: 1 package (1 reinstall, 1 binary), Size of downloads: 0 KiB
Comment 1 Hanno Zysik (geki) 2018-02-10 21:34:25 UTC
And libnsl depend needs MULTILIB_USEDEP to build variants, too.
Comment 2 Larry the Git Cow gentoo-dev 2018-03-25 18:23:09 UTC
The bug has been closed via the following commit(s):

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

commit 9a235c5012355187ff7cd3c0c920299530a11c69
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-03-25 18:22:42 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-03-25 18:23:03 +0000

    net-fs/samba: Added net-libs/libnsl to (R)DEPEND.
    
    Bug: https://bugs.gentoo.org/651332
    Closes: https://bugs.gentoo.org/639676
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-fs/samba/samba-4.7.6.ebuild | 1 +
 net-fs/samba/samba-4.8.0.ebuild | 1 +
 2 files changed, 2 insertions(+)
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2018-04-28 16:07:10 UTC
Please either backport this or stabilize a newer samba version.  Your choice.
Comment 4 Larry the Git Cow gentoo-dev 2018-04-30 16:11:41 UTC
The bug has been closed via the following commit(s):

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

commit 2b3d982fa117098def5d6cf7bab4daa12e09595a
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-04-30 16:11:18 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-04-30 16:11:35 +0000

    net-fs/samba: Fix libnsl dependencies for all versions, bug 639676
    
    Closes: https://bugs.gentoo.org/639676
    Package-Manager: Portage-2.3.31, Repoman-2.3.9

 net-fs/samba/samba-4.2.14.ebuild | 1 +
 net-fs/samba/samba-4.5.16.ebuild | 1 +
 net-fs/samba/samba-4.6.14.ebuild | 1 +
 net-fs/samba/samba-4.6.15.ebuild | 1 +
 net-fs/samba/samba-4.7.6.ebuild  | 5 +----
 net-fs/samba/samba-4.7.7.ebuild  | 5 +----
 net-fs/samba/samba-4.8.0.ebuild  | 5 +----
 net-fs/samba/samba-4.8.1.ebuild  | 5 +----
 8 files changed, 8 insertions(+), 16 deletions(-)