Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70636 - mozilla-firefox-1.0 compile error (possibly Freetype)
Summary: mozilla-firefox-1.0 compile error (possibly Freetype)
Status: RESOLVED DUPLICATE of bug 59849
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-10 00:32 UTC by Bernd Wurst
Modified: 2005-07-17 13:06 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 Bernd Wurst 2004-11-10 00:32:41 UTC
While trying to install mozilla-firefox-1.0 (the official one), I get the following error:

nsPaperPS.cpp
nsRenderingContextImpl.cpp
gfxImageFrame.cpp
nsFreeType.cpp
In file included from nsFreeType.h:39,
                 from nsFreeType.cpp:48:
../../../dist/include/gfx/nsIFreeType2.h:53: error: `FTC_Image_Cache' was not
   declared in this scope
../../../dist/include/gfx/nsIFreeType2.h:53: error: `aImageCache' was not
   declared in this scope
../../../dist/include/gfx/nsIFreeType2.h:53: error: variable declaration is not
   allowed here
../../../dist/include/gfx/nsIFreeType2.h:92: error: `FTC_Image_Cache' was not
   declared in this scope
../../../dist/include/gfx/nsIFreeType2.h:92: error: parse error before `,'
   token
../../../dist/include/gfx/nsIFreeType2.h:104: error: type specifier omitted for
   parameter `FTC_Image_Cache'
../../../dist/include/gfx/nsIFreeType2.h:104: error: parse error before `*'
   token
In file included from nsFreeType.cpp:48:
nsFreeType.h:107: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.h:107: error: `FTC_Image_Desc' was not declared in this scope


And a bunch of many others I would call subsequent errors. At the end, I get this summary:

In the directory  /var/tmp/portage/mozilla-firefox-1.0/work/mozilla/gfx/src/freetype
The following command failed to execute properly:
g++ -o nsFreeType.o -c -DOSTYPE="Linux2.6" -DOSARCH="Linux" -I../.. -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/gfx -I../../../dist/include -I/var/tmp/portage/mozilla-firefox-1.0/work/mozilla/dist/include/nspr -I/usr/include/freetype2 -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=pentium3 -pipe -Wno-deprecated -fshort-wchar -pthread -pipe -DNDEBUG-DTRIMMED -ffunction-sections -O2 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsFreeType.pp nsFreeType.cpp
gmake[4]: *** [nsFreeType.o] Error 1
gmake[3]: *** [libs] Error 2
gmake[2]: *** [libs] Error 2
gmake[1]: *** [tier_9] Error 2
make: *** [default] Error 2


Additional data you might be interested in:

# emerge -pv mozilla-firefox
[ebuild  N    ] net-www/mozilla-firefox-1.0  -debug -gnome +gtk2 +ipv6 -java -ldap -mozdevelop -moznoxft +mozxmlterm +truetype -xinerama -xprint 0 kB

# emerge -pv freetype
[ebuild   R   ] media-libs/freetype-2.1.9  -bindist -debug -doc +zlib 969 kB

# emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.7 i686)
=================================================================
System uname: 2.6.7 i686 Intel(R) Pentium(R) M processor 1300MHz
Gentoo Base System version 1.6.5
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache apache2 arts avi berkdb bitmap-fonts cdr crypt cups divx4linux dvd dvdr encode f77 fam flac foomaticdb fortran gd gdbm gif gimpprintgtk2 idn imagemagick imlib imlib2 ipv6 jpeg kde libcaca libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls nptl oggvorbis opengl pam pdflib perl png python qt quicktime readline samba scanner sdl slang spell sse ssl svga tcltk tcpd tetex theora tiff truetype wifi wmf x86 xml xml2 xv xvid zlib linguas_de"
Comment 1 Reuben Martin 2004-11-10 22:09:20 UTC
Duplicate of 59849

http://bugs.gentoo.org/show_bug.cgi?id=59849

The patch posted on that bug works for firefox 1.0
Comment 2 Bernd Wurst 2004-11-10 22:55:49 UTC
Thanks, I'll try that, sounds good.

Would be nice if this could *not* be marked as a real duplicate, because one will not find bug #59849 if this one is closed (I suppose).
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2004-11-14 17:37:37 UTC
I don't get it...  why wouldn't people find 59849?

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