Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6422 - gnome-vfs-2.0.2 fails to compile with gcc-3.1.1-r1
Summary: gnome-vfs-2.0.2 fails to compile with gcc-3.1.1-r1
Status: RESOLVED DUPLICATE of bug 6038
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-13 15:52 UTC by Andrew Sayman
Modified: 2005-07-17 13:06 UTC (History)
2 users (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 Andrew Sayman 2002-08-13 15:52:51 UTC
gnome-vfs-2.0.2 fails to compile with this message:

/bin/sh ../libtool --mode=link gcc  -march=i686 -O2 -pipe  -o libextfs.la -rpath
/usr/lib/gnome-vfs-2.0/modules -export_dynamic -avoid-version extfs-method.lo
../libgnomevfs/libgnomevfs-2.la -lrt 
(cd .libs && rm -f libvfolder-desktop.la && ln -s ../libvfolder-desktop.la
libvfolder-desktop.la)
/bin/sh ../libtool --mode=link gcc  -march=i686 -O2 -pipe  -o libfile.la -rpath
/usr/lib/gnome-vfs-2.0/modules -export_dynamic -avoid-version file-method.lo
fstype.lo -lfam -Wl,--export-dynamic   -lgmodule-2.0 -ldl -lgthread-2.0
-lpthread -lglib-2.0   ../libgnomevfs/libgnomevfs-2.la -lrt 
grep: /usr/lib/libstdc++.la: No such file or directory
sed: can't read /usr/lib/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/libstdc++.la' is not a valid libtool archive
make[3]: *** [libfile.la] Error 1
make[3]: *** Waiting for unfinished jobs....
rm -fr .libs/libextfs.la .libs/libextfs.* .libs/libextfs.*
gcc -shared  extfs-method.lo  -Wl,--rpath
-Wl,/var/tmp/portage/gnome-vfs-2.0.2/work/gnome-vfs-2.0.2/libgnomevfs/.libs 
-L/usr/lib ../libgnomevfs/.libs/libgnomevfs-2.so -lrt   -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.0.2/work/gnome-vfs-2.0.2/modules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gnome-vfs-2.0.2/work/gnome-vfs-2.0.2/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-vfs-2.0.2/work/gnome-vfs-2.0.2'
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function gnome2_src_compile, Line -6186, Exitcode 2
!!! compile failure

!!! emerge aborting on  /usr/portage/gnome-base/gnome-vfs/gnome-vfs-2.0.2.ebuild .
Comment 1 Jacob Perkins 2002-08-13 18:36:35 UTC
See bug 6038. The issue your having below, and that I just had, is that
gnome-vfs is looking for libstdc++.la in /usr/lib when the file is in
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1. You can do a quick fix by doing a
symlink to in /usr/lib.
Comment 2 Andrew Sayman 2002-08-13 22:33:30 UTC
That seems to fix it. Should the gcc ebuild make this link? or is it a problem
with the way gnome-vfs builds?
Comment 3 Jacob Perkins 2002-08-13 22:53:52 UTC
it's a gcc problem that lostlogic should be able to fix, but I understand that
he's on vacation, so it might be a little while, and I don't know much beyond that.
Comment 4 Spider (RETIRED) gentoo-dev 2002-09-26 14:01:46 UTC

*** This bug has been marked as a duplicate of 6038 ***