As part of Gnome-2.28, the system installed without gdu USE flag is crippled and you cannot see or mount CD, DVD, USB. I am NOT talking about automount, just being able to see the drives icons in Nautilus.
Without gdu on, Nautilus does not show drive (CD, DVD, USB).
As a consequence automount does not work either (checking the preferences has no effect) but of course it is fixed by use of +gdu flag.
My step-by-step debugging on the forums:
I am all for minimal system, but I think showing DVD drives and USB drives is now considered part of what the minimum system should do.
As gdu seems to be a new USE flag (I did not have it before), it should be on by default or at least a strong warning should be added in gvfs, nautilus and/or gnome ebuilds saying that functionality will be lost if gdu flag is not added.
Steps to Reproduce:
1. compile gvfs without gdu USE flag
Nautilus computer shows only the Filesystem icon and inserting a drive does nothing.
Empty DVD drives should show (as they do with +gdu) and USB drives on insertion.
Portage 220.127.116.11 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64)
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 22 Feb 2010 05:15:01 +0000
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/gcc: 3.4.6-r2, 4.1.2, 4.3.4
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CFLAGS="-march=native -O2 -pipe"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://mirrors.tera-byte.com/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo "
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/local/portage/layman/sabayon /usr/local/portage/overlays/main /usr/local/portage/overlays/edma"
USE="X a52 aac alsa amd64 apache2 applet audacious automount avahi bash-completion berkdb blas branding bzip2 cairo caps cdparanoia cdr cli consolekit cracklib cups cxx daap dbus device-mapper disk-partition divx dri dts dvd dvdr dvi emboss encode evo fam fbcondecor ffmpeg fftw firefox flac font-server foomaticdb fortran gdbm gdu gif gimp glitz glut gmedia gnome gpm gsf gstreamer gtk hal hddtemp iconv icotools id3tag jpeg kdrive lapack ldap libburn libnotify lm_sensors mad matroska mikmod mmkeys mmx modules mono mp3 mp4 mpeg mudflap multilib mysql nautilus ncurses network networkmanager nfs nonfsv4 nptl nptlonly nsplugin nvidia ogg ole openal opengl openmp pam pcre pdf perl plotutils png policykit ppds pppd pulseaudio pygrub python qt4 quicktime readline realmedia reflection samba screen sdl sensord server session skins slang smp sourceview spell spl sse sse2 ssl startup-notification stream svg sysfs syslog tcpd theora threads thunar thunderbird tiff totem truetype unicode usb v4l v4l2 vnc vorbis wav winetools wma wmp wxwindows x264 xine xinerama xml xorg xscreensaver 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
It does show drives, but only the mounted ones. What is the bug exactly about ? Do you mean there should be a documentation about this ? I certainly intend for this to be added to the migration guide, but otherwise no changes will be done to the ebuild since gvfs is used outside of gnome alone.
Yes it show mounted drives but automount does not work, and you cannot manually mount drives if icons does not show in Nautilus.
- DVD drives should always show even if empty
- USB drives should appear when inserted (even if not automounted)
Sorry, I posted too fast. Let me clarify, there is 2 issues:
automount settings set in Nautilus are not applied if gdu is not use when building gvfs. That part is probably a bug. But that is not the goal of this report per se.
The main thing is that the need for +gdu flag might be fixed by a documentation thing to say that Gnome needs gdu flag to work correctly, but due to the loss of functionality, I am afraid it will cause unnecessary uproar to have such basic functions removed because users would not have set that brand new USE flag. Therefore gnome/nautilus ebuilds should have the dependency set to gvfs with +gdu flag mandatory by default.
It's not been a problem for the months gnome 2.28 has been in ~arch. I think migration documentation will be enough.
My point, it will cause loss of functionality for users who upgrade without tweaking their /etc/make.conf... and I think it's a bad idea. I used Gentoo for 8 years and spent enough times on forums to say that this is one of the thing that really upset casual users when their system break and they loose functionality during an upgrade.
PS: Gentoo website lacks any description of USE flag. The only site which does is http://gentoo-portage.com/USE and it's not up-to-date . gdu is not there. A default Gnome install should not require users to dig in such arcane matters.
We should probably add a rdepend on gvfs[gdu] to gnome-base/gnome
(In reply to comment #6)
> We should probably add a rdepend on gvfs[gdu] to gnome-base/gnome
I did this. Keeping this bug open so it can be noted in the migration documentation as well.
Perhaps you should add IUSE="+gdu" for gnome-base/gvfs as well, otherwise I got the following minor problem on "emerge -puvDN world":
emerge: there are no ebuilds built with USE flags to satisfy ">=gnome-base/gvfs-1.4.3[gdu]".
!!! One of the following packages is required to complete your request:
- gnome-base/gvfs-1.4.3 (Change USE: +gdu)
(dependency required by "gnome-base/gnome-2.28.2" [installed])
(dependency required by "world" [argument])
Adding the above IUSE automagically fixes that for me, since I did not set that USE-flag anywhere before explicitly.
(In reply to comment #8)
> Perhaps you should add IUSE="+gdu" for gnome-base/gvfs as well, otherwise I got
> the following minor problem on "emerge -puvDN world":
I'm sorry, but that's on purpose. We can't add +gdu on gvfs because gnome guys aren't the only consumers of it. You probably want to look into the portage enhancement to auto-enable USE-deps implicitly (like pkgcore does).
(In reply to comment #9)
> (In reply to comment #8)
> > Perhaps you should add IUSE="+gdu" for gnome-base/gvfs as well, otherwise I got
> > the following minor problem on "emerge -puvDN world":
> I'm sorry, but that's on purpose. We can't add +gdu on gvfs because gnome guys
> aren't the only consumers of it. You probably want to look into the portage
> enhancement to auto-enable USE-deps implicitly (like pkgcore does).
After several times of being frustrated with these USE flag dependencies halting my world updates, the latest being this gnome/gvfs/gdu thing, it is clear to me that a standard package manager feature - automatic dependecy resolution - is crippled in portage. Thus, I am a strong proponent of this implicit USE-dep-auto-enabling enhancement you speak of. In fact, I woudn't consider it an "enhancement"; I would rather call it a missing part of the USE-deps feature that should have been there at its inception. But alas, I suppose hindsight makes things clearer now, eh? =)
Anyway, is there an open bug for it? A quick search didn't find it.
(In reply to comment #10)
> After several times of being frustrated with these USE flag dependencies
> halting my world updates, the latest being this gnome/gvfs/gdu thing, it is
> clear to me that a standard package manager feature - automatic dependecy
> resolution - is crippled in portage. Thus, I am a strong proponent of this
> implicit USE-dep-auto-enabling enhancement you speak of. In fact, I woudn't
> consider it an "enhancement"; I would rather call it a missing part of the
> USE-deps feature that should have been there at its inception. But alas, I
> suppose hindsight makes things clearer now, eh? =)
> Anyway, is there an open bug for it? A quick search didn't find it.
You're looking for bug 256519
Already in upgrade guide:
Meanwhile gvfs is up to 1.6.3, and I find that the gdu USEFLAG with gvfs actually breaks automounting (gnome is now at 2.30.2).
If I compile gvfs with -gdu, then all of my long-missing disks re-appear on my desktop, including hotplugged usb drives and newly inserted cd/dvd media.
At this point (7 Nov 2010) the mandatory gdu USEFLAG is causing me great headaches when updating gnome packages.
This is now an old bug report, but I'm hoping that someone can give me a pointer to another (newer?) bug report dealing with this problem.