| Summary: | gecko-sdk package will not compile with freetype >= 2.1.8 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | scott <scottfk> |
| Component: | [OLD] Library | Assignee: | Mozilla Gentoo Team <mozilla> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | acid.punk, codergeek42, kenyon, markg, weeve, xmit |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | a rename of the excellent patch made by agriffis to suit gecko-sdk | ||
|
Description
scott
2004-12-03 12:52:03 UTC
Created attachment 45219 [details, diff]
a rename of the excellent patch made by agriffis to suit gecko-sdk
This should be placed in ${FILESDIR}
In the ebuild, the following line should be placed below "epatch
${FILESDIR}/mozilla-1.3-fix-RAW-target.patch":
patch ${FILESDIR}/gecko-sdk-1.7.3-4ft2.patch
Should that be
patch ${FILESDIR}/gecko-sdk-1.7.3-4ft2.patch
or
epatch ${FILESDIR}/gecko-sdk-1.7.3-4ft2.patch
I used epatch, and that fix works fine here.
The epatch posted in Comment 1 worked fine for me too. ~x86, freetype 2.1.9-r1 patch works for me. on ~x86 works here ~x86 freetype-2.1.9-r1 I confirm the patch worked for me as well - I tested it on gecko-sdk-1.7.3. The patch provided worked for me as well. patch worked for me as well, freetype-2.1.9-r1 Works also for me: ~amd64 net-libs/gecko-sdk-1.7.3 media-libs/freetype-2.1.9-r1 Yet another Works For Me. Can we get this commited? dice@entropy ~ $ qpkg -I -v media-libs/freetype media-libs/freetype-2.1.9-r1 * dice@entropy ~ $ emerge info Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.11-rc2-mm1-dice3 i686) ================================================================= System uname: 2.6.11-rc2-mm1-dice3 i686 AMD Athlon(tm) MP Processor 1800+ Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 28 2005, 00:48:01)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-Os -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.binarycompass.org http://ftp-mirror.internap.com/pub/gentoo/ http://gentoo.ccccom.com ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/" LC_ALL="en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/mine" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X aalib acpi alsa apache2 apm avi berkdb bitmap-fonts cdr composite crypt dba dvd dvdr encode ethereal evo f77 fam fbcon font-server foomaticdb fortran freetype gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jpeg libg++ libwww mad mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls nptl nvidia obscene oggvorbis opengl oss pam pdflib perl pic png python quicktime readline samba sdl spell ssl svg svga tcpd threads tiff truetype truetype-fonts type1-fonts videos xft xml2 xmms xv xvmc zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS This does NOT work for me.
phoney files # qpkg -I -v media-libs/freetype
media-libs/freetype-2.1.9-r1 *
FEATURES="" emerge gecko-sdk
gives me:
nsDrawingSurfaceGTK.cpp
c++ -o nsDrawingSurfaceGTK.o -c -DNATIVE_THEME_SUPPORT -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DUSE_POSTSCRIPT -I../.. -I./. -I./.. -I./../shared -I./../freetype -I./../x11shared -I/usr/X11R6/include -I/usr/include/freetype2 -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/gfx -I../../../dist/include -I/var/tmp/portage/gecko-sdk-1.7.3/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=pentium4 -pipe -Wno-deprecated -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsDrawingSurfaceGTK.pp nsDrawingSurfaceGTK.cpp
In file included from /usr/X11R6/include/X11/Xft/Xft.h:35,
from nsDeviceContextGTK.cpp:78:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H"
gmake[4]: *** [nsDeviceContextGTK.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
In file included from /usr/X11R6/include/X11/Xft/Xft.h:35,
from nsDrawingSurfaceGTK.cpp:53:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H"
gmake[4]: *** [nsDrawingSurfaceGTK.o] Error 1
gmake[4]: Leaving directory `/var/tmp/portage/gecko-sdk-1.7.3/work/mozilla/gfx/src/gtk'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/gecko-sdk-1.7.3/work/mozilla/gfx/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/gecko-sdk-1.7.3/work/mozilla/gfx'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/gecko-sdk-1.7.3/work/mozilla'
make: *** [default] Error 2
!!! ERROR: net-libs/gecko-sdk-1.7.3 failed.
!!! Function src_compile, Line 79, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message
Maybe a stupid question, but did you apply the patch Stephen (Comment #11)? Also doesn't work for me (patch gecko-sdk-1.7.3-4ft2.patch applied succesfully). qpkg -I -v media-libs/freetype media-libs/freetype-2.1.9-r1 * emerge -av =net-libs/gecko-sdk-1.7.3 [...] nsTableFrame.cpp:5428: av Also doesn't work for me (patch gecko-sdk-1.7.3-4ft2.patch applied succesfully). qpkg -I -v media-libs/freetype media-libs/freetype-2.1.9-r1 * emerge -av =net-libs/gecko-sdk-1.7.3 [...] nsTableFrame.cpp:5428: avís: converting de valor negatiu ` Error intern del compilador: Error al reportar rutines reentrades. Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. In file included from nsTableRowFrame.cpp:46: ./../../base/src/nsFrame.h:392: avís: "virtual void* nsFrame::GetProperty(nsIPresContext*, nsIAtom*, PRBool) const" estava amagat nsTableFrame.h:210: avís: per "static void* nsTableFrame::GetProperty(nsIPresContext*, nsIFrame*, nsIAtom*, PRBool)" nsTableRowGroupFrame.cpp c++ -o nsTableRowGroupFrame.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DDEBUG_TABLE_REFLOW_TIMING_off -DDEBUG_TABLE_STRATEGY_off -D_IMPL_NS_LAYOUT -I./../../base/src -I./../../style/src -I./../../content/src -I./../../../base/src -I../../../../dist/include/xpcom -I../../../../dist/include/string -I../../../../dist/include/dom -I../../../../dist/include/content -I../../../../dist/include/gfx -I../../../../dist/include/widget -I../../../../dist/include/locale -I../../../../dist/include/view -I../../../../dist/include/accessibility -I../../../../dist/include/necko -I../../../../dist/include/webshell -I../../../../dist/include/layout -I../../../../dist/include -I/var/tmp/portage/gecko-sdk-1.7.3/work/mozilla/dist/include/nspr -fPIC -fno-rtti -fno-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon64 -pipe -fPIC -Wno-deprecated -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O1 -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/nsTableRowGroupFrame.pp nsTableRowGroupFrame.cpp In file included from nsTableRowGroupFrame.cpp:40: ./../../base/src/nsFrame.h:392: avís: "virtual void* nsFrame::GetProperty(nsIPresContext*, nsIAtom*, PRBool) const" estava amagat nsTableFrame.h:210: avís: per "static void* nsTableFrame::GetProperty(nsIPresContext*, nsIFrame*, nsIAtom*, PRBool)" nsTablePainter.cpp c++ -o nsTablePainter.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DDEBUG_TABLE_REFLOW_TIMING_off -DDEBUG_TABLE_STRATEGY_off -D_IMPL_NS_LAYOUT -I./../../base/src -I./../../style/src -I./../../content/src -I./../../../base/src -I../../../../dist/include/xpcom -I../../../../dist/include/string -I../../../../dist/include/dom -I../../../../dist/include/content -I../../../../dist/include/gfx -I../../../../dist/include/widget -I../../../../dist/include/locale -I../../../../dist/include/view -I../../../../dist/include/accessibility -I../../../../dist/include/necko -I../../../../dist/include/webshell -I../../../../dist/include/layout -I../../../../dist/include -I/var/tmp/portage/gecko-sdk-1.7.3/work/mozilla/dist/include/nspr -fPIC -fno-rtti -fno-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon64 -pipe -fPIC -Wno-deprecated -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O1 -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/nsTablePainter.pp nsTablePainter.cpp In file included from nsTablePainter.cpp:38: ./../../base/src/nsFrame.h:392: avís: "virtual void* nsFrame::GetProperty(nsIPresContext*, nsIAtom*, PRBool) const" estava amagat nsTableFrame.h:210: avís: per "static void* nsTableFrame::GetProperty(nsIPresContext*, nsIFrame*, nsIAtom*, PRBool)" Preprocessed source stored into /var/tmp/portage/gecko-sdk-1.7.3/temp/ccv6AsUt.out file, please attach this to your bugreport. gmake[5]: *** [nsTableFrame.o] Error 1 gmake[5]: Leaving directory `/var/tmp/portage/gecko-sdk-1.7.3/work/mozilla/layout/html/table/src' gmake[4]: *** [libs] Error 2 gmake[4]: Leaving directory `/var/tmp/portage/gecko-sdk-1.7.3/work/mozilla/layout/html/table' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/var/tmp/portage/gecko-sdk-1.7.3/work/mozilla/layout/html' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/gecko-sdk-1.7.3/work/mozilla/layout' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/gecko-sdk-1.7.3/work/mozilla' make: *** [default] Error 2 !!! ERROR: net-libs/gecko-sdk-1.7.3 failed. !!! Function src_compile, Line 79, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. ---------------------------- emerge info: Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 x86_64) ================================================================= System uname: 2.6.11-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 1 2005, 06:21:57)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon64 -pipe -fweb -frename-registers -ftracer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -pipe -fweb -frename-registers -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://mir.zyrianes.net/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/" LC_ALL="ca_ES@euro" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X aalib acpi alsa avi berkdb bitmap-fonts bzlib cdparanoia cdr cjk crypt cups curl directfb dvd dvdr dvdread encode esd fam fbcon ffmpeg flac font-server foomaticdb fortran gd gdbm gif gimpprint gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl imagemagick imap imlib ipv6 jabber javascript jp2 jpeg lzw lzw-tiff mad maildir matroska mime mp3 mpeg mplayer ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl oss pam perl png ppds python quicktime rar readline ruby samba slang sndfile spell ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml2 xmms xpm xrandr xv xvid zlib linguas_ca" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS, PORTDIR_OVERLAY This was fixed already in gecko-sdk 1.7.5 |