Subject: pkg/27788: kdegames3 (3.3.1?) fails to build on 2.0-release
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <acruhl@gmail.com>
List: pkgsrc-bugs
Date: 11/02/2004 12:36:25
>Number:         27788
>Category:       pkg
>Synopsis:       kdegames3 (3.3.1?) fails to build on 2.0-release
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 02 12:37:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andy Ruhl
>Release:        NetBSD/i386 2.0-release
>Organization:
>Environment:
> uname -a
NetBSD speedy.andy.com 2.0_RC4 NetBSD 2.0_RC4 (SPEEDY6) #0: Fri Oct 22 06:52:12MST 2004  root@speedy.andy.com:/usr/src/sys/arch/i386/compile/SPEEDY6 i386
>Description:
Here are the KDE packages I have installed so far:

> pkg_info | grep kde
kdelibs-3.3.1       Support libraries for the KDE integrated X11 desktop
kdebase-3.3.1       Base modules for the KDE 3 integrated X11 desktop
kdetoys-3.3.1       Toys for the KDE integrated X11 desktop
kdeutils-3.3.1      Utilities for the KDE integrated X11 desktop

Here is what happens when I try to build kdegames3 in pkgsrc:

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../libkdegames -I../libkdegames/highscore -I/usr/pkg/include -I/usr/pkg/qt3/include -I/usr/X11R6/include  -I/usr/pkg/include -I/usr/X11R6/include  -DQT_THREAD_SUPPORT -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/include/krb5  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/include/krb5 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT kolf.la.o -MD -MP -MF ".deps/kolf.la.Tpo" -c -o kolf.la.o kolf.la.cpp; \
then mv -f ".deps/kolf.la.Tpo" ".deps/kolf.la.Po"; else rm -f ".deps/kolf.la.Tpo"; exit 1; fi
/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/include/krb5 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION   -L/usr/pkg/qt3/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/qt3/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -o kolf  -no-undefined -L/usr/X11R6/lib -L/usr/pkg/qt3/lib -L/usr/pkg/lib  -L/usr/pkg/qt3/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/qt3/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib kolf.la.o libkdeinit_kolf.la -lintl
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libglib-2.0.so: warning:reference to compatibility unsetenv(); include <stdlib.h> for correct reference
ld: warning: libpthread.so.20, needed by /home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libgthread-2.0.so, may conflict with libpthread.so.0
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `Arts::StdSynthModule::stop()'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `Arts::StdSynthModule::start()'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `Arts::AudioSubSystem::the()'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `Arts::StdSynthModule::streamEnd()'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `virtual thunk to Arts::StdSynthModule::stop()'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `Arts::StdSynthModule::streamStart()'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `virtual thunk to Arts::StdSynthModule::streamEnd()'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `Arts::AudioSubSystem::samplingRate(int)'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `Arts::StdSynthModule::autoSuspend()'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `Arts::StdSynthModule::StdSynthModule()'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `Arts::AudioSubSystem::open()'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `Arts::AudioSubSystem::audioIO()'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `Arts::convert_stereo_2float_i16le(unsigned long, float*, float*, unsigned char*)'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `Arts::AudioSubSystem::audioIO(std::string const&)'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `Arts::StdSynthModule::streamInit()'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `virtual thunk to Arts::StdSynthModule::streamInit()'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `vtable for Arts::StdSynthModule'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `virtual thunk to Arts::StdSynthModule::streamStart()'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `virtual thunk to Arts::StdSynthModule::autoSuspend()'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `virtual thunk to Arts::StdSynthModule::start()'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `Arts::AudioSubSystem::samplingRate()'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `VTT for Arts::StdSynthModule'
/home/build/pkgsrc/games/kdegames3/work/.buildlink/lib/libartskde.so: undefinedreference to `typeinfo for Arts::StdSynthModule'
gmake[3]: *** [kolf] Error 1
gmake[3]: Leaving directory `/home/build/pkgsrc/games/kdegames3/work/kdegames-3.3.1/kolf'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/build/pkgsrc/games/kdegames3/work/kdegames-3.3.1/kolf'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/build/pkgsrc/games/kdegames3/work/kdegames-3.3.1'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /home/build/pkgsrc/games/kdegames3
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/games/kdegames3
root@speedy:/usr/pkgsrc/games/kdegames3 #      

I will try to rebuild my userland since this is referencing pthreads.
>How-To-Repeat:
cd /usr/pkgsrc/games/kdegames3 && make install
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: