Subject: Re: qt3-tools wont compile
To: None <current-users@netbsd.org>
From: Bruce Chiarelli <meno15@juno.com>
List: current-users
Date: 01/27/2004 17:15:47
Mark Kirby wrote:
> Hi
> 
> i'm running 1.6.1 and the new qt tools 3.2.3 wont compile.
> 
> it breaks giving -
> 
> ----snip----
> 
> ln -s libqui.so.1.0.0 libqui.so
> ln -s libqui.so.1.0.0 libqui.so.1
> ln -s libqui.so.1.0.0 libqui.so.1.0
> rm -f ../../../lib/libqui.so.1.0.0
> rm -f ../../../lib/libqui.so
> rm -f ../../../lib/libqui.so.1
> rm -f ../../../lib/libqui.so.1.0
> mv libqui.so.1.0.0 libqui.so libqui.so.1 libqui.so.1.0 ../../../lib/
> mv: rename libqui.so.1.0.0 to ../../../lib//libqui.so.1.0.0: No such 
> file or dir
> ectory
> gmake[3]: [../../../lib/libqui.so.1.0.0] Error 1 (ignored)
> gmake[3]: Leaving directory 
> `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.2.3/to
> ols/designer/uilib'
> cd designer && /usr/pkg/bin/gmake -f Makefile
> gmake[3]: Entering directory 
> `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.2.3/t
> ools/designer/designer'
> /usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.2.3/bin/uic -L 
> /usr/pkgsrc/x11/qt3-
> tools/work/qt-x11-free-3.2.3/plugins listboxeditor.ui -o listboxeditor.h
> gmake[3]: *** [listboxeditor.h] Segmentation fault (core dumped)
> gmake[3]: Leaving directory 
> `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.2.3/to
> ols/designer/designer'
> gmake[2]: *** [sub-designer] Error 2
> gmake[2]: Leaving directory 
> `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.2.3/to
> ols/designer'
> gmake[1]: *** [sub-designer] Error 2
> gmake[1]: Leaving directory 
> `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.2.3/to
> ols'
> gmake: *** [sub-tools] Error 2
> *** Error code 2
> 
> Stop.
> make: stopped in /usr/pkgsrc/x11/qt3-tools
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/pkgsrc/x11/qt3-tools
> #
> 
> Every thing this package depends on installed fine without any hitches.
> 
> Any ideas?
> 
> Mark
> 
> 

This same thing happened to me running -current. Here's what I did:

1)reinstall libtool
2)reinstall qt3-libs

...in that order. For some reason, the uic that's built by qt3-tools for 
completing the build segfaults and dumps core when using libqt-mt.so 
from qt3-libs. My guess would be that rebuilding qt3-libs *while* it's 
already installed causes libqt-mt to link correctly.

Just a guess...weird bug at any rate.

-Bruce