Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[workaround] kde-apps-meta forces samba, why?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Vrenn
Guru
Guru


Joined: 15 Dec 2004
Posts: 318

PostPosted: Tue Apr 06, 2021 3:28 pm    Post subject: [workaround] kde-apps-meta forces samba, why? Reply with quote

Dear gentoo-users!

Today I wanted to upgade world and it failed by dependeny to samba
Code:
# USE="-samba" emerge -uaD --newuse @world

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! The ebuild selected to satisfy "net-fs/samba" has unmet requirements.
- net-fs/samba-4.12.9-r1::gentoo USE="acl client cups gpg pam regedit system-mitkrb5 systemd -addc -addns -ads -ceph -cluster -debug (-dmapi) (-fam) -glusterfs -iprint -json -ldap -ntvfs -profiling-data -python -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) (-test) -winbind -zeroconf" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_8 -python3_7"

  The following REQUIRED_USE flag constraints are unsatisfied:
    gpg? ( addc )

  The above constraints are a subset of the following complete expression:
    addc? ( python json winbind ) addns? ( python ) ads? ( acl ldap winbind ) cluster? ( ads ) gpg? ( addc ) ntvfs? ( addc ) spotlight? ( json ) test? ( python ) at-most-one-of ( system-heimdal system-mitkrb5 ) exactly-one-of ( python_single_target_python3_7 python_single_target_python3_8 )

(dependency required by "kde-apps/kdenetwork-filesharing-20.12.3::gentoo" [ebuild])
(dependency required by "kde-apps/kdenetwork-meta-20.12.3::gentoo" [ebuild])
(dependency required by "kde-apps/kde-apps-meta-20.12.3::gentoo[network]" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
I don't acually care that samba needs an addc useflag (Enable Active Directory Domain Controller support).
I rather care why my KDE-Installation needs samba at all?

All the past 20 years for Gentoo samba was optional. Kde was running good without it.
Now why is this necessary?
What has changed that Gentoo has to force kde-apps users to samba?
Is there a chance to change it?
I have enough hassle to handle mysql for email-support but samba, a must-to-be -maintained-server I really don't need goes too far...
_________________
With nice greetings
Vrenn


Last edited by Vrenn on Tue Apr 06, 2021 7:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Tue Apr 06, 2021 3:32 pm    Post subject: Reply with quote

The dependency is required by kde-apps/kdenetwork-filesharing that is included in kdenetwork-meta, if you don't want that you should install kde-apps without meta package.
_________________
Questions are guaranteed in life; Answers aren't.


Last edited by fedeliallalinea on Tue Apr 06, 2021 3:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Tue Apr 06, 2021 3:33 pm    Post subject: Reply with quote

Add samba to '/etc/portage/profile/package.provided' and see what happens...
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Tue Apr 06, 2021 3:35 pm    Post subject: Reply with quote

mike155 wrote:
Add samba to '/etc/portage/profile/package.provided' and see what happens...

I think he should add kde-apps/kdenetwork-filesharing in this file
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Vrenn
Guru
Guru


Joined: 15 Dec 2004
Posts: 318

PostPosted: Tue Apr 06, 2021 3:40 pm    Post subject: Reply with quote

I know that it goes up to the meta-package. I could install all kde-apps without meta.-apckages, but thats not the way it should be and it makes no sense.
samba was always packed optional, now by force. I don't see the dependency to the others as kget, krdc, kdeconnect, ktorrent...
dolphin and in the past konqueror always had links for windows-shares, but gentoo never forced samba for 20 years.
_________________
With nice greetings
Vrenn
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Tue Apr 06, 2021 3:42 pm    Post subject: Reply with quote

See bug #773910, with package.provided you can skip this package
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2732

PostPosted: Tue Apr 06, 2021 3:44 pm    Post subject: Reply with quote

Maybe ask upstream why their samba file sharing plugin needs samba.

https://github.com/KDE/kdenetwork-filesharing/commit/d0fecad4877fc6dd50d450a74bf7c1ec6f733ff1


Last edited by Ionen on Tue Apr 06, 2021 3:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ralphred
Guru
Guru


Joined: 31 Dec 2013
Posts: 507

PostPosted: Tue Apr 06, 2021 3:47 pm    Post subject: Reply with quote

From kdenetwork-filesharing-20.08.3.ebuild
Code:
DEPEND="
        >=dev-qt/qtgui-${QTMIN}:5
        >=dev-qt/qtwidgets-${QTMIN}:5
        >=kde-frameworks/kcompletion-${KFMIN}:5
        >=kde-frameworks/kcoreaddons-${KFMIN}:5
        >=kde-frameworks/ki18n-${KFMIN}:5
        >=kde-frameworks/kio-${KFMIN}:5
        >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
"
RDEPEND="${DEPEND}"

and kdenetwork-filesharing-20.12.3.ebuild
Code:
DEPEND="
        >=dev-qt/qtdeclarative-${QTMIN}:5
        >=dev-qt/qtgui-${QTMIN}:5
        >=dev-qt/qtwidgets-${QTMIN}:5
        >=kde-frameworks/kcompletion-${KFMIN}:5
        >=kde-frameworks/kcoreaddons-${KFMIN}:5
        >=kde-frameworks/kdeclarative-${KFMIN}:5
        >=kde-frameworks/ki18n-${KFMIN}:5
        >=kde-frameworks/kio-${KFMIN}:5
        >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
"
RDEPEND="${DEPEND}
        >=dev-qt/qtquickcontrols2-${QTMIN}:5
        >=kde-frameworks/kirigami-${KFMIN}:5
        net-fs/samba
"
Back to top
View user's profile Send private message
Vrenn
Guru
Guru


Joined: 15 Dec 2004
Posts: 318

PostPosted: Tue Apr 06, 2021 3:54 pm    Post subject: Reply with quote

Thanks, I didn't find this bug before.

So KDE tell distros they want samba. But that was always the case.
It's good, that the samba-share-control, what was build in the last years, is now outsourced into a single plug-in.
I don't see it needs to be pulled in as a tool like useflag would exist.
_________________
With nice greetings
Vrenn
Back to top
View user's profile Send private message
Vrenn
Guru
Guru


Joined: 15 Dec 2004
Posts: 318

PostPosted: Tue Apr 06, 2021 7:50 pm    Post subject: Reply with quote

Workaround works, thank you (package.provided kdenetwork-filesharing)
But actually my trust in the official gentoo-tree is very high, so I don't want to hack it.

Now I have some options:
1) go along with provided-fake, hope this doesn't stay forever
2) study samba to make it laptop-secure (only active in home-network, if at all), I had set up few samba-instances some and many years ago (Gentoo 1.4 and SuSE 9 came up so its quite a time...)
3) hope it gets optional
4) get the hell more cores to do more with gentoo...

Thank you for your help, perhaps the bug will get noticed. Your comments are a real help.
_________________
With nice greetings
Vrenn
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4362
Location: Bavaria

PostPosted: Tue Apr 06, 2021 8:05 pm    Post subject: Reply with quote

Vrenn wrote:
4) [...]

5. Avoid meta-packages and emerge only what you want and need.

... I emerged only plasma-meta, kdecore-meta and kdepim-meta.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Tue Apr 06, 2021 8:10 pm    Post subject: Reply with quote

pietinger wrote:
5. Avoid meta-packages and emerge only what you want and need.

For this purpose you can use a set
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Vrenn
Guru
Guru


Joined: 15 Dec 2004
Posts: 318

PostPosted: Tue Apr 06, 2021 8:22 pm    Post subject: Reply with quote

Most of my workflow was focused on kde-apps since these old days and the kde-meta-packages were always well maintained and suited for me.
If a package is is changed (e.g. dolphin<->konqueror) I would have to make this change manually.
At now I just have my productive pc's (with gentoo)

The set solution is a good idea, sounds like a steam-games-solution from the Gentoo-wiki.
I'll look for it I promise. Although a already existent samba useflag would fit best for me.
At now its a wish, and the provided -file works for the moment without errors.
_________________
With nice greetings
Vrenn
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4362
Location: Bavaria

PostPosted: Tue Apr 06, 2021 10:40 pm    Post subject: Reply with quote

fedeliallalinea wrote:
For this purpose you can use a set

Thanks a lot !
Greetings,
Peter
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8942

PostPosted: Tue Apr 06, 2021 10:49 pm    Post subject: Reply with quote

Package now optional, https://bugs.gentoo.org/773910
Back to top
View user's profile Send private message
Vrenn
Guru
Guru


Joined: 15 Dec 2004
Posts: 318

PostPosted: Wed Apr 07, 2021 6:10 pm    Post subject: Reply with quote

wow, quick reaction, thank you.
I believe the useflag is an elegant solution.
Anyway you might be right I have to use more sets and renovate my /etc/portage files.
_________________
With nice greetings
Vrenn
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum