Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Resolved] Slot conflict: ..to resolve by USE: +user-session
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
maxmodulo
n00b
n00b


Joined: 23 Jun 2018
Posts: 29

PostPosted: Fri Jul 20, 2018 4:04 pm    Post subject: [Resolved] Slot conflict: ..to resolve by USE: +user-session Reply with quote

Code:
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-apps/dbus:0

 (sys-apps/dbus-1.10.24:0/0::gentoo, ebuild scheduled for merge) pulled in by
   >=sys-apps/dbus-1.6:=[user-session=] required by (net-wireless/bluez-5.49-r1:0/3::gentoo, ebuild scheduled for merge)
                         ^^^^^^^^^^^^^                                                                                                                       

 (sys-apps/dbus-1.10.24:0/0::gentoo, installed) pulled in by
   sys-apps/dbus[user-session] required by (kde-plasma/plasma-workspace-5.12.5:5/5::gentoo, installed)
                 ^^^^^^^^^^^^                                                                                                             


It might be possible to solve this slot collision
by applying all of the following changes:
  - sys-apps/dbus-1.10.24 (Change USE: +user-session)
  - net-wireless/bluez-5.49-r1 (Change USE: +user-session)


The output suggests resolving the slot collision by adding `USE +user-session` for both dbus and bluez, but I do already have these lines in `/etc/portage/package.use/package.use`:

Code:
>=sys-apps/dbus-1.10.24 user-session
>=net-wireless/bluez-5.49-r1 user-session


Does anyone know what I'm doing wrong?


Last edited by maxmodulo on Sun Jul 22, 2018 7:24 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Fri Jul 20, 2018 4:14 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-1084132-highlight-usersession.html
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
maxmodulo
n00b
n00b


Joined: 23 Jun 2018
Posts: 29

PostPosted: Fri Jul 20, 2018 4:50 pm    Post subject: Reply with quote

fedeliallalinea wrote:
https://forums.gentoo.org/viewtopic-t-1084132-highlight-usersession.html

Thanks for the reply, fedeliallalinea.

I changed the package.use removing version info and added plasma-workspace as per suggestion in the linked thread like so:

Code:
sys-apps/dbus user-session
net-wireless/bluez user-session
kde-plasma/plasma-workspace user-session


But I'm still getting the exact same output:

Code:

....
[ebuild   R    ] www-client/firefox-bin-60.0.2  USE="(selinux*)"
[ebuild   R    ] mail-client/thunderbird-52.8.0  USE="(selinux*)"

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-apps/dbus:0

  (sys-apps/dbus-1.10.24:0/0::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-apps/dbus-1.6:=[user-session=] required by (net-wireless/bluez-5.49-r1:0/3::gentoo, ebuild scheduled for merge)
                          ^^^^^^^^^^^^^                                                                                                                     

  (sys-apps/dbus-1.10.24:0/0::gentoo, installed) pulled in by
    sys-apps/dbus[user-session] required by (kde-plasma/plasma-workspace-5.12.5:5/5::gentoo, installed)
                  ^^^^^^^^^^^^                                                                                                             

It might be possible to solve this slot collision
by applying all of the following changes:
   - sys-apps/dbus-1.10.24 (Change USE: +user-session)
   - net-wireless/bluez-5.49-r1 (Change USE: +user-session)
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Fri Jul 20, 2018 5:39 pm    Post subject: Reply with quote

You can post output of
Code:
# grep -r user-session /etc/portage/package.use*

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
maxmodulo
n00b
n00b


Joined: 23 Jun 2018
Posts: 29

PostPosted: Fri Jul 20, 2018 6:00 pm    Post subject: Reply with quote

fedeliallalinea wrote:
You can post output of
Code:
# grep -r user-session /etc/portage/package.use*


Code:
# grep -r user-session /etc/portage/package.use*
/etc/portage/package.use/package.use:# >=sys-apps/dbus-1.10.24 user-session
/etc/portage/package.use/package.use:# >=net-wireless/bluez-5.49-r1 user-session
/etc/portage/package.use/package.use:sys-apps/dbus user-session
/etc/portage/package.use/package.use:net-wireless/bluez user-session
/etc/portage/package.use/package.use:kde-plasma/plasma-workspace user-session
/etc/portage/package.use/package.use.bak:>=sys-apps/dbus-1.10.24 user-session
/etc/portage/package.use/package.use.bak:>=sys-apps/dbus-1.10.24 -user-session
/etc/portage/package.use/package.use.bak:>=sys-apps/dbus-1.10.24 user-session
/etc/portage/package.use/plasma-systray:>=sys-apps/dbus-1.10.24 -user-session


Ah, looks like either `/etc/portage/package.use/plasma-systray` overrides the dbus +user-session setting, or emerge doesn't ignore files labelled *.bak?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Fri Jul 20, 2018 6:38 pm    Post subject: Reply with quote

All files in /etc/portage/package.use/ are parsed regardless of name. Comment all entries how you disable user-session
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
maxmodulo
n00b
n00b


Joined: 23 Jun 2018
Posts: 29

PostPosted: Fri Jul 20, 2018 6:55 pm    Post subject: Reply with quote

fedeliallalinea wrote:
All files in /etc/portage/package.use/ are parsed regardless of name. Comment all entries how you disable user-session

I moved the .bak file and commented out the `-sys-apps/dbus-* -user-session` line, leaving only the three suggested lines uncommented.

Code:
# grep -r user-session /etc/portage/package.use*
/etc/portage/package.use/package.use:#>=sys-apps/dbus-1.10.24 user-session
/etc/portage/package.use/package.use:#>=net-wireless/bluez-5.49-r1 user-session
/etc/portage/package.use/package.use:sys-apps/dbus user-session
/etc/portage/package.use/package.use:net-wireless/bluez user-session
/etc/portage/package.use/package.use:kde-plasma/plasma-workspace user-session
/etc/portage/package.use/plasma-systray:#>=sys-apps/dbus-1.10.24 -user-session


But now I'm still getting the same output with the addition that it now asks me to re-add `=>sys-apps/dbus-* -user-session`:

Code:
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-apps/dbus:0

  (sys-apps/dbus-1.10.24:0/0::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-apps/dbus-1.6:=[user-session=] required by (net-wireless/bluez-5.49-r1:0/3::gentoo, ebuild scheduled for merge)
                          ^^^^^^^^^^^^^                                                                                                                     

  (sys-apps/dbus-1.10.24:0/0::gentoo, installed) pulled in by
    sys-apps/dbus[user-session] required by (kde-plasma/plasma-workspace-5.12.5:5/5::gentoo, installed)
                  ^^^^^^^^^^^^                                                                                                             


It might be possible to solve this slot collision
by applying all of the following changes:
   - sys-apps/dbus-1.10.24 (Change USE: +user-session)
   - net-wireless/bluez-5.49-r1 (Change USE: +user-session)


The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by net-wireless/bluez-5.49-r1::gentoo
# required by net-misc/networkmanager-1.8.4::gentoo[bluetooth]
# required by kde-frameworks/networkmanager-qt-5.46.0::gentoo
# required by kde-plasma/plasma-nm-5.12.5::gentoo
# required by kde-plasma/plasma-meta-5.12.5::gentoo[networkmanager]
# required by @selected
# required by @world (argument)
>=sys-apps/dbus-1.10.24 -user-session
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Fri Jul 20, 2018 7:21 pm    Post subject: Reply with quote

You can post all emerge output with wgetpaste.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
maxmodulo
n00b
n00b


Joined: 23 Jun 2018
Posts: 29

PostPosted: Fri Jul 20, 2018 7:35 pm    Post subject: Reply with quote

fedeliallalinea wrote:
You can post all emerge output with wgetpaste.

Full emerge output:
https://paste.pound-python.org/show/C2ihAKVgwAEAox8PaVt1/
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Fri Jul 20, 2018 8:05 pm    Post subject: Reply with quote

Ok not work because selinux and systemd are unstable in gentoo.
Indeed user-session is masked by profile (you see this because user-session is between parentheses).
You can umask use flag with /etc/portage/profile/package.use.mask but I don't know the consequences, if is masked there is a reason.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri Jul 20, 2018 8:14 pm    Post subject: Reply with quote

all selinux related packages are not install yet (but mark as new), i think user has "wrongly" switch to a systemd/selinux from a systemd/non-selinux profile.
Back to top
View user's profile Send private message
maxmodulo
n00b
n00b


Joined: 23 Jun 2018
Posts: 29

PostPosted: Fri Jul 20, 2018 8:44 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Ok not work because selinux and systemd are unstable in gentoo.
Indeed user-session is masked by profile (you see this because user-session is between parentheses).
You can umask use flag with /etc/portage/profile/package.use.mask but I don't know the consequences, if is masked there is a reason.

I've read that wiki and the related bug tracker. There was an issue with people being locked out of their system because an issue with SystemD and SELinux but I'm experienced with both sytemd and selinux so I wasn't worried. I'm just trying to get beyond all the masking. :)

How do I unmask the user-session flag in /etc/portage/make.profile/package.use.mask? I tried using the same syntax as before, but it didn't work:

Code:
sys-apps/dbus user-session
net-wireless/bluez user-session
kde-plasma/plasma-workspace user-session


Last edited by maxmodulo on Fri Jul 20, 2018 8:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
maxmodulo
n00b
n00b


Joined: 23 Jun 2018
Posts: 29

PostPosted: Fri Jul 20, 2018 8:46 pm    Post subject: Reply with quote

krinn wrote:
all selinux related packages are not install yet (but mark as new), i think user has "wrongly" switch to a systemd/selinux from a systemd/non-selinux profile.

Hi krinn, yeah the selinux packages aren't installed yet. That's what I'm trying to get done. I had to merge profiles to get systemd and selinux together.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri Jul 20, 2018 11:13 pm    Post subject: Reply with quote

when done by profile, you need to use package.use.force file
with "-useflag" to force disable it
and "useflag" to force enable it
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Sat Jul 21, 2018 7:38 am    Post subject: Reply with quote

Only vhas user-session masked the you can use package.use.mask
Code:
# mkdir /etc/portage/profile
# echo "net-wireless/bluez -user-session" >> /etc/portage/profile/package.use.mask

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
maxmodulo
n00b
n00b


Joined: 23 Jun 2018
Posts: 29

PostPosted: Sat Jul 21, 2018 5:52 pm    Post subject: Reply with quote

krinn wrote:
when done by profile, you need to use package.use.force file
with "-useflag" to force disable it
and "useflag" to force enable it

Thanks krinn, that's very good to know.
Back to top
View user's profile Send private message
maxmodulo
n00b
n00b


Joined: 23 Jun 2018
Posts: 29

PostPosted: Sat Jul 21, 2018 5:58 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Only vhas user-session masked the you can use package.use.mask
Code:
# mkdir /etc/portage/profile
# echo "net-wireless/bluez -user-session" >> /etc/portage/profile/package.use.mask

Thank you fedeliallalinea, I created a package.use.mask in the path of my custom profile and it allowed me to begin compilation.

I ended up getting a selinux-base-9999 compilation error now but it doesn't relate to this thread's topic, so I'll look into it an create a new thread if need be.

Thank you both for your help! :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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