Subject: Re: qt3-tools build failure
To: None <tech-pkg@NetBSD.ORG>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-pkg
Date: 09/19/2003 00:18:38
Simon Burge wrote:
> jmmv@menta.net wrote:
>
> > The problems I'm having with qt3-tools are related to gcc3. uic segfaults
> > when executed, while it works perfectly with gcc2. Any idea?
>
> I'm seeing the same problems as MLH, with gcc 2.95.3 on 1.6.1ish
> i386. Lots of undefined references to 'Fc*' functions in libXft.so
> and libqt-mt.so.
Looking a little further at one random missing symbol:
thoreau:/usr/pkg/lib 2> nm -no *.so | grep FcObjectSetDestroy
nm: libXft.so: no symbols
libfontconfig.so:000122f4 T FcObjectSetDestroy
libpangoft2-1.0.so: U FcObjectSetDestroy
libpangoxft-1.0.so: U FcObjectSetDestroy
thoreau:/usr/pkg/lib 3> ls -l libXft.so
lrwxr-xr-x 1 root wheel 11 Sep 18 14:40 libXft.so@ -> libXft.so.2
thoreau:/usr/pkg/lib 4> ls -Ll libXft.so
-r-xr-xr-x 1 root wheel 62508 Sep 18 14:40 libXft.so*
thoreau:/usr/pkg/lib 5> file libXft.so.2.0
and
thoreau:...pkgsrc/x11/qt3-tools 679> ls -l work.thoreau/.buildlink/lib/libfontconfig*
lrwxr-xr-x 1 simonb wheel 28 Sep 18 23:24 work.thoreau/.buildlink/lib/libfontconfig.a@ -> /usr/pkg/lib/libfontconfig.a
-rw-r--r-- 1 simonb wheel 962 Sep 18 23:24 work.thoreau/.buildlink/lib/libfontconfig.la
lrwxr-xr-x 1 simonb wheel 29 Sep 18 23:24 work.thoreau/.buildlink/lib/libfontconfig.so@ -> /usr/pkg/lib/libfontconfig.so
lrwxr-xr-x 1 simonb wheel 31 Sep 18 23:24 work.thoreau/.buildlink/lib/libfontconfig.so.1@ -> /usr/pkg/lib/libfontconfig.so.1
lrwxr-xr-x 1 simonb wheel 33 Sep 18 23:24 work.thoreau/.buildlink/lib/libfontconfig.so.1.4@ -> /usr/pkg/lib/libfontconfig.so.1.4
But there's no mention of "fontconfig" in the link like for
../../../bin/uic:
c++ -Wl,-R/usr/pkg/qt3/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -fno-exceptions -o ../../../bin/uic .obj/release-shared-mt/main.o .obj/release-shared-mt/uic.o .obj/release-shared-mt/form.o .obj/release-shared-mt/object.o .obj/release-shared-mt/subclassing.o .obj/release-shared-mt/embed.o .obj/release-shared-mt/widgetdatabase.o .obj/release-shared-mt/domtool.o .obj/release-shared-mt/parser.o -L/usr/obj/pkg/x11/qt3-tools/work.thoreau/.buildlink/lib -L/usr/obj/pkg/x11/qt3-tools/work.thoreau/.buildlink-x11/lib -L/usr/obj/pkg/x11/qt3-tools/work.thoreau/qt-x11-free-3.1.2/lib -L/usr/obj/pkg/x11/qt3-tools/work.thoreau/.buildlink/qt3/lib /usr/pkg/qt3/lib/libqt-mt.so -L/usr/pkg/lib -L/usr/X11R6/lib -lstdc++ -lgcc_pic /usr/pkg/lib/libpng.so /usr/lib/libz.so /usr/pkg/lib/libGLU.so /usr/pkg/lib/libGL.so -lXi -lXmu -lXrender -lXft /usr/pkg/lib/libfreetype.so -lz -lXext -lX11 -lm -lICE -lSM /usr/pkg/lib/libpthread.so -Wl,--rpath -Wl,/usr/pkg/qt3/lib -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/qt3/lib -Wl,--rpath -Wl,/usr/pkg/lib
All packages are up-to-date as of pkgsrc about 6 hours ago.
Also, is it a concern that libXft.so.2.0 doesn't have any symbols?
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD Support and Service: http://www.wasabisystems.com/