Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622496 - net-nfs/openldap silently ignores some use flags with +minimal
Summary: net-nfs/openldap silently ignores some use flags with +minimal
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-23 03:39 UTC by Cameron C
Modified: 2020-12-16 19:03 UTC (History)
1 user (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 Cameron C 2017-06-23 03:39:41 UTC
If net-nds/openldap is build with +minimal set it appears that certain other use flags are silently ignored regardless of how they're set.

It looks like this comes from the nested if checks in multilib_src_compile(). Anything past the the 'if ! use minimal' check is skipped over.

I think a simple answer to this would be to have a pkg_setup check to warn the user that some of their configuration options are not possible.

How to reproduce:
1. Install net-nds/openldap-2.4.45 with USE="kerberos minimal"
2. Go to use kerberos
Comment 1 Andreas Sturmlechner gentoo-dev 2017-06-24 09:23:52 UTC
From the use flag description:

"Build libraries & userspace tools only. Does not install any server code."
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-12-16 19:03:40 UTC
As expected.