Subject: pkg/32244: x11/qt3-tools fails to build on Darwin
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <efnbp05@bn2.maus.net>
List: pkgsrc-bugs
Date: 12/04/2005 21:30:00
>Number:         32244
>Category:       pkg
>Synopsis:       x11/qt3-tools fails to build on Darwin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 04 21:30:00 +0000 2005
>Originator:     efnbp05@bn2.maus.net
>Release:        pkgsrc-2005Q3
>Organization:
	
>Environment:
Mac OS 10.3.9, pkgsrc 2005Q3
Architecture: N/A
Machine: N/A
>Description:
	Build fails with libtool linking problems.
	Culprit seems to be a bogus libqt-mt.la file
	in work/qt-x11-free-3.3.4/lib.
	That file seems to be generated by qmake during configure;
	according to time stamps while processing one of the first
	.pro files, i.e. src/moc/moc.pro or src/qt.pro.
>How-To-Repeat:
	cd /usr/pkgsrc/x11/qt3-tools; bmake
>Fix:
	remove work/qt-x11-free-3.3.4/lib/libqt-mt.la when the build stops,
	then restart.

The file in question looks like this:
# libqt-mt.la - a libtool library file
# Generated by qmake/libtool (1.07a) (Qt 3.3.4) on: Sun Dec  4 11:19:34 2005

# The name that we can dlopen(3).
dlname='libqt-mt.so.3'

# Names of this library.
library_names='libqt-mt.so.3.3.4 libqt-mt.so.3 libqt-mt.so'

# The name of the static archive.
old_library='libqt-mt.a'

# Libraries that this one depends upon.
dependency_libs='-L/usr/pkg/lib -L/usr/pkg/qt3/lib -L/usr/lib -L/usr/X11R6/lib -L/usr/pkg/qt3/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/X11R6/lib -lpng -lz -lGL -lXmu -lXrender -lXrandr -lXcursor -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lICE -lSM -lpthread '

# 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='/usr/pkg/qt3/lib'