I'm having problems building OpenOffice3 on NetBSD/i386 5.1 from
the 2011Q1 branch.
...
/usr/pkgsrc/misc/openoffice3/work/.x11-buildlink/lib/libcairo.so: undefined
reference to `pixman_image_set_destroy_function'
/usr/pkgsrc/misc/openoffice3/work/.x11-buildlink/lib/libcairo.so: undefined
reference to `pixman_image_composite32'
/usr/pkgsrc/misc/openoffice3/work/.x11-buildlink/lib/libcairo.so: undefined
reference to `pixman_image_fill_boxes'
dmake: Error code 1, while making
'../../../unxbsdi3.pro/bin/pluginapp.bin'Running processes: 0
I may have the answer to this. It appears (verified via "ktrace -i"
of the build) that by default, the built-in pixman library is used,
via pixman's builtin.mk. The library in /usr/X11R7/lib/ is version
0.12.0, while the one in /usr/pkg/lib/ is version 0.20.2 -- the latter
has the above symbols, the former doesn't.
I've set
USE_BUILTIN.pixman= no
in /etc/mk.conf, and started the openoffice3 build from scratch again.
I'm not sufficiently proficient in pkgsrc mechanics and conventions,
but I'm wondering if cairo's buildlink3.mk file possibly ought to set
USE_BUILTIN.pixman = no (?)