Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246982 - www-client/mozilla-firefox-3.0.4 and xulrunner-1.9.0.4 does not compile
Summary: www-client/mozilla-firefox-3.0.4 and xulrunner-1.9.0.4 does not compile
Status: RESOLVED DUPLICATE of bug 238665
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-15 20:19 UTC by Jouni Rinne
Modified: 2008-11-17 04:03 UTC (History)
0 users

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 Jouni Rinne 2008-11-15 20:19:54 UTC
I'm getting exactly the same error when trying to compile either mozilla-firefox-3.0.4 or xulrunner-1.9.0.4:

gfxASurface.cpp
x86_64-pc-linux-gnu-g++ -o gfxASurface.o -c -I../../../dist/include/system_wrappers -include ../../../config/gcc_hidden.h -DIMPL_THEBES -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DGENTOO_LIB_DIR=\"/usr/lib64\"  -I. -I. -I../../../dist/include/cairo -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/xpcom -I../../../dist/include/unicharutil -I../../../dist/include   -I../../../dist/include/thebes -I/usr/include/nspr     -I../../../dist/sdk/include    -fPIC  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -fno-rtti -fno-handle-exceptions -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -march=nocona -pipe -fPIC -Wno-return-type -w -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions  -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -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/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-unix-print-2.0   -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/gfxASurface.pp gfxASurface.cpp
In file included from /usr/include/X11/extensions/Xrender.h:29,
                 from ../../../dist/include/system_wrappers/X11/extensions/Xrender.h:4,
                 from ../../../dist/include/thebes/gfxXlibSurface.h:45,
                 from gfxASurface.cpp:51:
/usr/include/X11/extensions/render.h:29: error: ‘XID’ does not name a type
/usr/include/X11/extensions/render.h:30: error: ‘XID’ does not name a type
/usr/include/X11/extensions/render.h:31: error: ‘XID’ does not name a type
/usr/include/X11/extensions/render.h:32: error: ‘XID’ does not name a type
In file included from ../../../dist/include/system_wrappers/X11/extensions/Xrender.h:4,
                 from ../../../dist/include/thebes/gfxXlibSurface.h:45,
                 from gfxASurface.cpp:51:
/usr/include/X11/extensions/Xrender.h:47: error: ‘PictFormat’ does not name a type
/usr/include/X11/extensions/Xrender.h:69: error: ‘Picture’ does not name a type
/usr/include/X11/extensions/Xrender.h:100: error: ‘GlyphSet’ does not name a type
/usr/include/X11/extensions/Xrender.h:108: error: ‘GlyphSet’ does not name a type
/usr/include/X11/extensions/Xrender.h:116: error: ‘GlyphSet’ does not name a type
/usr/include/X11/extensions/Xrender.h:240: error: ‘Picture’ does not name a type
/usr/include/X11/extensions/Xrender.h:249: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:255: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:263: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:268: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:273: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:278: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:279: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:280: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:290: error: ‘GlyphSet’ does not name a type
/usr/include/X11/extensions/Xrender.h:293: error: ‘GlyphSet’ does not name a type
/usr/include/X11/extensions/Xrender.h:297: error: ‘GlyphSet’ has not been declared
/usr/include/X11/extensions/Xrender.h:301: error: ‘GlyphSet’ has not been declared
/usr/include/X11/extensions/Xrender.h:302: error: expected ‘,’ or ‘...’ before ‘*’ token
/usr/include/X11/extensions/Xrender.h:310: error: ‘GlyphSet’ has not been declared
/usr/include/X11/extensions/Xrender.h:311: error: expected ‘,’ or ‘...’ before ‘*’ token
/usr/include/X11/extensions/Xrender.h:317: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:318: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:320: error: ‘GlyphSet’ has not been declared
/usr/include/X11/extensions/Xrender.h:331: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:332: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:334: error: ‘GlyphSet’ has not been declared
/usr/include/X11/extensions/Xrender.h:345: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:346: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:348: error: ‘GlyphSet’ has not been declared
/usr/include/X11/extensions/Xrender.h:359: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:360: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:372: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:373: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:385: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:386: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:398: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:408: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:416: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:417: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:427: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:428: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:438: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:439: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:449: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:450: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:460: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:461: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:477: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:486: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:499: error: ‘Picture’ has not been declared
/usr/include/X11/extensions/Xrender.h:505: error: ‘Picture’ does not name a type
/usr/include/X11/extensions/Xrender.h:508: error: ‘Picture’ does not name a type
/usr/include/X11/extensions/Xrender.h:514: error: ‘Picture’ does not name a type
/usr/include/X11/extensions/Xrender.h:520: error: ‘Picture’ does not name a type
gmake[5]: *** [gfxASurface.o] Virhe 1
gmake[5]: Poistutaan hakemistosta "/var/tmp/portage/www-client/mozilla-firefox-3.0.4/work/mozilla/gfx/thebes/src"
gmake[4]: *** [libs] Virhe 2
gmake[4]: Poistutaan hakemistosta "/var/tmp/portage/www-client/mozilla-firefox-3.0.4/work/mozilla/gfx/thebes"
gmake[3]: *** [libs] Virhe 2
gmake[3]: Poistutaan hakemistosta "/var/tmp/portage/www-client/mozilla-firefox-3.0.4/work/mozilla/gfx"
gmake[2]: *** [libs_tier_gecko] Virhe 2
gmake[2]: Poistutaan hakemistosta "/var/tmp/portage/www-client/mozilla-firefox-3.0.4/work/mozilla"
gmake[1]: *** [tier_gecko] Virhe 2
gmake[1]: Poistutaan hakemistosta "/var/tmp/portage/www-client/mozilla-firefox-3.0.4/work/mozilla"
make: *** [default] Virhe 2

It doesn't seem to like my libXrender, which is version 0.9.2 (I'm stuck with xorg-server-1.3 and its dependencies because of the stupid Ati binary drivers)
Comment 1 Jory A. Pratt gentoo-dev 2008-11-16 14:50:58 UTC
Post your emerge --info if you want help
Comment 2 Jouni Rinne 2008-11-16 18:05:22 UTC
Sorry...

Portage 2.2_rc14 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.7-r2, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8500_@_3.16GHz-with-glibc2.2.5
Timestamp of tree: Sun, 16 Nov 2008 17:16:01 +0000
distcc 3.0 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
LANG="fi_FI.utf8"
LC_ALL="fi_FI.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="fi"
MAKEOPTS="-j3"
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/local/portage/layman/pd-overlay /usr/local/portage/layman/cwiid /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 berkdb bluetooth bzip2 cairo cdinstall cli crypt cups curl dbus dirac dri dv dvd dvdread encode exif ffmpeg flac fortran gdbm gif git gnome gpm gtk2 hal iconv id3tag ieee1394 imagemagick ipv6 isdnlog jack joystick jpeg kde ladspa lash lcms libnotify lzo mad matroska midi mikmod mjpeg mmap mmx motif mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg openexr opengl openmp pam pcre pdf perl png pppd python qt3 qt4 quicktime readline reflection ruby scanner sdl session smp sndfile spl sqlite sqlite3 sse sse2 ssl svg sysfs tcpd theora tiff truetype unicode usb v4l v4l2 vorbis x264 xcb xine xinerama xml xorg xulrunner xv xvmc zlib" ALSA_CARDS="seq-dummy dummy virmidi mtpav mts64 serial-u16550 mpu401 loopback     portman2x4 ad1889 als300 als4000 ali5451 atiixp atiixp-modem au8810 au8820     au8830 azt3328 bt87x ca0106 cmipci cs4281 cs46xx cs5535audio darla20 gina20     layla20 darla24 gina24 layla24 mona mia echo3g indigo indigoio indigodj     emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel hdsp hdspm     ice1712 ice1724 intel8x0 intel8x0m korg1212 maestro3 mixart nm256 pcxhr     riptide rme32 rme96 rme9652 sonicvibes trident via82xx via82xx-modem vx222     ymfpci pdplus asihpi usb-audio usb-usx2y vxpocket pdaudiocf soc     aica emi26 emu1212 emu1616 emu1820" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi" USERLAND="GNU" VIDEO_CARDS="vesa fglrx radeon radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Jouni Rinne 2008-11-16 19:51:46 UTC
Okay, I should have done some more research before committing bug report... (I searched only for Firefox bugs)

I found two possible solutions for this problem:
1) The patch for /usr/include/X11/extensions/render.h (provided by x11-proto/renderproto-0.9.3) proposed in bug #238665 works.
2) Downgrading renderproto from 0.9.3 to 0.9.2 to correspond my libXrender-0.9.2 also works.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-11-17 04:03:21 UTC
Yeah, seems to be a dupe. Let's mark it as such...

*** This bug has been marked as a duplicate of bug 238665 ***