Jump to content
funtoo forums
  • 0
kindofblue

can't build kde-plasma/plasma-meta

Question

I tried to build kde-plasma/plasma-meta on two different PCs but they both fail on the same package, sys-apps/accountsservice. The error message is that systemd is required. I added the nosystemd mix-in to my profile but that didn't help. I tried to blacklist the package in package.mask but emerge returns an error saying that it must be unmasked.

Would someone know if there's a way to build this package without systemd?

Thanks in advance.

 

 

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

I do not use KDE, so I do not know the answer to your question off-hand; however, would you be able to do:

 

1. post emerge --info

2. post the stack trace / log message

 

According to this:

https://packages.gentoo.org/packages/sys-apps/accountsservice

 

You are right that systemd should be an option.  Additionally, exploring the ebuild from funtoo on github:

https://github.com/funtoo/nokit/blob/master/sys-apps/accountsservice/accountsservice-0.6.50-r1.ebuild

 

 

REQUIRED_USE="?? ( elogind systemd )"
 
!systemd? ( !elogind? ( sys-auth/consolekit ) )
 

 

 

I think if I'm interpreting that correctly, when systemd is disabled, elogind must also be disabled and you need consolekit.

Share this post


Link to post
Share on other sites
  • 0

I have this issue on my server at the moment, but I am not using KDE on it.  It is still running Funtoo 1.3 and I discovered this while trying to rebuild the system with -mtune generic so I could upgrade the hardware next month without a reinstall.  This issue stopped my "emerge -e @world" in it's tracks.  On my desktop I just did a fresh install of Funtoo 1.4 and was able to install sys-apps/accountsservice without issues. 

I haven't looked into the issue any further because I am fighting with I desktop.  If I win I get to use Steam in Funtoo.  If it wins I have to keep Ubuntu installed on one of my disk partitions.

 

 

Share this post


Link to post
Share on other sites
  • 0
6 hours ago, walterw said:
REQUIRED_USE="?? ( elogind systemd )"
 
!systemd? ( !elogind? ( sys-auth/consolekit ) )
 

I think if I'm interpreting that correctly, when systemd is disabled, elogind must also be disabled and you need consolekit.

I would say, looking at the code in the ebuild:

REQUIRED_USE="?? ( elogind systemd )"

CDEPEND="
	>=dev-libs/glib-2.44:2
	sys-auth/polkit
	elogind? ( >=sys-auth/elogind-229.4 )
	introspection? ( >=dev-libs/gobject-introspection-0.9.12:= )
	systemd? ( >=sys-apps/systemd-186:0= )
	!systemd? ( !elogind? ( sys-auth/consolekit ) )

that it is more like that:

- Either none or one of the required use USE flags need to be enabled but not both: https://devmanual.gentoo.org/ebuild-writing/variables/index.html#required_use

- If USE flag systemd is set sys-apps/systemd is required

- If USE flag elogind is set sys-auth/elogind is required

- If systemd USE flag is not set and elogind USE flag is not set then sys-auth/consolekit is required

So the question here is, why is the systemd USE flag triggered in the first place because the packages depending on accountservice

sicota@farout /data/incoming $ equery d -a sys-apps/accountsservice
 * These packages depend on sys-apps/accountsservice:
gnome-base/gdm-3.32.0 (>=sys-apps/accountsservice-0.6.12)
gnome-base/gnome-control-center-3.32.2 (>=sys-apps/accountsservice-0.6.39)
gnome-base/gnome-shell-3.32.2-r4 (>=sys-apps/accountsservice-0.6.14[introspection])
gnome-extra/cinnamon-desktop-3.6.2 (sys-apps/accountsservice)
kde-plasma/user-manager-5.15.5 (sys-apps/accountsservice)
kde-plasma/user-manager-5.16.1 (sys-apps/accountsservice)
mate-base/mate-control-center-1.22.1 (accountsservice ? sys-apps/accountsservice)
mate-extra/mate-polkit-1.22.0 (accountsservice ? sys-apps/accountsservice)
mate-extra/mate-polkit-1.22.0-r1 (accountsservice ? sys-apps/accountsservice)
x11-misc/lightdm-1.26.0-r1 (gnome ? sys-apps/accountsservice)
x11-misc/lightdm-1.28.0 (gnome ? sys-apps/accountsservice)
x11-misc/lightdm-1.30.0 (gnome ? sys-apps/accountsservice)
x11-misc/mugshot-0.4.1 (sys-apps/accountsservice)
sicota@farout /data/incoming $

do not require systemd to be set. And looking at the output of an emerge -pv kde-meta on my system the accountsservice line looks like:

[ebuild  N     ] sys-apps/accountsservice-0.6.54-r1::gnome-kit  USE="-doc -elogind -introspection (-selinux) (-systemd)" 91 KiB

with systemd USE flag masked and elogind USE flag turned off. The mask for systemd is the default setting for the epro flavor "core" and also the mix-in no-systemd.

 

To find out why the systemd USE flag is set we would need the output of:

- epro

- emerge -pv kde-meta

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...