From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 27A841381F3 for ; Mon, 19 Aug 2013 09:08:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43C97E0D29; Mon, 19 Aug 2013 09:08:34 +0000 (UTC) Received: from mail-ee0-f45.google.com (mail-ee0-f45.google.com [74.125.83.45]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 218A1E0D09 for ; Mon, 19 Aug 2013 09:08:32 +0000 (UTC) Received: by mail-ee0-f45.google.com with SMTP id c50so2035129eek.18 for ; Mon, 19 Aug 2013 02:08:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=sNqKMKgM0kP7NqXt4oYGjORTUYayCL26HFJqoiViWp4=; b=xSVrR2gzTKmqwQ42OU6uAy0KTCWqyG2dYgzTcyxHUt7Q7iaegH2UyI4SZdyYlITkCW cBOJYYxGdUroBFOofB5dcz72YzqqoKpZixtakWx+K96YnjSx6qxZ9+99swox6IR7FuiS wEMgXJeKNHoRvUtA6WkOCa/b9VZP3o6guHxk6RfJsydoZ7/VIFP4D6J/Poc+CtfFNhpa JdPSYTMdzGjkd5eEdoZevtKwalFr7RGNyuqVqWCqv5/8jJ3aOZ2ww/cCqdqzpzTN/W21 lZeYK/Kda5KwJsA20JI9c5cClrE3q1fzsFgoDDC88U5WoA7jIVknf+Ywqq6sNp9Z2wGQ 0BoA== X-Received: by 10.14.122.132 with SMTP id t4mr21309500eeh.20.1376903311641; Mon, 19 Aug 2013 02:08:31 -0700 (PDT) Received: from [10.1.20.201] (dustpuppy.is.co.za. [196.14.169.11]) by mx.google.com with ESMTPSA id d8sm15878533eeh.8.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 19 Aug 2013 02:08:30 -0700 (PDT) Message-ID: <5211DFCC.8060707@gmail.com> Date: Mon, 19 Aug 2013 11:05:16 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130809 Thunderbird/17.0.8 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Advice needed regarding udisks References: <520F3550.60907@gmail.com> <520FCED0.8030205@gmail.com> <52109205.5090207@gmail.com> <52110859.30402@gentoo.org> <5211C84F.3010103@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 59ee1659-a58f-4469-b6a5-8a46aa268bb7 X-Archives-Hash: f8565749661997588b12d46d0738319e 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 (02 Oct 2012) >>>> # Mask USE="udisks" and use USE="gdu" as the default for >>> # older gvfs releases have problems with recent stable udisks:2 (bug #463792) >>>> >> >>> OK, there it is. If I keyword gvfs I get into trouble because >>> gobject-introspection 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