Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2010 11:28:11 +0200
From:      Pascal Stumpf <Pascal.Stumpf@cubes.de>
To:        freebsd-ports-bugs@freebsd.org
Subject:   Re: ports/145195: x11/kdelibs4 fails if qt3 is installed
Message-ID:  <201003301128.11964.Pascal.Stumpf@cubes.de>
In-Reply-To: <201003302002.49490.fluffy@freebsd.org>
References:  <201003300847.o2U8l71t010991@www.freebsd.org> <201003302002.49490.fluffy@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 30 March 2010 11:02:47 Dima Panov wrote:
> 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=20
fixed:
> > http://osdir.com/ml/kde-freebsd/2010-02/msg00175.html
> > http://lists.freebsd.org/pipermail/freebsd-ports/2009-
December/058037.htm
> >l
> >
> >
> > If you have qt3 installed, kdelibs4 will try to use qt3 headers (in
> > /usr/local/include) instead of qt4 headers=20
(/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:=20
function
> > definition does not declare p arameters
> > /usr/local/include/qdatetime.h:123: error: function definition=20
does not
> > declare parameters
> > /usr/local/include/qdatetime.h:184: error: function definition=20
does not
> > declare parameters
> > /usr/local/include/qdatetime.h:241: error: expected initializer=20
before
> > '&' token /usr/local/include/qdatetime.h:242: error: expected=20
initializer
> > before '&' token /usr/local/include/qdatetime.h:243: error:=20
expected
> > initializer before '&' token /usr/local/include/qdatetime.h:244:=20
error:
> > expected initializer before '&' token=20
/usr/local/include/qdatetime.h:245:
> > error: expected initializer before '&' token
> > /usr/local/include/qdatetime.h:246: error: expected initializer=20
before
> > '&' token
> >=20
/usr/ports/x11/kdelibs4/work/kdelibs-4.3.5/kio/bookmarks/kbookmark.cc:=20
In
> > member function 'void KBookmark::updateAccessMetadata()':
> >=20
/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=20
and adjust
> > include dirs accordingly.
>=20
> Looks your /etc/make.conf polluted with include path override
> (for example, CFLAGS =3D -O -pipe -I/usr/local/include) of incorrect=20
qt3
>  installtion. please deinstall/reinstall qt3 and try again
>=20
Nope, it=E2=80=99s not. Currently, I have to deinstall qt3 every time I upd=
ate=20
kdelibs4.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003301128.11964.Pascal.Stumpf>