Subject: pkg/31407: x11/kdebase3 fails to build due to import of qt-3.3.5
To: None <,,>
From: Martijn van Buul <>
List: pkgsrc-bugs
Date: 09/28/2005 09:53:00
>Number:         31407
>Category:       pkg
>Synopsis:       x11/kdebase3 fails to build due to import of qt-3.3.5
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 28 09:53:00 +0000 2005
>Originator:     Martijn van Buul
>Release:        NetBSD 3.99.9
System: NetBSD 3.99.9 NetBSD 3.99.9 (ATLAS) #0: Mon Sep 26 23:58:18 CEST 2005 i386
Architecture: i386
Machine: i386
  x11/kdebase3 fails to build:

  From the build log:

Making all in ui
gmake[4]: Entering directory `/usr/pkgobjdir/x11/kdebase3/work/kdebase-3.4.2/khotkeys/kcontrol/ui'
if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./.. -I../../../khotkeys/shared -I/usr/pkg/include -I/usr/pkg/qt3/include -I/usr/X11R6/include  -I/usr/pkg/include -I/usr/X11R6/include -I/usr/pkg/include/freetype2  -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/X11R6/include -I/usr/include/krb5  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium3 -O3 -pipe -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/X11R6/include -I/usr/include/krb5 -march=pentium3 -O3 -pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE  -MT windowdef_list_widget_ui.lo -MD -MP -MF ".deps/windowdef_list_widget_ui.Tpo" -c -o windo
 wdef_list_widget_ui.lo windowdef_list_widget_ui.cpp; \
then mv -f ".deps/windowdef_list_widget_ui.Tpo" ".deps/windowdef_list_widget_ui.Plo"; else rm -f ".deps/windowdef_list_widget_ui.Tpo"; exit 1; fi
windowdef_list_widget_ui.cpp:23:34: khotkeys::khlistview.h: No such file or directory
gmake[4]: *** [windowdef_list_widget_ui.lo] Error 1
gmake[4]: Leaving directory `/usr/pkgobjdir/x11/kdebase3/work/kdebase-3.4.2/khotkeys/kcontrol/ui'

  This is a known issue with KDE and qt-3.3.5, and KDE seems to be unwilling to
  fix it, as it's actually a bug in qt-3.3.5's uic. See

  for details.

  update x11/qt3-tools to the latest and greatest version, and try to
  build kdebase.
  The supplied URL suggests both a workaround specifically for kdebase as
  well as an ad-hoc fix for qt3-tools's uic, but maybe the best solution is
  to backtrace to qt-3.3.4, if that's actually possible.