Closed
Bug 296816
Opened 20 years ago
Closed 19 years ago
cairo-gtk2 build fails with cairo 0.5
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: takenspc, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050605 Firefox/1.0+ Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050605 Firefox/1.0+ Since cairo 0.5/libpixman 0.15 landed,, --enable-default-toolkit=gtk2 build fails. # It can build when --enable-default-toolkit=gtk2 Reproducible: Always Steps to Reproduce: 1.make 2. 3. Actual Results: The build was faild. And the following error messages were displayed. c++ -o nsCairoRenderingContext.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=2005060621 -DHAVE_DEPENDENT_LIBS -DMOZ_ENABLE_GTK2 -I/home/taken/src/mozilla/mozilla/gfx/src/cairo/. -I/home/taken/src/mozilla/mozilla/gfx/src/cairo/.. -I/home/taken/src/mozilla/mozilla/gfx/src/cairo/../shared -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/cairo -I../../../dist/include/libpixman -I../../../dist/include/gfx -I../../../dist/include/widget -I../../../dist/include/intl -I../../../dist/include/view -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/layout -I../../../dist/include/dom -I../../../dist/include/debug -I../../../dist/include/imglib2 -I../../../dist/include/zlib -I../../../dist/include/gfx -I../../../dist/include -I../../../dist/include/nspr -I../../../dist/sdk/include -I. -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O -DXTHREADS -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../../../dist/include/cairo -DXTHREADS -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsCairoRenderingContext.pp /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp ../../../dist/include/cairo/cairo.h: In member function `virtual nsresult nsCairoRenderingContext::Init(nsIDeviceContext*, nsIWidget*)': ../../../dist/include/cairo/cairo.h:203: error: too few arguments to function ` cairo_t* cairo_create(cairo_surface_t*)' /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:98: error: at this point in file /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:99: error: ` cairo_set_target_surface_DEPRECATED_BY_cairo_create' undeclared (first use this function) /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:99: error: (Each undeclared identifier is reported only once for each function it appears in.) ../../../dist/include/cairo/cairo.h: In member function `virtual nsresult nsCairoRenderingContext::Init(nsIDeviceContext*, nsIDrawingSurface*)': ../../../dist/include/cairo/cairo.h:203: error: too few arguments to function ` cairo_t* cairo_create(cairo_surface_t*)' /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:114: error: at this point in file /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:115: error: ` cairo_set_target_surface_DEPRECATED_BY_cairo_create' undeclared (first use this function) /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp: In member function `virtual nsresult nsCairoRenderingContext::Reset()': /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:135: error: ` cairo_current_target_surface_REPLACED_BY_cairo_get_target' undeclared (first use this function) ../../../dist/include/cairo/cairo.h:203: error: too few arguments to function ` cairo_t* cairo_create(cairo_surface_t*)' /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:136: error: at this point in file /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:137: error: ` cairo_set_target_surface_DEPRECATED_BY_cairo_create' undeclared (first use this function) /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp: In member function `void nsCairoRenderingContext::DoCairoClip()': /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:266: error: ` cairo_init_clip_REPLACED_BY_cairo_reset_clip' undeclared (first use this function) /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp: In member function `virtual nsresult nsCairoRenderingContext::SetColor(unsigned int)': /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:433: error: ` cairo_set_rgb_color_REPLACED_BY_cairo_set_source_rgb' undeclared (first use this function) /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:434: error: ` cairo_set_alpha_DEPRECATED_BY_cairo_set_source_rgba_OR_cairo_paint_with_alpha ' undeclared (first use this function) /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp: In member function `void nsCairoRenderingContext::UpdateTempTransformMatrix()': /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:466: error: ` cairo_matrix_create_DEPRECATED_BY_cairo_matrix_t' undeclared (first use this function) /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:467: error: ` cairo_current_matrix_REPLACED_BY_cairo_get_matrix' undeclared (first use this function) /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:468: error: ` cairo_matrix_get_affine_DEPRECATED_BY_cairo_matrix_t' undeclared (first use this function) /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:476: error: ` cairo_matrix_destroy_DEPRECATED_BY_cairo_matrix_t' undeclared (first use this function) /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp: In member function `void nsCairoRenderingContext::TransformCoord(nscoord*, nscoord*)': /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:503: error: ` cairo_transform_point_REPLACED_BY_cairo_user_to_device' undeclared (first use this function) /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp: In member function `virtual nsresult nsCairoRenderingContext::InvertRect(int, int, int, int)': /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:583: error: ` cairo_current_operator_REPLACED_BY_cairo_get_operator' undeclared (first use this function) /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp: In member function `virtual nsresult nsCairoRenderingContext::CopyOffScreenBits(nsIDrawingSurface*, int, int, const nsRect&, unsigned int)': /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:760: error: ` cairo_transform_point_REPLACED_BY_cairo_user_to_device' undeclared (first use this function) /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:765: error: ` cairo_transform_distance_REPLACED_BY_cairo_user_to_device_distance' undeclared (first use this function) /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:770: error: ` cairo_init_clip_REPLACED_BY_cairo_reset_clip' undeclared (first use this function) /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:772: error: ` cairo_set_rgb_color_REPLACED_BY_cairo_set_source_rgb' undeclared (first use this function) /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:773: error: ` cairo_set_alpha_DEPRECATED_BY_cairo_set_source_rgba_OR_cairo_paint_with_alpha ' undeclared (first use this function) /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp: In member function `virtual nsresult nsCairoRenderingContext::SetFont(const nsFont&, nsIAtom*)': /home/taken/src/mozilla/mozilla/gfx/src/cairo/nsCairoRenderingContext.cpp:943: warning: unused variable `nsresult rv' make[5]: *** [nsCairoRenderingContext.o] Error 1 make[5]: Leaving directory `/home/taken/src/mozilla/mozilla/cairo/gfx/src/cairo'make[4]: *** [libs] Error 2 make[4]: Leaving directory `/home/taken/src/mozilla/mozilla/cairo/gfx/src' make[3]: *** [libs] Error 2 make[3]: Leaving directory `/home/taken/src/mozilla/mozilla/cairo/gfx' make[2]: *** [tier_9] Error 2 make[2]: Leaving directory `/home/taken/src/mozilla/mozilla/cairo' make[1]: *** [default] Error 2 make[1]: Leaving directory `/home/taken/src/mozilla/mozilla/cairo' make: *** [build] Error 2 Build Environment Ubuntu Linux Hoary Linux kernel 2.6.10-5 gcc 3.3.5 gtk2 2.6.4 glibc 2.6.3 .mozconfig export MOZILLA_OFFICIAL=1 mk_add_options MOZILLA_OFFICIAL=1 mk_add_options MOZ_CO_PROJECT=browser ac_add_options --enable-application=browser ac_add_options --enable-default-toolkit=cairo-gtk2 ac_add_options --disable-freetype2 ac_add_options --enable-xft ac_add_options --enable-pango ac_add_options --enable-canvas ac_add_options --enable-svg ac_add_options --enable-svg-renderer=cairo ac_add_options --enable-extensions="default,xforms,schema-validation" ac_add_options --enable-optimize ac_add_options --disable-tests ac_add_options --disable-debug
Comment 1•20 years ago
|
||
Confirmed. Seeing this as well.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I've got patches in my tree to fix this. I'll check them in soonish
| Reporter | ||
Comment 3•19 years ago
|
||
There is no cairo 0.5 in cvs tree.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•