Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 142604

Summary: hplip-1.6.6a shouldn't depend on hotplug
Product: Gentoo Linux Reporter: Heiko Baums <heiko>
Component: New packagesAssignee: Printing Team <printing>
Severity: normal CC: m.debruijne, os
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Package list:
Runtime testing required: ---

Description Heiko Baums 2006-08-02 20:42:03 UTC
net-print/hplip-1.6.6a shouldn't depend on sys-apps/hotplug because sys-fs/udev-096-r1 has hotplug functionality built in and seems to have conflicts with sys-apps/hotplug.

Hints for the conflicts can be found here in bugzilla and in the forums. Unfortunately I don't have a link right now. But I had some issues with my usb scanner, the /dev/cdrom and /dev/dvd links and udev rules which have been ignored by udev. After unmerging hotplug everything is working well again as before I'd upgraded to the first udev version with hotplug and coldplug functionality, before udev-089 I guess.

So it's not really useful if hotplug is installed automatically again because of the hplip dependency.

Maybe there are other packages which depend on hotplug. They are of course also affected and should be changed correspondingly.

Maybe there could be made a virtual/hotplug on which these packages could depend and virtual/hotplug is inherited by hotplug as well as the newer udev versions.

emerge --info:

Gentoo Base System version 1.12.1
Portage 2.1.1_pre4-r2 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) XP 1600+
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
USE="x86 3dnow 3dnowext X a52 aac aalib accessibility acpi alsa apache2 apm arts asf audiofile avi berkdb bitmap-fonts bluetooth bzip2 cdda cddb cdparanoia cdr chipcard cli crypt cups curl dga directfb divx4linux dlloader doc dri dv dvb dvd dvdr dvdread eds effects emacs emboss encode expat extrafilters fame fbcon ffmpeg flac foomaticdb fortran ftp gcc-libffi gcj gd gdbm geldkarte gif gimp gimpprint glitz gmp gpm graphviz gs gstreamer gtk gtk2 gtkhtml hbci iconv idn imagemagick imlib inkjar ipv6 irmc isdnlog jce jpeg kde lcms ldap leim libg++ libwww lirc live mad mailwrapper mbox mbrola mikmod ming mjpeg mmx mmx2 mmxext mng modplug motif mozilla mp3 mp4 mpeg mplayer mysql mysqli nas ncurses network nls nptl nptlonly nsplugin nvidia objc objc-gc odbc offensive ofx ogg oggvorbis opengl oss pam pcre pdf pdflib perl php plugin png ppds pppd print python qt qt3 qt4 quicktime quotes readline real reflection rtc rtsp scanner sdl session slang slideshow smime speex spell spl sqlite sse sse-filters ssl svg svga tcltk tcpd tetex theora threads tidy tiff tokenizer tools truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vdr vidix visualization vlm vorbis win32codecs wmf xcomposite xine xml xml2 xmms xorg xpm xv xvid yv12 zip zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux linguas_de lirc_devices_devinput userland_GNU video_cards_nvidia video_cards_v4l"
Comment 1 Heiko Baums 2006-08-04 07:44:19 UTC
I don't know what the hotplug dependency is for but maybe it's sufficient if hplip depended on sys-apps/hotplug-base instead of sys-apps/hotplug because sys-apps/hotplug-base is a dependecy of sys-apps/hotplug as well as sys-fs/udev.
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-05 11:22:25 UTC
no idea if hotplug is actually needed, I rather guess not.

I anged it to hotplug-base because that is installed anyway and should not break anything.

Thanks for the bug.
Comment 3 Johannes Ballé 2007-02-16 13:05:07 UTC
AFAIK, as of February 2007 udev completely replaces all hotplug functionality, hotplug is being phased out and so the dependency should be removed entirely.

Also, there is an "after hotplug" statement in /etc/init.d/hplip which should be pretty useless now, since hotplug isn't installed any longer.

On my system, hplip is the only package still pulling in hotplug-base.