pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/30656: qt3-tools 3.3.4nb1 fails build on darwin 7.9.0
>Number: 30656
>Category: pkg
>Synopsis: qt3-tools 3.3.4nb1 fails build on darwin 7.9.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jul 03 05:21:01 +0000 2005
>Originator: scole
>Release: darwin pkgsrc
>Organization:
>Environment:
Darwin goofy 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005;
root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc
>Description:
I am using qt3-libs-3.3.4nb4 and trying to build qt3-tools,
and it fails somewhere in
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/tools/designer/plugins/cppedito
with this error:
test -d ../../../../plugins/designer/ || mkdir -p ../../../../plugins/designer/
rm -f libcppeditor.so
libtool --mode=link g++ -lresolv -L/Volumes/NetBSD/pkg/lib
-L/Volumes/NetBSD/pkg/qt3/lib -L/usr/lib -L/usr/X11R6/lib
-L/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/lib
-fno-exceptions -L/Volumes/NetBSD/pkg/lib -L/Volumes/NetBSD/pkg/qt3/lib
-L/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/plugins/designer
-o ../../../../plugins/designer/libcppeditor.la -module -avoid-version
.obj/release-shared-mt/cppeditor.lo
.obj/release-shared-mt/syntaxhighliter_cpp.lo
.obj/release-shared-mt/cppcompletion.lo
.obj/release-shared-mt/editorinterfaceimpl.lo
.obj/release-shared-mt/languageinterfaceimpl.lo
.obj/release-shared-mt/common.lo
.obj/release-shared-mt/preferenceinterfaceimpl.lo
.obj/release-shared-mt/yyreg.lo .obj/release-shared-mt/cppbrowser.lo
.obj/release-shared-mt/projectsettingsinterfaceimpl.lo
.obj/release-shared-mt/sourcetemplateinterfaceimpl.lo
.obj/release-shared-mt/projectsettings.lo
.obj/release-shared-mt/mainfilesettings.lo .obj/release-shared
-mt/moc_cppeditor.lo .obj/release-shared-mt/moc_cppcompletion.lo
.obj/release-shared-mt/moc_editorinterfaceimpl.lo
.obj/release-shared-mt/moc_cppbrowser.lo
.obj/release-shared-mt/moc_projectsettings.lo
.obj/release-shared-mt/moc_mainfilesettings.lo -L/Volumes/NetBSD/pkg/lib
-L/Volumes/NetBSD/pkg/qt3/lib -L/usr/lib -L/usr/X11R6/lib
-L/Volumes/NetBSD/pkg/qt3/lib -L/Volumes/NetBSD/pkg/lib
-L/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/lib
-L/Volumes/NetBSD/pkg/lib -L/usr/X11R6/lib
-L/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/lib -leditor
-lqt-mt -lpng -lz -lGLU -lGL -lXmu -lXrender -lXrandr -lXcursor -lXft
-lfreetype -lfontconfig -lXext -lX11 -lm -lICE -lSM -lpthread -rpath
/Volumes/NetBSD/pkg/qt3/plugins/../plugins/designer/
*** [buildlink3] Warning: libtool replaced -leditor with
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/lib/libeditor.la
*** [buildlink3] Warning: libtool replaced -lqt-mt with
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/lib/libqt-mt.la
libtool: link: warning:
`/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/lib/libqt-mt.la'
seems to be moved
g++ ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o
../../../../plugins/designer/.libs/libcppeditor.so -bundle
.obj/release-shared-mt/.libs/cppeditor.o
.obj/release-shared-mt/.libs/syntaxhighliter_cpp.o
.obj/release-shared-mt/.libs/cppcompletion.o
.obj/release-shared-mt/.libs/editorinterfaceimpl.o
.obj/release-shared-mt/.libs/languageinterfaceimpl.o
.obj/release-shared-mt/.libs/common.o
.obj/release-shared-mt/.libs/preferenceinterfaceimpl.o
.obj/release-shared-mt/.libs/yyreg.o .obj/release-shared-mt/.libs/cppbrowser.o
.obj/release-shared-mt/.libs/projectsettingsinterfaceimpl.o
.obj/release-shared-mt/.libs/sourcetemplateinterfaceimpl.o
.obj/release-shared-mt/.libs/projectsettings.o
.obj/release-shared-mt/.libs/mainfilesettings.o
.obj/release-shared-mt/.libs/moc_cppeditor.o
.obj/release-shared-mt/.libs/moc_cppcompletion.o
.obj/release-shared-mt/.libs/moc_editorinterfaceimpl.o
.obj/release-shared-mt/.libs/moc_cppbrowser.o
.obj/release-shared-mt/.libs/moc_projectsettings.o
.obj/release-shared-mt/.libs/moc_mainfilesettings.o -lresolv
-L/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/lib
-L/Volumes/NetBSD/pkg/qt3/lib
-L/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.x11-buildlink/lib
-L/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/lib
-L/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/plugins/designer
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/lib/.libs/libeditor.dylib
-L/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/lib/.libs
libqt-mt.so -L/Volumes/NetBSD/pkg/lib -L/usr/lib -L/usr/X11R6/lib
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXmu.dylib
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXfixes.dylib
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libexpat.dylib
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXext.dylib
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libX11.dylib
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildl
ink/lib/libICE.dylib
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libSM.dylib
/Volumes/NetBSD/pkg/qt3/lib/libqt-mt.so
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libpng.dylib
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libz.dylib
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libGLU.dylib
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libGL.dylib -lXmu
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXrender.dylib
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXrandr.dylib
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXcursor.dylib
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libXft.dylib
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libfreetype.dylib
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/lib/libfontconfig.dylib
-lXext -lX11 -lm -lICE -lSM -lpthread
g++: libqt-mt.so: No such file or directory
gnumake[4]: *** [../../../../plugins/designer/libcppeditor.so] Error 1
gnumake[3]: *** [sub-cppeditor] Error 2
gnumake[2]: *** [sub-plugins] Error 2
gnumake[1]: *** [sub-designer] Error 2
gnumake: *** [sub-tools] Error 2
*** Error code 2
Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/x11/qt3-tools
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.work.log
===>
*** Error code 1
Stop.
>How-To-Repeat:
cd .../pkgsrc/x11/qt3-tools && bmake install
>Fix:
As far as my limited understanding goes, the extension for shared libraries is
not being created properly for darwin. The build is looking for 'libqt-mt.so'
when it should be looking for 'libqt-mt.dylib'
To get qt3-tools to build and install I modified
/Volumes/NetBSD/pkgsrc//x11/qt3-tools/work/qt-x11-free-3.3.4/lib/libqt-mt.la
by hand, which is given below. I used the libqt-mt.la file in
qt3-libs-3.3.4nb4 as a sample.
I guess the real fix is to get qt3-tools to somehow generate this file
properly, but gave up after a few unsuccessful tries.
Also, -lresolv may be needed, I wasn't sure but added it anyway.
#####################################################
# libqt-mt.la - a libtool library file
# Generated by qmake/libtool (1.07a) (Qt 3.3.4) on: Sat Jul 2 15:39:52 2005
# The name that we can dlopen(3).
##### wrong ? ########
#dlname='libqt-mt.so.3'
dlname='/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.3.dylib'
# Names of this library.
##### wrong ? #########
#library_names='libqt-mt.so.3.3.4 libqt-mt.so.3 libqt-mt.so'
library_names='/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.3.0.3.dylib
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.3.dylib
/Volumes/NetBSD/pkgsrc/x11/qt3-tools/work/.buildlink/qt3/lib/libqt-mt.dylib'
# The name of the static archive.
old_library='libqt-mt.a'
# Libraries that this one depends upon.
dependency_libs='-L/Volumes/NetBSD/pkg/lib -L/Volumes/NetBSD/pkg/qt3/lib
-L/usr/lib -L/usr/X11R6/lib -L/Volumes/NetBSD/pkg/qt3/lib
-L/Volumes/NetBSD/pkg/lib -L/Volumes/NetBSD/pkg/lib -L/usr/X11R6/lib -lpng -lz
-lGL -lXmu -lXrender -lXrandr -lXcursor -lXft -lfreetype -lfontconfig -lXext
-lX11 -lm -lICE -lSM -lpthread -lresolv'
# Version information for libqt-mt.la
current=33
age=0
revision=4
# Is this an already installed library.
installed=yes
# Files to dlopen/dlpreopen.
dlopen=''
dlpreopen=''
# Directory that this library needs to be installed in:
libdir='/Volumes/NetBSD/pkg/qt3/lib'
########################################
Home |
Main Index |
Thread Index |
Old Index