Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215419 - gksu-2.0.0 fails to compile with gnome-vfs-2.22.0
Summary: gksu-2.0.0 fails to compile with gnome-vfs-2.22.0
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: 2008-03-30 09:20 UTC by Francisco J. Vazquez
Modified: 2008-03-31 19:35 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 Francisco J. Vazquez 2008-03-30 09:20:16 UTC
When I try to emerge gksu I get this:


------------------------------
Making all in nautilus-gksu
make[2]: Entering directory `/var/tmp/portage/x11-libs/gksu-2.0.0/work/gksu-2.0.0/nautilus-gksu'
if /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DORBIT2=1 -pthread -I/usr/include/libgksu -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/startup-notification-1.0 -I/usr/include/gnome-keyring-1 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/nautilus -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1   -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share\" -DPREFIX=\"/usr\"  -g -O2 -Wall -march=nocona -O2 -pipe -MT libnautilus-gksu.lo -MD -MP -MF ".deps/libnautilus-gksu.Tpo" -c -o libnautilus-gksu.lo libnautilus-gksu.c; \
   then mv -f ".deps/libnautilus-gksu.Tpo" ".deps/libnautilus-gksu.Plo"; else rm -f ".deps/libnautilus-gksu.Tpo"; exit 1; fi
mkdir .libs
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DORBIT2=1 -pthread -I/usr/include/libgksu -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/startup-notification-1.0 -I/usr/include/gnome-keyring-1 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/nautilus -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share\" -DPREFIX=\"/usr\" -g -O2 -Wall -march=nocona -O2 -pipe -MT libnautilus-gksu.lo -MD -MP -MF .deps/libnautilus-gksu.Tpo -c libnautilus-gksu.c  -fPIC -DPIC -o .libs/libnautilus-gksu.o
libnautilus-gksu.c:10:49: error: libgnomevfs/gnome-vfs-mime-handlers.h: No such file or directory
libnautilus-gksu.c:11:41: error: libgnomevfs/gnome-vfs-utils.h: No such file or directory
libnautilus-gksu.c: In function 'gksu_context_menu_activate':
libnautilus-gksu.c:182: error: 'GnomeVFSMimeApplication' undeclared (first use in this function)
libnautilus-gksu.c:182: error: (Each undeclared identifier is reported only once
libnautilus-gksu.c:182: error: for each function it appears in.)
libnautilus-gksu.c:182: error: 'vfsapp' undeclared (first use in this function)
libnautilus-gksu.c:196: error: 'GnomeVFSResult' undeclared (first use in this function)
libnautilus-gksu.c:196: error: expected ';' before 'result'
libnautilus-gksu.c:203: error: 'result' undeclared (first use in this function)
libnautilus-gksu.c:203: warning: implicit declaration of function 'gnome_vfs_read_entire_file'
libnautilus-gksu.c:204: error: 'GNOME_VFS_OK' undeclared (first use in this function)
libnautilus-gksu.c:215: warning: implicit declaration of function 'gnome_vfs_mime_get_default_application_for_uri'
libnautilus-gksu.c:218: warning: implicit declaration of function 'gnome_vfs_mime_application_get_exec'
libnautilus-gksu.c:218: warning: passing argument 1 of 'g_strdup' makes pointer from integer without a cast
libnautilus-gksu.c:219: warning: implicit declaration of function 'gnome_vfs_mime_application_free'
make[2]: *** [libnautilus-gksu.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/gksu-2.0.0/work/gksu-2.0.0/nautilus-gksu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/gksu-2.0.0/work/gksu-2.0.0'
make: *** [all] Error 2
---------------------


gksu is looking for libgnomevfs/gnome-vfs-mime-handlers.h and libgnomevfs/gnome-vfs-utils.h in /usr/include, but the actual location is /usr/include/gnome-vfs-2.0. I've succesfully emerged the package by making a symbolic link to gnome-vfs-2.0/libgnomevfs in /usr/include as a temporal solution.

Reproducible: Always




Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.7-r2, 2.6.24.3 x86_64)
=================================================================
System uname: 2.6.24.3 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Timestamp of tree: Sun, 30 Mar 2008 09:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/mozilla /usr/portage/local/layman/gnome /usr/portage/local/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bzip2 cairo cli cracklib crypt curl dbus dri dvdr encode fbcon ffmpeg flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog joystick jpeg lirc mad maildir midi mmx mp3 mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python rar readline reflection session spl srt sse sse2 ssl subversion svg tcpd tiff unicode v4l v4l2 vorbis x264 xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="i810 vesa fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pacho Ramos gentoo-dev 2008-03-30 19:05:48 UTC
Same problem in https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/194468/
Comment 2 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-03-31 19:35:06 UTC
Fixed.