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

Bug 696250

Summary: net-fs/nfs-utils USE=-nfsv4 should not depend on dev-db/sqlite
Product: Gentoo Linux Reporter: Andrew Church <achurch+gentoo>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: flow, ms
Priority: Normal Keywords: PATCH, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/24235
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Trivial fix

Description Andrew Church 2019-10-04 19:45:45 UTC
Created attachment 591868 [details, diff]
Trivial fix

net-fs/nfs-utils-2.4.1-r2 has an unconditional dependency on >=dev-db/sqlite-3.3, but the configure script only checks for sqlite under --enable-nfsv4:

if test "$enable_nfsv4" = yes; then
[...]
  dnl Check for sqlite3
  AC_SQLITE3_VERS

Trivial patch attached.
Comment 1 Larry the Git Cow gentoo-dev 2022-03-08 09:43:22 UTC
The bug has been referenced in the following commit(s):

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

commit 851a62279314a623965c342528c8620acbda2a33
Author:     Mathieu Tortuyaux <mtortuyaux@microsoft.com>
AuthorDate: 2022-03-08 09:43:11 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-03-08 09:43:11 +0000

    net-fs/nfs-utils: pull sqlite if nfsv4
    
    from `./configure.ac`, it seems that this dependency is only required if
    `nfsv4` compilation option is enabled.
    
    Closes: https://github.com/gentoo/gentoo/pull/24235
    Bug: https://bugs.gentoo.org/696250
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-fs/nfs-utils/nfs-utils-2.5.4-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)