Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
newbie rik with emerge and eudev [sorted]
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
codifies
n00b
n00b


Joined: 29 Oct 2014
Posts: 24

PostPosted: Wed Oct 29, 2014 4:40 pm    Post subject: newbie rik with emerge and eudev [sorted] Reply with quote

I'm using eudev on a newly installed system that unintentionally had udev on it.

The system works fine (actually *really* well) but I think my lack of understanding of the finer points of portage might have confused emerge (poor fellow)

when I issue the command

Quote:
sudo emerge --ask --newuse --update --deep @world


I get this:
Code:
[ebuild   R    ] dev-libs/libusb-1.0.18  USE="-udev*"
[ebuild   R    ] virtual/libusb-1-r1  USE="-udev*"
[ebuild   R    ] net-misc/dhcpcd-6.4.7  USE="-udev*"
[ebuild   R    ] x11-libs/libpciaccess-0.13.2  USE="minimal*"
[ebuild   R    ] x11-libs/libdrm-2.4.52  VIDEO_CARDS="-nouveau* -radeon* -vmware*"
[ebuild   R    ] x11-base/xorg-drivers-1.15  VIDEO_CARDS="-dummy* -fbdev* -glint* -mach64* -mga* -nouveau* -nv* -r128* -radeon* -savage* -tdfx* -trident* -v4l* -vesa* -via* -vmware*"
[ebuild   R    ] dev-libs/cyrus-sasl-2.1.26-r9  USE="sqlite*"
[ebuild   R    ] dev-lang/spidermonkey-17.0.0-r3  USE="jit* minimal*"
[ebuild   R    ] sys-auth/pambase-20120417-r3  USE="consolekit* minimal*"
[ebuild   R    ] net-misc/openssh-6.6_p1-r1  USE="X* ldap*"
[ebuild   R    ] virtual/ssh-0  USE="minimal*"
[ebuild   R    ] media-libs/libcanberra-0.30-r1  USE="-udev*"
[ebuild   R    ] sys-apps/groff-1.22.2  USE="X*"
[ebuild   R    ] sys-libs/ncurses-5.9-r3  USE="gpm* minimal*"
[ebuild   R    ] dev-lang/python-3.3.5-r1  USE="sqlite*"
[ebuild   R    ] dev-lang/python-3.4.1  USE="sqlite*"
[ebuild   R    ] sys-process/psmisc-22.20  USE="X*"
[ebuild   R    ] app-arch/tar-1.27.1-r2  USE="minimal*"
[ebuild   R    ] sys-devel/llvm-3.3-r3  VIDEO_CARDS="-radeon*"
[ebuild   R    ] sys-power/pm-utils-1.4.1-r6  VIDEO_CARDS="-radeon*"
[ebuild   R    ] dev-util/dialog-1.2.20140219  USE="minimal*"
[ebuild   R    ] app-editors/nano-2.3.2  USE="minimal* spell*"
[ebuild   R    ] dev-libs/libcdio-0.92  USE="minimal*"
[ebuild   R    ] media-libs/mesa-10.0.4  VIDEO_CARDS="-nouveau* -radeon* -vmware*"
[ebuild  r  UD ] x11-base/xorg-server-1.14.5 [1.15.0]
[ebuild  rR    ] x11-drivers/xf86-input-evdev-2.8.2
[ebuild  rR    ] x11-drivers/xf86-input-mouse-1.9.0
[ebuild  rR    ] x11-drivers/xf86-input-keyboard-1.7.0
[ebuild   R    ] x11-drivers/xf86-video-intel-2.21.15  USE="-udev*"

WARNING: One or more updates have been skipped due to a dependency conflict:

x11-base/xorg-server:0

  (x11-base/xorg-server-1.15.0::gentoo, ebuild scheduled for merge) conflicts with
    x11-base/xorg-server[-minimal] required by (x11-drivers/xf86-video-intel-2.21.15::gentoo, ebuild scheduled for merge)
  (x11-base/xorg-server-1.15.0::gentoo, ebuild scheduled for merge) conflicts with
    >=x11-base/xorg-server-1.12[udev] required by (x11-drivers/xf86-input-evdev-2.8.2::gentoo, installed)


The following packages are causing rebuilds:

  (x11-base/xorg-server-1.14.5::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (x11-drivers/xf86-input-keyboard-1.7.0::gentoo, ebuild scheduled for merge)
    (x11-drivers/xf86-input-evdev-2.8.2::gentoo, ebuild scheduled for merge)
    (x11-drivers/xf86-input-mouse-1.9.0::gentoo, ebuild scheduled for merge)

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by x11-drivers/xf86-input-evdev-2.8.2
# required by x11-base/xorg-drivers-1.15[input_devices_evdev]
# required by @selected
# required by @world (argument)
=x11-base/xorg-server-1.14.5 udev -minimal


in make.conf I have this:
Code:
VIDEO_CARDS="intel"
INPUTDEVICES="evdev synaptics"
USE="sqlite bindist mmx sse sse2 -udev eudev -systemd xa gbm libdrm libkms alsa bindist dbus jit libnotify minimal startup-notification "


in package.use i have this:
Code:
x11-base/xorg-drivers -r128 -glint -mach64 -mga -nouveau -nv -radeon -savage -tdfx -trident -via


I'm hoping there is a way that I can simply inform portage that eudev provides udev, or is this a bad idea?

also whats the best way to get resolve the xorg-server/-minimal issue?

tia!


Last edited by codifies on Wed Oct 29, 2014 5:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
HerrSchafer
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2011
Posts: 139

PostPosted: Wed Oct 29, 2014 5:14 pm    Post subject: Reply with quote

AFAIK, eudev will take the udev's place and completely substitute it; in my system, when I emerged eudev, portage have unistalled udev, but I kept the udev USER Flag, because I couldn't find eudev USER Flag here: http://en.znurt.org/useflags. No weird things have been noticed.
I have also masked udev and systemd; and @world update do not asks for udev anymore.

About the "minimal" use flag, a simple way to solve it is to use per/package use flags:
Code:
echo "x11-base/xorg-server -minimal" >> /etc/portage/package.use

Every time portage complains The following USE changes are necessary to proceed: you can add the missing options in this file; the gentoo experts says that is better you add a per/package list than enable it globally.
_________________
“Long is the way, and hard, that out of hell leads up to light.”
― John Milton
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Wed Oct 29, 2014 5:20 pm    Post subject: Reply with quote

codifies,

Welcome to Gentoo.

For when there is a choice for packages providing the same functionality, a virtual is used.
The virtual does not install any software, it tells portage how to resolve dependencies.

For (udev /usr/portage/virtual/udev/udev-215.ebuild) the key lines are
Code:
RDEPEND="
        !systemd? ( || ( >=sys-fs/udev-208-r1 >=sys-fs/eudev-1.3 ) )
        systemd? ( >=sys-apps/systemd-208:0 )"

Which translates as if you have USE=-systemd then >=sys-fs/udev-208-r1 or >=sys-fs/eudev-1.3 are fine.
The virtual will choose sys-fs/udev over sys-fs/eudev if neither ore installed
If you have USE=systemd you need >=sys-apps/systemd-208.

As sys-fs/udev and sys-fs/eudev provide the same functionality, the both work with other packages that take USE=udev
There is no USE=eudev as its not needed. Regardless of udev or eudev being installed, you still want USE=udev.

ufed will show you what all the USE flags do
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
codifies
n00b
n00b


Joined: 29 Oct 2014
Posts: 24

PostPosted: Wed Oct 29, 2014 5:41 pm    Post subject: Reply with quote

....so I should just USE=udev ?

Do I understand correctly that as long as I have -systemd in udev won't drag in systemd and will it will be happy with eudev

what's ufed ?

anyhoo... It does look like this emerge thing is doing its thing in a happy way, so thanks for your (very quick) help (both of you)
Back to top
View user's profile Send private message
HerrSchafer
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2011
Posts: 139

PostPosted: Wed Oct 29, 2014 5:58 pm    Post subject: Reply with quote

codifies wrote:
....so I should just USE=udev ?

YES! This, you can globally enable (make.conf)

Quote:
Do I understand correctly that as long as I have -systemd in udev won't drag in systemd and will it will be happy with eudev

YES! Emerging eudev will remove udev; since you have globally disable systemd (make.conf) you'll stay away from it.

Quote:
what's ufed ?

I'm also asking what is it...

Quote:
anyhoo... It does look like this emerge thing is doing its thing in a happy way, so thanks for your (very quick) help (both of you)

This "emerge thing" is the magic wand of Gentoo. :D
_________________
“Long is the way, and hard, that out of hell leads up to light.”
― John Milton
Back to top
View user's profile Send private message
saellaven
l33t
l33t


Joined: 23 Jul 2006
Posts: 646

PostPosted: Wed Oct 29, 2014 6:01 pm    Post subject: Reply with quote

codifies wrote:
....so I should just USE=udev ?

Do I understand correctly that as long as I have -systemd in udev won't drag in systemd and will it will be happy with eudev


If you want to use eudev, it's fine to leave use USE=udev

to be doubly sure, you may want to add the following to your /etc/portage/packages.mask since portage might try to decide to pull in systemd anyway
sys-apps/systemd
sys-apps/gentoo-systemd-integration
sys-fs/udev

Quote:

what's ufed ?


a program to add your USE flags. You can also just edit /etc/make.conf manually
Back to top
View user's profile Send private message
HerrSchafer
Tux's lil' helper
Tux's lil' helper


Joined: 18 May 2011
Posts: 139

PostPosted: Wed Oct 29, 2014 7:17 pm    Post subject: Reply with quote

saellaven wrote:
codifies wrote:

what's ufed ?


a program to add your USE flags. You can also just edit /etc/make.conf manually


Thanks!
_________________
“Long is the way, and hard, that out of hell leads up to light.”
― John Milton
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Wed Oct 29, 2014 8:26 pm    Post subject: Reply with quote

saellaven,

Awww ... you gave the game away.

ufed is Use Flag EDitor. There are others too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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