Subject: Re: Anyone else having trouble building pango with current? + KDE3 trouble
To: Hisashi T Fujinaka <htodd@twofifty.com>
From: Frank Kardel <kardel@acm.org>
List: current-users
Date: 11/09/2003 13:37:23
Yepp - same here.
I am currently trying to re-build meta-pkgs/kde3 within pkg_chroot
with yesterdays -current system and X. 
To make Xrender work for pango (and some things more) try following:

in: x11/Xrender/buildlink2.mk
after:
BUILDLINK_TARGETS+=             Xrender-buildlink

add:
BUILDLINK_TARGETS+=             Xrender-buildlink-la

Xrender-buildlink-la:
        ${_PKG_SILENT}${_PKG_DEBUG}                                     \
        lafile="${BUILDLINK_DIR}/lib/libXrender.la";                    \
        libpattern="${BUILDLINK_PREFIX.Xrender}/lib/libXrender.*";      \
        ${BUILDLINK_FAKE_LA}

you may want to comment out BUILDLINK_FILES.Xrender+=      include/X11/extensions/region.h

Then pango should build after a make clean.

As for re-building kde3 I am currently stuck at:
] ...
] shlibtool: link: warning: `/pkg_comp/obj/pkgsrc/x11/kdebase3/work.i386/.buildlink/lib/libXrender.la' seems to be moved
] ... more moveds and then:
] grep: /usr/X11R6/lib/libXrender.la: No such file or directory
] sed: /usr/X11R6/lib/libXrender.la: No such file or directory
] shlibtool: link: `/usr/X11R6/lib/libXrender.la' is not a valid libtool archive
] gmake[3]: *** [libkateinterfaces.la] Error 1
] gmake[3]: Leaving directory `/pkg_comp/obj/pkgsrc/x11/kdebase3/work.i386/kdebase-3.1.4/kate/app'
] gmake[2]: *** [all-recursive] Error 1
] gmake[2]: Leaving directory `/pkg_comp/obj/pkgsrc/x11/kdebase3/work.i386/kdebase-3.1.4/kate'
] gmake[1]: *** [all-recursive] Error 1
] gmake[1]: Leaving directory `/pkg_comp/obj/pkgsrc/x11/kdebase3/work.i386/kdebase-3.1.4'
] gmake: *** [all] Error 2
] *** Error code 2
] 
] Stop.
] make: stopped in /usr/pkgsrc/x11/kdebase3
] *** Error code 1
] 
] Stop.
] make: stopped in /usr/pkgsrc/x11/kdebase3
] 
Now I am stuck with finding out why /usr/pkg/bin/shlibtool thinks it
must dig around /usr/X11R6/lib for libXrender* which it already found
some time before ... 8-(

Frank

On Sat, Nov 08, 2003 at 09:58:07PM -0800, Hisashi T Fujinaka wrote:
> grep: /usr/obj/pkg/devel/pango/work.i386/.buildlink/lib/libXrender.la:
> No such file or directory
> sed: /usr/obj/pkg/devel/pango/work.i386/.buildlink/lib/libXrender.la: No
> such file or directory
> libtool: link:
> `/usr/obj/pkg/devel/pango/work.i386/.buildlink/lib/libXrender.la' is not
> a valid libtool archive
> gmake[3]: *** [libpangoxft-1.0.la] Error 1
> gmake[3]: Leaving directory
> `/disk/0/obj/pkg/devel/pango/work.i386/pango-1.2.5/pango'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/disk/0/obj/pkg/devel/pango/work.i386/pango-1.2.5/pango'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/disk/0/obj/pkg/devel/pango/work.i386/pango-1.2.5'
> gmake: *** [all-recursive-am] Error 2
> *** Error code 2
> 
> 
> -- 
> Hisashi T Fujinaka - htodd@twofifty.com
> BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte

-- 
			Dr.-Ing. Frank Kardel
			   <kardel@acm.org>
		       <Frank.Kardel@Acrys.COM>