Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31508 - libgnome-2.4 fails to compile due to gnome-vfs-related errors:
Summary: libgnome-2.4 fails to compile due to gnome-vfs-related errors:
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-19 08:15 UTC by Daniel Robbins (RETIRED)
Modified: 2003-10-21 09:38 UTC (History)
0 users

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


Attachments
Fix to libgnome-2.4 ebuild to depend on the right version of gnome-vfs (libgnomefix.diff,373 bytes, patch)
2003-10-19 08:16 UTC, Daniel Robbins (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Robbins (RETIRED) gentoo-dev 2003-10-19 08:15:58 UTC
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.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2003-10-19 08:16:39 UTC
Created attachment 19475 [details, diff]
Fix to libgnome-2.4 ebuild to depend on the right version of gnome-vfs
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2003-10-19 08:20:29 UTC
I've confirmed that this patch fixes the libgnome-2.4 compile.
Comment 3 Ian Leitch (RETIRED) gentoo-dev 2003-10-19 16:59:06 UTC
Was this coming up from 2.2? I merged 2.4 on a fresh install with no problems.
Comment 4 Ian Leitch (RETIRED) gentoo-dev 2003-10-19 17:06:23 UTC
Sorry, ignore me, I just notice you are. 
Comment 5 Mike Gardiner (RETIRED) gentoo-dev 2003-10-19 20:35:43 UTC
confirmed and fixed in libgnome-2.4.0.ebuild, thanks for the report.
Comment 6 Mike Gardiner (RETIRED) gentoo-dev 2003-10-21 09:38:27 UTC
posted upstream to gnome bugzilla, see link http://bugzilla.gnome.org/show_bug.cgi?id=125131