View Issue Details

IDProjectCategoryView StatusLast Update
0009708ScribusBuild Systempublic2011-02-03 14:39
Reporterhuhtiranta Assigned Toplinnell 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionduplicate 
Platformx86_64OSArch LinuxOS Version2.6.36
Product Version1.5.0svn 
Summary0009708: Linking fails when using CAIRO_PRIVATE
DescriptionLinking fails with undefined references to pixman library functions when building using CAIRO_PRIVATE.
Build succeeds when using CAIRO_SYSTEM (1.10.2).


I'm including all error messages for completeness.
Additional Informationthird_party/cairo/libscribus_cairo_lib.a(cairo-ft-font.c.o): In function `_get_bitmap_surface':
cairo-ft-font.c:(.text+0x14d4): undefined reference to `pixman_image_set_component_alpha'
third_party/cairo/libscribus_cairo_lib.a(cairo-image-surface.c.o): In function `_cairo_image_surface_span_renderer_finish':
cairo-image-surface.c:(.text+0x1df): undefined reference to `pixman_image_composite'
third_party/cairo/libscribus_cairo_lib.a(cairo-image-surface.c.o): In function `_cairo_image_surface_finish':
cairo-image-surface.c:(.text+0x371): undefined reference to `pixman_image_unref'
third_party/cairo/libscribus_cairo_lib.a(cairo-image-surface.c.o): In function `_pixman_add_trapezoids':
cairo-image-surface.c:(.text+0x595): undefined reference to `pixman_rasterize_trapezoid'
third_party/cairo/libscribus_cairo_lib.a(cairo-image-surface.c.o): In function `_cairo_image_surface_set_clip_region.clone.0':
cairo-image-surface.c:(.text+0x67e): undefined reference to `pixman_image_set_clip_region32'
third_party/cairo/libscribus_cairo_lib.a(cairo-image-surface.c.o): In function `_cairo_image_surface_fill_rectangles':
cairo-image-surface.c:(.text+0x7d0): undefined reference to `pixman_image_fill_rectangles'
third_party/cairo/libscribus_cairo_lib.a(cairo-image-surface.c.o): In function `_cairo_image_surface_set_attributes.clone.3':
cairo-image-surface.c:(.text+0x85b): undefined reference to `pixman_image_set_transform'
cairo-image-surface.c:(.text+0x878): undefined reference to `pixman_image_set_repeat'
cairo-image-surface.c:(.text+0x89d): undefined reference to `pixman_image_set_filter'
cairo-image-surface.c:(.text+0x8f3): undefined reference to `pixman_image_set_repeat'
cairo-image-surface.c:(.text+0x909): undefined reference to `pixman_image_set_repeat'
cairo-image-surface.c:(.text+0x921): undefined reference to `pixman_image_set_repeat'
third_party/cairo/libscribus_cairo_lib.a(cairo-image-surface.c.o): In function `_cairo_image_surface_composite_trapezoids':
cairo-image-surface.c:(.text+0xb1a): undefined reference to `pixman_image_create_bits'
cairo-image-surface.c:(.text+0xbea): undefined reference to `pixman_image_composite'
cairo-image-surface.c:(.text+0xbf2): undefined reference to `pixman_image_unref'
third_party/cairo/libscribus_cairo_lib.a(cairo-image-surface.c.o): In function `_cairo_image_surface_composite':
cairo-image-surface.c:(.text+0xfca): undefined reference to `pixman_image_composite'
cairo-image-surface.c:(.text+0x1135): undefined reference to `pixman_image_composite'
third_party/cairo/libscribus_cairo_lib.a(cairo-image-surface.c.o): In function `_cairo_image_surface_create_for_pixman_image':
cairo-image-surface.c:(.text+0x1184): undefined reference to `pixman_image_get_width'
cairo-image-surface.c:(.text+0x118f): undefined reference to `pixman_image_get_height'
cairo-image-surface.c:(.text+0x1288): undefined reference to `pixman_image_get_data'
cairo-image-surface.c:(.text+0x12b8): undefined reference to `pixman_image_get_stride'
cairo-image-surface.c:(.text+0x12c6): undefined reference to `pixman_image_get_depth'
third_party/cairo/libscribus_cairo_lib.a(cairo-image-surface.c.o): In function `_pixman_format_from_masks':
cairo-image-surface.c:(.text+0x16ba): undefined reference to `pixman_format_supported_destination'
third_party/cairo/libscribus_cairo_lib.a(cairo-image-surface.c.o): In function `_cairo_image_surface_create_with_pixman_format':
cairo-image-surface.c:(.text+0x177e): undefined reference to `pixman_image_create_bits'
cairo-image-surface.c:(.text+0x17c4): undefined reference to `pixman_image_unref'
third_party/cairo/libscribus_cairo_lib.a(cairo-matrix.c.o): In function `_cairo_matrix_to_pixman_matrix':
cairo-matrix.c:(.text+0x103d): undefined reference to `pixman_transform_point_3d'
third_party/cairo/libscribus_cairo_lib.a(cairo-pattern.c.o): In function `_cairo_pattern_acquire_surface':
cairo-pattern.c:(.text+0x2ffd): undefined reference to `pixman_image_create_radial_gradient'
cairo-pattern.c:(.text+0x3060): undefined reference to `pixman_image_set_filter'
cairo-pattern.c:(.text+0x30dd): undefined reference to `pixman_image_set_transform'
cairo-pattern.c:(.text+0x3106): undefined reference to `pixman_image_set_repeat'
cairo-pattern.c:(.text+0x3166): undefined reference to `pixman_image_composite'
cairo-pattern.c:(.text+0x3173): undefined reference to `pixman_image_unref'
cairo-pattern.c:(.text+0x3329): undefined reference to `pixman_image_unref'
cairo-pattern.c:(.text+0x3378): undefined reference to `pixman_image_unref'
cairo-pattern.c:(.text+0x3694): undefined reference to `pixman_image_create_linear_gradient'
cairo-pattern.c:(.text+0x36b1): undefined reference to `pixman_image_unref'
cairo-pattern.c:(.text+0x3c70): undefined reference to `pixman_image_set_repeat'
cairo-pattern.c:(.text+0x3f90): undefined reference to `pixman_image_set_repeat'
cairo-pattern.c:(.text+0x3fa7): undefined reference to `pixman_image_set_repeat'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_create':
cairo-region.c:(.text+0xb5): undefined reference to `pixman_region32_init'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_create_rectangles':
cairo-region.c:(.text+0x167): undefined reference to `pixman_region32_init_rects'
cairo-region.c:(.text+0x207): undefined reference to `pixman_region32_init_rects'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_create_rectangle':
cairo-region.c:(.text+0x262): undefined reference to `pixman_region32_init_rect'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_destroy':
cairo-region.c:(.text+0x2f5): undefined reference to `pixman_region32_fini'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_copy':
cairo-region.c:(.text+0x351): undefined reference to `pixman_region32_copy'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_get_rectangle':
cairo-region.c:(.text+0x406): undefined reference to `pixman_region32_rectangles'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_get_extents':
cairo-region.c:(.text+0x475): undefined reference to `pixman_region32_extents'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_subtract':
cairo-region.c:(.text+0x4db): undefined reference to `pixman_region32_subtract'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_subtract_rectangle':
cairo-region.c:(.text+0x568): undefined reference to `pixman_region32_init_rect'
cairo-region.c:(.text+0x577): undefined reference to `pixman_region32_subtract'
cairo-region.c:(.text+0x583): undefined reference to `pixman_region32_fini'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_intersect':
cairo-region.c:(.text+0x5db): undefined reference to `pixman_region32_intersect'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_intersect_rectangle':
cairo-region.c:(.text+0x668): undefined reference to `pixman_region32_init_rect'
cairo-region.c:(.text+0x677): undefined reference to `pixman_region32_intersect'
cairo-region.c:(.text+0x683): undefined reference to `pixman_region32_fini'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_union':
cairo-region.c:(.text+0x6db): undefined reference to `pixman_region32_union'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_union_rectangle':
cairo-region.c:(.text+0x768): undefined reference to `pixman_region32_init_rect'
cairo-region.c:(.text+0x777): undefined reference to `pixman_region32_union'
cairo-region.c:(.text+0x783): undefined reference to `pixman_region32_fini'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_is_empty':
cairo-region.c:(.text+0x7c7): undefined reference to `pixman_region32_not_empty'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_contains_rectangle':
cairo-region.c:(.text+0x842): undefined reference to `pixman_region32_contains_rectangle'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_contains_point':
cairo-region.c:(.text+0x885): undefined reference to `pixman_region32_contains_point'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `_cairo_region_init':
cairo-region.c:(.text+0x42): undefined reference to `pixman_region32_init'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `_cairo_region_init_rectangle':
cairo-region.c:(.text+0x6e): undefined reference to `pixman_region32_init_rect'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `_cairo_region_fini':
cairo-region.c:(.text+0x85): undefined reference to `pixman_region32_fini'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_num_rectangles':
cairo-region.c:(.text+0x3a5): undefined reference to `pixman_region32_n_rects'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_translate':
cairo-region.c:(.text+0x7f5): undefined reference to `pixman_region32_translate'
third_party/cairo/libscribus_cairo_lib.a(cairo-region.c.o): In function `cairo_region_equal':
cairo-region.c:(.text+0x8d6): undefined reference to `pixman_region32_equal'
third_party/cairo/libscribus_cairo_lib.a(cairo-scaled-font.c.o): In function `_cairo_scaled_font_show_glyphs':
cairo-scaled-font.c:(.text+0x2295): undefined reference to `pixman_image_set_component_alpha'
collect2: ld returned 1 exit status
make[2]: *** [scribus/scribus] Error 1
make[1]: *** [scribus/CMakeFiles/scribus.dir/all] Error 2
make: *** [all] Error 2
    Aborting...
TagsNo tags attached.
Patch

Relationships

duplicate of 0009138 closedplinnell Linking fails 

Activities

plinnell

2011-01-23 22:02

viewer   ~0025475

is libpximan-devel installed ?

huhtiranta

2011-01-24 05:09

reporter   ~0025479

Last edited: 2011-01-24 06:02

Okay, now that I have had a good night sleep and a bit more time I identified the problem.

It is again the "-Wl,--as-needed" link flag.

EDIT: That is, Scribus builds fine without this flag. This is a duplicate bug of 0009138.

Sorry. I should have checked this yesterday.
I falsely assumed this issue was gone.

plinnell

2011-02-03 14:39

viewer   ~0025534

Closing

Issue History

Date Modified Username Field Change
2011-01-23 14:37 huhtiranta New Issue
2011-01-23 22:02 plinnell Note Added: 0025475
2011-01-24 05:09 huhtiranta Note Added: 0025479
2011-01-24 06:02 huhtiranta Note Edited: 0025479
2011-02-03 14:39 plinnell Relationship added duplicate of 0009138
2011-02-03 14:39 plinnell Status new => resolved
2011-02-03 14:39 plinnell Resolution open => duplicate
2011-02-03 14:39 plinnell Assigned To => plinnell
2011-02-03 14:39 plinnell Note Added: 0025534
2011-02-03 14:39 plinnell Status resolved => closed