Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 696250 - net-fs/nfs-utils USE=-nfsv4 should not depend on dev-db/sqlite
Summary: net-fs/nfs-utils USE=-nfsv4 should not depend on dev-db/sqlite
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 Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2019-10-04 19:45 UTC by Andrew Church
Modified: 2022-03-08 14:58 UTC (History)
2 users (show)

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


Attachments
Trivial fix (sqlite-conditional-dependency.diff,794 bytes, patch)
2019-10-04 19:45 UTC, Andrew Church
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)