Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600832 - net-fs/cifs-utils-6.6-r2[-ads,-creds]: configure failed: configure: error: keyutils.h not found, consider installing keyutils-libs-devel.
Summary: net-fs/cifs-utils-6.6-r2[-ads,-creds]: configure failed: configure: error: ke...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
: 608968 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-11-25 17:35 UTC by Nick Reale
Modified: 2017-02-12 14:31 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,8.55 KB, text/x-log)
2016-11-25 17:35 UTC, Nick Reale
Details
emerge info (emerge-info.txt,5.61 KB, text/plain)
2016-11-25 17:36 UTC, Nick Reale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Reale 2016-11-25 17:35:46 UTC
Created attachment 454356 [details]
build.log

When trying to emerge cifs-utils, using the "pam" and "caps" USE flags, the compile fails with:

[ebuild     U ] net-fs/cifs-utils-6.6-r2 [6.6-r1] USE="caps pam -acl -ads -caps-ng -creds" 

checking keyutils.h usability... no
checking keyutils.h presence... no
checking for keyutils.h... no
configure: WARNING: keyutils.h not found, consider installing keyutils-libs-devel. Disabling cifs.upcall.
configure: WARNING: keyutils.h not found, consider installing keyutils-libs-devel. Disabling cifs.idmap.
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether WBC_ID_TYPE_BOTH enum value is defined... no
checking for keyutils.h... (cached) no
configure: error: keyutils.h not found, consider installing keyutils-libs-devel.
Comment 1 Nick Reale 2016-11-25 17:36:14 UTC
Created attachment 454358 [details]
emerge info
Comment 2 Lars Wendler (Polynomial-C) gentoo-dev 2016-11-25 22:02:18 UTC
commit 9bd5c23e4f377a62b9c448ffb3aa305e34373321
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Fri Nov 25 23:00:22 2016

    net-fs/cifs-utils: Make dependency on sys-apps/keyutils unconditional.

    This fixes bug #600832

    Package-Manager: portage-2.3.2
Comment 3 Nick Reale 2016-11-25 23:51:49 UTC
Experimenting on my end this afternoon, I think keyutils is only required for the pam USE flag.  I disabled the pam flag and it compiled fine.
Comment 4 SpanKY gentoo-dev 2017-02-12 08:09:12 UTC
*** Bug 608968 has been marked as a duplicate of this bug. ***
Comment 5 Ostashevskyi Viktor 2017-02-12 14:31:11 UTC
Why do we require keyutils both when creds is set and when not?

RDEPEND="
        !net-fs/mount-cifs
        !<net-fs/samba-3.6_rc1
        sys-apps/keyutils
        ads? (
                sys-libs/talloc
                virtual/krb5
        )
        caps? ( !caps-ng? ( sys-libs/libcap ) )
        caps? ( caps-ng? ( sys-libs/libcap-ng ) )
        creds? ( sys-apps/keyutils )
        pam? ( virtual/pam )
"