[kde-freebsd] net/kdenetwork build error (with patch and solution)

Jaap Boender jaapb at kerguelen.org
Tue Jun 24 14:05:14 CEST 2008


Hello,

First: kdenetwork doesn't build as it is in CVS, since 4.0.3 is still in 
distinfo, and the MASTER_SITE_SUBDIR isn't set correctly. Applying the 
attached patch and running a 'make makesum' solves this, however, during 
build I get this error:

cd /usr/ports/net/kdenetwork/work/kdenetwork-4.0.80/build/kopete/libkopete 
&& /usr/bin/c++   -D_GNU_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS
-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -DMAKE_KOPETE_LIB -O2 -fno-strict-aliasing -pipe -march=athlon-mp
-Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline -fPIC
-I/usr/ports/net/kdenetwork/work/kdenetwork-4.0.80/build/kopete/libkopete
-I/usr/ports/net/kdenetwork/work/kdenetwork-4.0.80/kopete/libkopete -I/usr/ports/net/kdenetwork/work/kdenetwork-4.0.80
-I/usr/ports/net/kdenetwork/work/kdenetwork-4.0.80/build
-I/usr/ports/net/kdenetwork/work/kdenetwork-4.0.80/QT_MKSPECS_DIR-NOTFOUND/default
-I/usr/ports/net/kdenetwork/work/kdenetwork-4.0.80/build/kopete
-I/usr/ports/net/kdenetwork/work/kdenetwork-4.0.80/kopete/libkopete/QT_MKSPECS_DIR-NOTFOUND/default
-I/usr/ports/net/kdenetwork/work/kdenetwork-4.0.80/kopete/libkopete/ui
-I/usr/ports/net/kdenetwork/work/kdenetwork-4.0.80/build/kopete/libkopete/ui
-I/usr/ports/net/kdenetwork/work/kdenetwork-4.0.80/kopete/libkopete/private
-I/usr/ports/net/kdenetwork/work/kdenetwork-4.0.80/kopete/libkopete/contactlist
-I/usr/ports/net/kdenetwork/work/kdenetwork-4.0.80/kopete/libkopete/tasks -I/usr/local/kde4/include
-I/usr/local/kde4/include/KDE -I/usr/local/include/qt4/QtWebKit -I/usr/local/include/qt4/QtHelp -I/usr/local/include/qt4/QtDBus
-I/usr/local/include/qt4/QtTest -I/usr/local/include/qt4/QtUiTools -I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4/QtSvg
-I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4/QtNetwork
-I/usr/local/include/qt4/QtDesigner -I/usr/local/include/qt4/Qt3Support -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtCore
-I/usr/local/include/qt4/Qt -I/usr/local/include/qt4 -I/usr/local/include -o 
CMakeFiles/kopete.dir/ui/contactaddednotifydialog.o
-c /usr/ports/net/kdenetwork/work/kdenetwork-4.0.80/kopete/libkopete/ui/contactaddednotifydialog.cpp
c++: Internal error: Segmentation fault: 11 (program as)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Then, after I manually replaced QT_MKSPECS_DIR-NOTFOUND 
with /usr/local/share/qt4/mkspecs in the cmake cache file, it seems to work. 
(still compiling, but the file in question has been done already).

Should something be added to the port Makefile to correctly detect the 
QT_MKSPECS file? The other KDE4 ports don't seem to have this problem.

  Jaap
-------------- next part --------------
11c11
< MASTER_SITE_SUBDIR=   stable/${PORTVERSION}/src
---
> MASTER_SITE_SUBDIR=   unstable/${PORTVERSION}/src


More information about the kde-freebsd mailing list