Subject: pkg/20693: Error in building for kdeaddons-3.1
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jdf@rse.com>
List: netbsd-bugs
Date: 03/13/2003 13:21:46
>Number:         20693
>Category:       pkg
>Synopsis:       Error in building for kdeaddons-3.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 13 13:22:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     John Fisher
>Release:        NetBSD 1.6_STABLE
>Organization:
ML Riecher Systems Engineering
>Environment:
NetBSD mjdf.rse.com 1.6_STABLE NetBSD 1.6_STABLE (GENERIC) #0: Thu Nov  7 13:01:28 EST 2002     root@dhcp-364-2:/usr/local/src/NetBSD/NetBSD-1.6/source-20021102/src/sys/arch/i386/compile/GENERIC i386
>Description:
I did a cvs update -dP on the pkgsrc's 3-13-03 07:00 EST.  I went to /pkgsrc/x11/kde3 and typed make.  During the build process for kdeaddons-3.1 I received the error message:

/bin/sh ../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11R6/qt3/include -I/usr/X1
1R6/include  -I/usr/pkg/include -I/usr/X11R6/include  -DQT_THREAD_SUPPORT   -I/usr/pkg/include -I/usr/X11R6/include  -Wnon-vir
tual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -DNDEBUG -DNO_DEBUG -
O2 -O2 -I/usr/pkg/include -I/usr/X11R6/include -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCI
I_CAST  -c -o settingsplugin.lo `test -f 'settingsplugin.cpp' || echo './'`settingsplugin.cpp
settingsplugin.cpp: In method `void SettingsPlugin::showPopup()':
settingsplugin.cpp:144: warning: enumeration value `CC_Refresh' not handled in switch
/bin/sh ../../libtool --silent --mode=link --tag=CXX c++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpoint
er-arith -Wmissing-prototypes -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -I/usr/pkg/include -I/usr/X11R6/include -fno-excepti
ons -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST   -L/usr/X11R6/qt3/lib -Wl,-R/usr/X11R6/qt3/lib  -Wl
,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o libkhtmlsettingsplugin.la.closure libkhtmlsettingsplug
in_la_closure.lo -L/usr/X11R6/lib  -L/usr/X11R6/qt3/lib -Wl,-R/usr/X11R6/qt3/lib  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R
/usr/pkg/lib -L/usr/pkg/lib -avoid-version -module -no-undefined settingsplugin.lo -lkdeui -lkparts -lkhtml 
shlibtool: link: cannot find the library `/usr/local/src/pkgsrcstuff/pkgsrc/misc/kdeaddons3/work/.buildlink/lib/libfreetype.la
'
gmake[3]: *** [libkhtmlsettingsplugin.la.closure] Error 1
gmake[3]: Leaving directory `/usr/local/src/pkgsrcstuff/pkgsrc/misc/kdeaddons3/work/kdeaddons-3.1/konq-plugins/khtmlsettingspl
ugin'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/local/src/pkgsrcstuff/pkgsrc/misc/kdeaddons3/work/kdeaddons-3.1/konq-plugins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/pkgsrcstuff/pkgsrc/misc/kdeaddons3/work/kdeaddons-3.1'
gmake: *** [all] Error 2
*** Error code 2

Stop.

>How-To-Repeat:
Type make in pkgsrc/misc/kdeaddons3.
>Fix:
Possibly libfreetype needs to be installed (kdeaddons3 Makefile should maybe be change to depend on libfreetype).  Not sure since pkgsrc/graphics/freetype2 has a problem installing.  Well thats another PR to file.
>Release-Note:
>Audit-Trail:
>Unformatted: