From owner-freebsd-ports@FreeBSD.ORG  Tue Jan 27 07:38:30 2009
Return-Path: <owner-freebsd-ports@FreeBSD.ORG>
Delivered-To: freebsd-ports@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 498E4106564A
	for <freebsd-ports@freebsd.org>; Tue, 27 Jan 2009 07:38:30 +0000 (UTC)
	(envelope-from makc@issp.ac.ru)
Received: from mail.issp.ac.ru (mail.issp.ac.ru [77.236.34.3])
	by mx1.freebsd.org (Postfix) with ESMTP id B963B8FC0C
	for <freebsd-ports@freebsd.org>; Tue, 27 Jan 2009 07:38:29 +0000 (UTC)
	(envelope-from makc@issp.ac.ru)
Received: from [62.63.90.53] [62.63.90.53:22994] (HELO/EHLO luna.dio.ru,
	authenticated with PLAIN)
	by mail.issp.ac.ru with ESMTP/inet id n0R7dE6Q085225 (using TLSv1/SSLv3,
	with cipher DHE-DSS-AES256-SHA (256 bits), verified NO)
	Tue, 27 Jan 2009 10:39:18 +0300 (MSK)
From: Max Brazhnikov <makc@issp.ac.ru>
To: eculp <eculp@encontacto.net>
Date: Tue, 27 Jan 2009 10:38:19 +0300
User-Agent: KMail/1.10.92 (FreeBSD/7.1-STABLE; KDE/4.1.85; i386; ; )
References: <20090123131732.191419yppmx5e7rc@econet.encontacto.net>
	<200901252318.17150.makc@issp.ac.ru>
	<20090126084817.64183rcu3b0619mo@econet.encontacto.net>
In-Reply-To: <20090126084817.64183rcu3b0619mo@econet.encontacto.net>
Organization: ISSP RAS
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200901271038.19431.makc@issp.ac.ru>
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by
	milter-greylist-3.0 (mail.issp.ac.ru [77.236.34.3]);
	Tue, 27 Jan 2009 10:39:18 +0300 (MSK)
X-Virus-Scanned: ClamAV 0.94.1/8907/Tue Jan 27 05:40:54 2009 on mail.issp.ac.ru
X-Virus-Status: Clean
Cc: freebsd-ports <freebsd-ports@freebsd.org>
Subject: Re: [kde-freebsd] All of kde4, qt4,
 etc build fine except kdenetwork4 on my FreeBSD	Current laptop.
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports>
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Jan 2009 07:38:30 -0000

On Mon, 26 Jan 2009 08:48:17 -0600, eculp wrote:
> Quoting Max Brazhnikov <makc@issp.ac.ru>:
> > I've replied to kde@freebsd maillist, duplicating here:
> >
> > On Sat, 24 Jan 2009 00:32:15 +0300, Max Brazhnikov wrote:
> >> On Fri, 23 Jan 2009 13:17:32 -0600, eculp wrote:
> >> > I have tried everyway that I can think of.  Port by port, with
> >> > portupgrade and with portmaster.  I have even tried portmaster -r
> >> > net/kdenetwork4 - portupgrade -rf net/kdenetwork4 and all generate t=
he
> >> > exact same results:
> >> >
> >> >
> >> > /usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/kopete/protocols/ja=
bb
> >> >er\ /libiris/iris/xmpp-im/xmpp_task.cpp:21:27: error: qplatformdefs.h:
> >> > No=BA such file or directory
> >> >      *** Error code 1
> >> >
> >> >      Stop in /usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/build.
> >> >      *** Error code 1
> >> >
> >> > with no change.
> >>
> >> Could you start verbose build (make -DCMAKE_VERBOSE) and show failed
> >> command?
>
> Thanks for your help, Max.  I just did:
>
> /usr/ports/net/kdenetwork4 # make -DCMAKE_VERBOSE
>
> and the results were the same:
>
> [ 57%] Building CXX object
> kopete/protocols/jabber/libiris/CMakeFiles/iris_kopete.dir/iris/xmpp-im/x=
mp
>p_task.o cd
> /usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/build/kopete/protocols/j=
ab
>ber/libiris && /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_IRIS_KOPETE_LIB -O2 -pipe
> -fno-strict-aliasing -Woverloaded-virtual -fvisibility=3Dhidden
> -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/build/kopete/protocols=
/j
>abber/libiris
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/kopete/protocols/jabbe=
r/
>libiris -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/build
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/build/kopete
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/kopete/libkopete
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/build/kopete/libkopete
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/kopete/libkopete/ui
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/build/kopete/libkopete=
/u
>i
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/kopete/libkopete/priva=
te
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/kopete/libkopete/conta=
ct
>list
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/kopete/libkopete/tasks
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/kopete/protocols/jabbe=
r/
>libiris/cutestuff
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/kopete/protocols/jabbe=
r/
>libiris/cutestuff/legacy
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/kopete/protocols/jabbe=
r/
>libiris/cutestuff/network
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/kopete/protocols/jabbe=
r/
>libiris/cutestuff/util
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/kopete/protocols/jabbe=
r/
>libiris/iris/include
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/kopete/protocols/jabbe=
r/
>libiris/iris/jabber
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/kopete/protocols/jabbe=
r/
>libiris/iris/xmpp-core
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/kopete/protocols/jabbe=
r/
>libiris/iris/xmpp-im
> -I/usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/kopete/protocols/jabbe=
r/
>libiris/iris -I/usr/local/kde4/include -I/usr/local/kde4/include/KDE
> -I/usr/local/include/qt4/QtXmlPatterns -I/usr/local/include/qt4/QtWebKit
> -I/usr/local/include/qt4/QtHelp -I/usr/local/include/qt4/QtAssistant
> -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/share/qt4/mkspecs -I/usr/local/include/qt4
> -I/usr/local/include -I/usr/local/include/QtCrypto -o
> CMakeFiles/iris_kopete.dir/iris/xmpp-im/xmpp_task.o -c
> /usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/kopete/protocols/jabber/=
li
>biris/iris/xmpp-im/xmpp_task.cpp
> /usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/kopete/protocols/jabber/=
li
>biris/iris/xmpp-im/xmpp_task.cpp:21:27: error: qplatformdefs.h: No such fi=
le
> or directory
> *** Error code 1
>
> Stop in /usr/ports/net/kdenetwork4/work/kdenetwork-4.1.4/build.
> *** Error code 1
>
> >> > Please let me know if you need more information.
> >>
> >> Output of "pkg_info -g qt4-corelib\* qt4-qmake\*"
>
> /usr/ports/net/kdenetwork4 # pkg_info -g qt4-corelib\* qt4-qmake\*
> Information for qt4-corelib-4.4.3:
>
> Mismatched Checksums:
>
> Information for qt4-qmake-4.4.3:
>
> Mismatched Checksums:
> >> > BTW, is there a date for kde4.2 yet?
> >>
> >> http://techbase.kde.org/Schedules
>
> Thanks for the link and again for your help.
>
> ed

I remember I've seen this error already
http://mail.kde.org/pipermail/kde-freebsd/2008-July/003178.html

The problem is that cmake can't find Qt4 properly. Make sure you don't set=
=20
QMAKESPEC in your environment or make.conf, then rebuild qmake4, qt4-coreli=
b=20
and kdelibs4. And try kdenetwork4 again.

Max