[kde-freebsd] ports/145195: x11/kdelibs4 fails if qt3 is installed

Dima Panov fluffy at freebsd.org
Tue Mar 30 11:10:06 CEST 2010


The following reply was made to PR ports/145195; it has been noted by GNATS.

From: Dima Panov <fluffy at freebsd.org>
To: freebsd-ports-bugs at freebsd.org
Cc: Pascal Stumpf <Pascal.Stumpf at cubes.de>, freebsd-gnats-submit at freebsd.org
Subject: Re: ports/145195: x11/kdelibs4 fails if qt3 is installed
Date: Tue, 30 Mar 2010 20:02:47 +1100

 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 at 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


More information about the kde-freebsd mailing list