Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47110 - gnome-vfs-extras and gnome-vfs-sftp incompatible with gnome-vfs 2.6.0
Summary: gnome-vfs-extras and gnome-vfs-sftp incompatible with gnome-vfs 2.6.0
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-07 08:47 UTC by Alan
Modified: 2004-05-05 07:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan 2004-04-07 08:47:10 UTC
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.
Comment 1 foser (RETIRED) gentoo-dev 2004-04-07 15:38:28 UTC
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).
Comment 2 Alan 2004-04-07 15:51:09 UTC
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.
Comment 3 foser (RETIRED) gentoo-dev 2004-04-07 16:09:35 UTC
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.
Comment 4 Alan 2004-04-07 16:20:19 UTC
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.
Comment 5 David Li 2004-04-10 15:43:25 UTC
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
Comment 6 Yi Quang (RETIRED) gentoo-dev 2004-04-10 15:55:30 UTC
#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".  
Comment 7 David Li 2004-04-10 16:42:51 UTC
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
Comment 8 Alastair Tse (RETIRED) gentoo-dev 2004-04-11 03:16:50 UTC
run fix_libtool_files.sh
Comment 9 foser (RETIRED) gentoo-dev 2004-05-05 07:51:02 UTC
current blocks are sufficient imo