Bug 189307 - app-accessibility/dasher-4.{4.6}.{1,2} with -gnome cannot find gnome-vfs.h during compile
|
Bug#:
189307
|
Product: Gentoo Linux
|
Version: 2007.0
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: gnome-accessibility@gentoo.org
|
Reported By: daviebdawg@gmail.com
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: app-accessibility/dasher-4.{4.6}.{1,2} with -gnome cannot find gnome-vfs.h during compile
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-08-18 06:51 0000
|
dasher-4.4.1 and dasher-4.4.2 fail during compile like so:
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DPNG_NO_MMX_CODE
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12
-DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPNG_NO_MMX_CODE
-I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12 -I./../DasherCore
-DPROGDATA=\"/usr/share/dasher\" -I../../intl -I../../intl -O2
-march=athlon-xp -pipe -fomit-frame-pointer -Wall -Wno-non-virtual-dtor -MT
dasher_editor.o -MD -MP -MF ".deps/dasher_editor.Tpo" -c -o dasher_editor.o
dasher_editor.cpp; \
then mv -f ".deps/dasher_editor.Tpo" ".deps/dasher_editor.Po"; else rm
-f ".deps/dasher_editor.Tpo"; exit 1; fi
dasher_editor.cpp:7:36: error: libgnomevfs/gnome-vfs.h: No such file or
directory
gnome-vfs-2.18.1 is installed, but I don't see -I/usr/include/gnome-vfs-2.0 in
the compile command. Note also that the gnome-vfs-2 DEPEND in the ebuild is
entirely conditional on the gnome USE flag. It looks like an upstream problem
with dasher_editor.cpp.
# emerge --info
Portage 2.1.2.11 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r4,
2.6
.21-gentoo-r4 i686)
=================================================================
System uname: 2.6.21-gentoo-r4 i686 AMD Opteron(tm) Processor 142
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 17 Aug 2007 20:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/
http://gentoo.chem.wisc.edu/gentoo/
http://mirror.phy.olemiss.edu/mirror/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa ao apache2 avi bash-completion berkdb bitmap-fonts
cairo cdr cjk cli cracklib crypt cups dbus divx4linux dri dvd dvdr eds emboss
encode fam fbcon firefox flac fortran gcj gd gdbm gif glut gpm gstreamer gtk
gtk2 hal iconv ipv6 isdnlog jack javascript jpeg ldap libcaca mad midi mikmod
mmx mp3 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp
pam pcre pda pdf perl png posix ppds pppd python qt4 quicktime readline
reflection samba sdl session spell spl sse ssl svg svga tcpd tetex theora
truetype truetype-fonts type1-fonts unicode vorbis win32codecs wmf x86 xml xorg
xv xvid zlib" ALSA_CARDS="intel8x0" 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" ELIBC="glibc"
INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja"
USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
The relevant line in dasher_editor.cpp has this comment above it:
/* TODO: r4epair gnome libs flags (or get rid of entirely) */
There is also a problem in dasher_main.cpp. I've reverted those and it seems to
compile fine, so I'll attach the patch. I assume they'll be fixing it upstream
soon enough, but the current ebuilds will be around long enough they should
probably be fixed.
*** Bug 191004 has been marked as a duplicate of this bug. ***
A similar patch to the one suggested here is now included with
dasher-4.4.2.ebuild.
Thanks.
dasher-4.6.1 seems to add another file with this problem.
dasher-4.6.1-gnome.patch replaces dasher-4.4.2-gnome.patch for dasher-4.6.1.
*** Bug 197506 has been marked as a duplicate of this bug. ***
4.6.1 fails to build,
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..
-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/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12
-DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2
-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/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12 -I./../DasherCore
-DPROGDATA=\"/usr/share/dasher\" -I../../intl -I../../intl -O2 -pipe -march=k8
-Wall -Wno-non-virtual-dtor -MT dasher_editor_internal.o -MD -MP -MF
".deps/dasher_editor_internal.Tpo" -c -o dasher_editor_internal.o
dasher_editor_internal.cpp; \
then mv -f ".deps/dasher_editor_internal.Tpo"
".deps/dasher_editor_internal.Po"; else rm -f
".deps/dasher_editor_internal.Tpo"; exit 1; fi
dasher_editor_internal.cpp:7:36: error: libgnomevfs/gnome-vfs.h: No such file
or directory
+ 20 Nov 2007; Samuli Suominen <drac@gentoo.org>
+ +files/dasher-4.6.1-gnome.patch, dasher-4.6.1.ebuild:
+ amd64 stable wrt #199740, apply patch from #189307, thanks to David Barnett.
+