Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 434794 - >=x11-drivers/xf86-video-intel-2.14 has sys-fs/udev automagic
Summary: >=x11-drivers/xf86-video-intel-2.14 has sys-fs/udev automagic
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-12 06:47 UTC by Nikoli
Modified: 2012-09-17 11:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to configure.ac to add a --disable-udev option (xf86-video-intel-2.20-udev-dep-deterministic.patch,938 bytes, patch)
2012-09-14 20:06 UTC, Ian Stakenvicius (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2012-09-12 06:47:01 UTC
# objdump -p /usr/lib64/xorg/modules/drivers/intel_drv.so|grep NEEDED
  NEEDED               libpciaccess.so.0
  NEEDED               libudev.so.0
  NEEDED               libm.so.6
  NEEDED               libdrm.so.2
  NEEDED               libc.so.6

libpciaccess.so.0 and libdrm.so.2 are not linked to libudev, intel_drv.so links to it directly:
xf86-video-intel $ grep -i udev * -a2
configure.ac-AM_CONDITIONAL(HAVE_GEN4ASM, test x$gen4asm = xyes)
configure.ac-
configure.ac:PKG_CHECK_MODULES(UDEV, [libudev], [udev=yes], [udev=no])
configure.ac:if test x"$udev" = xyes; then
configure.ac:   AC_DEFINE(HAVE_UDEV,1,[Enable udev-based monitor hotplug detection])
configure.ac-fi
configure.ac-

xf86-video-intel $ git describe 
2.20.7-4-gbc73acb

Please add sys-fs/udev to deps. There is no configure option for disabling udev, and i do not know status of intel drivers for freebsd profiles. Suggest using 'kernel_linux? ( sys-fs/udev)', else patching configure.ac seems required.
Comment 1 Derk W te Bokkel 2012-09-12 20:33:16 UTC
I use a system without udev so I would like to be able to run this without a udev dependancy .. as it should not be needed .. for a video card when drivers are autoloaded by xorg .. as they have been up to this point.
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2012-09-14 18:06:49 UTC
I would concurr on this -- since udev isn't a hard dep and it's just the automagic checking and the fact that most users have it installed that is the issue, it would probably be better to add IUSE="+udev" and patch the configure check to make it optional.
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2012-09-14 19:36:18 UTC
I just did a check and it looks like way more than the latest version does udev automagics.  Updated accordingly.
Comment 4 Ian Stakenvicius (RETIRED) gentoo-dev 2012-09-14 20:06:19 UTC
Created attachment 323804 [details, diff]
patch to configure.ac to add a --disable-udev option

patch is fairly straight-forward, should apply clean on all relevant ebuilds.
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2012-09-17 10:34:06 UTC
On it.
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2012-09-17 11:33:47 UTC
Fixed in portage and in overlay. Thanks for pushing this upstream!