Bug 31508 - libgnome-2.4 fails to compile due to gnome-vfs-related errors:
|
Bug#:
31508
|
Product: Gentoo Linux
|
Version: 1.4
|
Platform: AMD64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: gnome@gentoo.org
|
Reported By: drobbins@gentoo.org
|
|
Component: GNOME
|
|
|
URL:
|
|
Summary: libgnome-2.4 fails to compile due to gnome-vfs-related errors:
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2003-10-19 08:15 0000
|
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -Wall -Wmissing-prototypes
-pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -DG_DISABLE_DEPRECATED
-DLIBGNOME_PREFIX=\"/usr\" -DLIBGNOME_LIBDIR=\"/usr/lib\"
-DLIBGNOME_DATADIR=\"/usr/share\" -DLIBGNOME_BINDIR=\"/usr/bin\"
-DLIBGNOME_LOCALSTATEDIR=\"/var/lib\"
-DLIBGNOME_LOCALEDIR=\"/usr/share/locale\" -DLIBGNOME_SYSCONFDIR=\"/etc\"
-DVERSION=\"2.4.0\" -DGNOMEVFSVERSION=\"2.2.4\" -DG_LOG_DOMAIN=\"Gnome\" -O2 -c
gnome-util.c -fPIC -DPIC -o .libs/gnome-util.o
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -Wall -Wmissing-prototypes
-pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -DG_DISABLE_DEPRECATED
-DLIBGNOME_PREFIX=\"/usr\" -DLIBGNOME_LIBDIR=\"/usr/lib\"
-DLIBGNOME_DATADIR=\"/usr/share\" -DLIBGNOME_BINDIR=\"/usr/bin\"
-DLIBGNOME_LOCALSTATEDIR=\"/var/lib\"
-DLIBGNOME_LOCALEDIR=\"/usr/share/locale\" -DLIBGNOME_SYSCONFDIR=\"/etc\"
-DVERSION=\"2.4.0\" -DGNOMEVFSVERSION=\"2.2.4\" -DG_LOG_DOMAIN=\"Gnome\" -O2 -c
gnome-util.c -o gnome-util.o >/dev/null 2>&1
gnome-url.c: In function `gnome_url_show_with_env':
gnome-url.c:70: warning: implicit declaration of function
`gnome_vfs_url_show_with_env'
gnome-url.c:91: error: `GNOME_VFS_ERROR_PARSE' undeclared (first use in this
function)
gnome-url.c:91: error: (Each undeclared identifier is reported only once
gnome-url.c:91: error: for each function it appears in.)
gnome-url.c:99: error: `GNOME_VFS_ERROR_LAUNCH' undeclared (first use in this
function)
gnome-url.c:107: error: `GNOME_VFS_ERROR_NO_DEFAULT' undeclared (first use in
this function)
make[2]: *** [gnome-url.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/libgnome-2.4.0/work/libgnome-2.4.0/libgnome'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/libgnome-2.4.0/work/libgnome-2.4.0'
make: *** [all-recursive-am] Error 2
!!! ERROR: gnome-base/libgnome-2.4.0 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure
amd64 root # emerge -s gnome-vfs
Searching...
[ Results for search key : gnome-vfs ]
[ Applications found : 3 ]
* gnome-base/gnome-vfs
Latest version available: 2.4.0
Latest version installed: 2.2.4
Size of downloaded files: 1,066 kB
Homepage: http://www.gnome.org/
Description: Gnome Virtual Filesystem
amd64 root # cd /usr/include/
amd64 include # grep -r GNOME_VFS_ERROR_PARSE *
amd64 include #
It looks like the gnome-vfs dep for libgnome needs to be updated to depend on
gnome-vfs 2.4.0 specifically. Attached proposed fix.
Although there are GNOME_VFS things in /usr/include, just not the stuff that
libgnome is looking for.
I've confirmed that this patch fixes the libgnome-2.4 compile.
Was this coming up from 2.2? I merged 2.4 on a fresh install with no problems.
Sorry, ignore me, I just notice you are.
confirmed and fixed in libgnome-2.4.0.ebuild, thanks for the report.