pkgsrc-Bugs archive

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

pkg/46131: Build fix for openoffice3 on NetBSD 5.1

>Number:         46131
>Category:       pkg
>Synopsis:       Build fix for openoffice3 on NetBSD 5.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 03 00:15:00 +0000 2012
>Originator:     Havard Eidnes
>Release:        NetBSD 5.1
System: NetBSD 5.1 NetBSD 5.1 (VIPE) #1: Mon Jan 16 10:01:42 
CET 2012 amd64
Architecture: x86_64
Machine: amd64
        On NetBSD 5.1 and pkgsrc-current, the build of
        misc/openoffice3 halts with

c++ -Wl,-z,combreloc -Wl,-z,defs -Wl,-rpath,'$ORIGIN' 
-Wl,-export-dynamic -L../.. /../ 
-L/usr/pkg/lib/xulrunner-sdk/sdk/lib ../../../ 
../../../ ../../../ 
../../../ \
-Wl,--whole-archive -lsalcpprt -Wl,--no-whole-archive -ltlbx -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 -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 ../.. 
/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

        This is another instance of "the pixman problem", where the package
        build ends up picking the in-tree libpixman, which is too old
        for the cairo in pkgsrc-current.

        In this instance, the -R/usr/X11R7/lib comes before any
        -Wl,-R/usr/pkg/lib, so the wrapper rewrite fix suggested
        in PR#46130 does not fix this problem.

        However, it appears that patch-bo is responsible for placing
        -R/usr/X11R7/lib into the linker command line.  Removing that
        patch results in a completed openoffice3 build, and the resulting
        program starts, at least.

        Try to build misc/openoffice3 from pkgsrc-current on NetBSD 5.1.
        Remove patch-bo?

        It appears that other parts of the makefile setup ensures
        that -R/usr/X11R7/lib is included in the build line as well,
        and with the patch from PR#46130 the build completes.

Home | Main Index | Thread Index | Old Index