public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Advice needed regarding udisks
Date: Mon, 19 Aug 2013 11:05:16 +0200	[thread overview]
Message-ID: <5211DFCC.8060707@gmail.com> (raw)
In-Reply-To: <CAN0CFw2B_zYHO6JbsWvWPgCHX26aYEW6qVrnDr4A-qG2WfEZ5g@mail.gmail.com>

On 19/08/2013 10:25, Grant wrote:
>>>>>>>>> When trying to eject a USB camera in thunar in xfce4, the error appears and the device
>>>>>>>>> does not umount.  Here is a command that also produces the error:
>>>>>>>>>
>>>>>>>>> # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code
>>>>>>>>> 1: Detaching device /dev/sdb USB device:
>>>>>>>>> /sys/devices/pci0000:00/0000:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file
>>>>>>>>> or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such
>>>>>>>>> file or directory
>>>>>>>>>
>>>>>>>>> # emerge -pv gvfs libgdu [ebuild   R    ] gnome-base/libgdu-3.0.2  USE="-avahi -doc
>>>>>>>>> -gnome-keyring" 0 kB [ebuild   R    ] gnome-base/gvfs-1.12.3-r1  USE="cdda gdu http
>>>>>>>>> udev -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring -gphoto2 -ios
>>>>>>>>> -samba (-udisks)" 0 kB
>>>>>>>> ^^^^^^^
>>>>>>>>
>>>>>>>> There's your problem.
>>>>>>>>
>>>>>>>> thunar depends on gvfs, which can use udisks, but in your case the USE flag is forced,
>>>>>>>> masked, or removed.
>>>>>>>>
>>>>>>>> You need to find out why that happened, it might be a profile thing, maybe it's a local
>>>>>>>> config. Try
>>>>>>>>
>>>>>>>> grep -r udisks /etc/portage/
>>>>>>>
>>>>>>> Nothing comes back from that grep.  My profile is default/linux/amd64/13.0/desktop.  What
>>>>>>> else could be preventing me from enabling that USE flag?
>>>>>>
>>>>>> It might be masked by the profile. As I understand it, recent EAPIs allow USE flags to be
>>>>>> forced per-profile. This makes sense - a dev might enable USE=udev everywhere except on
>>>>>> gentoo-freebsd profiles, just as an example. But I'm not yet up to speed on how to detect and
>>>>>> over-ride such things.
>>>>>>
>>>>>> I think you should log a bug now at b.g.o. and let the devs tell you what's really going on
>>>>>> with your selections.
>>>>>
>>>>> Will do, and I'll report back with the results.
>>>>>
>>>>> Thanks, Grant
>>>>>
>>>>
>>>> - From $PORTDIR/profiles/base/package.use.mask:
>>>>
>>>> # GNOME <gnome@gentoo.org> (02 Oct 2012)
>>>> # Mask USE="udisks" and use USE="gdu" as the default for <gnome-base/gvfs-1.14;
>>>> # older gvfs releases have problems with recent stable udisks:2 (bug #463792)
>>>> <gnome-base/gvfs-1.14 udisks
>>>
>>> OK, there it is.  If I keyword gvfs I get into trouble because
>>> gobject-introspection wants <dev-libs/glib-2.33 and gvfs wants
>>>> =dev-libs/glib-2.36.
>>
>>
>> Don't keyword gvfs,
>>
>> for gvfs:
>>
>> USE="-udisks gdu"
>>
>> gvfs doesn't care what does the automounting, as long as something does
> 
> That's what I have now and I have this ejecting problem.  Should I
> just emerge udisks-2 into a new slot?


I have a hunch that won't work and USE="udisks" is hard masked for gvfs.
Logic tells me that even if udisks:2 is available, gvfs won't use it.

But, it's worth a try.

I also think you need the maintainer to take a closer look - it all
looks like the ebuild needs some tweaking, or maybe it's just a magic
combination of USE that we missed.


-- 
Alan McKinnon
alan.mckinnon@gmail.com



  reply	other threads:[~2013-08-19  9:08 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-16 13:09 [gentoo-user] Advice needed regarding udisks Grant
2013-08-17  7:57 ` [gentoo-user] " Grant
2013-08-17  8:33   ` Alan McKinnon
2013-08-17 18:03     ` Grant
2013-08-17 18:15       ` Canek Peláez Valdés
2013-08-17 19:00         ` Grant
2013-08-17 19:20           ` Canek Peláez Valdés
2013-08-17 19:28           ` Alan McKinnon
2013-08-18  7:33             ` Grant
2013-08-18  9:21               ` Alan McKinnon
2013-08-18  9:50                 ` Grant
2013-08-18 17:46                   ` Jonathan Callen
2013-08-19  7:17                     ` Grant
2013-08-19  7:25                       ` Alan McKinnon
2013-08-19  8:25                         ` Grant
2013-08-19  9:05                           ` Alan McKinnon [this message]
2013-08-19  9:43                             ` Grant
2013-08-19  9:49                               ` Alan McKinnon
2013-08-19  7:28                       ` Canek Peláez Valdés
2013-08-23  5:48             ` Grant
2013-08-20  5:40           ` Samuli Suominen
2013-08-20  6:21             ` Grant
2013-08-23 15:15               ` Samuli Suominen
2013-08-24  5:39                 ` Grant
2013-08-24 11:20                   ` Samuli Suominen
2013-08-24 12:43                     ` Grant
2013-08-24 13:14                       ` Marc Joliet
2013-08-24 14:44                         ` Grant
2013-08-17 18:22       ` Alan McKinnon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5211DFCC.8060707@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox