The packages gnome-vfs-extras and gnome-vfs-sftp are depricated with the gnome 2.6 release of gnome-vfs 2.6.0, but the ebuilds still allow them to be built and installed, potentially messing some things up. These two packages should have conditions put in them to not allow them to be installed if gnome-vfs 2.6 and/or nautilus 2.6 is installed already. Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS=~x86 emerge gnome-vfs-sftp 2. 3.
well, if you had checked the gnome-vfs ebuild you wouldve noticed there are conditional blocks for both packages. Either portage is stupid (possible) or something weird is happening. I can't reproduce it btw (works ok here).
phoenix alan # ACCEPT_KEYWORDS=~x86 emerge -s gnome-vfs$ Searching... [ Results for search key : gnome-vfs$ ] [ Applications found : 1 ] * gnome-base/gnome-vfs Latest version available: 2.6.0 Latest version installed: 2.6.0 Size of downloaded files: 1,397 kB Homepage: http://www.gnome.org/ Description: Gnome Virtual Filesystem License: GPL-2 LGPL-2 phoenix alan # ACCEPT_KEYWORDS=~x86 emerge -p gnome-vfs-sftp gnome-vfs-extras These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] gnome-extra/gnome-vfs-sftp-0.1.2 [ebuild N ] gnome-extra/gnome-vfs-extras-0.99.11 phoenix alan # This shouldn't be allowed shouldn't they be blocked by the fact that gnome-vfs 2.6 is already installed.
not necessarily, you can build vfs-2.6 without samba or sftp support. It's an unlikly scenario afaic and i don't intend to put extra hacks in for that. The reported problem is different from what you are saying comment #2 and imo more interesting if it is reproducable.
In my second comment I was just showing that gnome-vfs-sftp and gnome-vfs-extras can still be installed if gnome-vfs-2.6.0 is installed, which according to the response on the gnome-desktop-devel list, shouldn't be allowed, as they are included in gnome-vfs-2.6.0 now. Which is what I thought I reported as the original problem :) What/how would you like me to reproduce this? The results I get on my system are as I posted them in my comment 2.
I have a very similar issue: root@localhost linux # emerge -pu world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] gnome-base/gnome-vfs-2.6.0 [2.4.1] [ebuild U ] gnome-base/libgnome-2.6.0 [2.4.0] ..... [ebuild U ] gnome-base/gnome-2.6 [2.4.1_p1] while at the same time: root@localhost linux # emerge -p gnome These are the packages that I would merge, in order: Calculating dependencies ...done! [blocks B ] gnome-extra/gnome-vfs-extras (from pkg gnome-base/gnome-vfs-2.6.0) [blocks B ] x11-themes/gtk-engines-thinice (from pkg x11-themes/gnome-themes-2.6.0) [blocks B ] gnome-extra/acme (from pkg gnome-base/control-center-2.6.0.3) ... [ebuild U ] gnome-base/gnome-2.6 [2.4.1_p1] So what ends up happening is after I try emerge -u world, /bin/sh ../libtool --mode=link gcc -O3 -mcpu=pentium4 -march=pentium4 -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -fprefetch-loop-arrays -mfpmath=sse -msse2 -mmmx -pipe -o libfile.la -rpath /usr/lib/gnome-vfs-2.0/modules -export_dynamic -avoid-version -module -no-undefined file-method.lo fstype.lo -lfam -Wl,--export-dynamic -pthread -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 ../libgnomevfs/libgnomevfs-2.la -lrt grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.la: No such file or directory /bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.la: No such file or directory libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.la' is not a valid libtool archive make[3]: *** [libfile.la] Error 1 make[3]: *** Waiting for unfinished jobs.... (cd .libs && rm -f libextfs.la && ln -s ../libextfs.la libextfs.la) make[3]: Leaving directory `/var/tmp/portage/gnome-vfs-2.6.0/work/gnome-vfs-2.6.0/modules' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-vfs-2.6.0/work/gnome-vfs-2.6.0/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-vfs-2.6.0/work/gnome-vfs-2.6.0' make: *** [all] Error 2 !!! ERROR: gnome-base/gnome-vfs-2.6.0 failed. !!! Function gnome2_src_compile, Line 39, Exitcode 2 !!! compile failure And it's always reproducable
#5, First, isn't portage acting correctly, by showing those 2 packages as being blocked? Second, you might want to lower your CFLAGS "just a tad".
Ok, this day is turning out worse :(. I emerge -C the 3 blocked packages and lowed my CFLAGS to "-O2 -pipe" and it still won't messes up at the same point. I should probably submit a new bug for this. /bin/sh ../libtool --mode=link gcc -O2 -pipe -o libfile.la -rpath /usr/lib/gnome-vfs-2.0/modules -export_dynamic -avoid-version -module -no-undefined file-method.lo fstype.lo -lfam -Wl,--export-dynamic -pthread -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 ../libgnomevfs/libgnomevfs-2.la -lrt libtool: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../..//libgconf-2.la' seems to be moved grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.la: No such file or directory /bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.la: No such file or directory libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.la' is not a valid libtool archive make[3]: *** [libfile.la] Error 1 make[3]: *** Waiting for unfinished jobs.... gcc -shared .libs/extfs-method.o -Wl,--rpath -Wl,/var/tmp/portage/gnome-vfs-2.6.0/work/gnome-vfs-2.6.0/libgnomevfs/.libs -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../ -L/usr/lib /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so /usr/lib/libglib-2.0.so ../libgnomevfs/.libs/libgnomevfs-2.so -lrt -Wl,--export-dynamic -Wl,-soname -Wl,libextfs.so -o .libs/libextfs.so ar cru .libs/libextfs.a extfs-method.o ranlib .libs/libextfs.a creating libextfs.la (cd .libs && rm -f libextfs.la && ln -s ../libextfs.la libextfs.la) make[3]: Leaving directory `/var/tmp/portage/gnome-vfs-2.6.0/work/gnome-vfs-2.6.0/modules' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-vfs-2.6.0/work/gnome-vfs-2.6.0/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-vfs-2.6.0/work/gnome-vfs-2.6.0' make: *** [all] Error 2 !!! ERROR: gnome-base/gnome-vfs-2.6.0 failed. !!! Function gnome2_src_compile, Line 39, Exitcode 2 !!! compile failure
run fix_libtool_files.sh
current blocks are sufficient imo