After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 344512 - cvs build issue
cvs build issue
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.9.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-06-10 20:11 UTC by Elijah Newren
Modified: 2006-06-11 02:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix the build -- update to new API (1.43 KB, patch)
2006-06-10 20:36 UTC, Elijah Newren
none Details | Review

Description Elijah Newren 2006-06-10 20:11:21 UTC
A few people are hitting this issue; haven't found the cause yet (see also https://bugs.freedesktop.org/show_bug.cgi?id=7179 -- cyclic build-breaking fun due to cairo, it appears).  Likely a cairo issue, but we can at least mark dupes here.  :)

./.libs/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_set_dpi_REPLACED_BY_cairo_surface_set_fallback_resolution'
collect2: ld returned 1 exit status
make[4]: *** [gtk-query-immodules-2.0] Error 1
make[4]: Leaving directory `/floss/building/gnome/gtk+/gtk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/floss/building/gnome/gtk+/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/floss/building/gnome/gtk+/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/floss/building/gnome/gtk+'
make: *** [all] Error 2
Comment 1 Elijah Newren 2006-06-10 20:30:45 UTC
So, src/cairo.h has a 

#define cairo_pdf_surface_set_dpi \
  cairo_pdf_surface_set_dpi_REPLACED_BY_cairo_surface_set_fallback_resolution

without defining the latter.  So, I guess this is cairo's way of forcing people to update to the new API.  ;)
Comment 2 Elijah Newren 2006-06-10 20:36:57 UTC
Created attachment 67098 [details] [review]
Fix the build -- update to new API

Works for me, but that's about all I can say.  :)
Comment 3 Matthias Clasen 2006-06-11 02:31:18 UTC
2006-06-10  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkprintoperation.c:
        * modules/printbackends/pdf/gtkprintbackendpdf.c: Use
        cairo_pdf_surface_set_dpi by cairo_surface_set_fallback_resolution.
        (#344512, Elijah Newren)