Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Advice needed regarding udisks
Date: Sun, 18 Aug 2013 09:24:30
Message-Id: 52109205.5090207@gmail.com
In Reply to: Re: [gentoo-user] Re: Advice needed regarding udisks by Grant
1 On 18/08/2013 09:33, Grant wrote:
2 >>> When trying to eject a USB camera in thunar in xfce4, the error
3 >>> appears and the device does not umount. Here is a command that also
4 >>> produces the error:
5 >>>
6 >>> # udisks --detach /dev/sdb
7 >>> Detach failed: Error detaching: helper exited with exit code 1:
8 >>> Detaching device /dev/sdb
9 >>> USB device: /sys/devices/pci0000:00/0000:00:02.0/usb2/2-6)
10 >>> SYNCHRONIZE CACHE: FAILED: No such file or directory
11 >>> (Continuing despite SYNCHRONIZE CACHE failure.)
12 >>> STOP UNIT: FAILED: No such file or directory
13 >>>
14 >>> # emerge -pv gvfs libgdu
15 >>> [ebuild R ] gnome-base/libgdu-3.0.2 USE="-avahi -doc -gnome-keyring" 0 kB
16 >>> [ebuild R ] gnome-base/gvfs-1.12.3-r1 USE="cdda gdu http udev
17 >>> -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring
18 >>> -gphoto2 -ios -samba (-udisks)" 0 kB
19 >> ^^^^^^^
20 >>
21 >> There's your problem.
22 >>
23 >> thunar depends on gvfs, which can use udisks, but in your case the USE
24 >> flag is forced, masked, or removed.
25 >>
26 >> You need to find out why that happened, it might be a profile thing,
27 >> maybe it's a local config. Try
28 >>
29 >> grep -r udisks /etc/portage/
30 >
31 > Nothing comes back from that grep. My profile is
32 > default/linux/amd64/13.0/desktop. What else could be preventing me
33 > from enabling that USE flag?
34
35
36
37 It might be masked by the profile. As I understand it, recent EAPIs
38 allow USE flags to be forced per-profile. This makes sense - a dev might
39 enable USE=udev everywhere except on gentoo-freebsd profiles, just as an
40 example. But I'm not yet up to speed on how to detect and over-ride such
41 things.
42
43 I think you should log a bug now at b.g.o. and let the devs tell you
44 what's really going on with your selections.
45
46
47
48
49 --
50 Alan McKinnon
51 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] Re: Advice needed regarding udisks Grant <emailgrant@×××××.com>