Bug 64440

Summary: Firefox-port won't compile
Product: Ports & Packages Reporter: Johan Pettersson <manlix>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Johan Pettersson 2004-03-19 00:10:12 UTC
c++ -o nsDeviceContextGTK.o -c -DNATIVE_THEME_SUPPORT -DOSTYPE=\"FreeBSD5\" -DOSARCH=\"FreeBSD\" -DUSE_POSTSCRIPT -DUSE_XPRINT -DUSE_MOZILLA_TYPES -I../.. -I./. -I./.. -I./../shared -I./../freetype -I./../x11shared -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include    -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget -I../../../dist/include/view -I../../../dist/include/util -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/locale -I../../../dist/include/necko -I../../../dist/include/content -I../../../dist/include/dom -I../../../dist/include/layout -I../../../dist/include/imglib2 -I../../../dist/include/xprintutil -I../../../dist/include/gfx -I../../../dist/include -I/usr/ports/www/firefox/work/mozilla/dist/include/nspr  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include   -fPIC  -
 I/usr/X11R6/include -I/usr/local/include  -I/usr/X11R6/include  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -O -pipe -march=pentium4 -O2 -fshort-wchar -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O  -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include    -I/usr/X11R6/include -I/usr/local/include  -I/usr/X11R6/include  -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h nsDeviceContextGTK.cpp
In file included from /usr/X11R6/include/X11/Xft/Xft.h:41,
                 from nsDeviceContextGTK.cpp:78:
/usr/local/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/local/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/local/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/local/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h>"
/usr/local/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"
nsDeviceContextGTK.cpp: In function `void 
   xlfd_from_pango_font_description(GtkWidget*, const PangoFontDescription*, 
   nsString&)':
nsDeviceContextGTK.cpp:1095: warning: unused variable `char*tmp'
gmake[4]: *** [nsDeviceContextGTK.o] Error 1
gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla/gfx/src/gtk'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla/gfx/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/gfx'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Stop in /usr/ports/www/firefox.
*** Error code 1

Stop in /usr/ports/www/firefox.

How-To-Repeat: cd /usr/ports/www/firefox/ && make install clean

With freetype 2.1.7 installed.
Comment 1 Clement Laforet freebsd_committer freebsd_triage 2004-03-19 01:01:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer(s).
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2004-03-19 02:09:35 UTC
State Changed
From-To: open->closed

You need to update your Xft port to libXft-2.1.5.  In the future, you should 
always do a portupgrade -ra before updating or installing single ports.