Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 315541 - net-wireless/bluez-utils-3.36 causes warnings from sys-fs/udev-149 about using BUS & SYSFS
Summary: net-wireless/bluez-utils-3.36 causes warnings from sys-fs/udev-149 about usin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-16 03:33 UTC by Jimmy C. Chau
Modified: 2010-04-18 12:38 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jimmy C. Chau 2010-04-16 03:33:10 UTC
net-wireless/bluez-utils-3.36 installs /etc/udev/rules.d/70-bluetooth-pcmcia.rules, which uses the keys BUS and SYSFS{}.  

sys-fs/udev-149 warns that BUS and SYSFS{} will not be supported in the future and that SUBSYSTEM and ATTR{} should be used instead.  

Reproducible: Always

Steps to Reproduce:
1. Install sys-fs/udev-149
2. Install net-wireless/bluez-utils-3.36
3. Reboot to see warnings (also in syslog)
Actual Results:  
Note the warnings such as the following:
Apr 15 22:53:53 Jimmy-Laptop udevd[696]: BUS= will be removed in a future udev version, please use SUBSYSTEM= to match the event device, or SUBSYSTEMS= to match a parent device, in /etc/udev/rules.d/70-bluetooth-pcmcia.rules:2
Apr 15 22:53:53 Jimmy-Laptop udevd[696]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/70-bluetooth-pcmcia.rules:2


Also note that /etc/udev/rules.d/70-bluetooth-pcmcia.rules uses BUS SYSFS.

Expected Results:  
/etc/udev/rules.d/70-bluetooth-pcmcia.rules should be updated to use SUBSYSTEM and ATTRS{} instead.  

I have tried reinstalling net-wireless/bluez-utils-3.36, but it did not change /etc/udev/rules.d/70-bluetooth-pcmcia.rules.

emerge --info:
Portage 2.1.8.3 (hardened/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7-2010Apr09 i686)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-2010Apr09-i686-Intel-R-_Pentium-R-_M_processor_1.73GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 15 Apr 2010 17:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA @BINARY-REDISTRIBUTABLE PUEL dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo  http://gentoo.mirrors.pair.com/         http://gentoo.netnitco.net      http://open-systems.ufl.edu/mirrors/gentoo        http://gentoo.mirrors.tds.net/gentoo    ftp://mirror.datapipe.net/gentoo        http://distfiles.gentoo.org     http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion berkdb bluetooth bzip2 cairo caps cdparanoia cjk cli cracklib crypt cups cxx dbus dell divx dri dts dvb dvd eap-tls emacs encode exif fbcon ffmpeg flac ftp gd gdbm gif gmedia gnutls gpm gstreamer gtk hal hardened iconv ipv6 java javascript jpeg jpeg2k laptop latex libcaca logrotate lzo mad mailwrapper matroska mbrola mmx mmxext modules mp3 mpeg mudflap ncurses nls nptl nptlonly ogg openal opengl openmp pam pcmcia pcre pdf perl pic png ppds pppd prediction preview-latex python qt3support qt4 quicktime readline reflection samba scanner sdl session socks5 sound spell spl sse sse2 ssl svg sysfs tcpd theora threads tiff tk truetype unicode urandom usb v4l v4l2 vcd vlm vorbis wifi win32codecs wmf wmp wxwindows x86 xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pacho Ramos gentoo-dev 2010-04-18 12:38:19 UTC
It's solved in bluez-4, and bluez-utils/libs will go away soon