ports/145195: x11/kdelibs4 fails if qt3 is installed

Pascal Stumpf Pascal.Stumpf at cubes.de
Tue Mar 30 09:40:03 UTC 2010


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 
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 
(/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
> 
Nope, it’s not. Currently, I have to deinstall qt3 every time I update 
kdelibs4.



More information about the freebsd-ports-bugs mailing list