pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 2011Q1 OpenOffice3 build problem

On Sun, 03 Jul 2011 21:41:53 +0900, Havard Eidnes <> 

I'm having problems building OpenOffice3 on NetBSD/i386 5.1 from
the 2011Q1 branch.
  /usr/pkgsrc/misc/openoffice3/work/.x11-buildlink/lib/ undefined 
reference to `pixman_image_set_destroy_function'
  /usr/pkgsrc/misc/openoffice3/work/.x11-buildlink/lib/ undefined 
reference to `pixman_image_composite32'
  /usr/pkgsrc/misc/openoffice3/work/.x11-buildlink/lib/ undefined 
reference to `pixman_image_fill_boxes'
  dmake:  Error code 1, while making 
'../../../'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  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 file possibly ought to set
USE_BUILTIN.pixman = no (?)

In cairo's file, pixman>=0.18.4 is required, so builtin pixman 
will never be picked up.
I guesses that your problem come from rpath order issue.

OBATA Akio /

Home | Main Index | Thread Index | Old Index