Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288517 - kdebase-kioslaves[samba] should depend on >=samba-libs-3.4.2[smbclient] or >=samba-3.4.6
Summary: kdebase-kioslaves[samba] should depend on >=samba-libs-3.4.2[smbclient] or >=...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-11 07:57 UTC by Alon Bar-Lev
Modified: 2010-03-02 23:08 UTC (History)
4 users (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 Alon Bar-Lev 2009-10-11 07:57:57 UTC
Without smbclient USE, samba support is not enabled.
No failure is produced, just silently ignored.
Comment 1 Patrick Lauer gentoo-dev 2009-11-04 14:04:21 UTC
+  04 Nov 2009; Patrick Lauer <patrick@gentoo.org>
+  +kdebase-kioslaves-4.3.3-r1.ebuild:
+  Fixing samba dep, #288517. Might not be completely correct, worksforme.
+

That seems to do the trick for me. Please report back if that actually does it so I can propagate the fix to older versions too.
Comment 2 Alon Bar-Lev 2009-11-04 14:16:50 UTC
Thanks!
Are you sure the net-fs/samba-client is required?
Doesn't ioslaves works only via API?
Comment 3 Patrick Lauer gentoo-dev 2009-11-04 14:22:49 UTC
(In reply to comment #2)
> Thanks!
> Are you sure the net-fs/samba-client is required?
> Doesn't ioslaves works only via API?
> 
I tried compiling it with only samba-libs, the kioslave configure scripts didn't pick up samba. Added samba-client, and it worked. So I presume there's some slightly silly things happening in the configuration bits.
Comment 4 Rob 2010-03-02 19:08:04 UTC
As of samba-3.5.0, samba is now a monolithic ebuild so kioslaves with USE=samba should depend on samba instead of samba-libs for versions >= 3.5.0
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2010-03-02 22:50:32 UTC
It's even messier. For samba-3.4.6 and later the package samba-libs does not exist anymore, so the dependency cannot be fulfilled. 

Please change the dependencies of kdebase-kioslaves[samba] such that 
for samba>=3.4.6 it requires samba

(I want to upgrade to samba-3.5.0 and just get 
 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('installed', '/', 'net-fs/samba-libs-3.4.4', 'nomerge') pulled in by
    >=net-fs/samba-libs-3.4[smbclient] required by ('ebuild', '/', 'kde-base/kdebase-kioslaves-4.4.1', 'merge')

  ('ebuild', '/', 'net-fs/samba-3.5.0', 'merge') pulled in by
    >=net-fs/samba-3 required by ('installed', '/', 'gnome-base/gnome-vfs-2.24.1', 'nomerge')
    >=net-fs/samba-3.0.8 required by ('installed', '/', 'net-print/cups-1.3.11-r1', 'nomerge')
    >=net-fs/samba-3 required by ('installed', '/', 'gnome-base/gvfs-1.2.3', 'nomerge')
    (and 2 more)
)
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2010-03-02 23:08:57 UTC
Resolved wrt comments 1-3

For the issue of comments 4-5 see bug 307547.