From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 30 09:03:15 2010 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82E66106566C; Tue, 30 Mar 2010 09:03:15 +0000 (UTC) (envelope-from fluffy@freebsd.org) Received: from ns.ael.RU (ns.ael.ru [62.76.207.226]) by mx1.freebsd.org (Postfix) with ESMTP id C43208FC1D; Tue, 30 Mar 2010 09:03:14 +0000 (UTC) Received: from Fluffy.Khv.RU (85.9.168.188.retail.ttk.ru [188.168.9.85] (may be forged)) by ns.ael.RU (8.14.3/8.14.3/Fluffy/5.3) with ESMTP id o2U92vjd009556; Tue, 30 Mar 2010 20:02:58 +1100 (VLAST) (envelope-from fluffy@freebsd.org) Received: from Fluffy.Khv.RU (localhost [127.0.0.1]) by Fluffy.Khv.RU (8.14.4/8.14.4/Fluffy/5.4.1) with ESMTP id o2U92pm9077629; Tue, 30 Mar 2010 20:02:51 +1100 (VLAST) (envelope-from fluffy@freebsd.org) Received: (from fluffy@localhost) by Fluffy.Khv.RU (8.14.4/8.14.4/Submit) id o2U92oB0077623; Tue, 30 Mar 2010 20:02:50 +1100 (VLAST) (envelope-from fluffy@freebsd.org) From: Dima Panov Organization: The FreeBSD Project To: freebsd-ports-bugs@freebsd.org Date: Tue, 30 Mar 2010 20:02:47 +1100 User-Agent: KMail/1.13.1 (FreeBSD/9.0-900010-CURRENT; KDE/4.4.2; amd64; ; ) References: <201003300847.o2U8l71t010991@www.freebsd.org> In-Reply-To: <201003300847.o2U8l71t010991@www.freebsd.org> X-Face: "RE-2'yS-N:*/7DHOjQ%Az<.+SG>K7B'k(&; qb0K4]Hv>J}"l9,=:m2_]-3S/}`b\]yA-g !y3en*Zl(i-86iM?Q[w@!=rW&JdT>KHW@dri>+qMcy42O, 5#izEqa-K+=B<@A X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (ns.ael.RU [62.76.207.226]); Tue, 30 Mar 2010 20:02:59 +1100 (VLAST) Cc: Pascal Stumpf , freebsd-gnats-submit@freebsd.org Subject: Re: ports/145195: x11/kdelibs4 fails if qt3 is installed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2010 09:03:15 -0000 On Tuesday 30 March 2010 19:47:07 Pascal Stumpf wrote: > >Number: 145195 > >Category: ports > >Synopsis: x11/kdelibs4 fails if qt3 is installed > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-ports-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Tue Mar 30 08:50:03 UTC 2010 > >Closed-Date: > >Last-Modified: > >Originator: Pascal Stumpf > >Release: 8.0-STABLE > > >Organization: > - > > >Environment: > > >Description: > Ok, I think this problem has been around for a while but still not fixed: > http://osdir.com/ml/kde-freebsd/2010-02/msg00175.html > http://lists.freebsd.org/pipermail/freebsd-ports/2009-December/058037.html > > > If you have qt3 installed, kdelibs4 will try to use qt3 headers (in > /usr/local/include) instead of qt4 headers (/usr/local/kde4/include) and, > of course, fail. > > In file included from > /usr/ports/x11/kdelibs4/work/kdelibs-4.3.5/kio/bookmarks/k bookmark.cc:33: > /usr/local/include/qdatetime.h:51: error: function definition does not > declare p arameters > /usr/local/include/qdatetime.h:123: error: function definition does not > declare parameters > /usr/local/include/qdatetime.h:184: error: function definition does not > declare parameters > /usr/local/include/qdatetime.h:241: error: expected initializer before '&' > token /usr/local/include/qdatetime.h:242: error: expected initializer > before '&' token /usr/local/include/qdatetime.h:243: error: expected > initializer before '&' token /usr/local/include/qdatetime.h:244: error: > expected initializer before '&' token /usr/local/include/qdatetime.h:245: > error: expected initializer before '&' token > /usr/local/include/qdatetime.h:246: error: expected initializer before '&' > token > /usr/ports/x11/kdelibs4/work/kdelibs-4.3.5/kio/bookmarks/kbookmark.cc: In > member function 'void KBookmark::updateAccessMetadata()': > /usr/ports/x11/kdelibs4/work/kdelibs-4.3.5/kio/bookmarks/kbookmark.cc:515: > error > > : incomplete type 'QDateTime' used in nested name specifier > > *** Error code 1 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 1 > > Stop in /usr/ports/x11/kdelibs4. > > >How-To-Repeat: > > >Fix: > I think cmake should check for presence of qt3 on the system and adjust > include dirs accordingly. > Looks your /etc/make.conf polluted with include path override (for example, CFLAGS = -O -pipe -I/usr/local/include) of incorrect qt3 installtion. please deinstall/reinstall qt3 and try again -- Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018 Khabarovsk, Russia | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29 KDE@FreeBSD Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995 Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024