Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 544600 - net-wireless/bluez-5.29 - bluez-udevadm-path.patch produces invalid 97-hid2hci.rules file
Summary: net-wireless/bluez-5.29 - bluez-udevadm-path.patch produces invalid 97-hid2hc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-26 20:39 UTC by Uros
Modified: 2015-04-04 11:19 UTC (History)
1 user (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 Uros 2015-03-26 20:39:56 UTC
While upgrading to net-wireless/bluez-5.29 and sys-fs/udev-219, restarting udev produced the following error:
invalid key/value pair in file /lib64/udev/rules.d/97-hid2hci.rules on line 27, starting at character 244 ('/')

After checking the ebuild, there seems to be an issue with bluez-udevadm-path.patch, because added ENV{REMOVE_CMD} line is missing at least quotation at the end, maybe even comma.


Reproducible: Always
Comment 1 Ulenrich 2015-03-27 19:51:18 UTC
Confirm,
it is missing a quotation and a comma and doubes an exec:
---
ATTR{bDeviceClass}=="e0", ATTR{bDeviceSubClass}=="01", ATTR{bDeviceProtocol}=="01", ATTR{idVendor}=="413c", \
  ENV{REMOVE_CMD}="/usr/bin/udevadm trigger --action=change --subsystem-match=usb --property-match=HID2HCI_SWITCH=1 \
  ENV{REMOVE_CMD}="/sbin/udevadm trigger --action=change --subsystem-match=usb --property-match=HID2HCI_SWITCH=1"
---
better sed the path as usually done! 
Like:
ATTR{bDeviceClass}=="e0", ATTR{bDeviceSubClass}=="01", ATTR{bDeviceProtocol}=="01", ATTR{idVendor}=="413c", \
  ENV{REMOVE_CMD}="/usr/bin/udevadm trigger --action=change --subsystem-match=usb --property-match=HID2HCI_SWITCH=1"
Comment 2 tman 2015-03-31 16:06:22 UTC
would be nice to get a working version asap in portage.

thanks
Comment 3 Pacho Ramos gentoo-dev 2015-04-04 11:19:50 UTC
+*bluez-5.30 (04 Apr 2015)
+
+  04 Apr 2015; Pacho Ramos <pacho@gentoo.org> +bluez-5.30.ebuild,
+  -bluez-5.29.ebuild, files/bluez-udevadm-path.patch:
+  Version bump (this will also fix bug #544446 by Leonid Kopylov and others),
+  fix udev rules (#544600 by Uros), drop old version with this problems.
+