Updating x11/kdelibs4 compile failure

Dima Panov fluffy at fluffy.khv.ru
Wed Dec 2 11:30:27 UTC 2009


On Wednesday 02 December 2009 21:09:56 David Southwell wrote:
> > > On Wed, 2 Dec 2009 10:10:42 +0000, David Southwell wrote:
> > > > Is this a problem with qt4 dependencies???
> > > >
> > > > Has anyone a fix for this?
> > > > Thanks in advance
> > > >
> > > > This is on amd64 Freebsd 7.2 p3 system:
> > > >
> > > > /usr/ports/x11/kdelibs4/work/kdelibs-4.3.4/kio/bookmarks/kbookmarkman
> > > >ag er .c c:148: instantiated from here
> > > > /usr/local/include/qptrlist.h:50: error: 'next' was not declared in
> > > > this scope /usr/local/include/qptrlist.h: In member function 'bool
> > > > QPtrListStdIterator<type>::operator!=(const
> > > > QPtrListStdIterator<type>&) const [with type = KBookmark]':
> > > > /usr/ports/x11/kdelibs4/work/kdelibs-4.3.4/kio/bookmarks/kbookmarkman
> > > >ag er .c c:617: instantiated from here
> > > > /usr/local/include/qptrlist.h:54: error: 'const class
> > > > QPtrListStdIterator<KBookmark>' has no member named 'node'
> > > > /usr/local/include/qptrlist.h: In member function
> > > >  'QPtrListStdIterator<type> QPtrListStdIterator<type>::operator++()
> > > > [with type = KBookmark]':
> > > > /usr/ports/x11/kdelibs4/work/kdelibs-4.3.4/kio/bookmarks/kbookmarkman
> > > >ag er .c c:617: instantiated from here
> > > > /usr/local/include/qptrlist.h:50: error: 'next' was not declared in
> > > > this scope /usr/local/include/qptrlist.h: In copy constructor
> > > > 'QPtrList<type>::QPtrList(const QPtrList<type>&) [with type =
> > > > QDBusObjectPath]':
> > > > /usr/local/include/qt4/QtCore/qmetatype.h:127:   instantiated from
> > > > 'void* qMetaTypeConstructHelper(const T*) [with T =
> > > > QPtrList<QDBusObjectPath>]'
> > > > /usr/local/include/qt4/QtCore/qmetatype.h:152:   instantiated from
> > > > 'int qRegisterMetaType(const char*, T*) [with T =
> > > > QPtrList<QDBusObjectPath>]'
> > > > /usr/local/include/qt4/QtDBus/qdbusextratypes.h:181:   instantiated
> > > > from here /usr/local/include/qptrlist.h:69: error: type 'QGList' is
> > > > not a direct base of 'QPtrList<QDBusObjectPath>'
> > > > /usr/local/include/qptrlist.h: In copy constructor
> > > > 'QPtrList<type>::QPtrList(const QPtrList<type>&) [with type =
> > > > QDBusSignature]':
> > > > /usr/local/include/qt4/QtCore/qmetatype.h:127:   instantiated from
> > > > 'void* qMetaTypeConstructHelper(const T*) [with T =
> > > > QPtrList<QDBusSignature>]'
> > > > /usr/local/include/qt4/QtCore/qmetatype.h:152:   instantiated from
> > > > 'int qRegisterMetaType(const char*, T*) [with T =
> > > > QPtrList<QDBusSignature>]'
> > > > /usr/local/include/qt4/QtDBus/qdbusextratypes.h:183:   instantiated
> > > > from here /usr/local/include/qptrlist.h:69: error: type 'QGList' is
> > > > not a direct base of 'QPtrList<QDBusSignature>'
> > > > *** Error code 1
> > > > 3 errors
> > > > *** Error code 2
> > > > 1 error
> > > > *** Error code 2
> > > > 1 error
> > > > *** Error code 1
> > > >
> > > > Stop in /usr/ports/x11/kdelibs4.
> > >
> > > _______________________________________________
> > > freebsd-ports at freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > > To unsubscribe, send any mail to
> > > "freebsd-ports-unsubscribe at freebsd.org"
> > >
> > >
> > >
> > > It picks up qt3 headers. As a workaround, deinstall qt3 before updating
> > >  kde4 ports.
> >
> > I only have qt4 installed!!
> >
> > David
> 
> Is there an alternative workaround??

<telepathy on> 
Your log unambiguously declared qt33 presence in system.
<telepathy off>

Anyway, something wrong with your local configuration.
Ma be incorrectly setted cflags in /etc/make.conf

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20091202/ef3890fe/attachment.pgp


More information about the freebsd-ports mailing list