Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
In file included from /usr/lib/mozilla/include/./libart_lgpl/art_misc.h:35, from /usr/lib/mozilla/include/./libart_lgpl/art_bpath.h:28, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-font-face.h:43, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-font.h:74, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-print.h:59, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-print-job.h:40, from /usr/include/libgnomeprintui-2.2/libgnomeprintui/gnome-print-dialog.h:48, from yelp-print.h:29, from yelp-html.h:31, from yelp-window.c:47: /usr/lib/mozilla/include/./libart_lgpl/art_config.h:3:21: error: prtypes.h: No such file or directory In file included from /usr/lib/mozilla/include/./libart_lgpl/art_misc.h:35, from /usr/lib/mozilla/include/./libart_lgpl/art_bpath.h:28, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-font-face.h:43, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-font.h:74, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-print.h:59, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-print-job.h:40, from /usr/include/libgnomeprintui-2.2/libgnomeprintui/gnome-print-dialog.h:48, from yelp-print.h:29, from yelp-html.h:31, from yelp-window.c:47: /usr/lib/mozilla/include/./libart_lgpl/art_config.h:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'art_u8' /usr/lib/mozilla/include/./libart_lgpl/art_config.h:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'art_u16' /usr/lib/mozilla/include/./libart_lgpl/art_config.h:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'art_u32' make[3]: *** [yelp-yelp-window.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /usr/lib/mozilla/include/./libart_lgpl/art_misc.h:35, from /usr/lib/mozilla/include/./libart_lgpl/art_bpath.h:28, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-font-face.h:43, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-font.h:74, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-print.h:59, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-print-job.h:40, from /usr/include/libgnomeprintui-2.2/libgnomeprintui/gnome-print-dialog.h:48, from yelp-print.h:29, from yelp-print.c:30: /usr/lib/mozilla/include/./libart_lgpl/art_config.h:3:21: error: prtypes.h: No such file or directory In file included from /usr/lib/mozilla/include/./libart_lgpl/art_misc.h:35, from /usr/lib/mozilla/include/./libart_lgpl/art_bpath.h:28, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-font-face.h:43, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-font.h:74, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-print.h:59, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-print-job.h:40, from /usr/include/libgnomeprintui-2.2/libgnomeprintui/gnome-print-dialog.h:48, from yelp-print.h:29, from yelp-print.c:30: /usr/lib/mozilla/include/./libart_lgpl/art_config.h:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'art_u8' /usr/lib/mozilla/include/./libart_lgpl/art_config.h:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'art_u16' /usr/lib/mozilla/include/./libart_lgpl/art_config.h:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'art_u32' make[3]: *** [yelp-yelp-print.o] Error 1 In file included from /usr/lib/mozilla/include/./libart_lgpl/art_misc.h:35, from /usr/lib/mozilla/include/./libart_lgpl/art_bpath.h:28, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-font-face.h:43, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-font.h:74, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-print.h:59, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-print-job.h:40, from /usr/include/libgnomeprintui-2.2/libgnomeprintui/gnome-print-dialog.h:48, from yelp-print.h:29, from yelp-html.h:31, from yelp-main.c:45: /usr/lib/mozilla/include/./libart_lgpl/art_config.h:3:21: error: prtypes.h: No such file or directory In file included from /usr/lib/mozilla/include/./libart_lgpl/art_misc.h:35, from /usr/lib/mozilla/include/./libart_lgpl/art_bpath.h:28, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-font-face.h:43, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-font.h:74, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-print.h:59, from /usr/include/libgnomeprint-2.2/libgnomeprint/gnome-print-job.h:40, from /usr/include/libgnomeprintui-2.2/libgnomeprintui/gnome-print-dialog.h:48, from yelp-print.h:29, from yelp-html.h:31, from yelp-main.c:45: /usr/lib/mozilla/include/./libart_lgpl/art_config.h:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'art_u8' /usr/lib/mozilla/include/./libart_lgpl/art_config.h:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'art_u16' /usr/lib/mozilla/include/./libart_lgpl/art_config.h:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'art_u32' yelp-main.c: In function 'slowly_and_stupidly_obtain_timestamp': yelp-main.c:353: warning: pointer targets in passing argument 7 of 'XChangeProperty' differ in signedness make[3]: *** [yelp-yelp-main.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/yelp-2.14.0/work/yelp-2.14.0/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/yelp-2.14.0/work/yelp-2.14.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/yelp-2.14.0/work/yelp-2.14.0' make: *** [all] Error 2 !!! ERROR: gnome-extra/yelp-2.14.0 failed. Call stack: ebuild.sh, line 1565: Called dyn_compile ebuild.sh, line 974: Called src_compile ebuild.sh, line 1280: Called gnome2_src_compile ----------------------------------------------------------------- Portage 2.1_pre6-r4 (default-linux/x86/2005.1, gcc-4.1.0, glibc-2.4-r1, 2.6.15-gentoo-r7 i686) ================================================================= System uname: 2.6.15-gentoo-r7 i686 Intel(R) Celeron(R) CPU 2.60GHz Gentoo Base System version 1.12.0_pre16 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="-k" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="it_IT@euro.ISO-8859-1" LC_ALL="it_IT@euro" LDFLAGS="-Wl,-z,now" LINGUAS="it" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/xgl-coffee" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac alsa apm avi bash-completion berkdb bitmap-fonts cairo cdparanoia crypt cups curl custom-cflags dga directfb dri dvb dvd dvdr eds emboss encode fbcon ffmpeg flac foomaticdb fortran gdbm gif glitz gpm gstreamer gtk gtk2 i8x0 imlib infopipe java javascript jce jpeg libg++ libsamplerate libwww live logitech-mouse lzo mad matroska mikmod mmx motif mozdevelop moznocompose moznoirc moznomail mozsvg mp3 mpeg musepack musicbrainz mythtv ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openssh oss pam pdflib perl png pop python quicktime readline real rtc sdl sndfile speex spell sse sse2 ssl tcpd tga theora timidity truetype truetype-fonts type1-fonts usb vcd vorbis win32codecs xinerama xml2 xmms xprint xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux linguas_it userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET
The problem is that the art_config.h file from mozilla requires several other headers (starting with prtypes.h) that don't exist in the libart directory. The art_config.h from media-libs/libart_lgpl doesn't require these headers, so it should use the headers from /usr/lib/libart-2.0, not /usr/lib/mozilla/include.
(In reply to comment #1) > The problem is that the art_config.h file from mozilla requires several other > headers (starting with prtypes.h) that don't exist in the libart directory. > The art_config.h from media-libs/libart_lgpl doesn't require these headers, so > it should use the headers from /usr/lib/libart-2.0, not > /usr/lib/mozilla/include. > What can i do ?
rm -r /usr/lib/mozilla/include/libart_lgpl/ Now it works
*** Bug 126894 has been marked as a duplicate of this bug. ***
thanks, in cvs. See ChangeLog for more details about why this happens. for those who can't wait for the updated ebuild / patch: http://dev.gentoo.org/~allanonjl/ebuilds/yelp-2.14.0-mozilla-include-fix.patch http://dev.gentoo.org/~allanonjl/ebuilds/yelp-2.14.0.ebuild