Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3345 - Mozilla 1.0 rc3 r1 compiler error
Summary: Mozilla 1.0 rc3 r1 compiler error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-03 05:56 UTC by Andreas Westin
Modified: 2003-02-04 19:42 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 Andreas Westin 2002-06-03 05:56:26 UTC
Mozilla 1.0rc3-r1 fails compilation like:

fccharset.c: In function `FcFreeTypeCharSet':
fccharset.c:1007: warning: comparison between signed and unsigned
fccharset.c:1046: too few arguments to function `FT_Get_Next_Char'
fccharset.c:1073: too few arguments to function `FT_Get_Next_Char'

gcc 2.95.3

Im guessing its related to freetype, i have 2.0.9 installed.
/Andreas
Comment 1 Todd Heim (RETIRED) gentoo-dev 2002-06-03 11:56:45 UTC
I also have the same problem building mozilla 1.0rc3-r1.

using gcc 2.95.3, and freetype 2.0.9 on PPC.

below is the complete error:

gcc -o fccharset.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -DFC_FALLBA
CK_FONTS=\"/usr/X11R6/lib/X11/fonts/Type1\"  -I../../../../dist/include/freetype
2 -I../../../../dist/include/fontconfig -I../../../../dist/include/expat -I../..
/../../dist/include/fontconfig -I../../../../dist/include -I/var/tmp/portage/moz
illa-1.0_rc3-r1/work/mozilla/dist/include/nspr      -I/usr/X11R6/include   -fPIC
 -I/usr/X11R6/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-lon
g-long -O2 -pipe -mcpu=750 -mmultiple -mstring -pthread -pipe  -DNDEBUG -DTRIMME
D -O3 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2  -I/usr/X11R6/include 
-include ../../../../config-defs.h -DMOZILLA_CLIENT -Wp,-MD,.deps/fccharset.pp f
ccharset.c
fccharset.c: In function `FcFreeTypeCharIndex':
fccharset.c:906: warning: comparison between signed and unsigned
fccharset.c:915: warning: comparison between signed and unsigned
fccharset.c:924: warning: comparison between signed and unsigned
fccharset.c: In function `FcFreeTypeCharSet':
fccharset.c:1007: warning: comparison between signed and unsigned
fccharset.c:1046: too few arguments to function `FT_Get_Next_Char'
fccharset.c:1073: too few arguments to function `FT_Get_Next_Char'
make[4]: *** [fccharset.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/mozilla-1.0_rc3-r1/work/mozilla/oth
er-licenses/Xft/fontconfig/src'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/var/tmp/portage/mozilla-1.0_rc3-r1/work/mozilla/oth
er-licenses/Xft/fontconfig'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/var/tmp/portage/mozilla-1.0_rc3-r1/work/mozilla/oth
er-licenses/Xft'
make[1]: *** [tier_9] Error 2
make[1]: Leaving directory `/var/tmp/portage/mozilla-1.0_rc3-r1/work/mozilla'
make: *** [default] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 87, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/net-www/mozilla/mozilla-1.0_rc3-r1.ebuild .
[root@pdq /home/heim]# 
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-05 14:24:10 UTC
That is probibly because you merged xfree-4.2.0-r11.  Mozilla link against
the freetype distributed with xfree ... this was freetype-2.0.6 until r11 of
xfree.

The fix is rather simple ... just unmask mozilla-1.0_rc3-r2, and merge that.