Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41283 - minor dependancy issues with samba-3.0.1-r1
Summary: minor dependancy issues with samba-3.0.1-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-11 12:12 UTC by Matt Keadle
Modified: 2004-02-15 00:11 UTC (History)
1 user (show)

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


Attachments
proposed patch to samba-3.0.1-r1.ebuild (patch.patch,598 bytes, patch)
2004-02-12 04:27 UTC, Russell Cloran
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Keadle 2004-02-11 12:12:12 UTC
emerging samba-3.0.1-r1 fails if your USE contains "-ldap kerberos". kerberos support is required for ADS interaction, but the build will fail because it also requires ldap support in samba.

If the kerberos USE is detected while building samba, options associated with the  ldap USE flag must be forcable used as well.

Cheers.
Comment 1 Donny Davies (RETIRED) gentoo-dev 2004-02-11 13:22:49 UTC
True dat.  I've been meaning to fix that but got lazy I'm afraid.

Got a patch?  I'm so busy I'm afraid I'll forget all about this
again.
Comment 2 Russell Cloran 2004-02-12 04:27:17 UTC
Created attachment 25467 [details, diff]
proposed patch to samba-3.0.1-r1.ebuild

Surely a fix would be as simple as this?
Comment 3 Russell Cloran 2004-02-12 04:29:06 UTC
Er, said patch should probably be applied to samba-3.0.2.ebuild, see bug 41191.

Kbye.
Comment 4 Donny Davies (RETIRED) gentoo-dev 2004-02-12 07:50:08 UTC
Hmm, no, Im thinking thats not really correct.  Could you work
on it some more.... I believe there an existing bug already
about this, check my list to find it.
Comment 5 Russell Cloran 2004-02-12 10:32:32 UTC
Well, there are two other bugs that deal with this issue:

http://bugs.gentoo.org/show_bug.cgi?id=30180
http://bugs.gentoo.org/show_bug.cgi?id=30019

The second was marked as a dup of the first, and I would imagine that this one should be a dup of the first too. Maybe since actual discussion has gone on here, the first should be marked as a dup of this.

I'm not sure why you say that my fix is incorrect. There are 4 possible states,

USE has kerberos      USE has ldap      Build with      -> dependencies
          false              false        nothing            none
          false               true           ldap            ldap
          true               false        nothing            none
          true                true       ldap+ads            ldap, kerb

excuse the poor ascii table... I hope you get what I'm saying though.

The only thing which you might want to change is if USE="kerberos -ldap", then build ads, and introduce the ldap depend. I, personally, would be mighty pissed off as a user though, to see that all of a sudden I'm forced to build ldap. How would I know that I need to -kerberos to get rid of the ldap depend?

2c, fwiw

I'm interested to hear why you think that it is incorrect?
Comment 6 Donny Davies (RETIRED) gentoo-dev 2004-02-15 00:11:15 UTC
Serves right for not reading my own comments...

I think your patch is just fine!  Applied to samba-3.0.2a.