Subject: Re: pkg/35593: x11/kdebase3 fails to build on Mac OS X
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: =?ISO-8859-1?Q?Edgar_Fu=DF?= <ef@math.uni-bonn.de>
List: pkgsrc-bugs
Date: 02/12/2007 23:20:03
The following reply was made to PR pkg/35593; it has been noted by GNATS.

From: =?ISO-8859-1?Q?Edgar_Fu=DF?= <ef@math.uni-bonn.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/35593: x11/kdebase3 fails to build on Mac OS X
Date: Tue, 13 Feb 2007 00:18:59 +0100

 >  Does the attached patch fix the problem?
 Yes, I think so. It's still busy compiling, but I think in the  
 meantime it's beyond the point it used to fail before applying the  
 patch.
 
 Later:
 Yes, it fixes that bug. Now I get this one:
 
 main_widget.cpp: In constructor 'MainWidget::MainWidget(QWidget*,  
 const char*, uint)':
 main_widget.cpp:37: error: invalid use of undefined type 'struct  
 KPushButton'
 main_widget.h:20: error: forward declaration of 'struct KPushButton'
 main_widget.cpp:38: error: invalid use of undefined type 'struct  
 KPushButton'
 main_widget.h:20: error: forward declaration of 'struct KPushButton'
 main_widget.cpp:38: error: invalid use of undefined type 'struct  
 KPushButton'
 main_widget.h:20: error: forward declaration of 'struct KPushButton'
 main_widget.cpp:39: error: invalid use of undefined type 'struct  
 KPushButton'
 main_widget.h:20: error: forward declaration of 'struct KPushButton'
 main_widget.cpp:40: error: invalid use of undefined type 'struct  
 KPushButton'
 main_widget.h:20: error: forward declaration of 'struct KPushButton'
 main_widget.cpp:41: error: invalid use of undefined type 'struct  
 KPushButton'
 main_widget.h:20: error: forward declaration of 'struct KPushButton'
 main_widget.cpp:43: error: no matching function for call to  
 'QGridLayout::addWidget(KPushButton*&, int, int)'
 /usr/pkg/qt3/include/qlayout.h:331: note: candidates are: void  
 QGridLayout::addWidget(QWidget*, int, int, int)
 main_widget.cpp:112: error: invalid use of undefined type 'struct  
 KPushButton'
 main_widget.h:20: error: forward declaration of 'struct KPushButton'
 main_widget.cpp:114: error: no matching function for call to  
 'QGridLayout::addMultiCellWidget(KPushButton*&, int, int, int, int)'
 /usr/pkg/qt3/include/qlayout.h:333: note: candidates are: void  
 QGridLayout::addMultiCellWidget(QWidget*, int, int, int, int, int)
 main_widget.cpp:147: error: no matching function for call to  
 'MainWidget::setTabOrder(KPushButton*&, QLineEdit*&)'
 /usr/pkg/qt3/include/qwidget.h:309: note: candidates are: static void  
 QWidget::setTabOrder(QWidget*, QWidget*)
 main_widget.cpp:154: error: no matching function for call to  
 'MainWidget::setTabOrder(QRadioButton*&, KPushButton*&)'
 /usr/pkg/qt3/include/qwidget.h:309: note: candidates are: static void  
 QWidget::setTabOrder(QWidget*, QWidget*)
 main_widget.cpp: In member function 'virtual void  
 MainWidget::languageChange()':
 main_widget.cpp:178: error: invalid use of undefined type 'struct  
 KPushButton'
 main_widget.h:20: error: forward declaration of 'struct KPushButton'
 main_widget.cpp:188: error: invalid use of undefined type 'struct  
 KPushButton'
 main_widget.h:20: error: forward declaration of 'struct KPushButton'
 
 [wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
 /Volumes/Overkill-UFS/pkgsrc/x11/kdebase3/work/.gcc/bin/g++ - 
 DHAVE_CONFIG_H -I. -I../.. -I../../libkonq -I/Volumes/Overkill-UFS/ 
 pkgsrc/x11/kdebase3/work/.buildlink/include -I/usr/pkg/qt3/include -I/ 
 Volumes/Overkill-UFS/pkgsrc/x11/kdebase3/work/.x11-buildlink/include - 
 I/Volumes/Overkill-UFS/pkgsrc/x11/kdebase3/work/.buildlink/include/ 
 freetype2 -DQT_THREAD_SUPPORT -no-cpp-precomp -DLDAP_DEPRECATED - 
 DGLX_GLXEXT_LEGACY -Wno-long-long -Wundef -Wall -W -Wpointer-arith - 
 DNDEBUG -DNO_DEBUG -O2 -pipe -O2 -Wno-non-virtual-dtor -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 main_widget.lo -MD -MP -MF .deps/main_widget.Tpo -c  
 main_widget.cpp -fno-common -DPIC -o .libs/main_widget.o -L/Volumes/ 
 Overkill-UFS/pkgsrc/x11/kdebase3/work/.buildlink/lib
 
 [wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
 /usr/pkg/bin/shlibtool --silent --tag=CXX --mode=compile g++ - 
 DHAVE_CONFIG_H -I. -I../.. -I../../libkonq -I/Volumes/Overkill-UFS/ 
 pkgsrc/x11/kdebase3/work/.buildlink/include -I/usr/pkg/qt3/include -I/ 
 Volumes/Overkill-UFS/pkgsrc/x11/kdebase3/work/.x11-buildlink/include - 
 I/Volumes/Overkill-UFS/pkgsrc/x11/kdebase3/work/.buildlink/include/ 
 freetype2 -DQT_THREAD_SUPPORT -no-cpp-precomp -DLDAP_DEPRECATED - 
 DGLX_GLXEXT_LEGACY -Wno-long-long -Wundef -Wall -W -Wpointer-arith - 
 DNDEBUG -DNO_DEBUG -O2 -pipe -O2 -Wno-non-virtual-dtor -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 main_widget.lo -MD -MP -MF .deps/main_widget.Tpo -c - 
 o main_widget.lo main_widget.cpp