pkgsrc-Users archive

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

2011Q1 OpenOffice3 build problem



Hi, folks,

I'm having problems building OpenOffice3 on NetBSD/i386 5.1 from
the 2011Q1 branch.

While doing

  Making: ../../../unxbsdi3.pro/bin/pluginapp.bin
  unx
  cat ../../../unxbsdi3.pro/misc/plunx.pluginapp_1.cmd
  c++ -Wl,-z,combreloc -Wl,-z,defs -Wl,-rpath,'$ORIGIN' 
-Wl,-R/usr/pkg/lib/OpenOffice.org3.1.1/openoffice.org3/basis-link/program 
-Wl,-R/usr/pkg/lib/OpenOffice.org3.1.1/openoffice.org3/basis-link/program/../ure-link/lib
 -L/usr/pkgsrc/misc/openoffice3/work/OOO310_m19/solver/310/unxbsdi3.pro/lib 
-Wl,-export-dynamic -L../../../unxbsdi3.pro/lib 
-L/usr/pkg/lib/xulrunner-sdk/sdk/lib ../../../unxbsdi3.pro/obj/npwrap.o 
../../../unxbsdi3.pro/obj/npnapi.o ../../../unxbsdi3.pro/obj/mediator.o 
../../../unxbsdi3.pro/obj/plugcon.o \
  -Wl,--whole-archive -lsalcpprt -Wl,--no-whole-archive -ltlbi -lvos3gcc3 
-luno_sal -lXaw -Wl,-R/usr/X11R7/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib 
-L/usr/X11R7/lib -L/usr/X11R7/lib -R/usr/X11R7/lib -lXt -lXext -lX11 
-Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R7/lib -pthread -L/usr/pkg/lib 
-L/usr/X11R7/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext 
-lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage 
-lgdk__pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpng15 
-lpango-1.0 -lm -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 
-lgthread-2.0 -lglib-2.0 -lintl -lm -lc -lgcc_s -lstdc++ -lpthread  -o 
../../../unxbsdi3.pro/bin/pluginapp.bin

I get

  /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

The odd thing is that this symlink to libcairo.so according to
"objdump -p" has a dynamic dependency on libpixman-1.so.0:

  Dynamic Section:
    NEEDED      libpixman-1.so.0
  ...
    RPATH       /usr/pkg/lib:/usr/X11R7/lib

and /usr/pkg/lib/libpixman-1.so.0 *does* contain the three above
listed symbols.

Anyone have any idea what might be going on here?

I've seen from bulk builds that OpenOffice3 appears to build
there, i.e. I don't find it in list of packages which don't
build.

Any hints would be much appreciated.

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index